Ambitus after key signature

Revision as of 09:50, 10 December 2025 by Lemzwerg (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.24"

\new Staff \with {
  \consists Ambitus_engraver
} \relative {
  \ambitusAfter key-signature
  \key d \major
  es'8 g bes cis d2
}