From: Han-Wen Nienhuys Date: Sat, 28 Aug 2004 13:36:07 +0000 (+0000) Subject: (Automatic staff changes): X-Git-Tag: release/2.3.13~11 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=465ea401ab24900be0da5560bf8f470efa8878f4;p=lilypond.git (Automatic staff changes): document new behavior. --- diff --git a/Documentation/user/notation.itely b/Documentation/user/notation.itely index 85936cec86..45528f7d0e 100644 --- a/Documentation/user/notation.itely +++ b/Documentation/user/notation.itely @@ -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