The following MWE produces a blank document, as the default font does not contain .




Adding \usepackage{unicode-math} solves the issue:


How can I get this arrow without using unicode-math? I could prefix the character with \fontspec{some font}, but I don't know which font gives this particular look; other fonts that I tried looked rather different (for example with Asana Math):

Asana math

How do I get the curly arrow pictured above without loading unicode-math?

EDIT: Explicitly selecting Latin Modern Math gives me a blank document:



\fontspec{Latin Modern Math}⟿
  • If you don't specify any math font, the default Latin Modern Math is used.
    – egreg
    Sep 24 '15 at 20:48
  • @egreg That's surprising: why would unicode-math make a difference then? Why do I get a blank document when I don't load it?
    – Clément
    Sep 24 '15 at 21:06
  • Because if you don't load unicode-math, the standard math fonts are used and corresponds to nothing.
    – egreg
    Sep 24 '15 at 21:15
  • I don't understand: wouldn't explicitly selecting the Latin Modern Math font load it?
    – Clément
    Sep 24 '15 at 21:46
  • 1
    Conflicting copies of the font, maybe.
    – egreg
    Sep 25 '15 at 16:58

You can use a Unicode Math font just like any ordinary font. On my system, the character is present in several fonts.



\newfontface{\applesymbols}{Apple Symbols}
\newfontface{\asanamath}{Asana Math}
\newfontface{\dejavusans}{DejaVu Sans}
\newfontface{\dejavuserif}{DejaVu Serif}
\newfontface{\latinmodernmath}{Latin Modern Math}
\newfontface{\STIX}{STIX} % also Math
\newfontface{\texgyremath}{TeX Gyre Bonum Math}
\newfontface{\texgyremath}{TeX Gyre DejaVu Math}
\newfontface{\texgyremath}{TeX Gyre Pagella Math}
\newfontface{\texgyremath}{TeX Gyre Schola Math}
\newfontface{\texgyremath}{TeX Gyre Termes Math}
\newfontface{\XITS}{XITS} % also Math

\applesymbols ⟿  & Apple Symbols \\
\asanamath ⟿  & Asana Math \\
\dejavusans ⟿  & DejaVu Sans \\
\dejavuserif ⟿  & DejaVu Serif \\
\fdsymbol ⟿  & FdSymbol \\
\freeserif ⟿  & FreeSerif \\
\latinmodernmath ⟿  & Latin Modern Math \\
\mdsymbol ⟿  & MdSymbol \\
\STIX ⟿  & STIX \\ % also Math
\symbola ⟿  & Symbola \\
\texgyremath ⟿  & TeX Gyre Bonum Math \\
\texgyremath ⟿  & TeX Gyre DejaVu Math \\
\texgyremath ⟿  & TeX Gyre Pagella Math \\
\texgyremath ⟿  & TeX Gyre Schola Math \\
\texgyremath ⟿  & TeX Gyre Termes Math \\
\XITS ⟿  & XITS \\ % also Math


enter image description here

Choose the one you prefer. Once you have chosen the best one for your taste, you can do something like



\newfontface{\squigglefont}{Apple Symbols}[Scale=1.5]



Here is the squiggle ⟿ in a different font
than the main one.


enter image description here

  • Thanks. Turned out that this arrow was added semi-recently to Latin Modern Math, and I had multiple conflicting copies of the font (as you guessed a while ago).
    – Clément
    Oct 3 '16 at 3:51
  • Btw, did you really mean to declare \texgyremath five times in your example?
    – Clément
    Oct 3 '16 at 3:52
  • @Clément No, I forgot to add suffixes. I'll fix.
    – egreg
    Oct 3 '16 at 6:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.