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

learn more… | top users | synonyms (1)

4
votes
3answers
116 views

Separating sub-/superscripts out

I'm looking for a way of separating super-/subscripts (if they exist) from a LaTeX command argument. As an example, imagine you want to define a command that builds multisets from sets by placing an ...
0
votes
1answer
26 views

subscript and superscript in Lyx leave large gaps in onscreen editor

When I insert superscript or subscript formatting using the Insert>Formatting menu in Lyx, it leaves a large gap between the sub/super-scripted text and the preceding text. This does not happen when ...
3
votes
1answer
78 views

Lowering the prime symbol

I want to use a prime along a math symbol, but now it looks a little odd, e.g. like this: I would like to lower the prime, if possible. Is there a nice way to do this? Comment: stripping off all ...
4
votes
2answers
135 views

Adding accents, sub- and superscripts to defined variables

I often use \newcommand to define variables, notations or operations on variables. Sometimes I have to add accents, sub- and/or superscripts to a defined variable, like in the following test example: ...
6
votes
1answer
76 views

How to automatically remove additional space introduced by primes of left superscripts?

I need to use left superscripts. I know that there are packages as mathtools, tensor and leftidx. But they all suffer from the same typographical problem. If I typeset a left superscript and this ...
1
vote
2answers
55 views

Prevent “jumping” \prescript stars

Look at the alignment of the following two formulas: X^* \cong \prescript{*}{}{X} The right stare, produced with \prescript, is higher than the left one. One solution from this question suggests a ...
5
votes
1answer
217 views

How to redefine the \today with superscript?

How can I redefine \today so that today's current date comes in the format May 26th, 2016 I need the "th" to be superscript. It should come to the bottom right corner of the page. The code does ...
9
votes
3answers
6k views

Writing (mixed) tensors

Does anybody know about a specific package for handling tensors? Consider, for example, a contraction of the type $g^{\alpha\beta}g^{\gamma\delta}R_{\alpha\mu\gamma\nu}=R^{\beta\;delta}_{\;\mu\;\nu}$...
10
votes
4answers
152 views

How can I align two boxes to the top right and top left of a surrounding box?

Assuming the following structure (auto-generated from another document), how should I define \csup and \csub to line the sup boxes to line up with the top of the neighbouring box, and the sub boxes to ...
1
vote
0answers
19 views

How can I make citations of expression used in my own text using superscript?

I am writing a presentation, and in title page I have the authors names, and I want to reference those names to the email, which I'll write bellow. How can I do that? \documentclass[10pt]{beamer} \...
8
votes
2answers
74 views

Aligning defined functions on sums

I'm defining a new function using triangle and its corners as inputs, it works for normal linear equations, but when it becomes supersript or subscript, the parameters become misaligned. Any ...
5
votes
1answer
103 views

Placing a comma before a citation-related superscript number

According to the Chicago Manual of Style (section 14.21) "a note number should generally be placed at the end of a sentence or at the end of a clause. The number normally follows a quotation (whether ...
6
votes
3answers
544 views

How to represent the “Triangle of Power” in LaTeX?

So, I've just seen a video about a method of notation called "Triangle of Power", which simplifies things when it comes down to exponents, logarithms, etc. It was originally introduced in this post on ...
1
vote
0answers
36 views

Redefining `scriptsize` and `smartcite` size

I'm trying to change the size of indices, both super- and sub-. I thought that by redefining \scriptsize it would do the trick, but it doesn't. Also, I tried to redefine \textsuperscript, but it doesn'...
9
votes
1answer
321 views

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 $\...
0
votes
0answers
24 views

cite with superscript, also Vgl. and Pagenumber in Bibliography

I'm quite new to LaTeX and I'm currently clueless how to implement superscript references to the bibliography and also things like "Vgl." and Pagenumbers in the bibliography. I'm using biblatex \...
1
vote
0answers
36 views

Horizontal placement of superscripts (Math mode, LaTeX)

