Controlling the vertical ordering of scripts (2): Difference between revisions
Appearance
Import snippet from LSR |
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 |
||
| Line 1: | Line 1: | ||
The vertical ordering of scripts can be either tweaked with the <code>'script-priority</code> or the <code>'outside-staff-priority</code> property. The lower this number the closer it will be put to the note. | The vertical ordering of scripts can be either tweaked with the <code>'script-priority</code> or the <code>'outside-staff-priority</code> property. The lower this number the closer it will be put to the note. | ||
<lilypond version="2.24 | <lilypond version="2.24" full> | ||
%% http://lsr.di.unimi.it/LSR/Item?id=965 | %% http://lsr.di.unimi.it/LSR/Item?id=965 | ||
% added by P.P.Schneider on Dec.2014. | % added by P.P.Schneider on Dec.2014. | ||
Revision as of 18:47, 16 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
}