lilypond-user
[Top][All Lists]
Advanced

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

Re: Q: How to resize a VaticanaVoice Staff ?


From: David Nalesnik
Subject: Re: Q: How to resize a VaticanaVoice Staff ?
Date: Mon, 15 Jun 2015 07:19:30 -0500

Hi Michael,

On Mon, Jun 15, 2015 at 4:40 AM, Michael Gerdau <address@hidden> wrote:
Hi list,

I'm trying to resize a gregorian style engraving. However what works
nicely for "normal" Staffs does not seem to work for gregorian.

See the following example:
<-- snip -- snip -- snip -- snip -->
\version "2.18.2"

\include "gregorian.ly"

music = \relative c { e e \[ d\melisma \flexa c\melismaEnd \] \divisioMinima
}

% normal size
\new VaticanaVoice {
  \clef "vaticana-fa2"
  \music
}

% bigger size
\new VaticanaVoice \with {
  fontSize = #5
  \override StaffSymbol.staff-space = #(magstep 5)
} {
  \clef "vaticana-fa2"
  \music
}


You need to override StaffSymbol outside of the \with block.  You also need to specify its context:

% bigger size
\new VaticanaVoice \with {
  fontSize = #5
} {
  \override Staff.StaffSymbol.staff-space = #(magstep 5)
  \clef "vaticana-fa2"
  \music
}
 
Hope this helps!

David


reply via email to

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