Jump to content

Making all custodes point up: Difference between revisions

From LilyPond wiki
Created page with "It's possible to make all custodes point up by setting the <code>neutral-position</code> property to a high enough number. <lilypond version="2.25.30"> \paper { indent = #0 ragged-right = ##t } \score { \new Staff \with { \consists Custos_engraver } { \override Staff.Custos.style = #'mensural \repeat unfold 3 { e''1 \break } \override Staff.Custos.neutral-position = #20 \repeat unfold 2 { e'' \break } } } </lilypond>"
 
mNo edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
It's possible to make all custodes point up by setting the <code>neutral-position</code> property to a high enough number.
It is possible to make all custodes point up by setting the <code>neutral-position</code> property to a large value.


<lilypond version="2.25.30">
<lilypond version="2.24">
\paper {
\paper {
   indent = #0
   indent = #0
Line 7: Line 7:
}
}


\score {
\markup \with-true-dimensions  % work around a cropping issue
 
  \score {
  \new Staff \with { \consists Custos_engraver } {
    \new Staff \with { \consists Custos_engraver } {
    \override Staff.Custos.style = #'mensural
      \override Staff.Custos.style = #'mensural
    \repeat unfold 3 { e''1 \break }
      \repeat unfold 3 { e''1 \break }
    \override Staff.Custos.neutral-position = #20
      \override Staff.Custos.neutral-position = #20
    \repeat unfold 2 { e'' \break }
      \repeat unfold 2 { e'' \break }
    }
   }
   }
</lilypond>


}
[[Category:Ancient notation]]
</lilypond>
[[Category:Snippet]]
[[Category:Tweaks and overrides]]

Latest revision as of 19:03, 27 November 2025

It is possible to make all custodes point up by setting the neutral-position property to a large value.

\version "2.24"

\paper {
  indent = #0
  ragged-right = ##t
}

\markup \with-true-dimensions  % work around a cropping issue
  \score {
    \new Staff \with { \consists Custos_engraver } {
      \override Staff.Custos.style = #'mensural
      \repeat unfold 3 { e''1 \break }
      \override Staff.Custos.neutral-position = #20
      \repeat unfold 2 { e'' \break }
    }
  }