Jump to content

Ordering scripts stack: Difference between revisions

From LilyPond wiki
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:
Scripts can be stacked. The order is determined by a priority field, but when objects have the same priority, the input order determines the order. Objects specified first are closest to the note. You may also want to override the #'script-priority to give your Script or TextScript overall priority (if you do so, remember to use \once if you don't want the whole score to be affected).
Scripts can be stacked. The order is determined by a priority field, but when objects have the same priority, the input order determines the order. Objects specified first are closest to the note. You may also want to override the #'script-priority to give your Script or TextScript overall priority (if you do so, remember to use \once if you don't want the whole score to be affected).


<lilypond version="2.24.0">
<lilypond version="2.24">
%% http://lsr.di.unimi.it/LSR/Item?id=255
%% http://lsr.di.unimi.it/LSR/Item?id=255



Revision as of 18:53, 16 November 2025

Scripts can be stacked. The order is determined by a priority field, but when objects have the same priority, the input order determines the order. Objects specified first are closest to the note. You may also want to override the #'script-priority to give your Script or TextScript overall priority (if you do so, remember to use \once if you don't want the whole score to be affected).

\version "2.24"

%% http://lsr.di.unimi.it/LSR/Item?id=255

\relative c'' { c4^"inner up"^"outer up"_"inner down"_"outer down" }