Is there any way to adjust the horizontal placement of a superscripted character? In particular, whenever I have a character that also has a subscript, the superscript ends up directly above the ...
183
votes
6answers
205k views

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 ...
3
votes
2answers
32 views

Double superscript error while typing equations [duplicate]

When I try to write \begin{equation} {\hat{a}_{1}^{\dagger}}^{2} \end{equation} I am getting this error ! Double superscript. l.4 {\hat{a}_{1}^{\dagger}}^ {2} ? So ...
22
votes
7answers
18k views

How should imaginary numbers be typeset?

I've never had to typeset complex numbers before and I'm finding that I'm uncertain about what best-practices are. My question is really about typesetting just i. (Hence my title referring to ...
8
votes
4answers
362 views

How to align superscripts?

I have an expression like $$\eta^{[\alpha\beta}_{\phantom{\alpha\beta}\rho}h^{\sigma]}A^\rho$$ and I would like that all the indices alpha, beta, sigma and rho appear on a same line. If someone ...
2
votes
1answer
36 views

Redefine hbar to work in super- or subscripts

I can redefine the \hbar command to use the "h" from the current math font as follows \renewcommand{\hbar}{\raisebox{.5ex}{\rotatebox{15}{--}}\hspace{-0.5em}h} For example in Times New Roman this ...
8
votes
2answers
340 views

Inconsistent superscript placement in $q_x^{n_x} q_y^{n_y}$

As part of a document, I am typesetting the objects q_x^{n_x} and q_y^{n_y} right next to each other, as \frac{ q_x^{n_x} q_y^{n_y} }{2} It bugs me that the n_y gets displayed at a different ...
4
votes
2answers
77 views

Horizontally misalligned sub-/superscripts in fractions when using 'minus' sign

I am combining sub- and superscripts in the denominator of a fraction. I get ill behaviour when the exponent is preceded with a minus sign: I would expect the sub- and superscript of the first two ...
6
votes
2answers
149 views

Overset and mathbb collision

I have ran into really funny trouble trying to use \overset and \mathbb the same time. I need to do something like this: but with the T as mathbb, i.e. \mathbb{\overset{m}T}_{ij}. When I try it, ...
10
votes
5answers
269 views

Uneven height when using superscript in frac

I want to fine tune some of mine equations, when I encountered this Notice, how the superscript in the derivative operator fits nicely and doesn't lower the symbols in the denominator, while the \...
19
votes
3answers
50k views

Vertically aligning textsuperscript and textsubscript together

I would like to show both super and subscript together some text. I tried this sometext\textsuperscript{1}\textsubscript{2} But 2 does not show up right below 1. Thanks for your help. Also ...
3
votes
1answer
46 views

\overset and superscripts

Consider this MWE: \documentclass{article} \usepackage{amsmath} \begin{document} \begin{align} &\overset{0}{\mathcal{D}^{\alpha\beta}}\\ &\overset{0}{\mathcal{D}}^{\alpha\beta} \end{align} \...
1
vote
1answer
82 views

LyX/LaTeX widetilde with superscripts problem

Using the \widetilde command to denote a tilde on a letter usually works wonders, although the tilde needs to be slightly lowered in my opinion. This didn't bother me too terribly until I needed to ...
8
votes
3answers
137 views

Control horizontal alignment of sub/superscripts

Is it possible to modify the horizontal alignment of the sub and superscript of a symbol? That is to say, is it possible to get this pair of right-aligned sub/superscripts instead of this left-...
14
votes
4answers
11k views

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?
6
votes
2answers
309 views

How do I use multiple superscripts (super, super-super, super-super-super, etc) with them all smaller than each other?

I wonder how to make every superscript level smaller than each other. Like, 2^{2^{2^{2^{2^{2^{2}}}}}} makes the first superscript smaller, but the rest of the superscripts the same size as the first ...
44
votes
7answers
3k views

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 ...
1
vote
1answer
100 views

Error in \sum in state

