This work may be distributed and/or modified under the conditions of the LaTeX Project Public License, either version 1.3 of this license or (at your option) any later version.
This project provides a text-mode database of Unicode ↔ LaTeX mappings for mathematical symbols, scripts for the work with the data, documents in more eye-friendly data formats as well as discussion and background information.
While the data represents the best information available to the author as of the date referenced above, it contains omissions and maybe errors. It is likely that the information will change from time to time.
Contents
The database is intended for use as reference and as source for automatic conversion scripts.
Unicode math symbols and related LaTeX math control sequences. The format, inspired by the UNIDATA files, is explained in the file’s preamble and unimathsymbols.html.
The database includes all symbols that are tagged as math-related by Unicode and/or accessible via a LaTeX math mode command:
2751 Unicode math-related symbols (2089 without (traditional) LaTeX support)
1158 Math-commands provided by LaTeX + packages (including aliases)
Due to history and conceptual differences, the mapping between them is ambiguous and incomplete.
Auxiliary data files using the Python ConfigParser syntax:
maps Unicode category codes to TeX math types (cf. [fntguide]).
lists alternative LaTeX packages (packages providing the command(s) of another package).
Copies of Unicode data files:
classification of characters based on their usage in mathematical notation and mapping to standard entity sets commonly used for SGML and MathML documents. (from ftp://unicode.org/Public/math)
Unicode character blocks (see http://www.unicode.org/reports/tr44)
The generated documents list the mappings in user-friendly formats.
Unicode math symbols and corresponding LaTeX commands (RST source: unimathsymbols.rst).
Unicode math symbols, corresponding LaTeX commands and their output (source: unimathsymbols.tex).
Due to (8-bit) TeX’s limitation to 16 math alphabets, not all symbols can be made available in one math version: [na] in the math symbol column indicates that the symbol is not available with the selected packages (cf. tools/symbols_xetex.py).
LaTeX math commands and corresponding Unicode symbols (source: unimathcmds.tex).
LaTeX math commands with approximately matching Unicode character
Symbols provided by standard LaTeX and math packages1:
standard-symbols.pdf (565)
MnSymbol-symbols.pdf (240)2
amsfonts-symbols.pdf (93)
amsmath-symbols.pdf (22)
amssymb-symbols.pdf (275)
bbold-symbols.pdf (67)
dsfont-symbols.pdf (27)
eufrak-symbols.pdf (52)
fixmath-symbols.pdf (103)
fourier-symbols.pdf (69)2
isomath-symbols.pdf (287)
kmath-symbols.pdf (327)2
kpfonts-symbols.pdf (380)2
mathabx-symbols.pdf (214)
mathbbol-symbols.pdf (71)
mathdesign-symbols.pdf (303)2
mathpazo-symbols.pdf (129)2
mathsfbf-symbols.pdf (73)
oz-symbols.pdf (266)
pxfonts-symbols.pdf (327)2
stmaryrd-symbols.pdf (33)
txfonts-symbols.pdf (327)2
upgreek-symbols.pdf (24)
wasysym-symbols.pdf (64)
wrisym-symbols.pdf (159)
Most of the listed math packages are available at CTAN. Exceptions include wrisym by Jens-Peer Kuska and the auxiliary styles mathsfbf.sty omlmathbf.sty omlmathit.sty omlmathrm.sty omlmathsfbf.sty omlmathsfit.sty
These packages provide also alternative glyphs for the standard symbols.
Commands used for different symbols by different packages.
review and discussion of
a naming scheme mapping Unicode mathematical alphanumeric symbols to LaTeX math alphabets, and
differences between math symbol commands in «traditional» LaTeX and the unicode-math package (source: unicode-math-diff.rst).
Mathematical Alphanumeric Symbols in Unicode and LaTeX (source: unimathalpha.tex).
The tools directory contains example scripts.
Python Unicode->LaTeX translation table generated from the database with tools/write_unichar2tex.py.
Python LaTeX->Unicode translation dictionaries generated from the database with tools/write_tex2unichar.py.
The database is compiled from a number of sources including
the unicode-math package for XeTeX/LuaTeX documentation and unimath-symbols list,
LaTeX->HTML converters like MathJax, eLyXer, or ttm,
LaTeX frontends like LyX,
documentation of the math packages (in most cases available via TeXLive’s texdoc or a CTAN search). Exceptions:
Further reading:
The technical report [tr25] presents an in-depth discussion of the mathematics character repertoire of the Unicode Standard as well as mathematical notation in general. [MathClassEx] provides additional information for Unicode math symbols.
More APL characters: SAXPSA - Sharp APL Type 1 Font: http://olegykj.sourceforge.net/fonts/saxpsa_readme.txt
SGML/XML character entity reference: http://www.bitjungle.com/isoent/
Unicode Support for Mathematics, Unicode Technical Report #25: http://www.unicode.org/reports/tr25/
Classification of characters based on their usage in mathematical notation and mapping to standard entity sets commonly used for SGML and MathML documents: http://www.unicode.org/Public/math/revision-11/MathClassEx-11.txt
LaTeX2ε font selection http://mirror.ctan.org/macros/latex/doc/fntguide.pdf.
XML Entity Definitions for Characters, W3C Recommendation 01 April 2010: http://www.w3.org/TR/xml-entity-names/
Mathematical Markup Language (MathML) Version 3.0 Chapter 7: Characters, Entities and Fonts, W3C Recommendation: http://www.w3.org/TR/2010/REC-MathML3-20101021/chapter7.html
How to map Unicode entities to LaTeX, and various SGML/XML entity sets http://www.w3.org/Math/characters/unicode.xml