]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/breathing-sign.ly
Issue 5167/6: Changes: show \markup xxx = ... \etc assignments
[lilypond.git] / input / regression / breathing-sign.ly
index 139514afcec2aa97beae06c98d68106fe7fc8f78..239bf22a94826b767483121b14c8786c96e110d4 100644 (file)
@@ -1,58 +1,43 @@
-#(ly:set-option 'old-relative)
-\version "2.1.30"
+\version "2.19.21"
 \header{
-texidoc="
+  texidoc="
 Breathing signs are available in different tastes: commas (default),
 ticks, vees and `railroad tracks' (caesura)."
- }
-
-
-\score {
-
-  {
-    %
-    % Modern notation:
-    %
-    \new Staff {
-      \notes \relative c'' {
-       \key es \major \time 3/4
-
-       % this bar contains no \breathe
-       <<
-         { g4 as g } \\
-         { es4 bes es }
-       >> |
-
-       % by default, \breathe uses the rcomma, just as if saying:
-       % \override BreathingSign  #'text =
-       %       #(make-musicglyph-markup "scripts-rcomma")
-       <<
-         { g4 as g } \\
-         { es4 \breathe bes es }
-       >> |
-
-       % rvarcomma and lvarcomma are variations of the default rcomma
-       % and lcomma
-
-       % N.B.: must use Staff context here, since we start a Voice below
-       \override Staff.BreathingSign  #'text =
-               #(make-musicglyph-markup "scripts-rvarcomma")
-       <<
-         { g4 as g } \\
-         { es4 \breathe bes es }
-       >> |
+}
 
-       % wedge
-       \override BreathingSign  #'text =
-                #(make-musicglyph-markup "scripts-upbow")
-       es8 d es f g8 \breathe f |
 
-       % caesura
-       \override BreathingSign  #'text =
-                #(make-musicglyph-markup "scripts-caesura")
-       es8[ d] \breathe  es[ f g f] |
-       es2 r4 \bar "||" \break
-      }
+{
+  %% 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 |
+
+      %% 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 |
     }
   }
 }