[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: new Problem with Time-Sig
From: |
Stefan Thomas |
Subject: |
Re: new Problem with Time-Sig |
Date: |
Mon, 23 Mar 2009 10:27:45 +0100 |
Dear Neil,
thanks for Your help, Your code worked.
I don't have any problems with the horizontal position of the
TimeSignatures, but I'm still not happy with the vertical position.
Sometimes (if I have a stretch in the layout), the TimeSignature is
too far away, sometimes it is too close to the staff. Isn't there a
possiblitie to have a "magnetic position" for TimeSignature's
vertical position?
This would be great!
2009/3/22 Neil Puttock <address@hidden>:
> 2009/3/22 Stefan Thomas <address@hidden>:
>> Dear Lilypond-users,
>> I've got a new problem, concerning the TimeSig-Context.
>> I don't understand, why the Time-Signature takes so much space in this
>> example, when the bar starts with a rest.
>> How can I change it?
>
> You can make it take up no space using 'extra-spacing-width; see `Grob
> sizing' in the Learning Manual
> (http://lilypond.org/doc/v2.13/Documentation/user/lilypond-learning/Outside_002dstaff-objects#Outside_002dstaff-objects).
>
> \layout {
> \context {
> \RemoveEmptyStaffContext
> \remove "Time_signature_engraver"
> }
> \context {
> \Score
> \consists "Text_spanner_engraver"
> \consists "Time_signature_engraver"
> \override VerticalAxisGroup #'remove-first = ##t
> \override TimeSignature #'style = #'()
> \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 #'extra-spacing-width = #'(+inf.0 . -inf.0)
> \override TimeSignature #'break-visibility = #end-of-line-invisible
> \override TimeSignature #'font-size = #3
> \override TimeSignature #'Y-offset = #1.5
> }
> % \context { \Voice \remove "Text_spanner_engraver" }
> }
>
> Regards,
> Neil
>