]> git.donarmstrong.com Git - lilypond.git/commitdiff
Doc: more removal of \new Score in LM
authorJames Lowe <james.lowe@datacore.com>
Mon, 4 Oct 2010 19:35:12 +0000 (20:35 +0100)
committerGraham Percival <gperciva@gperciva-desktop.(none)>
Mon, 4 Oct 2010 21:04:07 +0000 (22:04 +0100)
Tracker 1033

Changed \new score to use \score { } construct.

For example that used \new Score \with, changed example to use \score with
\layout { \context {\Score }}} and moved @lilypond example to section that this
was now relevant to.

Documentation/learning/fundamental.itely

index 811b1dc49360beb33ead9c29f56053401676828c..fbd0778c84ea44685a4c89fe4d8b0100090f72f1 100644 (file)
@@ -1870,27 +1870,6 @@ like this:
 >>
 @end lilypond
 
-Or, if the property override is to be applied to all staves
-within the score, it may be appended to an explicit
-@code{\new Score} command, like this:
-
-@lilypond[quote,verbatim,ragged-right]
-\score {
-  \new Score \with { extraNatural = ##f } <<
-    \new Staff {
-      \relative c'' {
-        gis4 ges aes ais
-      }
-    }
-    \new Staff {
-      \relative c'' {
-        gis4 ges aes ais
-      }
-    }
-  >>
-}
-@end lilypond
-
 Properties set in this way may still be changed dynamically using
 @code{\set} and returned to the default value set in the
 @code{\with} block with @code{\unset}.
@@ -1935,6 +1914,31 @@ throughout the @code{\score} or @code{\book} block in which the
 }
 @end lilypond
 
+If the property override is to be applied to all staves
+within the score:
+
+@lilypond[quote,verbatim]
+\score {
+  <<
+    \new Staff {
+      \relative c'' {
+        gis4 ges aes ais
+      }
+    }
+    \new Staff {
+      \relative c'' {
+        gis4 ges aes ais
+      }
+    }
+  >>
+  \layout {
+    \context {
+      \Score extraNatural = ##f
+    }
+  }
+}
+@end lilypond
+
 @noindent
 Context properties set in this way may be overridden for particular
 instances of contexts by statements in a @code{\with} block, and by