Controlling the vertical ordering of scripts (2): Difference between revisions
Appearance
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 |
No edit summary |
||
| Line 25: | Line 25: | ||
[[Category:Expressive marks]] | [[Category:Expressive marks]] | ||
[[Category:Tweaks and overrides]] | [[Category:Tweaks and overrides]][[Category:Snippet]] | ||
Revision as of 22:50, 21 November 2025
The vertical ordering of scripts can be either tweaked with the 'script-priority or the 'outside-staff-priority property. The lower this number the closer it will be put to the note.
\version "2.24"
%% http://lsr.di.unimi.it/LSR/Item?id=965
% added by P.P.Schneider on Dec.2014.
%% => http://lilypond.1069038.n5.nabble.com/Controlling-the-order-of-articulations-and-text-markup-tc169414.html
\paper { tagline = ##f }
{
c''
-\tweak script-priority 1 ^script-priority
-\tweak script-priority 2 ^\turn
-\tweak script-priority 3 ^\prall
}
{
c''
-\tweak outside-staff-priority 1 ^outside-staff-priority
-\tweak outside-staff-priority 2 ^\turn
-\tweak outside-staff-priority 3 ^\prall
}