Labels and tags\eqref

\eqrefCommand

Referencing a numbered equation by label, typically producing a parenthesized equation number in AMS math input.

\eqref x
Available in
ams, textmacros
Kind
prefix
Allowed mode
math, text
Frequency
<0.01% of corpus formulasrank 238 of 263
Commonality
medium
Renderer support
PackageMathJaxKaTeXXeTeX
amsMathJax: FullKaTeX: NoneXeTeX: Full
textmacrosMathJax: FullKaTeX: NoneXeTeX: None
About the test scope

Syntax#

\eqrefm:N{\cs}control sequence

Argspec m:N — one mandatory argument. Same argspec in ams and textmacros. Reading argspecs

Examples#

ams

\eqref{foo}

textmacros

\text{\eqref{eq1}}

Package variants#

PackageSignatureAllowed modeNotes
amsm:NmathReferencing a numbered equation by label, typically producing a parenthesized equation number in AMS math input.
textmacrosm:NtextUsed in prose to cite an equation label with AMS-style parenthesized formatting, e.g. '(3.2)'.

In TeXForm#

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

Equivalent forms#

  • (\ref{#1})approximate

    Default tag formatting makes this behave like a parenthesized \ref, but MathJax's tagformat extension can customize the reference formatting.

See also#

Test cases#

ams
InputCaseMathJaxKaTeXXeTeX
\eqref{a}Positive · baselinePassFailPass
\eqref aPositive · bare[0]PassFailPass
\eqref{\alpha}Negative · neg:N[0]PassFailFail
textmacros
InputCaseMathJaxKaTeXXeTeX
\eqref{a}Positive · baselinePassFailFail
\eqref aPositive · bare[0]PassFailFail
\eqref{\alpha}Negative · neg:N[0]PassFailFail
All 6 in Labels and tags