TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When using the amsthm package with the \eqref command, things may not be correct. When the main font of a theorem is italic, the \eqref is non-italic while \ref is italic. Please, see the provided code. Is all this consistent?

\cos \pi=-1
\begin{theorem} In Equation~(\ref{eq:1}) or in Equation~\eqref{eq:1}...
share|improve this question
Yes, \eqref is designed just to give roman type also in italic context. – egreg Apr 7 '11 at 23:09
but it should not, should it? – pluton Apr 7 '11 at 23:51
equation tags are normally typeset in roman type, so it can be considered correct to reference them in the same font type. – Gonzalo Medina Apr 7 '11 at 23:59
according to accepted style (observed by other publishers as well as ams), all punctuation and digits in the statements of theorems should be upright. these days, this is ignored more often than it is observed, but if you look at a well-produced math publication from the days when it was typeset in metal, you will find this to be true. it probably grew out of a desire to avoid clashing shapes of parentheses and the like between math (where they are always upright) and the surrounding text, even if that is italic. – barbara beeton Apr 8 '11 at 12:46
@pluton: Despite this, it may be a user preference to have a different style for referencing (conforming to the surrounding font shape). However, this may also be very subjective; as in, I like it, but nobody else does. In that case, \renewcommand{\eqref}[1]{(\ref{#1})} puts you back to square one... – Werner Aug 6 '11 at 17:03
up vote 5 down vote accepted

There is what I think is a very good explanation of this is the mathtools manual in paragraph 3.2.2, where they discuss the \refeq command introduced by mathtools. They explain that \refeq, just like \eqref, uses upright font even in the middle of italics text to "avoid what could possibly lead to confusion in cases where the tag font has very different form in upright and italic shape".

They give an example where they use "Q&A" as a tag while the font is set to Palatino. Apparently in Palatino, the character & looks very different in italics than in upright, so the reference in italics would look very different from the actual tag, which is upright.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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