lilypond-user
[Top][All Lists]
Advanced

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

Re: Lilypond Internals Reference LyricText font-size


From: Carl Sorensen
Subject: Re: Lilypond Internals Reference LyricText font-size
Date: Thu, 21 Jul 2016 00:00:03 +0000
User-agent: Microsoft-MacOutlook/14.6.5.160527


On 7/20/16 11:29 AM, "Colin Tennyson" <address@hidden> wrote:

>About this documentation:
>http://lilypond.org/doc/v2.18/Documentation/internals/lyrictext
>
>
> font-size (number):
>
>    1.0
>
>The font size, compared to the Œnormal¹ size. 0 is style-sheet¹s normal
>size, -1 is smaller, +1 is bigger. Each step of 1 is approximately 12%
>larger; 6 steps are exactly a factor 2 larger. Fractional values are
>allowed.

0 is the normal size for all fonts in a style-sheet.

1 is the default font-size for LyricText.

This means that LyricText is 12% larger than the default font size in the
style sheet.

That is, the font size you get by default in LyricText is exactly the same
font size you would get if you did

\override LyricText.font-size = 1.


The reason this is somewhat confusing is because it is automatically
generated, and there are a number of different grobs that use the
font-interface and therefore have a font-size property.  For example,
NoteName grobs have a font-size property, but their default font-size is
0, so it's not listed (because it is the style-sheet default).  Same with
TextScript grobs.

HTH,

Carl




reply via email to

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