I've started exploring XeTeX and the unicode-math package in order to use unicode in my input.

Of the six math fonts described in unimath-symbols.pdf, Latin Modern Math seems to be closest to what pdflatex produces. However, I've already noticed a number of differences I don't like, such as \varnothing (which is the same as \emptyset now), \complement and the \mathbb family.

I know about the range option of the \setmathfont command. Right now I use:


But I'd rather use a single command, option or package that takes all symbols as close as possible to the `pdflatex versions'. I can then explore the different fonts at my leisure, with the certainty that there are no big surprises in my existing documents.

Is there a way to do this?

  • 2
    With the traditional setup, \varnothing and \complement are taken from the AMS symbol font; the designers of Latin Modern Math had different ideas about those symbols.
    – egreg
    Jul 23, 2013 at 17:47
  • 4
    This question appears to be off-topic because no reasonable answer can be provided.
    – yo'
    Sep 6, 2014 at 21:32
  • 2
    @tohecz: I'm sorry, but is there any way in which this is not silly? [1] The question is obviously about LaTeX and follows the rules, so: on topic. [2] A reasonable answer to "Is there a way to do this?" might be "No.". [3] How does the inability to answer a question make that question off-topic anyway? --- I can understand the impulse to close what appears to be a dead-end question, but please find a better justification.
    – mhelvens
    Sep 7, 2014 at 21:12
  • 3
    @tohecz: Why is "No." not a legitimate answer here? Anyway, I asked the question to solve a real problem I faced at the time, and it literally follows all the rules listed in the 'Asking' section of the help center (I checked). It is not subjective. Moreover, it addresses an issue that people may yet face in the future. If you are hung up on the word "answerable" in the 'what to avoid asking' section, I find that a bit weak. The most you could say is that this question does not have an answer yet.
    – mhelvens
    Sep 7, 2014 at 21:31
  • 2
    @egreg -- if the question hasn't been asked yet whether there is code to display all symbols in a math font, i'm willing to ask it. the news that latin modern has elided \emptyset and \varnothing is very upsetting to me -- i had a long argument with the unicode folks (which i lost) about whether these were different, or at least different enough to be recognized as legitimate variants. so i need to do some more research to find out whether such "merges" would affect ams publications. Sep 13, 2014 at 20:12


Browse other questions tagged .