[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Two StaffGroup's in a singe line?
From: |
Trevor Daniels |
Subject: |
Re: Two StaffGroup's in a singe line? |
Date: |
Mon, 15 Dec 2014 11:14:54 -0000 |
The solution I posted below works fine in the later 2.19 releases.
In 2.18 it is necessary to add a \layout block to the two scores.
Trevor
> Joerg Peter wrote Sunday, December 14, 2014 7:09 PM
>
>> Is it possible to engrave the second StaffGroup to the right of the
>> first one without a line break (posibly with some gap (s2))?
>
> Here's one way:
>
> \markup \line {
> \score {
> \new StaffGroup {
> <<
> \new Staff { \relative c'' { f4 d e c \bar "|."} }
> \new Staff { \relative c' { c2 c4 f \bar "|." } }
> >>
> }
> }
> \score {
> \new StaffGroup {
> <<
> \new Staff { \relative c' { f2. d4 | } }
> \new Staff { \relative c' { f2 b4 g | } }
> >>
> }
> }
> }
>
> The gap can be controlled with the usual markup commands.
>
> Trevor
> _______________________________________________
> lilypond-user mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/lilypond-user