On 29.01.2016 16:29, Andy Deitrich wrote:
% The example here renders perfectly if \clef bass is removed
% but as is, the ledger lines in the new staff are not rendered.

\version "2.18.2"

\new StaffGroup \relative c {
        \time 6/8
        \new Staff
        c''2. | c2.
        <<
        {<bes des f>2.~ | <bes des f>}
        \new Staff
        \clef bass
        {ges,,2. | f}
        >>
        }

Phil already sorted out the crucial things, but I’d like to make a few more recommendations for structuring your code:

%%%%%%%%%%%%
\version "2.18.2"

aux = {
  \time 6/8
}
one = \relative {
  c''2. | c2.
  <bes des f>2.~ | q % ‘q’ repeats the previous chord
}
two = \relative {
  \clef bass
  ges,2. | f
}

\new StaffGroup <<
  \aux
  \new Staff \one
  \new Staff \two
>>
%%%%%%%%%%%

This gives you a more robust, more legible structure.

Best, Simon

_______________________________________________
bug-lilypond mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to