Controlling the vertical ordering of scripts: Difference between revisions

m New category
Tags: Mobile edit Mobile web edit
mNo edit summary
Line 1: Line 1:
The vertical ordering of scripts is controlled with the <code>'script-priority</code> property. The lower this number, the closer it will be put to the note. In this example, the <code>TextScript</code> (the ''sharp'' symbol) first has the lowest priority, so it is put lowest in the first example. In the second, the ''prall trill'' (the <code>Script</code>) has the lowest, so it is on the inside. When two objects have the same priority, the order in which they are entered determines which one comes first.
The vertical ordering of scripts is controlled with the <code>script-priority</code> property. The lower this number, the closer it will be put to the note. In this example, the <code>TextScript</code> (the ''sharp'' symbol) first has the lowest priority, so it is put lowest in the first example. In the second, the ''prall trill'' (the <code>Script</code>) has the lowest, so it is on the inside. When two objects have the same priority, the order in which they are entered determines which one comes first.


<lilypond version="2.24">
<lilypond version="2.24">
Line 11: Line 11:
</lilypond>
</lilypond>


[[Category:Expressive marks]]
[[Category:Expressive marks]]
[[Category:Expressive marks]]
[[Category:Tweaks and overrides]]
[[Category:Tweaks and overrides]]
[[Category:Included in the official documentation]]
[[Category:Included in the official documentation]]
[[Category:Snippet]]
[[Category:Snippet]]