lilypond-user
[Top][All Lists]
Advanced

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

Re: \context for named Staff


From: Marc Hohl
Subject: Re: \context for named Staff
Date: Sat, 22 Aug 2009 20:30:27 +0200
User-agent: Thunderbird 2.0.0.23 (X11/20090817)

Jay Anderson schrieb:
[...]
 So what do you think? Should the "SmallStaff" just
be left as a snippet?

If it is a snippet ideally I'd want to do something like:

\include "small_staff.lyi"
\score {
  \new SmallStaff {...}
}

How would one make small_staff.lyi so this worked? This way it would
be bundled with the other global variables. The only way I found was
to do this:

small_staff.lyi
=====
\context {
  \Score
  \accepts "SmallStaff"
}
\context {
  \Staff
  \type "Engraver_group"
  \name "SmallStaff"
  \alias "Staff"

  fontSize = #-3
  \override StaffSymbol #'staff-space = #(magstep -3)
}

As the discussion here seems to be stuck, I want to push it a bit :)

1) What about the name?
 SmallStaff? CueStaff? QuoteStaff?

2) There seems to be only one reference for font size and staff size, \override StaffSymbol #'staff-space = #2/3
   fontSize = #(magnification->font-size 2/3)
 as Mark Polesky pointed out. Is this widely acceped?

3) Should this definition go to ly/engraver-init.ly, or should a seperate file
  be provided?

4) Where should this feature be documented? Is input.itely the right place?

Marc




reply via email to

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