Ambitus after key signature: Difference between revisions

Import snippet from LSR
 
mNo edit summary
 
(6 intermediate revisions by 2 users not shown)
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 <var>grob-interface</var></code>; see [http://lilypond.org/doc/v2.24/Documentation/internals/graphical-object-interfaces Graphical Object Interfaces] for a list of possible values for <var>grob-interface</var>.


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.24.0">
<lilypond version="2.24">
\new Staff \with {
\new Staff \with {
   \consists Ambitus_engraver
   \consists Ambitus_engraver
Line 13: Line 13:
</lilypond>
</lilypond>


[[Category:Contexts and engravers]]
[[Category:Pitches]]
[[Category:Pitches]]
[[Category:Staff notation]]
[[Category:Staff notation]]
[[Category:Vocal music]]
[[Category:Vocal music]]
[[Category:Included in the official documentation]]
[[Category:Included in the official documentation]]
[[Category:Snippet]]