Jump to content

Controlling the vertical ordering of scripts (2)

From LilyPond wiki
(Redirected from LSR 965)

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.0"

%% 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
}