I'm using pdflatex, and I would like to load a specific font from a package. For example, I only want to use the mathfrak
, mathcal
, and mathscr
fonts of stickstoo
from newtxmath
(but nothing else). The whole package could be loaded via
\usepackage[stickstoo,vvarbb]{newtxmath}
but that would load many other things and not just those fonts.
Previously, I've done something similar: load Euler caligraphic font via the command
\DeclareMathAlphabet{\eur}{U}{zeus}{m}{n}
\newcommand{\matheur}[1]{\eur{#1}}
I found it somewhere on the internet and just copied and pasted. Now, the sequence
{U}{zeus}{m}{n}
looks completely mysterious to me. So I would like to ask:
- In particular, how to achieve the goal above (selectively use those fonts from
newtxmath
)? - More generally, how do I figure out what to put in
\DeclareMathAlphabet
myself?
Thanks!
{U}{zeus}{m}{n}
is a New Font Selection Scheme code for: Unspecified encoding, virtual-Euler-Script family, medium weight, normal shape. If you want to load Euler Script, though, load it through eithermathalfa
or the traditionaleucal
/euscript
packages instead. Much simpler. Better yet, Neo Euler is available forunicode-math
. – Davislor Mar 19 '19 at 22:41