bug-lilypond
[Top][All Lists]
Advanced

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

Rehearsal mark and bar number vertical placement


From: Matthieu Jacquot
Subject: Rehearsal mark and bar number vertical placement
Date: Tue, 7 Sep 2010 14:35:36 +0000
User-agent: KMail/1.13.5 (Linux/2.6.35-ARCH; KDE/4.5.1; i686; ; )

Since the 2.13.28 (at least) it seems to have a problem with the vertical 
placement of the bar numbers and rehearsal marks (2.12 is fine). 
I'm trying this code, slightly modified from the LSR code (without the 
Rehearsal 
Marks) http://lsr.dsi.unimi.it/LSR/Snippet?id=272
\layout {
  \context {
    \type "Engraver_group"
    \consists "Time_signature_engraver"
    \consists "Axis_group_engraver"
    \name "TimeSig"
    \override TimeSignature #'font-size = #3
    \override TimeSignature #'break-align-symbol = ##f
    \override TimeSignature #'X-offset = #ly:self-alignment-interface::x-
aligned-on-self
    \override TimeSignature #'self-alignment-X = #CENTER
    \override TimeSignature #'after-line-breaking = #shift-right-at-line-begin
  }
  \context {
    \Score
    \accepts TimeSig
  }
  \context {
    \Staff
    \remove "Time_signature_engraver"
  }
}

timeSignatures = { \repeat unfold 5 {\time 2/4 s2 \time 3/4 s2. \time 4/4 s1 s1 
\break}}

\score {
  <<
    \new TimeSig \timeSignatures
    \new Staff \relative { \repeat unfold 5 {c'2 c2. c1 \mark "A" c1}}
    \new Staff {\repeat unfold 5 { a2 a2. a1 a1}}
  >>
}


Sorry for this poorly written bug report...
Matthieu



reply via email to

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