> Do you really want to change only the Lyrics font? Or is it ok to change the
> fonts in the whole document? Here is how to do that in LilyPond version 2.19
> and 2.18:
Thanks, that would be the best solution!
However, for some reason it doesn’t work: #(define fonts …) seems to have no
effect at all in my document. Any tips for why?
Erik
>
> %%%%%%%%%%%%%%%%%%%%%%%%%%% begin LilyPond code
>
> %{
> \version "2.19.46"
>
> \paper {
> #(define fonts
> (set-global-fonts
> #:roman "LMRoman10"
> #:sans "LMSans10"
> #:typewriter "LMMono10"
> #:factor (/ staff-height pt 20)
> ))
> }
> %}
>
> %%{
> \version "2.18.2"
>
> \paper {
> #(define fonts
> (make-pango-font-tree
> "LMRoman10"
> "LMSans10"
> "LMMono10"
> (/ staff-height pt 20)))
> }
> %}
>
>
> \relative {
> c' d e f g2 g
> }
>
> \addlyrics {
> \markup \typewriter Al -- le mei -- ne \markup \italic Ent -- \markup \bold
> chen
> }
>
> %%%%%%%%%%%%%%%%%%%%%%%%%%% end LilyPond code
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user