lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

stopStaff combined with StaffGroup extents barlines


From: Toine Schreurs
Subject: stopStaff combined with StaffGroup extents barlines
Date: Mon, 4 Feb 2008 22:19:42 +0100 (MET)

I am typesetting a score, where one of the staffs contains an ossia section.
I started from the example in section 1.6.1 of the NR. The second staff
will contain the ossia section. In the resulting score it is not obvious
to which staff this ossia belongs.
To connect the staff with the ossia section, I combined them into a StaffGroup.
Now it is clear to which staff the ossia belongs. But, all barlines are
(wrongly) extended also.
This behaviour started with version 2.11.35

Any hints?

Toine Schreurs

%======= start =========
\version "2.11.38"
musicOne =  \relative c' {
  \time 2/4
  d4 d |
  a' a |
  b b |
  f2
}

musicTwo =  \relative c' {
  e4 e |
  b' b |
  c c |
  g2
}

ossia =  \relative c' {
  \stopStaff
  s2*2 |
  \startStaff
  bes'8^"ossia" g bes g |
  \stopStaff
  s2 |
}

\score {
  <<
    \new Staff \musicOne
    \new StaffGroup 
      <<
        \new Staff \with
        {
          \remove "Time_signature_engraver"
          fontSize = #-2
          \override StaffSymbol #'staff-space = #(magstep -2)
          firstClef = ##f
        }
        \ossia
        \new Staff \musicTwo
      >>

  >>
}
%======== end ==========




reply via email to

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