[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to get markup formatting to survive a font-name change
From: |
Kieren MacMillan |
Subject: |
Re: how to get markup formatting to survive a font-name change |
Date: |
Wed, 19 Apr 2017 23:50:56 -0400 |
Abraham,
> The \paper block should look like this (and this should be below any
> #(set-global-staff-size ...) because that resets the "fonts" variable and you
> need to add to it):
>
> %%%%%%%%%%%%%
>
> \paper {
> #(add-pango-fonts fonts 'minion "Minion Pro" (/ staff-height pt 20))
> bookTitleMarkup = ##f
> scoreTitleMarkup = \markup {
> \override #'(font-family . 'minion)
> \fromproperty #'header:title
> }
> }
>
> %%%%%%%%%%%%%
>
> Now, the font choice should propagate through to the \italic command.
This is fabulous! Thanks. It also propagates through \bold, with is wonderful.
But my family (Crimson Text) has bold and semibold variants — can I have access
to both?
Thanks,
Kieren.
________________________________
Kieren MacMillan, composer
‣ website: www.kierenmacmillan.info
‣ email: address@hidden