Controlling the vertical ordering of scripts (2): Difference between revisions
Appearance
Import snippet from LSR |
m New category Tags: Mobile edit Mobile web edit |
||
| (2 intermediate revisions by 2 users not shown) | |||
| 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. | ||
| Line 26: | Line 26: | ||
[[Category:Expressive marks]] | [[Category:Expressive marks]] | ||
[[Category:Tweaks and overrides]] | [[Category:Tweaks and overrides]] | ||
[[Category:Snippet]] | |||
Latest revision as of 23:28, 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
}