Jump to content

Ambitus after key signature: Difference between revisions

From LilyPond wiki
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
mNo edit summary
Line 1: Line 1:
By default, ambitus are positioned at the left of the clef. The <code>\ambitusAfter</code> function allows for changing this placement. Syntax is <code>\ambitusAfter grob-interface</code> (see [http://lilypond.org/doc/v2.22/Documentation/internals/graphical-object-interfaces Graphical Object Interfaces] for a list of possible values for <code>grob-interface</code>.)
By default, ambitus are positioned at the left of the clef. The <code>\ambitusAfter</code> function allows for changing this placement. Syntax is <code>\ambitusAfter grob-interface</code> (see [http://lilypond.org/doc/v2.24/Documentation/internals/graphical-object-interfaces Graphical Object Interfaces] for a list of possible values for <code>grob-interface</code>.)


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.

Revision as of 15:03, 19 November 2025

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
}