bug-lilypond
[Top][All Lists]
Advanced

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

trouble changing notehead size on percussion staff


From: Niki Pantelias
Subject: trouble changing notehead size on percussion staff
Date: Sat, 3 Jan 2004 01:18:25 -0500
User-agent: KMail/1.5

 Hello,

  The .ly file pasted in below demonstrates a problem I'm having with 
changing notehead sizes in a drum part.  When I run it as shown, the 
changes to font-relative-size have no effect, which seems to me to be 
a bug.

  If I comment out the line
  \apply #(drums->paper 'drums)
 the notehead size _does_ change, although of course the result looks 
nothing like a drum part :-)

  thanks,
  -- Niki

------------
\include "english.ly"

papersize = "letter"
\include "paper20.ly"

\include "drumpitch-init.ly"
Scale =
  \context Voice
  \notes
  {
    \time 4/4
    bd4 tomfl
    \property Voice.NoteHead \override #'font-relative-size = #-3
    tomfh tomml | tommh
    \property Voice.NoteHead \revert #'font-relative-size
    sn hh cymr |
    \bar"|."
  }

\include "english.ly"

\score {
  \apply #(drums->paper 'drums)
  \new Staff {
    \clef percussion
    \Scale
     }
 \paper { papersize = "letter"
          linewidth = \hsize - 0.9 \in }
 }





reply via email to

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