Eirik B wrote:
Is there a way to (i) give the entire staff a new indent similar to the indent at the start of the piece (to accommodate space for the instrument name) and (ii) print the instrument name on the staff when it first becomes visible?
Here is one way. Be sure to read the caveats in the wiki text. Cheers, Robin
\version "2.24.4" \include "pseudoIndent.ily" % collected from PSEUDOINDENT FUNCTIONS at % https://wiki.lilypond.community/wiki/Indenting_individual_systems soloVoice = {\repeat unfold 20 d1} instrumentVoice = {R1*10 \pseudoIndent \markuplist { * "Instrument" } 12.5 % adjust indent to taste \repeat unfold 10 d1} \score { << \new Staff \with { instrumentName = "Soloist" } << \soloVoice >> \new Staff \with { shortInstrumentName = "" % initialise re name-tweaking } << \instrumentVoice >> >> \layout { \context { \Staff \RemoveAllEmptyStaves } } }
