On 4/11/07, Mats Bengtsson <[EMAIL PROTECTED]> wrote:
Since you want to change the spacing after the time signature, you should modify the space-alist property for the TimeSignature: \override TimeSignature #'space-alist = #'( (first-note . (fixed-space . 12.0)) ; Default = 2.0 (right-edge . (extra-space . 0.5)) (staff-bar . (minimum-space . 2.0)))
Ah, good. This is what I was looking for. Reference example of moving over first note on the line (when there's a time signature): %%% BEGIN %%% \version "2.11.20" \new Score \with { \override TimeSignature #'space-alist = #'( (first-note fixed-space . 10.0) (right-edge extra-space . 0.5) (staff-bar minimum-space . 2.0)) } { \new Staff { c'4 c'4 c'4 c'4 d'4 d'4 d'4 d'4 } } %%% END %%% Incidentally, if you remove Time_signature_engraver, the TimeSignature #'space-alist does nothing: %%% BEGIN %%% version "2.11.20" \new Score \with { % this override does nothing ... \override TimeSignature #'space-alist = #'( (first-note fixed-space . 10.0) (right-edge extra-space . 0.5) (staff-bar minimum-space . 2.0)) } { \new Staff \with { % ... because of this remove \remove Time_signature_engraver } { c'4 c'4 c'4 c'4 d'4 d'4 d'4 d'4 } } %%% END %%% However, since the order of preferatory material is [clef -> time signature -> key signature], and since there is now neither a key signature nor time signature, it's still possible to scoot the first note over using the first-note attribute in the Clef #'space-alist: %%% BEGIN %%% \version "2.11.20" \new Score \with { \override Clef #'space-alist = #'( (ambitus extra-space . 2.0) (staff-bar extra-space . 0.7) (key-cancellation minimum-space . 3.5) (key-signature minimum-space . 3.5) (time-signature minimum-space . 4.2) (first-note minimum-fixed-space . 15.0) % this is the scooted value (next-note extra-space . 0.5) (right-edge extra-space . 0.5)) } { \new Staff \with { \remove Time_signature_engraver } { c'4 c'4 c'4 c'4 d'4 d'4 d'4 d'4 } } %%% END %%% So the relevant observation seems to be: there's no general way to say "move the first note of the lline over 12 units"; instead, first figure out what the last (rightmost) "preferatory" grob is (immediately before the first note) and then change the first-note attribute of the #'space-alist of that rightmost preferatory grob. Thanks, Mats. -- Trevor Bača [EMAIL PROTECTED]
_______________________________________________ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user