|
From: | tisimst |
Subject: | Re: Lyrics.LyricText.font-size in layout block |
Date: | Tue, 19 Jul 2016 13:54:17 -0700 (MST) |
I was looking for a way to change the font size of the lyrics in choir music
Looking around I came across a page describing a command 'fontsize' for use in markup sections
http://lilypond.org/doc/v2.18/Documentation/notation/font
On this page it is described that many font properties can be accessed via \override followed by dot notation
http://lilypond.org/doc/v2.18/Documentation/learning/using-variables-for-layout-adjustments
Example:
\override Lyrics.LyricText.font-shape = #'italic
Hmmmm, I figured it would be worth a shot to try a font size override in the layout block
first I tried:
\layout { Lyrics.LyricText.fontsize = #-1 }
that gave an error, so I tried the other one:
\layout { Lyrics.LyricText.font-size = #-1 }
Bingo!
My question is:
Is there documentation of what number I should give to get a particular decrease or increase in font size?
There is this page:
http://lilypond.org/doc/v2.18/Documentation/internals/lyrictext
From the above page:
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.
But that is not what I'm getting.
I tried this:
\layout { Lyrics.LyricText.font-size = #-1 }
That reduced the lyrics font size to less than half of the default size, by the looks of it.
Next I tried this:
\layout { Lyrics.LyricText.font-size = #-0.2 }
I estimate that gave me about 3/4 of the default font size.
So I can sort of dial it in by trial and error, but of course it would be great to know the exact formula.
[Prev in Thread] | Current Thread | [Next in Thread] |