Am Montag, 6. Juli 2009 14:58:30 schrieb Alan Shaw:
> You're right of course; I just thought it was worth asking on the off
> chance that someone would know right away what I was talking about and I
> could save myself the hour or so it would take to construct a "minimal"
> example.
>
> In the course of doing that I've found one further necessary condition for
> the problem to appear: the volta engraver has to be in the Staff context. In
> the example below, there should be a line break between first and second
> ending at the default line width. The "Mar." appears about even with the
> top staff line. If you leave the volta engraver in the Score context, the
> name is normally centered.
>
> Of course in the example there is no good reason to move the volta
> engraver, but in the actual music there is.

Attached is an even more minimal example (for the bug tracker). I also noticed 
that the problem does not appear with the first alternative (if the first 
alternative starts in a new line), but only with the second.

The problem also appears with lilypond 2.13.2.

Cheers,
Reinhold

-- 
------------------------------------------------------------------
Reinhold Kainhofer, reinh...@kainhofer.com, http://reinhold.kainhofer.com/
 * Financial & Actuarial Math., Vienna Univ. of Technology, Austria
 * http://www.fam.tuwien.ac.at/, DVR: 0005886
 * LilyPond, Music typesetting, http://www.lilypond.org
\version "2.12.2"

\layout {
    \context { \Score
           \remove "Volta_engraver" 
    }
}

testMusik =  \relative c'' {
  \repeat volta 2 {
    c1 \break
  } \alternative {
    { c1 \break }
    { c1 \break }
  }
  c1
}  

\score {
  \new Staff  \with { 
    \consists "Volta_engraver" 
    instrumentName = "Instrument"
    shortInstrumentName = "Instr."
  }
  <<
    \testMusik
  >>
}

Attachment: volta.pdf
Description: Adobe PDF document

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to