Re: smaller grace notes

2015-10-30 Thread Gilberto Agostinho
Thomas Morley-2 wrote > As a (not tested) workaround you may try: > > \layout { > \context { > \Score > $(add-grace-property 'Score 'NoteHead 'font-size -5) > $(add-grace-property 'Score 'Slur 'height-limit 0.9) > $(add-grace-property 'Score 'Flag 'font-size -5) > $(a

Re: smaller grace notes

2015-10-30 Thread Thomas Morley
2015-10-31 0:14 GMT+01:00 Gilberto Agostinho : > Hi all, > > Can someone please explain to me why these changes to the grace note sizes > are not applied when a second voice is used? > > \version "2.19.28" > \layout { > \context { > \Score > \with{ > $(add-grace-property 'Voice 'Not

Re: smaller grace notes

2013-11-23 Thread MarcM
That is an interesting but complex snippet which looks like a nuclear option for what I need: changing the thickness of the flag or at least the thickness of the slash. I went through the multiple scan of the code with grep to try to find where the default values are set and I was not able to find

Re: smaller grace notes

2013-11-23 Thread Eluze
MarcM wrote > * > 2) Thickness of the flag: * > I found the right size for the flag but it is still too thick. Is there a > way to reduce the thickness of the flag in the grace note? maybe /Generating custom flags/ in snippets

Re: smaller grace notes

2013-11-23 Thread Gilberto Agostinho
Hi Marc, If you use $(add-grace-property 'Voice 'Stem 'length '8), it will change only the non beamed stems, as you realized. To change both, use $(add-grace-property 'Voice 'Stem 'length-fraction '0.7). Note that the beamed stems are changed only to the nearest staff line position, not continuous

Re: smaller grace notes

2013-11-22 Thread MarcM
*1) I noticed a strange side-effect: if i change *$(add-grace-property 'Voice 'Stem 'length '8) It only applies to single grace notes: 2) I found the right size for the flag but it is st

Re: smaller grace notes

2013-11-22 Thread Gilberto Agostinho
Thanks David! Indeed this code looks way more elegant (and smaller) using add-grace-property. grace_notes_with_smaller_noteheads_(elegant_solution).ly Take care, Gilberto -- Vi

Re: smaller grace notes

2013-11-21 Thread David Kastrup
MarcM writes: > The example looks really nice. It appears that only the NoteHead size is > reduced. > Would you know how to have the hight of the Stem and the Beam change > proportionally as well? > > I tried the code below but it did not have any effect on the stem and the > Beam. > > startGra

Re: smaller grace notes

2013-11-21 Thread Gilberto Agostinho
Still some improvements: things look better with the following settings: \override NoteHead.font-size = -5 \override Flag.font-size = -5 \override Stem.length = 4 \override Beam.beam-thickness = 0.3 \override Beam.length-fraction = 0.5 \override Beam.shorten = 1 Now the beams look much better, an

Re: smaller grace notes

2013-11-21 Thread Gilberto Agostinho
Hello Marc, I am glad you liked that little code. I tweaked it a bit more, and now I think it looks better. I simply added these lines to each one of the four types of graces: \override Flag.font-size = -5 \override Stem.length = 3.7 \override Beam.beam-thickness = 0.35 Also, for the appoggiatu

Re: smaller grace notes

2013-11-21 Thread MarcM
The example looks really nice. It appears that only the NoteHead size is reduced. Would you know how to have the hight of the Stem and the Beam change proportionally as well? I tried the code below but it did not have any effect on the stem and the Beam. startGraceMusic = { \override NoteHead

Re: smaller grace notes

2013-11-21 Thread Gilberto Agostinho
Try this: grace_notes_with_smaller_noteheads.ly Which produces this: You can play around with the value (I