2

Consider the following:

\documentclass{minimal}
\usepackage{amsmath}
\begin{document}
    \fbox{\(+\)}, \fbox{{\(+_L\)}}, \fbox{{\(+^R\)}}, \fbox{{\(+^R_L\)}}
\end{document}

it produces:

enter image description here

As you can see, the surrounding box greatly changes in vertical size, and it produces a rather uncanny effect on one of my documents.

Is there any way to make all those boxes the same height (vertical size)?

Bernard
  • 271,350
Clément
  • 5,591

1 Answers1

5

You can add a \strut so most single line terms will fit:

enter image description here

\documentclass{minimal}
\usepackage{amsmath}
\begin{document}
    \fbox{\strut\(+\)}, \fbox{\strut\(+_L\)}, \fbox{\strut\(+^R\)}, \fbox{\strut\(+^R_L\)}
\end{document}
David Carlisle
  • 757,742