[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: MetronomeMark alignment
From: |
Dmytro O. Redchuk |
Subject: |
Re: MetronomeMark alignment |
Date: |
Mon, 29 Dec 2008 14:59:14 +0200 |
2008/12/29 Simon Bailey <address@hidden>:
> i ran into something similar last month, and got the following answer from
> graham:
>
>> See:
>> http://code.google.com/p/lilypond/issues/detail?id=684
>>
>> Cheers,
>> - Graham
> my solution which works for me is to manually shift the metronome-mark:
>
> \override Score.MetronomeMark #'extra-offset = #'(-4 . 0)
This works for me (with versions 2.11.42, 2.11.65 and now 2.12.0):
tempoMark =
#(define-music-function (parser location tempomark anchor offset)
(string? list? number?)
#{
\once \override Score.RehearsalMark #'self-alignment-X = #-1
\once \override Score.KeySignature #'break-align-anchor-alignment = #CENTER
\once \override Score.TimeSignature #'break-align-anchor-alignment = #LEFT
\once \override Score.RehearsalMark #'break-align-symbols = #$anchor
\once \override Score.RehearsalMark #'Y-offset = #$offset
\mark \markup { \bold \smaller \smaller $tempomark }
#})
\relative c'' {
\key bes \minor
\time 2/2
\tempoMark #"Allegro" #'(key-signature) #0
c des ees c
bes aes c bes
\key bes \minor
\time 2/2
\tempoMark #"Moderato" #'(time-signature) #0
c des ees c
bes aes c bes
}
>
> regards,
> sb
> --
> Simon Bailey
> Oompa Loompa of Science
> +43 699 190 631 25
--
Dmytro O. Redchuk