[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: \context for named Staff
From: |
Graham Percival |
Subject: |
Re: \context for named Staff |
Date: |
Sat, 8 Aug 2009 17:43:04 -0700 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
On Sat, Aug 08, 2009 at 05:18:12PM -0700, Jay Anderson wrote:
> If it is a snippet ideally I'd want to do something like:
>
> \include "small_staff.lyi"
BTW, the latest discussion was to use .ily
> 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)
> }
Looks fine to me. You could even name the file
"small-engavers.ily" and let other people submit additions for
their favorite engravers (in case anybody wanted a small
tabulature staff or whatever).
Cheers,
- Graham