On Tuesday 07 September 2010 14:49:16 Xavier Scheuer wrote: > On 7 September 2010 16:35, Matthieu Jacquot <milare...@gmail.com> wrote: > > > > 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 > > > > [...] > > > Here's the workaround I found : Remove Mark_engraver and Bar_number_engraver from Score and add them to the first staff. It seems to work fine...
\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 \remove "Mark_engraver" \remove "Bar_number_engraver" } \context { \Staff \remove "Time_signature_engraver" }} timeSignatures = { \repeat unfold 5 {\time 2/4 s2 \time 3/4 s2. \time 4/4 s1 s1}} \score { << \new TimeSig \timeSignatures \new Staff \with {\consists "Bar_number_engraver" \consists "Mark_engraver" } \relative c' { \repeat unfold 5 {c'2 c2. c1\mark \markup"a" c1 \break}} \new Staff {\repeat unfold 5 { a2 a2. a1 a1}} >> } _______________________________________________ bug-lilypond mailing list bug-lilypond@gnu.org http://lists.gnu.org/mailman/listinfo/bug-lilypond