# Tag Info

3

The construct \vphantom is not a math operator, thus the rules for an ordinary math atom applies for the superscript. \mathop helps: \documentclass{article} \begin{document} $\int^S = \mathop{\vphantom{\int}}\nolimits^S$ $\int\limits^S = \mathop{\vphantom{\int}}^S$ \end{document} With package amsmath an "empty" math operator can be ...

2

The Problem lies within the definition of \textsuperscript that uses math mode. \DeclareRobustCommand*\textsuperscript[1]{% \@textsuperscript{\selectfont#1}} \def\@textsuperscript#1{% {\m@th\ensuremath{^{\mbox{\fontsize\sf@size\z@#1}}}}} A possible workaround is redefining the actual command so that it will not get in the way with your equations, this ...

3

Enclose the super/subscript in braces: \documentclass{article} \begin{document} $A^{\leftarrow}_{(x, y, z + n)}$ \end{document}

6

With a TABstack, you have complete control over the horizontal and vertical spacing. Here are two examples. \documentclass{minimal} \usepackage{tabstackengine} \begin{document} \setstackgap{L}{1.6\baselineskip} \setstacktabbedgap{1ex} \parenMatrixstack{ \frac{\partial f^1}{\partial x_1} & \frac{\partial f^1}{\partial x_2}\\ ...

9

The cellspace package defines 2 lengths, \cellspacetoplimit and \cellspacebottomlimit that are the minimal vertical white space between the top of a cell and the bottom of the above cell, and between the bottom of a cell and the top of the below cell. Here is a example: \documentclass{minimal} \usepackage{mathtools} \usepackage[math]{cellspace} ...

10

One way is to use the optional argument of \\ like \\[<length>]: \documentclass{article} \usepackage{mathtools} \begin{document} \begin{pmatrix} \frac{\partial f^1}{\partial x_1} & \frac{\partial f^1}{\partial x_2}\\[1ex] \frac{\partial f^2}{\partial x_1} & \frac{\partial f^2}{\partial x_2} \end{pmatrix} ...

Top 50 recent answers are included