Print the codepoint of a unicode glyph represented by a latex command.

Hongyi Zhao hongyi.zhao at
Mon Jan 17 02:10:07 CET 2022

I find almost all symbols can be retrieved from "The Comprehensive
LATEX Symbol List":

But I want to obtain the codepoint, say, corresponding the LaTeX
symbols in the following document:

--8<---------------cut here---------------start------------->8---
\textminus, \textnineoldstyle, \textohm, \textonehalf, \textoneoldstyle.
--8<---------------cut here---------------end------------->8---

Any hints for achieving this aim from within LaTeX itself?

Assoc. Prof. Hongyi Zhao <hongyi.zhao at>
Theory and Simulation of Materials
Hebei Vocational University of Technology and Engineering
No. 473, Quannan West Street, Xindu District, Xingtai, Hebei province

More information about the texhax mailing list.