Sorry, it's taken me a while to get back to this. This works fine but how do I apply it to a specific note in a \set shapeNoteStyles context. Tried the following for example but not working.
---------------------------8<----------------------------------------- miNarrow = { \musicglyph #"noteheads.s1mi" #(lambda (grob) (ly:stencil-scale (ly:note-head::print grob) 0.95 1.05)) } aikenHeads = { \set shapeNoteStyles = #'#(do re miNarrow fa sol la ti) } \key c \relative c' { \aikenHeads <c e>4 <c e>4 } ---------------------------8<----------------------------------------- On 27 Feb 2011, at 12:53 AM, Robin Bannister wrote: > Tim Sheasby wrote: >> Can a notehead be scaled by different factors in the x and y directions? > In the recent development versions (starting with 2.13.38) you can. The > following snippet uses an X-factor of 2: > wideNH = #(lambda (grob) (ly:stencil-scale (ly:note-head::print grob) 2 1)) > > { > b'4 g'4 \override NoteHead #'stencil = #wideNH > b'4 g'4 > } > Cheers, Robin > > _______________________________________________ > lilypond-user mailing list > lilypond-user@gnu.org > http://lists.gnu.org/mailman/listinfo/lilypond-user Tim Sheasby t...@sheafpublishing.co.za
<<inline: Sheaf logo small.jpg>>
_______________________________________________ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user