lilypond-user
[Top][All Lists]
Advanced

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

Re: How to select lyrics font?


From: Kieren MacMillan
Subject: Re: How to select lyrics font?
Date: Tue, 11 Apr 2017 10:29:12 -0400

Hi Mirko,

> thanks a lot for the many and prompt answers I received.

It’s a great list, this one!

> Kieren's suggestion works like a charm.

I’m so pleased.

> I see now that I wasn't able to find this solution myself as I didn't know 
> the name of the corresponding property (or what is it called?) in the lyrics 
> context. 
> I. e. I didn't know what the analogue of  "Staff.TimeSignature.font-name" for 
> a lyrics context is called. Is there an overview somewhere that shows all 
> property names of the different contexts?

Let’s say you’re looking in the Notation guide for lyrics stuff, e.g. 
<http://lilypond.org/doc/v2.19/Documentation/notation/techniques-specific-to-lyrics>.

At the end of each section/subsection, there is usually a “See also” section, 
which usually includes an "Internals Reference” link — in this case, there is a 
link to <http://lilypond.org/doc/v2.19/Documentation/internals/lyrics>.

There, you will find a whole whack of information about the settings and 
parameters for the Lyrics context. (n.b. In the left-hand navigation column, 
you can also see all the other contexts.) One important thing you learn is that 
“this context creates the following layout object(s)”, which in this case 
includes LyricText 
<http://lilypond.org/doc/v2.19/Documentation/internals/lyrictext>.

There you find all of the properties and settings, either “locally” (i.e., set 
here), or available through “interfaces”, listed at the bottom. THERE, you will 
find that LyricText inherits properties from the font-interface 
<http://lilypond.org/doc/v2.19/Documentation/internals/font_002dinterface>.

Here — finally — you find the user-settable property called “font-name”. Which 
is what we can set, as I demonstrated.

Essentially the same chain of links can be followed from any Notation guide 
page dealing with time signatures (e.g., 
<http://lilypond.org/doc/v2.19/Documentation/notation/displaying-rhythms#time-signature>),
 leading to the analogue Staff.TimeSignature.font-name.

Eventually, when you use Lilypond for a while, you know how to get to where you 
need to go directly (without all the linking), or apply an analogous property 
immediately (because you know how property inheritance works).

Hope this helps!
Kieren.
________________________________

Kieren MacMillan, composer
‣ website: www.kierenmacmillan.info
‣ email: address@hidden




reply via email to

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