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

learn more… | top users | synonyms (1)

5
votes
2answers
45 views

How to expand a macro in a superscript without curly braces?

Suppose we have \newcommand{\inv}{-1} We want to be able to do $A^\inv$ instead of $A^{\inv}$ but that won't work — only the minus sign is superscripted. Accidentally I stumbled on a possible ...
1
vote
1answer
24 views

How to parse </sub> and </sup> in bibliography

I use Mendeley to generate the .bib file and this results in articles with <sub> and <sup> tags in the title. @article{Testtest2016, author = {Testtest}, title = {{Why O{\textless}sub{\...
2
votes
1answer
46 views

How to write virtually aligned superscript and subscript [duplicate]

I have this line: \textbf{Adv}\textsuperscript{downgrade}\textsubscript{$Pi$, DP, X} But I get this output: And I want it like this: Can you help me with simple solutions as much as possible ...
3
votes
1answer
55 views

TikZ - Circled text number in superscript - Missing $

I'm using TikZ to create some circles with numbers as some sort of marker. But I want to use them as superscript. So to generate a circle I'm using this command (suggested here: Good way to make \...
4
votes
2answers
29 views

Using superscript after \middle

I'd like to write this formula with all parenthesis of the same size N = \left( \frac{s}{2} \right)^2 - \left( \frac{d}{2} \right)^2 so I tried N = \left( \frac{s}{2} \middle)^2 - \middle( \frac{d}...
4
votes
3answers
119 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 ...
3
votes
1answer
82 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
149 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: ...
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
222 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 ...
0
votes
1answer
31 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 ...
10
votes
4answers
153 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
20 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 ...
1
vote
0answers
37 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 $\...
6
votes
3answers
942 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
38 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 ...
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 ...
5
votes
1answer
113 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 ...
8
votes
4answers
365 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
37 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
344 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
78 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
1answer
77 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 ...
10
votes
5answers
273 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 \...
3
votes
1answer
55 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
93 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
142 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-...
6
votes
2answers
310 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 ...
1
vote
1answer
101 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
26 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?
10
votes
2answers
191 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
80 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
97 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
68 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
96 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
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
101 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 ...
1
vote
1answer
67 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.
1
vote
1answer
79 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 ...
6
votes
2answers
153 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, ...
8
votes
1answer
1k 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 ...
1
vote
2answers
83 views

Fonts from custom math command does not get resized in subscripts and superscripts

I have a particular type of symbol in my document that I want to typeset in a different font. Hence, I defined a macro \tn to make this shorter. After several attempts, I ended up with the definition ...
4
votes
1answer
110 views

transpose and dot superscripts spacing

I would like that the transpose in the following has the same height in both examples, is there a possibility to make the transpose sign ignore the boxes above the charater? \documentclass{article} \...
17
votes
2answers
518 views

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 ...
2
votes
1answer
47 views

Superscripts in bibliography with bibtex too close to text

I have read this topic and I did as suggested to get my reference in the superscript, but I am not fully pleased with the effect, because when I type in Nicholson and Shain\cite{Nicholson64}. I get my ...