]> git.donarmstrong.com Git - lilypond.git/blob - input/lsr/trick/Tramlines-and-Feta-font-caesurae.ly
Merge branch 'master' of git+ssh://jneem@git.sv.gnu.org/srv/git/lilypond
[lilypond.git] / input / lsr / trick / Tramlines-and-Feta-font-caesurae.ly
1 \version "2.10.12"
2
3 \header { texidoc = "
4 This snippet shows a way to insert available Feta font symbols as caesurae and ways to create tramlines.  Normally a caesura is indicated by a pair of oblique lines lying through the top line of the staff, also called a fetura, tramlines, railroad tracks, or a cut-off.  LilyPond provides several alternatives.  A stylized version of tramlines is called caesura.  The normal tramline form, here called fetura, is not in the Feta font set, but can be constructed using the / character.
5 " }
6
7 \version "2.8.4"
8 %{ This snippet shows a way to insert available Feta font symbols as caesurae
9  and ways to create tramlines.  Normally a caesura is indicated by a pair of
10  oblique lines lying through the top line of the staff, also called a fetura,
11  tramlines, railroad tracks, or a cut-off.  LilyPond provides several
12  alternatives.  A stylized version of tramlines is called caesura.  The normal
13  tramline form, here called fetura, is not in the Feta font set, but can be
14  constructed using the / character.%}
15                                                 \relative c'' {
16 \time 3/4
17 e4 d e
18                                         % default
19 e_\markup { "default - breathe" }
20         \breathe d e |
21                                         % rcomma
22         % by default, \breathe uses the rcomma, just as if saying:
23                 \override BreathingSign   #'text =
24                 #(make-musicglyph-markup "scripts.rcomma")
25 e_\markup rcomma \breathe d e |
26                                         % lcomma
27                 \override BreathingSign   #'text =
28                 #(make-musicglyph-markup "scripts.lcomma")
29 e_\markup lcomma \breathe d e |
30                                         % rvarcomma
31                 \override BreathingSign   #'text =
32                 #(make-musicglyph-markup "scripts.rvarcomma")
33 e_\markup rvarcomma \breathe d e | \break
34                                         % lvarcomma
35                 \override BreathingSign   #'text =
36                 #(make-musicglyph-markup "scripts.lvarcomma")
37 e_\markup lvarcomma \breathe d e |
38                                         % upbow or wedge
39                 \override BreathingSign   #'text =
40                  #(make-musicglyph-markup "scripts.upbow")
41 e_\markup upbow \breathe d e |
42                                         % caesura
43                 \override BreathingSign   #'text =
44                  #(make-musicglyph-markup "scripts.caesura")
45 e_\markup caesura \breathe d e |
46                                         % fetura, tramlines, or railroad tracks
47 <<{
48 \hideNotes a16 a a a a4 a \unHideNotes
49 }\\{
50         \once\override TextScript   #'extra-offset = #'(4.0 . -2.7)
51 e^\markup {\fontsize #2 {\bold "/" \hspace #-1.4 \bold "/"}}
52 d_\markup { \hspace #-10 "fetura" } e |
53 }>>
54         \once\override TextScript   #'font-name = #"cmb10"
55         \once\override TextScript   #'extra-offset = #'(4.0 . -2.2)
56 e^\markup {\magnify #1.3 { "/" \hspace #-1.5 "/"}}
57         \once \override Score.SeparationItem #'padding = #4
58 d_\markup { \hspace #-10 "fetura" } e |
59
60 e d e \bar "||"
61                                                 }%end relative
62                                         \layout{
63 indent = 0.00\in
64                                         }%end layout
65
66