]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/breathing-sign.ly
Release: bump Welcome versions.
[lilypond.git] / input / regression / breathing-sign.ly
index a0e9a09c9c661b5fd36f242e7e5bd08d79aa0e12..239bf22a94826b767483121b14c8786c96e110d4 100644 (file)
@@ -1,32 +1,43 @@
-\version "1.7.6"
+\version "2.19.21"
 \header{
-texidoc="
-Breathing signs, also used for phrasing, do normally not influence
-global spacing -- only if space gets tight, notes are shifted to make
-room for the breathing sign. Breathing signs break beams running
-through their voice. In the following example, the notes in the first
-two measures all have the same distance from each other:
-"
+  texidoc="
+Breathing signs are available in different tastes: commas (default),
+ticks, vees and `railroad tracks' (caesura)."
 }
 
 
+{
+  %% Modern notation:
+  \new Staff {
+    \relative {
+      %% by default, \breathe uses the rcomma, just as if saying:
+      %% \override BreathingSign.text =
+      %%   #(make-musicglyph-markup "scripts.rcomma")
+      %%
+      c''4 c \breathe c c |
 
+      %% rvarcomma and lvarcomma are variations of the default rcomma
+      %% and lcomma
+      %%
+      \override Staff.BreathingSign.text =
+        #(make-musicglyph-markup "scripts.rvarcomma")
+      c4 c \breathe c c |
 
-\score {
-  \notes \relative c' {
-    \key es \major \time 3/4
-    < \context Voice = two { \stemDown es4 bes es }
-      \context Voice = one { \stemUp g4 as g }
-    > |
-    < \context Voice = two { \stemDown es4 \breathe bes es }
-      \context Voice = one { \stemUp g4 as g }
-    > |
-% Change to wedge:
-    \property Voice.BreathingSign \override #'text = #"scripts-upbow"
-    es8 d es f g8 \breathe f |
-% Revert to old layout:
-    \property Voice.BreathingSign \override #'molecule-callback = #Breathing_sign::brew_molecule
-    [es8 d] \breathe [es f g f] |
-    es2 r4 \bar "||"
+      %% wedge
+      %%
+      \override BreathingSign.text =
+        #(make-musicglyph-markup "scripts.upbow")
+      c4 c \breathe c c |
+
+      %% caesurae
+      %%
+      \override BreathingSign.text =
+        #(make-musicglyph-markup "scripts.caesura.curved")
+      c4 c \breathe c c |
+
+      \override BreathingSign.text =
+        #(make-musicglyph-markup "scripts.caesura.straight")
+      c4 c \breathe c c |
+    }
   }
 }