bug-lilypond
[Top][All Lists]
Advanced

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

Re: OttavaBracket ignores null TimeSignature Y-extent


From: Graham Percival
Subject: Re: OttavaBracket ignores null TimeSignature Y-extent
Date: Wed, 05 Dec 2007 23:08:11 -0800
User-agent: Thunderbird 2.0.0.6 (X11/20071022)

Minimal example, please. It took me thirty seconds to find two lines I could remove. I also don't see why you need three lines of score here, as well as so many time signatures.

Cheers,
- Graham

Valentin Villenave wrote:
%{
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





reply via email to

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