Labels and tags\tag

\tagCommand

Used to override or supply a custom equation tag/number in AMS display math, with an optional starred form for an unparenthesized tag.

\tag{1}
Available in
ams
Kind
prefix
Allowed mode
math
Frequency
0% of corpus formulasrank 256 of 263
Commonality
medium
Renderer support
PackageMathJaxKaTeXXeTeX
amsMathJax: FullKaTeX: NoneXeTeX: None
About the test scope

Syntax#

\tags*starm:T{a}text content

Argspec s m:T — one optional and one mandatory argument. Reading argspecs

Examples#

\tag*{A}

In TeXForm#

TeXForm parses this entry as prefix syntax; the package determines its argument specification.

Test cases#

ams
InputCaseMathJaxKaTeXXeTeX
\begin{equation} a = b \tag{1} \end{equation}Positive · ctx:in-equationPassFailFail
\begin{equation} a = b \tag*{eq1} \end{equation}Positive · ctx:star-in-equationPassFailFail
All 6 in Labels and tags