lilypond-user
[Top][All Lists]
Advanced

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

Lyrics.LyricText.font-size in layout block


From: Colin Tennyson
Subject: Lyrics.LyricText.font-size in layout block
Date: Tue, 19 Jul 2016 12:55:24 -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.



Colin Tennyson



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Lyrics-LyricText-font-size-in-layout-block-tp192840.html
Sent from the User mailing list archive at Nabble.com.



reply via email to

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