jperon / lyluatex

Alternative à lilypond-book pour lualatex
MIT License
55 stars 11 forks source link

Adjust text font size in lilypond #289

Open reckel-jm opened 2 years ago

reckel-jm commented 2 years ago

Hello,

I am wondering if there is a way to adjust the text font size of the lyrics in Lilypond to the same as the document no matter how big the staffsize is. I understand that with the option staffsize I can influence the size of the score as a whole. However, changing staffsize has also an influence of the text font which is not what I want.

reckel-jm commented 2 years ago

I now found out that I can manipulate the lyrics font size in Lilypond via setting the layout option as following:

\layout { \override Lyrics.LyricText.font-size = #2.2 } (or any other font size)

Is there any option to setup this globally in lyluatex instead of having to insert it in every Lilypond file?

eefweenink commented 2 years ago

I did not try it, but maybe:

Create a "init.lyhttp://init.ly" file and insert this in every Lilypond file:

Then you have central place to change settings.

Op 4 jul. 2022, om 10:19 heeft Jan Martin Reckel @.**@.>> het volgende geschreven:

I now found out that I can manipulate the lyrics font size in Lilypond via setting the layout option as following:

\layout { \override Lyrics.LyricText.font-size = #2.2 } (or any other font size)

Is there any option to setup this globally in lyluatex instead of having to insert it in every Lilypond file?

— Reply to this email directly, view it on GitHubhttps://github.com/jperon/lyluatex/issues/289#issuecomment-1173505063, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AOERR2KAWDFAVTXAXDDKRG3VSKNAXANCNFSM52QZFDZQ. You are receiving this because you are subscribed to this thread.Message ID: @.***>

reckel-jm commented 2 years ago

Hey, thank you for that suggestion! It works great! However, maybe there would be the opportunity to add this as a config option in llyluatex, so it can be configured globally without manipulation of the lilypond files.