Reviewers: J_lowe,
Message:
Review addressed. Changes are trivial enough that countdown can
continue.
Description:
changing-defaults.itely: correct misstatement about variables for
context mods
Please review this at http://codereview.appspot.com/5306076/
Affected files:
M Documentation/notation/changing-defaults.itely
Index: Documentation/notation/changing-defaults.itely
diff --git a/Documentation/notation/changing-defaults.itely
b/Documentation/notation/changing-defaults.itely
index
c589a6932db9c2043190879a4eb54fb97ee9e5ce..83f9aee050dfad35679064889010f72b54c3046b
100644
--- a/Documentation/notation/changing-defaults.itely
+++ b/Documentation/notation/changing-defaults.itely
@@ -724,10 +724,48 @@ this score block.
Modifications can be made to the @code{Score} context or all
@code{Voice} contexts in a similar way.
-@knownissues
+Context changes can be placed in a variable and applied to a
+@code{\context} definition by prepending the modification with
+@code{\with}:
+@lilypond[quote,verbatim]
+blubb = \with {
+ fontSize = #-4
+ \override Stem #'thickness = #4.0
+ \remove "Time_signature_engraver"
+}
-It is not possible to collect context changes in a variable and apply
-them to a @code{\context} definition by referring to that variable.
+bla = \with {
+ fontSize = #3
+ \override Stem #'thickness = #-2.0
+}
+
+melody = \relative c'' {
+ a4 a a a |
+ a4 a a a |
+}
+
+\score {
+ <<
+ \new Staff <<
+ \melody
+ s1*0^"Small, thicker stems, no time signature"
+ >>
+ \new Staff \bla <<
+ \melody
+ s1*0^"Different"
+ >>
+ >>
+ \layout {
+ \context {
+ \Staff
+ \blubb
+ }
+ }
+}
+@end lilypond
+
+
+@knownissues
The @code{\Staff \RemoveEmptyStaves} will overwrite your current
@code{\Staff} settings. If you wish to change the defaults for a
_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel