1 %% DO NOT EDIT this file manually; it is automatically
2 %% generated from LSR http://lsr.di.unimi.it
3 %% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
4 %% and then run scripts/auxiliar/makelsr.py
6 %% This file is in the public domain.
10 lsrtags = "spacing, tweaks-and-overrides, workaround"
13 All @code{DynamicLineSpanner} objects (hairpins and dynamic texts) are
14 placed with their reference line at least @code{'staff-padding} from
15 the staff, unless other notation forces them to be farther. Setting
16 @code{'staff-padding} to a sufficiently large value aligns the dynamics.
18 The same idea, together with @code{\\textLengthOn}, is used to align
19 the text scripts along their baseline.
22 doctitle = "Vertically aligned dynamics and textscripts"
25 music = \relative c' {
28 c2^\markup { \huge gorgeous } c^\markup { \huge fantastic }
34 \override DynamicLineSpanner.staff-padding = #3
36 \override TextScript.staff-padding = #1