lilypond-user
[Top][All Lists]
Advanced

[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: Sun, 14 Dec 2014 22:24:36 -0000

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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]