I know what my symbol or character looks like, but I don't know what the command is or which math alphabet it came from. How do I go about finding this out?

  • 1
    @AlanMunn -- asking you since you edited the question ... maybe "extend" the title to "how to look up a symbol or the style of a math alphabet"? many, many questions are about alphabet styles, not just other symbols, and this doesn't seem to be obvious. – barbara beeton Jun 5 '13 at 12:59

16 Answers 16

up vote 657 down vote accepted
  1. You can look things up in the Comprehensive LaTeX symbols list. It can usually be easily accessed with texdoc symbols or texdoc symbols-a4 (in MiKTeX the latter only).

  2. Another good option is to try the web-based software Detexify, which allows you to draw the symbol and tries to recognize what you've drawn. Here is a screenshot:

    Screenshot

  3. If you are using the package unicode-math, then besides using any Unicode character list, the list of all supported symbols (texdoc unimath-symbols) is very useful as it also lists which symbols are available in the various fonts.

The above techniques provide an adequate way of finding symbols but are not necessarily foolproof since you sometimes need to know what you're looking for in order to find it. For example, in Typing Following notation in Latex it may not be apparent that "vector fields in differential geometry" are somehow related to "bowties". To that end, searching for a symbol rotated 90 degrees or flipped horizontally, say, might lead you in the right direction.

  • 16
    Yup, Detexify has become the best way to do this – Joseph Wright Jul 26 '10 at 19:38
  • 5
    Would you mind to change the link from "this website" to "Detexify"? Nice answer though! – Nils Schmidt Jul 28 '10 at 22:59
  • 13
    Detexify is particularly useful if you get it on a device with a touch screen (there are Android/iPhone apps for it) -- personally, I find it rather difficult to draw with my mouse, but finger works fine :) – TJ Ellis May 31 '11 at 19:49
  • 9
    It's worth pointing out that the Select from the complete list! link in the results list will display the symbols list ordered by score, so it's more useful than the intimidating term complete list might suggest. – Jake Oct 21 '11 at 6:25
  • 4
    @DavidPoole: For Wikipedia articles, try clicking the [edit] button. It will show you the source, for math it is almost the same as LaTeX. It's a nice way to find out certain things, and also usefull for copying entire formulas ;) – Tom Bombadil Sep 2 '12 at 20:06

Theres lots of ways of doing this, but the two I've found to be most useful are these:

  • Detexify Allows you to draw the symbol, and then guesses based on similar symbols. This is great for me because I don't always remember the name of the symbol, and even if I know the name, I may not have the correct name.

  • AMS LaTeX Short Math Guide This short pdf gives an overview of AMS LaTeX functionality, and includes a pretty thorough list of most of the math symbols (un)commonly used in proofs and formulas.

  • 6
    +1 for the magic combination of detexify and the AMS guide – Norman Gray Jul 26 '10 at 20:25
  • 1
    Detexify is great, but I wouldn't say that the coverage of the Short Math Guide for LaTeX is representative. – Lover of Structure Mar 13 '13 at 5:22
  • Your link to the AMS LaTeX Short Math Guide appears to be broken. This appears to be the home page, but it, too lists the same FTP address. The entire site ftp.ams.org is there and you can connect with FTP, but you can't retrieve a site listing or change directory. – Bacon Bits Dec 29 '17 at 22:17

The old school way is to look it up in the Comprehensive LaTeX Symbol List (warning: 4 MB PDF file).

The new hotness is to use DeTeXify which uses handwriting recognition to look the symbol up for you.

DeTeXify even comes in an iPhone/Andriod app- you can get a free version or pay for one. The only difference is that with the paid app you are making a donation to the developer- the feature set is exactly the same.

The author is planning to work on a mobile version of the website that will supplant these apps.

  • 5
    When you see a warning about a 4 MP download in 2018, you can only guess how much the world of the Internet has changed in the last decade. I remember when clicking on a download encompassing more than the dreaded 1'000'000 bytes was worth going afk and making coffee. Today, it took me 3 seconds to load that PDF (on my school's network, admittedly, but it wouldn't be much different at home.) – thymaro Feb 2 at 11:02
  • It looks like the iPhone app was made unavailable in the US AppStore some years ago, and it still is as of today. – evaristegd Sep 26 at 0:57

I often look up the relevant topic on Wikipedia, (e.g. Set theory) and look at the source there. Wikipedia uses LaTeX for math markup as well.

  • This has the advantage that you also get advice on whether others are using the symbol you had in mind for this role. You may find many people use something else--which you might prefer once you see it. – Colin McLarty Dec 13 '16 at 17:04

For uncommon symbols, instead of search documentation on-line or in a big PDF to find packages and commands to include in my code, I have found useful sometimes to compile the whole table of characters of a font (even in the working document) to quickly find, for example, the skull of the omding font that is \char194. Of course, you have first to know that you have a font file with that name (omding.tfm) but then is easy:

\documentclass{article}
\usepackage{fonttable}
\begin{document}
\fonttable{omding}
\font\omding=omding
\omding  \char194
\end{document}

