Hi all!

I am engraving an orchestral score, and ran into the following: one staff
has volta repeat with alternative ending, but the other staff has no
alternate ending.

When I engrave the score for the conductor, strange thing happens (one
staff is shorter, that the other)

I also would like to engrave scores for violin and viola, and those notes
are in separate files. Viola part should not be aware of the alternative
block in violin IMHO.

So, how should I write this piece to be correct? (online version:
http://lilybin.com/mpasgy/4)

\version "2.18.2"
\language "deutsch"

violin = \relative c'' {
    \repeat volta 2 { c4 d e f | }
    \alternative {
      { c2 e | }
      { f2 g | }
    }
    c1
}

viola = \relative c' {
    \repeat volta 2 { c4 d e f |
    c2 c }
    c1
}

\score {
  <<
    \new Staff \violin
    \new Staff { \clef alto \viola }
  >>
  \layout { }
}


+-[ Gergely Kontra <[email protected]> ]------------------+
|                                                           |
| Mobile:(+36 20)356 9656                                   |
|                                                           |
+- "Olyan lángész vagyok, hogy poroltóval kellene járnom!" -+
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to