# Label equation with a symbol

I would like to label an equation with an arbitrary symbol, rather than a number, or letter. Is this possible?

Perhaps something like this.

\documentclass[11pt,a4paper]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}

\begin{document}
$$\label{eqn:einstein} E=mc^2\tag{*}$$
\eqref{eqn:einstein}
\end{document}

• Tagging appears not to work when the equation is displayed with \displaymath. Is there a strategy that works in this case? – dinosaur Feb 5 '17 at 2:39
• \tag{$*$} looks better to me – yamete kudasai Aug 2 '18 at 11:38

With amsmath, you have two similar commands:

• \tag{label} where label can be any text or symbol. Note, for most symbol mathmode is required, for example: \tag{$\star$}. Here the label would be typeset within parentheses.

• \tag*{label}, in contrast, does not add parentheses, otherwise it works similar to \tag.

For further information have a look at the amsmath user's guide.

In addition to the answers about how to \tag equations with symbols, there are a number of packages that give you access to a bunch more symbols. Like pifont, ifsym, MarvoSym, bbding See p. 71 et seq. of the Comprehensive LaTeX symbols list for details.

For example:

\documentclass{article}
\usepackage{pifont}
\usepackage{amsmath}
\begin{document}
$E=mc^2 \label{eq:einstein} \tag{\ding{37}}$
As we can see from \eqref{eq:einstein}\ldots
\end{document}


Produces: