From: James Lowe Date: Mon, 4 Oct 2010 19:35:12 +0000 (+0100) Subject: Doc: more removal of \new Score in LM X-Git-Tag: release/2.13.36-1~61 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=463862ff6c12543964ea63e42bca8af430f6d989;p=lilypond.git Doc: more removal of \new Score in LM 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. --- diff --git a/Documentation/learning/fundamental.itely b/Documentation/learning/fundamental.itely index 811b1dc493..fbd0778c84 100644 --- a/Documentation/learning/fundamental.itely +++ b/Documentation/learning/fundamental.itely @@ -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