Scaling global staff size without scaling Lyrics in LilyPond version 2.18.2.
I have received universal solution for scaling global staff size and
lyrics independently, and I improve it. To template of document (or
single piece document) add (globalStaffSize and globalLyricsSize are
variables):
globalStaffSize = #13
globalLyricsSize = #10
lyricsFontSizeCalculation = #(- (magnification->font-size (/
globalLyricsSize 11))
(magnification->font-size
(/ globalStaffSize 20)))
#(set-global-staff-size globalStaffSize)
\layout {
\context {
\Lyrics
\override LyricText.font-size = #lyricsFontSizeCalculation
\override StanzaNumber.font-size = #lyricsFontSizeCalculation
\override InstrumentName.font-size = #lyricsFontSizeCalculation
}
}
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user