I'm compiling the following document with pandoc:
$\mathcal{T}$
using this command line:
pandoc -s --from markdown --to latex -o foo.pdf <(echo 'foo: $\mathcal{T}$')
If I use xelatex (--pdf-engine xelatex), the result looks like this:
but with pdflatex (the default, or --pdf-engine pdflatex), it looks like this:
I'd like to be using xelatex if I can, but I prefer the result from pdflatex here – what's causing the difference, and is there a way to make xelatex output mathcal letters that are more like those produced by pdflatex?


\mathcalwhile using XeLaTeX, you can try\let\mathcal\relax\usepackage[cal=cm]{mathalfa}. – Ruixi Zhang Oct 16 '18 at 18:46\documentclass{article} \begin{document} $\mathcal{T}$ \end{document}produces the exact same output under pdflatex, xelatex, and lualatex, viz., the non-curly variety of the caligraphic letter. – Mico Oct 16 '18 at 19:23