[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
temporarily add extra staff - two times in a row?
From: |
Johannes Waldmann |
Subject: |
temporarily add extra staff - two times in a row? |
Date: |
Tue, 19 Apr 2016 18:32:25 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.1 |
Hi,
How could I get a extra staff temporarily,
and then a second time, and both at the same distance
to the staff that is running through?
I am starting from this:
http://lsr.di.unimi.it/LSR/Item?id=110
but it does not work two times in a row:
\score{
\new StaffGroup {
\new Staff \relative c'' {
c1 | c << { c1 | d } \new Staff { c1 | b } >>
% \repeat unfold 20 c1
c1 | c << { c1 | d } \new Staff { c1 | b } >>
}
}
}
This compiles, but gives different distances.
If the two extras appear on different rows
(e.g., uncomment middle line to put some stuff in between)
then distances are equal again.
Each "\new Staff" opens a new context/engraver (?)
but this lives only on the "current line" ?
If that's somehow true - then how can I re-use the previous one?
Thanks - J.W.
- temporarily add extra staff - two times in a row?,
Johannes Waldmann <=