bug-lilypond
[Top][All Lists]
Advanced

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

Issue 660 in lilypond: ossia staff doesn't stop at correct horizontal po


From: codesite-noreply
Subject: Issue 660 in lilypond: ossia staff doesn't stop at correct horizontal position
Date: Tue, 07 Jul 2009 17:29:34 +0000


Comment #1 on issue 660 by address@hidden: ossia staff doesn't stop at correct horizontal position
http://code.google.com/p/lilypond/issues/detail?id=660

The same thing happens if, instead of removing the engraver, you remove the stencil. As a workaround, the following code replaces the stencil with a white box that covers
the extra staff lines to the right of the bar line:

TSwo =  {
\once \override Staff.TimeSignature #'X-extent =  #'(0 . 1.6)
\once \override Staff.TimeSignature #'stencil = #ly:text-interface::print
\once \override Staff.TimeSignature #'text = \markup  {
\with-color #white \filled-box #'(-0.7 . 3) #'(-2.5 . 2.5)  #1 }
}

%%original snippet with stencil removed twice, replaced with white box the final time

\relative c'' {
  \time 2/4 c2 |

  << { c2 }
     \new Staff
     { \override Staff.TimeSignature #'stencil = ##f
      c2 | } >>

  << { c2 }
     \new Staff
     { \override Staff.TimeSignature #'stencil = ##f

     c2  | \TSwo } >>

  \time 3/4 c2. |
}


--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings




reply via email to

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