1 % DO NOT EDIT this file manually; it is automatically
2 % generated from Documentation/snippets/new
3 % Make any changes in Documentation/snippets/new/
4 % and then run scripts/auxiliar/makelsr.py
6 % This file is in the public domain.
7 %% Note: this file works from version 2.17.27
11 lsrtags = "spacing, tweaks-and-overrides, workaround"
14 All @code{DynamicLineSpanner} objects (hairpins and dynamic texts) are
15 placed with their reference line at least @code{'staff-padding} from
16 the staff, unless other notation forces them to be farther.
17 Setting @code{'staff-padding} to a sufficiently large value aligns the
20 The same idea, together with @code{\\textLengthOn}, is used to align
21 the text scripts along their baseline.
24 doctitle = "Vertically aligned dynamics and textscripts"
27 \markup \vspace #1 %avoid LSR-bug
29 music = \relative c' {
32 c2^\markup { \huge gorgeous } c^\markup { \huge fantastic }
38 \override DynamicLineSpanner.staff-padding = #3
40 \override TextScript.staff-padding = #1