I use the following: \documentclass{article} \usepackage{algpseudocode} \usepackage{algorithm} \usepackage{textcomp} \usepackage{mathtools} \date{\today} \title{Some Title} \begin{document} \...
0
votes
0answers
25 views

\big in sup- other subscripts

I needed to type a double parenthesis in a superscript, as in and I was pretty unhappy wit the result, since the two closing parenthesis are of the same size. I thought about using \bigl and \bigr ...
6
votes
1answer
46 views

Superscripts and bold dots

If I type $\boldsymbol{\ddot\xi}^{\,n}$ I get whereas on removing \boldsymbol and \, I get How do I get the superscript to appear like this also with \boldsymbol?
8
votes
1answer
999 views

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 ...
10
votes
2answers
186 views

How to write an actual superscript with \lim, \sup, etc?

I'm trying to write $\sup' S$ -- that is to say, $\sup S$ but with a prime on the sup. However, in display style, this comes out instead with the prime on top of the sup instead of in the superscript ...
4
votes
0answers
79 views

Distinguish between upper index and power [closed]

I am currently writing the scriptum of our theoretical physics lecture. I always have trouble with the notation. Our professor uses lower indices like m_i for the i-th mass, upper indices like \vec{x}...
5
votes
1answer
82 views

How does mhchem print its superscripts and subscripts?

I need to replicate mhchem's way of typesetting sub- and superscripts. It's different from what $X^y$ and $Z_w$ do: \documentclass{article} \usepackage[version=4]{mhchem} \usepackage[dvipsnames, ...
1
vote
1answer
89 views

Having sub/super scripts on the side for \sum

When writing \sum_{n=1}^\infty, the subscript and superscript will appear below and above the big Sigma symbol: Though when writing \Sigma_{n=1}^\infty, they will appear on the sides: I would like ...
2
votes
1answer
48 views

Is there a way to change how latex formats parenthesis in superscript?

I am new here an hereby apologize for any mistakes I might make in posting this. I am also sorry if a similar topic already exists, but I failed to find anything answering this. I am interested ...
2
votes
1answer
63 views

Subscripts and superscripts on accented math characters [duplicate]

\documentclass{article} \begin{document} ${x_i}^j$ works as expected but not with an hat as in ${\hat{x}_i}^j$. The way I found to make it work is $\mbox{$\hat{x}_i$}^j$. Is there an nicer solution?...
5
votes
1answer
91 views

Accumulative subscript/superscripts?

With the objective of writing a textual aliasing package that would make it possible to write input that better approximates the output, I encountered the following problem: create a control sequence, ...
2
votes
2answers
141 views

Spacing between superscript and left parenthesis

I'm wondering why Latex adds an extra space between a superscript and the left parenthesis as in this case \documentclass{article} \usepackage{amsmath} \let\originalleft\left \let\originalright\right ...
2
votes
1answer
40 views

Issue with subscript numbers

The following input: cell count: 98\(\%\) viability. 3\(\cdot\)10^{15} cells added to six-well plate (dilution via DMEM +/+, Incubation overnight at 37°C 5\(\%\) CO_{2} seems to completely mess ...
3
votes
2answers
97 views

Superscripts + custom title spacing adding extra space between lines?

When I have superscripts in body text that there is some extra blank space between that line and the line above it. How do I make it stop doing that? Lowering the superscripts, for example, or making ...
4
votes
2answers
305 views

How do I specify 8^(a - b) in math mode

$8^(a - b)$ produces only a superscripted (; the rest of the power is not superscripted. How can I superscript the whole (a-b) portion?
1
vote
1answer
71 views

Subscript/superscript without using math mode or TeX code box, in LyX?

Is it possible to use subscript and superscript in LyX without entering into math mode or inserting TeX code? For example, can I get H2O to be displayed properly without \ce{H_{2}O} or Tex code box ...
1
vote
1answer
66 views

How do you write this in LaTeX?

I currently need a way work with conjunctions and disjunctions in a similar way as with working with the notation for summations.