Jump to content

Ordering scripts stack: Difference between revisions

From LilyPond wiki
No edit summary
m New category
Tags: Mobile edit Mobile web edit
 
Line 10: Line 10:
[[Category:Text]]
[[Category:Text]]
[[Category:Spacing]]
[[Category:Spacing]]
[[Category:Really simple]][[Category:Snippet]]
[[Category:Really simple]]
[[Category:Snippet]]

Latest revision as of 23:22, 21 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" }