Questions tagged [superscripts]

{superscripts} are smaller characters appearing set slightly above the normal line.

are numbers, figures, symbols, or indicators that appear smaller than the normal line of type and are set slightly above it (above the baseline). Superscripts are perhaps best known for their use in formulas, mathematical expressions, and descriptions of chemical compounds or isotopes, but have many other uses as well.

Frequently Asked Questions

  1. How can I get a superscript outside of math mode?
  2. What's the quickest way to write 2nd, 3rd, etc. in LaTeX?
  3. How can I typeset a superscript before a symbol?
  4. How can I vertically align \textsuperscript along with \textsubscript?
  5. How can I combine superscripts with \vec?
  6. What is a double superscript error?
647 questions
564
votes
7 answers

Superscript outside math mode

What is the easiest way to superscript text outside of math mode? For example, let's say I want to write the $n^{th}$ element, but without the math mode's automatic italicization of the th. And what if I still want the n to be in math mode, but the…
jamaicanworm
  • 29,114
44
votes
7 answers

How do I typeset a tenfold powering (a tower-of-powers) with LaTeX?

How do I write x^x^x^x^x^x^x^x^x^x? My LaTeX distribution doesn't wanna eat it, it stops swallowing stuff at the double power x^x^x. What I'm aiming at is essentially building a telescope out of X's stacked on top of each other. Don't ask, that's…
asdaw
  • 441
26
votes
5 answers

Superscripts before a letter in math

I was writing this formula: $$^gp = ^gR^l_l+^go_l$$ $g$ are superscripts, but they should be close to other letters. How can I solve this problem?
Simone
  • 363
17
votes
2 answers

Location of superscript in LaTeX

From the attached figure, you can see the star on the left-hand side is higher than the star on the right-hand side. Is it possible to lower the star on the left to the same height as the right-hand…
JACKY88
  • 2,197
15
votes
2 answers

Using a ^ outside math mode

I take it it is possible to redefine ^ (and _) to yield \textsuperscript in text mode and work normally in math mode (is there a good reason why this is not the default behaviour?), but I don't know how. This is what I…
Toothrot
  • 3,346
14
votes
2 answers

\vphantom and 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 \intis just an example. Here is another one: \vphantom{)}^S and )^S.
user4514
  • 323
12
votes
3 answers

How can I make something like a superscript that doesn't go as high?

The \textsuperscript command makes the superscripted text go above the top of capital letters. Here's an example showing what I mean: \textsuperscript{3} И сказ As you can see, the superscripted 3 goes above the capital letter height. I would like…
11
votes
2 answers

Prime on the product symbol

I want to have a primed product symbol, i.e. something like $\prod^\prime$ but it puts the prime on top of the product symbol instead of next to it (as a superscript, as it usually works). Does anyone know how to do this?
10
votes
1 answer

Double Superscript

I am trying to find a similar question but they all seem to suggest something completely different. I want to create a superscript for a superscript. Essentially: 2^2^n
TacoB0t
  • 245
9
votes
1 answer

Circ above $D^3$ in a nice way

I want to denote the interior of $D^3$, so I use $\overset{\circ}{D^3}$. This looks like this: However I find this kind of ugly, and would rather have the circ just above the $D$, but then $\overset{\circ}{D}^3$ is giving even stranger things, like…
9
votes
7 answers

Superscript-like text on a text

I want to add a small text on a regular one. It looks like a superscript but the difference is the regular text won't have any break. I don't know how to explain the situation correctly so I added a sample image showing what I want to do. Any…
tarik
  • 73
8
votes
1 answer

Using ** instead of ^

I am used to use ** instead of ^. Is it possible to somehow define macro that would interpret ** as ^? I know that I can write ** and in the end replace it with ^ but that macro would be much more comfortable. I have been looking for this few months…
Jakub Wagner
  • 215
  • 1
  • 6
8
votes
5 answers

How to put one symbol (number) above another

I'd like to put one symbol over another? There are some similar things in math, like $\binom{a}{b}$, but I don't want the parentheses, or $\frac{a}{b}$ without the division line. The closest I've found is $\overset{a}{b}$ (from mathtools) but the a…
Dave
  • 387
7
votes
3 answers

Simultaneous overset and superscript

When I type $\overset{\circ}{Z}^\lambda$ the lambda is placed slightly above and to the right of the circle. Is there a way to make it appear as a superscript on the Z? I tried $\overset{\circ}{Z^\lambda}$, but then the circle is too high and to the…
6
votes
2 answers

How do I adjust the height of a superscript?

I have an operation that I call \conv, that I defined as follows: \newcommand\conv{{}^{\scriptstyle\smile}} Sometimes I use it in this situation: $a\conv$ and sometimes I use it in this situation: $$\big(\prod a\big)\conv$$ In both cases, the…
1
2 3 4