Thanks Jon

that was really helpful. From your post and lily docs, I've cobbled together the
following below, which seems to work OK, aiming to use a global variable to save
some space. 

A question about this: is there a way to move the parenthesisation
(\parenthesize) to within the global variable harmonicPitch, similary to how the
small notehead is there specified, rather than having to specify both
\harmonicPitch and \parenthesize in the body of the temporary voice? 

Any other comments regarding coding style also welcome.

Regards

Tom


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\version "2.12.1"

harmonicPitch = {
        \override Stem #'stencil = ##f 
        \override NoteHead #'font-size = #-4
}

{
   \clef "treble"
   \override Staff.NoteColumn #'ignore-collision = ##t
   \override NoteHead #'style = #'harmonic-mixed

  \new Voice  {
    b4 a 
        << {  <a e' \harmonic > } \\ { \harmonicPitch \parenthesize  e'' } >> 
        c'
  }

}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%





_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to