On Mon, May 25, 2009 at 7:10 PM, madMuze
<address@hidden> wrote:
Trevor,
I've sometimes needed to adjust the location of clefs without affecting the
next line, and this seems to work (function found on
http://lilypond.org/doc/v2.12/Documentation/user/lilypond/Scheme-functions#Scheme-functions):
meterNuj = #(define-music-function (parser location muvIt) (number?)
#{
#(define (meterBrk grob)
(if (<= (ly:item-break-dir grob) 0)
(ly:grob-set-property! grob 'extra-offset (cons $muvIt 0)) '() ))
\once \override Score.TimeSignature #'after-line-breaking = #meterBrk
#})
usage:
\time 4/4 s1 \meterNuj #2.5 \break
\time 2/2 s1
or:
\time 4/4 s1\break
\meterNuj #2.5 \time 2/2 s1
Or course, if you settle on a number you like, you can hard-code it and get
rid of the variable. Also, if you want to ensure the subroutine only affects
meters at ends of lines and not in the middle (e.g. if the \breaks are not
explicit), change the "<=" to "<".
I welcome any refinements!
David
Hi,
Is there a way to tweak the visual appearance and position of an end-of-line
time signature *without* affecting the following beginning-of-line time
signature?
--
View this message in context: http://www.nabble.com/Tweaking-end-of-line-time-signature--tp23712497p23714996.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.
_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user