lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: scale notehead X and Y independently


From: Robin Bannister
Subject: Re: scale notehead X and Y independently
Date: Thu, 17 Mar 2011 01:06:32 +0100

Tim Sheasby wrote:
how do I apply it to a specific note in a \set shapeNoteStyles context
Well, I'm not sure what you're aiming for, but try this:
miNarrow = #(lambda (grob) (if (eqv? (ly:grob-property grob 'style) 'miMirror)
     (ly:stencil-scale (ly:note-head::print grob) 0.5 1.5)
     (ly:note-head::print grob)))
\relative c' {
   \override NoteHead #'stencil = #miNarrow
   \aikenHeads
   <c e>4
   <c e>4
 }
Cheers, Robin

Attachment: miNarrow.png
Description: PNG image


reply via email to

[Prev in Thread] Current Thread [Next in Thread]