Recently I switched from pdflatex
to xelatex
to be able to use OpenType fonts. I like to use variables highlighted using \mathcal
for specific variables, while I used to use \mathscr
-typeset variables for matrices. But when I compile with XeLaTeX they look exaclty the same.
Old code
\documentclass{standalone}
\usepackage{mathrsfs}
\begin{document}
$\mathcal{C} = \mathscr{C}$
\end{document}
Output
New code
\documentclass{standalone}
\usepackage{unicode-math}
\begin{document}
$\mathcal{C} = \mathscr{C}$
\end{document}
Output
Broken code
I tried to get back the glyphs from mathrsfs
, but it failed this way.
\documentclass{standalone}
\usepackage{unicode-math}
\usepackage{mathrsfs}
\begin{document}
$\mathcal{C} = \mathscr{C}$
\end{document}
Output
Question: How can I get back the behaviour? In principle I'd like to have the old \mathcal
letters from the pdflatex
-version of Computer/Latin Modern.
Alternate solutions (Addendum 2016/05/11)