1

consider the following document:

\documentclass{minimal}

\begin{document}

  Hello world

  \begin{equation}
    x_{1} x_{\uparrow} \uparrow
  \end{equation}

\end{document}

The problem is that using arrows as subscripts looks kind of out of place compared to normal subscripts. Maybe the problem is that the arrows are just too large in general. Any ideas on how to achieve a more aesthetically pleasing result?

Subscript size

1

You can get a smaller size uparrow using \scriptscriptstyle

$x_{1} 1 \uparrow x_{\scriptscriptstyle\uparrow}$

enter image description here

I can't judge if this is a more aesthetically pleasing result, though.

  • Well, still not ideal but I guess it will do... – hfhc2 Aug 28 '14 at 15:20
1

You can try writing the arrow in a resize box

$x_{\uparrow}$
$x_{\resizebox{0.1cm}{0.1cm}{{$\uparrow$}}}$

render

1

The scalerel package allows you to scale one object to the same vertical extent as another. Furthermore, it obeys changing math sizes. So here, I define \onearrow as an arrow scaled to the local height of a "1". It works automatically in all math sizes.

\documentclass{minimal}
\usepackage{scalerel}
\def\onearrow{{\scalerel*{\uparrow}{1}}}
\begin{document}
  \begin{equation}
    x_{1} x_\onearrow \onearrow = 1_{\onearrow_\onearrow}
  \end{equation}

\end{document}

enter image description here

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.