---- On Wed, 09 Apr 2025 18:20:06 +0800  Timothy Lanfear <timo...@lanfear.me> 
wrote --- 
 >         \score {
 >           <<
 >             \new Staff \with { \consists Text_mark_engraver } { \mark        
 > \default c''1 \textMark "molto" c'' }
 >             \new Staff { \mark \default c'1 \textMark "molto" c' }
 >           >>
 >         }

Sure, that eliminates the redundancy. Thanks.

I'm not sure why, but I couldn't get it to work with centered alignment. In my 
original test, without moving the Text_mark_engraver to a specific staff, I 
first tried:

  \tweak self-alignment-X #CENTER
  \tag #'topStaff \textMark "15-20\" electronics"
  R1\fermata

-- where the textMark is anchored to the beginning of the bar (per 
documentation), and then centered.

So I updated that when trying your suggestion, like this:

  <<
    { \oneVoice R1\fermata }
    \\
    {
      s2
      \tweak self-alignment-X #CENTER
      \textMark "15-20\" electronics"
      s2
    }
  >>

-- attempting to anchor it to the middle of the bar, but then the text mark is 
left-justified. Weird.

Raphael:
> How about putting the in a separate Dynamics or Devnull staff and then
inserting that once in the score and once in each separate part.

Interesting idea. Will try that later.

hjh

Reply via email to