Dear Lilypond users, I still have the problem with getting the right distance between first staff and TimeSig. In the below quoted snippet, the first staff is not alwys the same. How can I (if possible, automatically) control the distance between TimeSig and first staff? Here is the snippet:
\version "2.12.1" \paper { ragged-last-bottom = ##f system-separator-markup = \slashSeparator } \layout{ \context { \type "Engraver_group" \consists "Time_signature_engraver" \consists "Text_spanner_engraver" \consists "Text_engraver" \consists "Dynamic_engraver" \consists "Axis_group_engraver" \name "TimeSig" \override TimeSignature #'font-size = #3 \override TimeSignature #'break-align-symbol = #'staff-bar \override TimeSignature #'X-offset: = #ly:self-alignment-interface::x-aligned-on-self \override TimeSignature #'self-alignment-X = #CENTER } \context { \Score \accepts TimeSig } \context { \Score \override VerticalAlignment #'max-stretch = #ly:align-interface::calc-max-stretch } \context { \RemoveEmptyStaffContext } \context { \Staff \remove "Time_signature_engraver" % \override VerticalAxisGroup #'minimum-Y-extent = #'(-0 . 4) } \context { \TimeSig \override TimeSignature #'extra-offset = #'(0 . 3 ) } \context { \Score \override RehearsalMark #'extra-offset = #'(0 . 4) } } %%ENDE Layout! global = { \time 3/4 s2. \mark \default \time 4/4 s1 \break \time 5/4 s4*5 \mark \default \time 4/4 s1 \break \time 3/4 s2. \time 4/4 s1 } notenA = \relative { \set Staff.instrumentName = "InstrumentA" \set Staff.shortInstrumentName ="A" c4 e g c1 R4*9 c4 e g c1} notenB = \relative { \set Staff.instrumentName = "InstrumentB" \set Staff.shortInstrumentName ="B" R4*7 c2 c4 e g c1 R4*7 } notenC = \relative {\set Staff.instrumentName = "InstrumentB" \set Staff.shortInstrumentName ="C" R4*7 R4*9 c4 e g c1 } instrumentA = \new Staff { \notenA } instrumentB = \new Staff { \notenB } instrumentC = \new Staff { \notenC } tempotakt = \new TimeSig { \override Score.TimeSignature #'style = #'( ) \global } \score { << \tempotakt \instrumentA \instrumentB \instrumentC >> }
<<attachment: timesigtest.png>>
_______________________________________________ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user