lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Independent rehearsalMarks in 2.24


From: Andreas K. H. von
Subject: Independent rehearsalMarks in 2.24
Date: Sun, 29 Dec 2024 19:28:48 +0100
User-agent: Evolution 3.52.3-0ubuntu1

Hi all,

for a special purpose i need two independent rehearsal marks in
different voices. In version 2.22.1 i used the following example
successfully:


\version "2.22.1"
StimmeA = \relative {
  \mark #1
  c''1
  c1
  \mark \default
  c1
}

StimmeB = \relative {
  s1
  \mark #1
  s1
  s1
}

\score {
  <<
    \new Staff <<
      \new Voice \with {
        \consists Mark_engraver
      }
      {
        \StimmeA
      }
      \new Dynamics
      {
        \override Voice.RehearsalMark.direction = #DOWN
        \set Voice.markFormatter = #format-mark-box-numbers
        \StimmeB
      }
    >>
  >>
  \layout {
    \context {
      \Score
      \remove Mark_engraver
    }
    \context {
      \Dynamics
      \consists Mark_engraver
    }
  }
}

The result is seen in marktest.png.

With version 2.24 this no longer works. The result is seen in
marktest2.png.

Is there any way i can achieve this in version 2.24?

Thanks in advance.

Andreas

Attachment: marktest.png
Description: PNG image

Attachment: marktest2.png
Description: PNG image


reply via email to

[Prev in Thread] Current Thread [Next in Thread]