X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fuser%2Ftutorial.itely;h=b80d9a8c330975963e62b813888b9734f3b4a577;hb=3eb1e37e2e0b3966142cd04b85e30ab882308612;hp=86836d02abf35af9255f43adb243103fd551939b;hpb=c521f5d108e214c1598410e033bf3944e674924c;p=lilypond.git diff --git a/Documentation/user/tutorial.itely b/Documentation/user/tutorial.itely index 86836d02ab..b80d9a8c33 100644 --- a/Documentation/user/tutorial.itely +++ b/Documentation/user/tutorial.itely @@ -346,7 +346,7 @@ Music Glossary: @rglos{beam}, @rglos{duration}, @rglos{dotted note}. The @notation{duration} of a note is specified by a number after -the note name. @code{1} for a @notation{whole note}, @code{2} for +the note name: @code{1} for a @notation{whole note}, @code{2} for a @notation{half note}, @code{4} for a @notation{quarter note} and so on. @notation{Beams} are added automatically. @@ -503,7 +503,7 @@ Notes are lower case: @w{@code{@{ c d e @}}} is valid input; @item @strong{Whitespace insensitive}: -it does not matter how many spaces (or new lines) you add. +it does not matter how many spaces (or tabs or new lines) you add. @w{@code{@{ c d e @}}} means the same thing as @w{@code{@{ c @tie{}} @tie{} @tie{} d e @}} and: @@ -522,6 +522,13 @@ thumb is to indent code blocks with either a tab or two spaces: @} @end example +However, whitespace @emph{is} required to separate many syntactical +elements from others. In other words, whitespace can always be +@emph{added}, but it cannot be @emph{eliminated}. As missing +whitespace can give rise to strange errors it is advisable to +always insert whitespace before and after every syntactic element, +for example, before and after every curly brace. + @item @strong{Expressions}: every piece of LilyPond input needs to have @strong{@{ curly @@ -1233,9 +1240,11 @@ the input, not relative to the @code{c''} in the initial @subheading Simultaneous music expressions: single staff To determine the number of staves in a piece, LilyPond looks at -the beginning of the first expression. If is a single note, there -is one staff; if there is a simultaneous expression, there is more -than one staff. +the beginning of the first expression. If there is a single note, +there is one staff; if there is a simultaneous expression, there +is more than one staff. The following example shows a complex +expression, but as it begins with a single note it will be set +out on a single staff. @lilypond[verbatim,quote] \relative c'' {