Hi Malte, thanks for the recommendation. This isn't what I'm looking for as the voice defined in the global variable included and repeated for each staff results in the appearance of all markups like tempo and such on all staffs. Defining a dedicated empty staff system (it's not the piccolo) entirely for the purpose of these definitions and including it once on top of the score, on top of some staffgroups and on top of the part templates serves the same purpose as a global variable, but makes them appear only at selected places, no matter, which staffs have been removed.
The only thing I haven't figured out yet is, how I can make these invisible staves disappear in case no staff of a certain staffgroup is present at all. E.g. in large scores bar numbers normally get displayed on top, but also above staff groups like the string section. If there are no other instruments but strings, this makes the bar numbers appear twice. If anybody knows how to get around this I'd be glad to know... (but keep in mind that the score is sent to the printer next Monday, so I'd need that information rather soon as the score is in A2 and that costs about 100,- Euro for one copy). Yours, Orm Am Dienstag, den 16. September 2014 um 22:35:20 Uhr (+0200) schrieb Malte Meyn: > 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 _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user