# Why are my subscripts with \ref too big? Only happens on arxiv pdf

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?

• 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. Mar 23, 2015 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. Mar 23, 2015 at 14:18
• 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) Mar 23, 2015 at 14:42