1 %% DO NOT EDIT this file manually; it is automatically
2 %% generated from LSR http://lsr.dsi.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 By setting the @code{'Y-extent} property to a suitable value, all
14 @code{DynamicLineSpanner} objects (hairpins and dynamic texts) can be
15 aligned to a common reference point, regardless of their actual extent.
16 This way, every element will be vertically aligned, thus producing a
19 The same idea is used to align the text scripts along their baseline.
22 doctitle = "Vertically aligned dynamics and textscripts"
26 music = \relative c' {
29 c2^\markup { \huge gorgeous } c^\markup { \huge fantastic }
35 \override DynamicLineSpanner.staff-padding = #2.0
36 \override DynamicLineSpanner.Y-extent = #'(-1.5 . 1.5)
37 \override TextScript.Y-extent = #'(-1.5 . 1.5)