lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Doc: fix errors in variable definitions - issue #5132 (issue 325720043 b


From: fedelogy
Subject: Doc: fix errors in variable definitions - issue #5132 (issue 325720043 by address@hidden)
Date: Fri, 05 May 2017 05:41:04 -0700

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






reply via email to

[Prev in Thread] Current Thread [Next in Thread]