%{
Hi everybody, hi Graham,
this seems to be some sort of a bug, even if it only happens in a very
non-standard situation.
in the following snippet, though the TimeSignature is supposed to take
no horizontal space (on the first line, the notes are regularly
spaced), it does make the OttavaBracket move to the right (notice the
difference between the second and the first line of the score).
%}
\layout {
\context {
\type "Engraver_group"
\consists "Time_signature_engraver"
\consists "Axis_group_engraver"
\name "TimeSig"
}
\context {
\Staff
\remove "Time_signature_engraver"
}
\context { \PianoStaff
\accepts "TimeSig"
}
}
music = {
\repeat unfold 8 {c'4 d'} \break
\repeat unfold 8 {c' d'} \break
\repeat unfold 8 {c' d'}
}
timesigs = {
\time 4/4 s1*2
\time 2/4 s2*2
\time 4/4 s1*5
\time 2/4 s2*8
}
\new PianoStaff {
\override Score.VerticalAxisGroup #'minimum-Y-extent = #'(-1 . 5)
<<
\new Staff \music
\new TimeSig {
\override TimeSig.TimeSignature #'Y-extent = #'(0 . 0 )
\timesigs }
\new Staff {
#(set-octavation -1)
\music }
}
%{
When writing an orchestral score, I usually put the TimeSig at the top
of the score, using the x-aligned-on-self technique described in
http://lsr.dsi.unimi.it/LSR/Item?id=272 and then the bug disappear.
However, when it comes to piano scores such as the following, I can't
use it anymore since otherwise the TimeSignatures would collide with
the BarLines.
Regards,
Valentin
%}
_______________________________________________
bug-lilypond mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/bug-lilypond