There’s a much better solution which doesn’t need a piccolo (or whatever
is on top) staff that is always present, even if it’s only filled with
pauses: Put \tempo and \mark into a global variable and add this to all
staffs; see attachment. This also lets you change things like time
signature or key in all instruments simulatneously.
Am 16.09.2014 um 22:19 schrieb Orm Finnendahl:
I found it.
For someone googling this: You have to put
\new Staff \with { \override VerticalAxisGroup.remove-empty = ##f }
into your staff definition.
Sorry for the noise...
--
Orm
Am Dienstag, den 16. September 2014 um 22:04:38 Uhr (+0200) schrieb Orm
Finnendahl:
Hi,
in a piece for large orchestra, I need text markup and tempo markings
which only appear on the top staff of the score and each part. I
defined an empty (invisible) staff with removed staff symbol, time
signature, etc., using skips instead of rests, which works well.
Unfortunately as soon as \RemoveEmptyBars is used in the score, the
staff and all markup gets removed.
Is there a way to persuade Lily never to remove that staff without
adding any visual content to it (except for the markup of course...)?
--
Orm
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user
\version "2.19.13"
global = {
\time 3/4
s2.*4
\mark \default
s2.*4
\time 6/8
s2.*4
\tempo 4 = 90
s2.*4
\tempo "Allegro"
s2.*4
}
silentpiccolo = {
R2.*20
}
busyviolin = \relative c' {
\repeat unfold 20 c2.:32
}
\score {
<<
\new Staff \with {
instrumentName = "Piccolo"
shortInstrumentName = "Picc."
} <<
\global
\silentpiccolo
>>
\new Staff \with {
instrumentName = "Violin"
shortInstrumentName = "Vln."
} <<
\global
\busyviolin
>>
>>
\layout {
\context {
\Score
\RemoveEmptyStaves
}
}
}
\markup { "Parts follow:" }
\score {
<<
\new Staff \with {
instrumentName = "Violin"
} <<
\global
\busyviolin
>>
>>
}
\score {
<<
\new Staff \with {
instrumentName = "Piccolo"
} <<
\compressFullBarRests %optional
\global
\silentpiccolo
>>
>>
}
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user