when adding \new Staff to a StaffGroup, ledger lines not rendered if clef is specified.

2016-01-29 Thread Andy Deitrich
% 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. 
<<
{2.~ | }
\new Staff 
\clef bass 
{ges,,2. | f}
>>
}


___
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond


Re: when adding \new Staff to a StaffGroup, ledger lines not rendered if clef is specified.

2016-01-29 Thread Phil Holmes
"Andy Deitrich"  wrote in message 
news:loom.20160129t162423-...@post.gmane.org...

% 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.
<<
{2.~ | }
\new Staff
\clef bass
{ges,,2. | f}
>>
}


I've no idea what you're trying to do here, but if you sort out your << >> 
and { } groups, the music starts to look like I'd guess it should:


\version "2.18.2"

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



}


--
Phil Holmes



___
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond


Re: when adding \new Staff to a StaffGroup, ledger lines not rendered if clef is specified.

2016-01-29 Thread Andy Deitrich
Phil Holmes  philholmes.net> writes:

> 
> I've no idea what you're trying to do here, but if you sort out your << >> 
> and { } groups, the music starts to look like I'd guess it should:
> 
>.

Thank you!!!


___
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond


Re: when adding \new Staff to a StaffGroup, ledger lines not rendered if clef is specified.

2016-01-29 Thread Simon Albrecht

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.
<<
{2.~ | }
\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.
  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
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond