I'm learning math mode and having an issue here with the prime symbol.

```
$y\in[0,1]^{d\prime}$
```

In this inline math formula, the prime symbol is supposed to be superscript, but it shows up at the regular text level and size.

Skip to content
# [Tex/LaTex] My prime symbol is not superscript

math-modesuperscripts

I'm learning math mode and having an issue here with the prime symbol.

```
$y\in[0,1]^{d\prime}$
```

In this inline math formula, the prime symbol is supposed to be superscript, but it shows up at the regular text level and size.

## Best Answer

It is not clear what you want the output to be

the

`\prime`

is in the superscript along with`d`

. If you want the prime to be on`d`

then just usewhich is equivalent to