]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/vertically-aligning-dynamics-across-multiple-notes.ly
Imported Upstream version 2.18.0
[lilypond.git] / Documentation / snippets / vertically-aligning-dynamics-across-multiple-notes.ly
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
5 %%
6 %% This file is in the public domain.
7 \version "2.17.6"
8
9 \header {
10   lsrtags = "expressive-marks"
11
12   texidoc = "
13 Dynamics that occur at, begin on, or end on the same note will be
14 vertically aligned.  To ensure that dynamics are aligned when they do
15 not occur on the same note, increase the @code{staff-padding} property
16 of the @code{DynamicLineSpanner} object.
17
18 "
19   doctitle = "Vertically aligning dynamics across multiple notes"
20 } % begin verbatim
21
22
23 \relative c' {
24   \override DynamicLineSpanner.staff-padding = #4
25   c2\p f\mf
26   g2\< b4\> c\!
27 }