108

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

105

Perhaps something like this.

\documentclass[11pt,a4paper]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{mathtools}   % loads »amsmath«

\begin{document}
  \begin{equation}\label{eqn:einstein}
    E=mc^2\tag{*}
  \end{equation}
  \eqref{eqn:einstein}
\end{document}
| improve this answer | |
  • 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
  • 5
    \tag{$*$} looks better to me – nowhere dense Aug 2 '18 at 11:38
80

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.

| improve this answer | |
44

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:

pifont image

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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