4

Why are the subscripts on constants too large in the following arxiv paper?

http://arxiv.org/pdf/1502.00822v1.pdf

This happens only on the arxiv, not when I compile the document at home or at work.

Look for example at Theorem 1.1. In the sentence "There are positive constants $C_1$" etc. the subscripts are the correct size, but in the inequality at the end of the statement of the theorem the subscripts are too large.

We use the following macros to automatically number constants:

\documentclass{article}

\newcounter{constant}
\newcommand{\newC}[1]{%
   \refstepcounter{constant} C_{\theconstant} \label{C:#1}%
}
\newcommand{\refC}[1]{C_{\ref{C:#1}}}

\begin{document}
New constant: \( \newC{test} \)

Reuse the constant: \( \refC{test} \)
\end{document}

The incorrectly-sized subscripts seem to happen whenever we use the \refC macro, but not \newC. Is this something to do with using \ref in a subscript?

  • 2
    It looks like arxiv adds hyperlinks to any label reference (in the paper, you can click on the subscripts in the inequality), and the hyperlinks are typeset differently. – TonioElGringo Mar 23 '15 at 14:11
  • Oh, that will be because I am using the hyperref package. The subscripts are hyperlinks in the PDF I compiled at home too. – Martin Orr Mar 23 '15 at 14:18
  • 2
    It seems that arxiv uses a custom hyperref config, you could try to bypass or disable it (see arxiv f.a.q., or this question) – TonioElGringo Mar 23 '15 at 14:42
1

Thanks to TonioElGringo for his comments. It seems that this was due to the hyperref config on arxiv. I don't need the subscripts to be hyperlinks anyway, so I could avoid this by using \ref* instead of \ref.

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.