Reviewers: ,
Description:
Doc: fix errors in variable definitions - issue #5132
Please review this at https://codereview.appspot.com/325720043/
Affected files (+5, -5 lines):
M Documentation/learning/common-notation.itely
Index: Documentation/learning/common-notation.itely
diff --git a/Documentation/learning/common-notation.itely
b/Documentation/learning/common-notation.itely
index
b51766c0a2e4a70f69430cbf61e7ac2d350a62ca..b9b62cf3b321452ec117290c7f9b68cf4246e39b
100644
--- a/Documentation/learning/common-notation.itely
+++ b/Documentation/learning/common-notation.itely
@@ -1343,9 +1343,9 @@ Variables may be used for many other types of objects
in
the input. For example,
@example
-width = 4.5\cm
-name = "Wendy"
-aFivePaper = \paper @{ paperheight = 21.0 \cm @}
+myWidth = 60 % a number to pass to a \paper variable (the unit is
millimeter)
+myName = "Wendy" % a string to pass to a markup
+aFivePaper = \paper @{ #(set-paper-size "a5") @}
@end example
Depending on its contents, the variable can be used in different
@@ -1354,11 +1354,11 @@ places. The following example uses the above
variables:
@example
\paper @{
\aFivePaper
- line-width = \width
+ line-width = \myWidth
@}
@{
- c4^\name
+ c4^\myName
@}
@end example
_______________________________________________
lilypond-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-devel