MWE You can also search for a skull the in Comprehensive LaTeX symbols list, or paint a skull in Detexify, or remember the easy command "\skull" (and do not forget load the skull package and enter in math mode) o try to find a \dingbat or \ding{whatever}... but when I want a skull (really never) must be that of white bones (just try the other methods if you don't know what I mean).

There's also an iPhone app for Detexify, which I've used occasionally, for some reason ...

Links (on the US iTunes App Store): free version and supporter version ($0.99, same functionality).

  • 1
    This item seems no longer available in the US Store. Pity. – Reb.Cabin Nov 2 '15 at 16:17

TL;DR

Direct link to the online service

This service allows classification by drawing (even works on mobile devices!) and by text:

enter image description here

Some information

The handwriting recognition toolkit (hwrt) is one possibility to classify you recordings. There are still many rough edges and the software gets updated on a daily basis (04.12.2014). The user interface is in a browser and looks like this:

enter image description here

The installation is explained in the documentation. If you have trouble or have an idea how to improve it, just leave a comment or write an email (info@martin-thoma.de).

This is a part of my bachelor's thesis. The thesis, some presentations and links to all software projects are on http://martin-thoma.com/write-math/

  • 1
    Hehe, I would list the same results even as a human for this drawing – Tim Dec 4 '14 at 18:26
  • after using python -m pip install hwrt it starts installing. I'll feedback later. – Tim Dec 4 '14 at 19:06
  • @ moose I'm sorry but now error: package directory hwrt does not exist appears when I try to install by python setup.py install. Maybe it would be easier to provide a complete portable version for testing (without third party modules needed). – Tim Dec 17 '14 at 18:33
  • @TimS. Is this still a problem? Could we talk about it via email (info@martin-thoma.de) or via GitHub issue? – Martin Thoma Apr 18 '15 at 20:02

I've just come across this list http://milde.users.sourceforge.net/LUCR/Math/unimathsymbols.pdf which lists characters using unicode numbers, their representation, and their (La)TeX command, together with other useful information.

Here's a random sample of what it looks like:

symbol list including unicode

This reference has yet to fail me; it has all the symbols typeset along with the \foo command needed to generate them. There's also this PDF, which is considerably better put-together and covers other symbols besides the base math ones

The LaTeX wikibook Mathematics section has been very helpful for me.

In case you are using TeXstudio or Texmaker, you can browse the built-in catalog of symbols and find the symbol you need in the appropriate category of symbols (see the image below). It is very convenient, as by clicking on the symbol it gets automatically inserted into your document.

TeXstudio symbol catalog

Moreover, if you're using TeXstudio on Windows, you can use Wizards -> Math Assistant... which enables you to draw symbols and it translates them into text.

enter image description here

Some utilities for lookup symbols in Unicode:

  • ent2latex: A Perl script to translate Unicode symbols to LaTeX commands. (However, it doesn't utilize math fonts.)

  • kcharset: A KDE application to lookup Unicode. (Well, you can input some symbols in Unicode directly, or lookup the corresponding LaTeX command by ent2latex.)

I use the Daum Equation editor then just copy and paste the code at the bottom (you can specify Tex,LaTeX, etc.) and even favourite the equations/symbols to avoid having to re-look them up every time you use them. Not sure if they have EVERY symbol, but it has been a good reference for me so far!

fontawesome provides access to a host of web-related icons (or symbols) provided by the included Font Awesome font.

enter image description here

\documentclass{article}

\usepackage{fontawesome}

\setlength{\parindent}{0pt}% Just for this example

\begin{document}

These are some symbols from the font \texttt{FontAwesome}:

\faBicycle\
\faCodeFork\
\faDiamond\
\faFirefox\
\faFortAwesome\
\faGears\
\faJsfiddle\
\faLinux

\end{document}

However, if you want access to the latest-and-greatest web-related icons from the font and are running XeLaTeX or LuaLaTeX, you can download the font directly. Here you can also search the list of available icons to identify a symbol.

enter image description here

\documentclass{article}

\usepackage{fontspec}

\newfontfamily{\fa}{FontAwesome_0.otf}% http://fontawesome.io/

\setlength{\parindent}{0pt}% Just for this example

\begin{document}

These are some symbols from the font \texttt{FontAwesome}:

\fa
\symbol{"F2B9} % http://fontawesome.io/icon/address-book/
\symbol{"F2DC} % http://fontawesome.io/icon/snowflake-o/
\symbol{"F2C5} % http://fontawesome.io/icon/free-code-camp/
\symbol{"F2CC} % http://fontawesome.io/icon/shower/
\symbol{"F2DD} % http://fontawesome.io/icon/superpowers/
\symbol{"F2D6} % http://fontawesome.io/icon/grav/
\symbol{"F2C6} % http://fontawesome.io/icon/telegram/
\symbol{"F2CE} % http://fontawesome.io/icon/podcast/

\end{document}

If you use Mac, there is an app named "Texpad 2" from which you can pick most symbols:

enter image description here

My book "Schnell and Ziel mit LaTeX2e" (only available in German) has a symbol index with a lookup method inspired by Chinese dictionaries: The mathematical symbols are ordered by the number and type of strokes needed to draw them. The index includes the symbols from plain TeX, AMS symbols, and LaTeX symbols.

As far as I know, this index has not been copied by other authors.

protected by Claudio Fiandrino Jun 21 '13 at 12:04

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

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