6

How I type the unicode char  in latex?

enter image description here

1 Answer 1

15

If the engine is Unicode aware and a font is used, which contains the glyph for the private Unicode code point:

^^^^e25f

See: The ^^ notation in various engines. This is TeX's method to encode non-ASCII characters with ASCII and can also be used inside command tokens.

There are also commands to select a character by slot in the current font:

LaTeX command:

\symbol{"E25F}

or the (plain) TeX variant:

\char"E25F\relax

BTW, there is a non-private code point for this glyph:

U+27A2 Three-D Top-Lighted Rightwards Arrowhead

\documentclass{article}
\usepackage{fontspec}
\begin{document}
\newcommand*{\test}[1]{%
  \begingroup\fontspec{#1}\symbol{"27A2}\endgroup
}
\test{DejaVu Sans}
\test{Segoe UI Symbol}
\end{document}

U+27A2

You must log in to answer this question.

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