More Scheme vector quoting.
[lilypond.git] / input / lsr / vertically-aligned-dynamics-and-textscripts.ly
blob6ba95a84afb2a3eadcae2d06b5f6bd25d611b084
1 %% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
2 %% This file is in the public domain.
3 \version "2.11.52"
5 \header {
6 lsrtags = "tweaks-and-overrides, spacing"
8 texidoc = "
9 By setting the @code{Y-extent} property to a suitable value, all
10 @code{DynamicLineSpanner} objects (hairpins and dynamic texts) can be
11 aligned to a common reference point, regardless of their actual extent.
12 This way, every element will be vertically aligned, thus producing a
13 more pleasing output.
15 The same idea is used to align the text scripts along their baseline.
18 doctitle = "Vertically aligned dynamics and textscripts"
19 } % begin verbatim
20 music = \relative c'' {
21 c2\p^\markup { gorgeous } c\f^\markup { fantastic }
22 c4\p c\f\> c c\!\p
26 \music \break
27 \override DynamicLineSpanner #'staff-padding = #2.0
28 \override DynamicLineSpanner #'Y-extent = #'(-1.5 . 1.5)
29 \override TextScript #'Y-extent = #'(-1.5 . 1.5)
30 \music