]> git.donarmstrong.com Git - lilypond.git/blob - input/lsr/trick/Caesura-railtracks-with-fermata.ly
Merge branch 'master' of git+ssh://jneem@git.sv.gnu.org/srv/git/lilypond
[lilypond.git] / input / lsr / trick / Caesura-railtracks-with-fermata.ly
1 \version "2.10.12"
2
3 \header { texidoc = "
4 A caesura is sometimes denoted with a double \"railtracks\" breath mark with a fermata sign positioned over the top of the railtracks. This snippet should present an optically pleasing combination of railtracks and a fermata.
5
6 It works for lilypond 2.5 and above.
7 " }
8
9 {
10   \context Voice {
11     c''2.
12     % use some scheme code to construct the symbol
13     \override BreathingSign #'text = #(markup #:line 
14                                   (#:musicglyph "scripts.caesura"
15                                    #:translate (cons -1.75 1.6) 
16                                    #:musicglyph "scripts.ufermata"
17                                   ))
18     \breathe c''4
19     % set the breathe mark back to normal
20     \revert BreathingSign #'text
21     c''2. \breathe c''4
22     \bar "|."
23   }
24 }
25