The superscripts position is exactly the same for these two statements:

`\vphantom{\int}^S`

and `{}^S`

How can I get the superscript higher up?

**Edit**

The `\int`

is just an example. Here is another one: `\vphantom{)}^S`

and `)^S`

.

Skip to content
# [Tex/LaTex] \vphantom and superscripts

superscripts

The superscripts position is exactly the same for these two statements:

`\vphantom{\int}^S`

and `{}^S`

How can I get the superscript higher up?

**Edit**

The `\int`

is just an example. Here is another one: `\vphantom{)}^S`

and `)^S`

.

## Best Answer

The construct

`\vphantom`

is not a math operator, thus the rules for an ordinary math atom applies for the superscript.`\mathop`

helps:With package

`amsmath`

an "empty" math operator can be declared with`\DeclareMathOperator`

:In case of a larger closing delimiter,

`\mathclose`

can help, e.g.:I do not know, the reason for the question. If only a lonely higher superscript is needed, then an invisible

`\rule`

or`\raisebox`

will help: