Re: Prevent multiple similar text marks to appear in score?

Kieren MacMillan <[email protected]> Sat, 4 Jul 2026 08:46:30 -0400
Newsgroups gmane.comp.gnu.lilypond.general
Message-ID <[email protected]>
Hi Michael,

> I create single instruments (which include textMarks) and the score,
> which in my case consists of four instruments.
> Textmarks are repeated in the score - is that good practise?

No.

Here’s a hint at a better way of structuring your code:

%% EXAMPLE BEGIN
\version "2.26.0"

global = {
 \textMark "a tempo"
}

instA = { c'4 f g a }

%  full score
\score {
  <<
      \new Devnull \global
      \new Staff \instA
      \new Staff { a4 c' d' f' }
      \new Staff { a2 c'2 }
      \new Staff { c'4. d'8 f'2 }
>> 
}

%  part
\score {
 \new Staff << \global \instA >>
}
%% EXAMPLE END

For more details, search for phrases like “ScoreMarks” or ”MarkLine” in the archives.

Hope that helps!
Kieren.

__________________________________________________

My work day may look different than your work day. Please do not feel obligated to read or respond to this email outside of your normal working hours.