lilypond-user
[Top][All Lists]
Advanced

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

Re: Changing font of Score.MetronomeMark also removes quarter note in th


From: Thomas Morley
Subject: Re: Changing font of Score.MetronomeMark also removes quarter note in the tempo marking
Date: Sat, 28 Dec 2013 21:18:41 +0100

2013/12/28 Speldosa <address@hidden>:
> This is a problem that I knew that I was going to run into as soon as I
> decided that I wanted to do it, but I still haven't manage to figure out a
> solution how to get around it.
>
> I want to change the font of the text that can accompany a tempo mark in the
> score. Therefore, I'm running the code below.
>
> \relative c'
> {
>         \tempo "Vivacissimo" 4 = 150
>         \override Score.MetronomeMark.font-name = "Verdana"
>         c
> }
>
> However, when compiling this code, the resulting tempo marking looks like
> this: "Vivacissimo ( = 150)", that is, the quarter note before the equal
> sign is missing. Now, I realize that this probably is the case because I
> have switched the font to Verdana, which doesn't have support for notes. So,
> is there a way to for me to use another font here, but still retain the
> quarter note from the default font?
>
>
>
> --
> View this message in context: 
> http://lilypond.1069038.n5.nabble.com/Changing-font-of-Score-MetronomeMark-also-removes-quarter-note-in-the-tempo-marking-tp156623.html
> Sent from the User mailing list archive at Nabble.com.
>
> _______________________________________________
> lilypond-user mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/lilypond-user

Hi,

this is issue 3096
http://code.google.com/p/lilypond/issues/detail?id=3096
will appear in 2.19

For now you could download my patch from Rietveld and apply it, if you
are self-compiling.
Or try:

\relative c'
{
        \override Score.MetronomeMark #'font-name = "Verdana"
        \tempo
        \markup {
            "Vivacissimo ("
            \override #'(font-name . default)
            \fontsize #-2
            \note #"4" #1
            "= 150)"
        }
        c
}

HTH,
  Harm



reply via email to

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