Open main menu

Changes

289 bytes added ,  17:24, 8 June 2020
m
no edit summary
== Using math calligraphic or script fonts in mkiv ==
In mkii it is possible to replace the standard calligraphic (alias script) math fonts with rsfs (Ralph Smith's Formal Script fonts): see the dedicated page on this wiki [http://wiki.contextgarden.net/rsfs].
tells mkiv that the fallback font for mainface in math mode comes from Asana Math, as far as the slots of lowercase and uppercase calligraphic (or script) glyphs are concerned.
If one wishes to use for instance Palatino instead of Latin Modern as the text font, as well as the font used in math mode, it is enough to replacethe two lines
<texcode>
\definefontfamily [mainface] [rm] [Latin Modern]
\definefontfamily [mainface] [math] [Latin Modern Math]
</texcode>
with
<texcode>
\definefontfamily [mainface] [rm] [PalatinoTeX Gyre Pagella]\definefontfamily [mainface] [math] [TeX Gyre Pagella Math]
</texcode>
since « Palatino » is in fact an alias for TeX Gyre Pagella.
 
 
[[Category:Math]]
[[Category:Fonts]]