David Sumbler <da...@aeolia.co.uk> writes:

> I have now got around to trying to use
> text-spanner-inner-text-lyric-mode.ly, as suggested by Pierre.
>
> The basic concept is great, but I am having a few difficulties (some of
> which may be to do with the fact that I have never used \lyricmode
> before).
>
> It has been suggested that a Tempo spanner might be useful eventually.
> That would certainly have helped me, because I want "accelerando
> molto----al----Vivace (𝅗𝅥=138)" to appear in each of the four parts of
> the string quartet, but only once in the score.  I have got around this
> problem for now by using tags named "forScore" and forPart".
>
> My second problem is that I want upright, bold text - the style that is
> usually used for tempo markings.  Unfortunately, I have not found a way
> of doing this, other than using \markup \upright \bold for each distinct
> part of the text, thus:
>
> \addTextSpannerText \lyricmode {
>       \markup \upright \bold "accelerando molto" -- 
>       \markup \upright \bold al -- 
>       \markup \upright \bold "Vivace (2 = 138)" }
>
> I can't help feeling that there must be a way of formatting lyrics
> globally, but I haven't managed to find it in the manual yet.

You could try

\addTextSpannerText \markupMap LyricEvent.text
                    \markup \upright \bold \etc
                    \lyricmode { "accelerando molto --
                                 al --
                                 "Vivace (2 = 138)" }

This is not particularly fabulous I'll readily admit and requires a
suitably current version.  But you could put the bulk in a macro

\addTempoText =
\addTextSpannerText \markupMap LyricEvent.text
  \markup \upright \bold \etc \etc

Uh, maybe?

> The third problem is the minim for the tempo marking at the end.  I
> can't use \note #"2", because that will be treated as a separate markup
> and be spaced away from "Vivace(" and "= 138)".

\concat { "Vivace (" \note #"2" " = 138)" }

-- 
David Kastrup

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to