David,

On Thu, Nov 19, 2015 at 10:22 AM, David Sumbler [via Lilypond] <
ml-node+s1069038n18380...@n5.nabble.com> wrote:

> Although many scores use a similar italic font for "rit.", "accel." etc.
> as they do for dynamic changes such as "cresc.", I prefer to use an
> upright bold font - the same as for other tempo markings such as
> "Allegro".
>
> The easiest way for me to do this (at least until now) is to use '\tempo
> "rit."' or similar.
>
> However, I have now discovered that this does not work too well when the
> mark comes at the beginning of a bar which has a time- and/or a
> key-signature, because the marking then comes above the signature.  This
> is fine for a normal tempo marking such as "Allegro", but looks wrong
> for "rit." or "accel.", which I would prefer to appear above the first
> note of the bar.
>
> I have tried
> \once \override Score.MetronomeMark.X-offset = #4 \tempo "rit.", but
> this is unreliable: it works some of the time, but does not work
> correctly at the beginning of a line; also a clef change seems to upset
> things.  And since a clef change will not exist in all the parts, I
> cannot use different values of MetronomeMark.X-offset to get around this
> problem.
>
> Clearly, rather than trying to fake it with horizontal shifting, I need
> actually to align the tempo mark with the note itself, but I haven't
> managed to work out how to do that.
>
> How can it be done?
>

If playback isn't too much of a concern, this should do what you need:

%%%

rit = \markup { \bold "rit." }

\relative c' {
  \tempo "Allegro"
  c8 d e f c d e f
  c8 d e f e8.^\rit d16 c4
}

%%%

HTH,
Abraham




--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Aligning-a-tempo-marking-with-a-note-tp183803p183806.html
Sent from the User mailing list archive at Nabble.com.
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to