4 lsrtags = "spacing, tweaks-and-overrides, workaround"
7 All @code{DynamicLineSpanner} objects (hairpins and dynamic texts) are
8 placed with their reference line at least @code{'staff-padding} from
9 the staff, unless other notation forces them to be farther.
10 Setting @code{'staff-padding} to a sufficiently large value aligns the
13 The same idea, together with @code{\\textLengthOn}, is used to align
14 the text scripts along their baseline.
17 doctitle = "Vertically aligned dynamics and textscripts"
19 \markup \vspace #1 %avoid LSR-bug
21 music = \relative c' {
24 c2^\markup { \huge gorgeous } c^\markup { \huge fantastic }
30 \override DynamicLineSpanner.staff-padding = #3
32 \override TextScript.staff-padding = #1