I need to use a character in a TrueType font as a math symbol. Having seen morbusg's answer, I tried something like this:

\font\mymathtfont="Times New Roman"
\font\mymathsfont="Times New Roman/S=7" at 7pt
\font\mymathssfont="Times New Roman/S=5" at 5pt
\Umathchardef\mysym 3 \mymathfam "1D76

The command \mysym does print the symbol, but when the font size in the article changes (for example by adding \fontsize{14.4pt}{1.3\baselineskip}\selectfont after \begin{document}), the size of the symbol printed by \mysym remains the same. I speculate that it is because the font sizes are fixed when the font is selected, so what is the correct way to select the font in this case? Thanks!

  • 1
    I assumed looking at your initial code block that you were using plain tex as they are all tex primitive declarations not usually used in latex, but then you show you are using latex. That is why you should declare fonts through latex interfaces, so for example they all get assigned for all font sizes. Commented Dec 17, 2016 at 14:16
  • Actually, I do not know how to declare a TrueType font with LaTeX interfaces. I mean, for example, \DeclareSymbolFont has the argument "encoding", and I have no idea what to fill in. Commented Dec 17, 2016 at 14:33

1 Answer 1


Setting up math fonts is a delicate matter and you don't need it for just a few symbols.


\newfontfamily{\timesnewroman}{Times New Roman}



$a\mysym b+\sum_{a\mysym b}X$


$a\mysym b$


enter image description here

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .