lilypond-user
[Top][All Lists]
Advanced

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

Re: Error while trying to put a Text above a notehead


From: Paolo Prete
Subject: Re: Error while trying to put a Text above a notehead
Date: Tue, 2 Jun 2020 16:18:41 +0200



On Tue, Jun 2, 2020 at 3:53 PM Robin Bannister <rcb@dabble.ch> wrote:

> Is there an alternative for it?

It is defaulting to another font.
To avoid this, say
    text \markup \normal-text "Some text"


Cheers,
Robin

Thanks Robin,

BTW, how can I override font-family and font-series in a "parametric" way?

I tried in several ways, for example: 

c'-\tweak text \markup { \normal-text \abs-fontsize #16 \override #'(font-series . italic) "Some text" } -1

But none worked.

I could obtain the wanted result by using explicit commands, like \italic or \typewriter: 

c'-\tweak text \markup { \normal-text \abs-fontsize #16 \italic "Some text" } -1

But this is not what I want; I would like to specify font-series and font-family as a parameter (as I did for \abs-fontsize)...

Best,
P

 

reply via email to

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