]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/breathing-sign.ly
The grand \paper -> \layout, \bookpaper -> \paper renaming.
[lilypond.git] / input / regression / breathing-sign.ly
1 #(ly:set-option 'old-relative)
2 \version "2.3.22"
3 \header{
4 texidoc="
5 Breathing signs are available in different tastes: commas (default),
6 ticks, vees and `railroad tracks' (caesura)."
7  }
8
9
10 \score {
11
12   {
13     %
14     % Modern notation:
15     %
16     \new Staff {
17        \relative c'' {
18         \key es \major \time 3/4
19
20         % this bar contains no \breathe
21         <<
22           { g4 as g } \\
23           { es4 bes es }
24         >> |
25
26         % by default, \breathe uses the rcomma, just as if saying:
27         % \override BreathingSign  #'text =
28         %       #(make-musicglyph-markup "scripts-rcomma")
29         <<
30           { g4 as g } \\
31           { es4 \breathe bes es }
32         >> |
33
34         % rvarcomma and lvarcomma are variations of the default rcomma
35         % and lcomma
36
37         % N.B.: must use Staff context here, since we start a Voice below
38         \override Staff.BreathingSign  #'text =
39                 #(make-musicglyph-markup "scripts-rvarcomma")
40         <<
41           { g4 as g } \\
42           { es4 \breathe bes es }
43         >> |
44
45         % wedge
46         \override BreathingSign  #'text =
47                  #(make-musicglyph-markup "scripts-upbow")
48         es8 d es f g8 \breathe f |
49
50         % caesura
51         \override BreathingSign  #'text =
52                  #(make-musicglyph-markup "scripts-caesura")
53         es8[ d] \breathe  es[ f g f] |
54         es2 r4 \bar "||" \break
55       }
56     }
57   }
58 }