]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/tag-filter.ly
Fix some bugs in the dynamic engraver and PostScript backend
[lilypond.git] / input / regression / tag-filter.ly
index f3d2046cf3c496de9c7b583cd3a9e1604226cea3..9aa03a8dc6ed1ddf0ab11e084bd3cc6e9dcaf245 100644 (file)
@@ -1,8 +1,8 @@
 
-\version "2.3.22"
+\version "2.7.39"
 \header {
 
-texidoc = "The @code{\\tag} command marks music expressions with a
+  texidoc = "The @code{\\tag} command marks music expressions with a
 name. These tagged expressions can be filtered out later. This
 mechanism can be used to make different versions of the same music. In
 this example, the top stave displays the music expression with all
@@ -11,43 +11,43 @@ notes and fingerings, but the score has not."
 
 }
 
-\layout { raggedright= ##t }
+\layout { ragged-right= ##t }
 
 common =
- \relative c''  {
-
-    c1
-    \relative c' <<
-       \tag #'part <<
-         R1 \\
-         {
-             \set fontSize = #-1
-             c4_"cue" f2 g4 } 
-        >>
-       \tag #'score R1
-     >>
-    c1-\tag #'part ^4
+\relative c''  {
+
+  c1
+  \relative c' <<
+    \tag #'part <<
+      R1 \\
+      {
+       \set fontSize = #-1
+       c4_"cue" f2 g4 } 
+    >>
+    \tag #'score R1
+  >>
+  c1-\tag #'part ^4
 }
 
 
-\score {
-    \simultaneous { 
-    \new Staff {
-       \set Staff.instrument = #"both"
-       \common
-       }
-    \new Staff {
-       \set Staff.instrument = #"part"
-       \keepWithTag #'part \common
-       }
-    \new Staff {
-       \set Staff.instrument = #"score"
-       \keepWithTag #'score \common
-       }
-    }
+
+\simultaneous { 
+  \new Staff {
+    \set Staff.instrument = #"both"
+    \common
+  }
+  \new Staff {
+    \set Staff.instrument = #"part"
+    \keepWithTag #'part \common
+  }
+  \new Staff {
+    \set Staff.instrument = #"score"
+    \keepWithTag #'score \common
+  }
 }
 
 
 
 
 
+