> The actual problem is, that I have four voices on two staffs and in
> the middle of the piece I'd like the soprano voice to switch to a
> third staff, which later should disappear again. I rememberd that I
> have to keep a staff context alive for the whole piece, then set
> skipBar = 1 in score context and used spacer notes/skip duration
> constructs, but that would print clef, time signature and key before
> stopping printing the extra staff (right from the beginning I'd like
> to have only two staffs). So I would appreciate a short hint on
> the correct solution.

Take a look at the example file 
lilypond-1.1.xx/input/test/extra-staff.ly


> 4. Is there any written documentation out already on the latest design
>   of the repeat mechanism? 

Adrian Mariano sent an update of the documentation yesterday which 
probably will be included in 1.1.50. Anyway, here's the section on
repeats:

--------------------------
 In order to specify repeats, use the code(\repeat) keyword.  By
 default, repeats are printed with repeat symbols.  
 mudela(fragment,verbatim,center)(
 c'1
\repeat semi 2 { c'4 d' e' f' }
\repeat semi 2 { f' e' d' c' })
 In order to specify alternate endings, use the code(\alternative)
 keyword.  
 mudela(fragment,verbatim,center)(
 c'1
\repeat semi 2 {c'4 d' e' f'} 
\alternative { {d'2 d'} {f' f} })
The code(semi) specifies that normal repeats will be printed.  If
code(fold) is used instead then the alternatives will be stacked:
mudela(fragment,verbatim,center)(
c'1
\repeat fold 2 {c'4 d' e' f'} 
 \alternative { {d'2 d'} {f' f} })
 When the repeats involve partial measures, it will be necessary to use
 code(\partial) keywords in a somewhat unexpected way 
 to indicate some measure lengths.
 mudela(fragment,verbatim)(
 \context Staff { \relative c'{
  \repeat semi 2 { \partial 4; e | c2 d2 | e2 f2 | }
   \alternative { { g4 g g } {\partial 1; a a a a | b1 } }
 }})
 Repeats can be unfolded by setting the property Staff.unfoldRepeats.
----------


    /Mats

Reply via email to