Ambitus after key signature: Difference between revisions
Appearance
mNo edit summary |
mNo edit summary |
||
| Line 3: | Line 3: | ||
A common use case is printing the ambitus between key signature and time signature. | A common use case is printing the ambitus between key signature and time signature. | ||
<lilypond version="2. | <lilypond version="2.26"> | ||
\new Staff \with { | \new Staff \with { | ||
\consists Ambitus_engraver | \consists Ambitus_engraver | ||
Latest revision as of 04:27, 6 August 2026
By default, ambitus are positioned at the left of the clef. The \ambitusAfter function allows for changing this placement. Syntax is \ambitusAfter grob-interface; see Graphical Object Interfaces for a list of possible values for grob-interface.
A common use case is printing the ambitus between key signature and time signature.
\version "2.26"
\new Staff \with {
\consists Ambitus_engraver
} \relative {
\ambitusAfter key-signature
\key d \major
es'8 g bes cis d2
}