lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Text-spanner text repeated at start of line


From: David Kastrup
Subject: Re: Text-spanner text repeated at start of line
Date: Tue, 03 Nov 2015 18:50:45 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

David Sumbler <address@hidden> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]