[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: add context to score without instantiating a Staff
From: |
Mats Bengtsson |
Subject: |
Re: add context to score without instantiating a Staff |
Date: |
Sun, 25 Jun 2006 11:29:54 +0200 |
User-agent: |
Internet Messaging Program (IMP) H3 (4.0.4) |
Quoting Kieren MacMillan <address@hidden>:
[ Lilypond 2.9.10 ]
Hello, all --
Just wondering how to insert a context into a \score without
instantiating a Staff.
Depends on what kind of context you have in mind.
For example, if I have defined a set of line and page breaks in an
identifier, e.g.,
breakSet = { s1 \noBreak s1 \break ... }
Then you don't need any new context at all!
how can I then get something like
\score
{
<<
\breakSet
\music
>>
}
without \breakSet causing a Staff to be spawned?
Just explicitly specify the context you want. In your specific
case, both lines of music can be placed in parallel in the same Voice context:
\score {
\new Voice << \breakSet
\music
>>
}
/Mats