]> git.donarmstrong.com Git - lilypond.git/commitdiff
(Automatic staff changes):
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Sat, 28 Aug 2004 13:36:07 +0000 (13:36 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Sat, 28 Aug 2004 13:36:07 +0000 (13:36 +0000)
document new behavior.

Documentation/user/notation.itely

index 85936cec8695c861b9918ea0bc85f710559af1ac..45528f7d0ee13b8520c2eee973c470de3062452a 100644 (file)
@@ -3312,13 +3312,14 @@ staff. The syntax for this is
 
 @quotation
 @example
-\autochange \context Voice  @dots{}@var{music}@dots{} 
+  \autochange @dots{}@var{music}@dots{} 
 @end example
 @end quotation
 
 @noindent
-The two staves of the piano staff must be named @code{up} and
-@code{down}.
+This will create two staves inside the current PianoStaff, called
+@code{up} and @code{down}. The lower staff will be in bass clef by
+default.
 
 A @code{\relative} section that is outside of @code{\autochange} has
 no effect on the pitches of @var{music}, so, if necessary, put
@@ -3326,7 +3327,7 @@ no effect on the pitches of @var{music}, so, if necessary, put
 
 @quotation
 @example
-\autochange \relative @dots{} \new Voice @dots{}
+\autochange \relative @dots{} @dots{}
 @end example
 @end quotation
 
@@ -3337,19 +3338,11 @@ advance. Here is a practical example
         
 @lilypond[quote,verbatim,raggedright]
 \context PianoStaff <<
-  \context Staff = "up" {
-    \autochange \new Voice \relative c' {
+    \autochange \relative c' {
        g4 a  b c d r4 a g } }
-  \context Staff = "down" {
-       \clef bass
-       s1*2
-} >>
+ >>
 @end lilypond
 
-@noindent
-In this example, spacer rests are used to prevent empty staves  from
-being terminated too soon.
-
 
 @seealso