Jump to content

Printing marks on every staff: Difference between revisions

From LilyPond wiki
Import snippet from LSR
 
m Replace version="2.24.0" with version="2.24" now that the LilyWiki extension supports auto-selecting the latest release in a stable series
Line 1: Line 1:
Although rehearsal and text marks are normally only printed above the topmost staff, they may also be printed on every staff.
Although rehearsal and text marks are normally only printed above the topmost staff, they may also be printed on every staff.


<lilypond version="2.24.0">
<lilypond version="2.24">
\score {
\score {
   <<
   <<

Revision as of 18:50, 16 November 2025

Although rehearsal and text marks are normally only printed above the topmost staff, they may also be printed on every staff.

\version "2.24"

\score {
  <<
    \new Staff { \mark \default c''1 \textMark "molto" c'' }
    \new Staff { \mark \default c'1 \textMark "molto" c' }
  >>
  \layout {
    \context {
      \Score
      \remove Mark_engraver
      \remove Text_mark_engraver
      \remove Staff_collecting_engraver
    }
    \context {
      \Staff
      \consists Mark_engraver
      \consists Text_mark_engraver
      \consists Staff_collecting_engraver
    }
  }
}