TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How do I use decimal based HTML characters such as these: ﭑﭒﭓﭔﭕﭖﭗﭘﭙ

with a special truetype font that assigns a different symbol for each of the above characters? For simplicity, let's say I want to apply Times New Roman font to obtain following:


Is it possible with LaTeX?

share|improve this question
Hi you might want to have a look at this post tex.stackexchange.com/questions/34604/… – ArTourter May 7 '12 at 20:14
I believe that the ways how to do this are covered in the question linked by @ArTourter – yo' May 7 '12 at 20:38
I have actually studied it before the question. Although I am using XETEX, but decimal hmtl characters require something else. Hence the question. Many thanks. – Firdews May 7 '12 at 20:38
\char64337 (leave a trailing space) – egreg May 7 '12 at 20:44
Thank you so much egreg. It worked! – Firdews May 7 '12 at 20:56

One can always tell XeTeX to insert a glyph from the current font by its number:


for instance. Leave a trailing space (that will be ignored). So your example is

\char64337 \char64338 \char64339 \char64340 \char64341
\char64342 \char64343 \char64344 \char64345

(an end-of-line is the same as a space). Actually the trailing space is really necessary only after the last one.

You can also define a macro for this:

\newcommand{\Ent}[1]{\char#1 }

so you can avoid spaces


or even do it by giving a list of numbers:


\newcommand{\Ent}[1]{\char#1 }

and your input can be simply

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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