2012/5/23 Pierre Perol-Schneider <pierre.schneider.pa...@gmail.com>: > Hi Groups, > > few months ago Thoms Morley (found thanks too Google) sent this code, wiche > works fine : (...) > Now I would like to understand this : > > 1) > > \version "2.15.39" > > music = \relative c' { > \grace { d,16 [des] } c4 > } > \score { > << > \new Staff { \clef "G_8" \music} > \new TabStaff { > \tabFullNotation > \revert TabVoice.Flag #'transparent > \music > } > >> > \layout { > \context { > \Score > graceSettings = #`((Voice Stem length-fraction .5) > (Voice TabNoteHead font-size -4) > (Voice Beam beam-thickness 0.1)) > } > } > } > > > affect both staff and tabstaff grace notes (see *3.png)
Of course, you changed the context to \Score > BUT, when thickness is increased : (...) > affect ONLY tabstaff grace notes. (see *4.png) Can't confirm. All grace-notes _are_ affected, but in a different degree. I added (Voice Beam length-fraction 1.5) to make this effect more visible: \version "2.15.38" music = \relative c' { \grace { d,16 [des] } c8 d e f } \score { << \new Staff { \clef "G_8" \music} \new TabStaff { \tabFullNotation \revert TabVoice.Flag #'transparent \music } >> \layout { \context { \Score graceSettings = #`((Voice Stem length-fraction .5) (Voice TabNoteHead font-size -4) (Voice Beam length-fraction 1.5) (Voice Beam beam-thickness 0.5)) } } } > > 2) if I change, for example, (beam-thickness . 0.48) to (beam-thickness . > 0.58) in the define-grobs.scm file this DOES NOT affect grace notes. (see > *5.png) In graceSettings (Voice Beam beam-thickness 0.5) overrides other alterations of beam-thickness (using an override in the file or changing the value in define-grobs.scm), but only for grace-notes. BTW, what do you intend at all? Regards, Harm _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user