Questions tagged [superscripts]

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

Filter by
Sorted by
Tagged with
8
votes
2answers
678 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
161 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
319 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
578 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 \sin^...
3
votes
1answer
2k 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
491 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 ...
9
votes
3answers
432 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-...
7
votes
2answers
398 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
180 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} \...
5
votes
1answer
214 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?
12
votes
2answers
710 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
582 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
520 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, ...
2
votes
1answer
7k 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 ...
1
vote
1answer
774 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
732 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
363 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, ...
1
vote
1answer
299 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 ...
2
votes
2answers
245 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
154 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
1k 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
518 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, this ...
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
133 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
687 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
1k 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 ...
1
vote
1answer
332 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 ...
0
votes
1answer
7k views

problem in writing subscript and superscript inside table

\begin{document} \begin{table}[ht!] \centering \caption{Optimal h} \resizebox{9cm}{!}{ \begin{tabular}{|*{9}{c|}} \cline{1-9} %\cline{1-1} \cline{9-10} \multicolumn{1}{|c|}{} \multicolumn{5}{|c|} P &...
4
votes
0answers
4k views

Need to use \pmb for bold math fonts

I need to submit my LaTeX source files to an IEEE journal. My paper contains bold math font, for which I used \bm{...} as recommended by most LaTeX users. Apparently, the journal does not use \bm but ...
5
votes
2answers
2k views

Double superscript with parentheses

I would like to use double superscripts with parentheses but the result is not what I want it to be. I have \documentclass[a4paper,pdftex]{article} \usepackage{mathtools} \begin{document} $\textbf{...
5
votes
2answers
1k views

Overbrace and superscripts

Using pdflatex, the command $e^{a\overbrace{+b+c}}$ results in a bigger size font of the part +b+c under the brace. If I do: $e^{a\overbrace{\scriptstyle +b+c}}$ the size of +b+c is fixed but the ...
3
votes
1answer
718 views

Shortcuts for subscript and superscript in non-math context

all. I need some help with subscript and superscript in a non-math context. I am using \textsubscript now but this turned out to be very inconvenient. I tried $a_1$ but the letter turned out to be in ...
3
votes
1answer
121 views

XCharter. Proper alignment of superscripts with option [sups]

With \usepackage[sups]{XCharter}, when I have two references separated by a comma after the same word, I can't typeset the comma in the same style as the reference marks: \textsuperscrip{,} places it ...
8
votes
2answers
687 views

Is it better to write the subscript or the superscript first (e.g. x_a^i vs x^i_a)?

Is it better to write subscripts or superscripts first (e.g. $x_a^i$ vs $x^i_a$)?
6
votes
2answers
13k views

Superscript and subscript together in text mode

I want to use super and subscript at the same time in text mode. I cannot use math mode because I created macros which only work in text mode. I found this question: Vertically aligning ...
0
votes
2answers
372 views

How to get a S' with a subscript at the correct position

I want to create the symbol S'_\geq, but the lower \geq is placed too far right. If I use S^'_\geq, the ' is too far up, but the \geq is in the right position. How can I get an S' with a subscript \...
0
votes
1answer
368 views

how to insert a greek letter with a greek superscript(with a minus sign behind it) as a lower bound of an integral?

I want to define lower bound of integral as \Gamma with superscript -\varepsilon. I appreciate if anyone can help me.
1
vote
1answer
402 views

Double subscript error in align

What's the reason for the double superscript error? \nabla = \frac{\partial}{\partial r} \hat{\textbf{\r}} + \frac{1}{r} \frac{\partial}{\partial \phi} \hat{\textbf{\phi}} + \frac{...
4
votes
0answers
102 views

Why no metrics for left subscripts and superscripts?

The math typesetting system in TeX aims at perfect spacing between symbols, hence has metrics describing the correct position of (right) subscripts and superscripts for each math symbol (as far as I ...
3
votes
1answer
912 views

Symbol with tilde AND sub/super-scripts

I need to typeset a mathematical symbol consisting of a letter with a tilde and both sub- and super-scripts. The subscript is fine, but the tilde runs into the superscript. How can I fix this? Here ...
3
votes
3answers
2k views

Sub/Superscripts BUT not above each other

In latex, if I want to write $F$ with subscripts and superscripts, as F_a^b I get \[F_a^b\]. In my case though I want the b to be a superscript but slight after a -- that is not directly on top of a. ...
6
votes
1answer
126 views

Using TeX to Typeset Indian Raga Music Forms [closed]

I could use any input on this one. I am trying to typeset the various raga forms and scales that I am learning in my sitar class. I need to be able to put from one to three dots (not periods) over and ...
2
votes
2answers
328 views

What are the fontdimen s13,s14,s15,s16,s17 exactly?

“What do different \fontdimen<num> mean” lists but does not mention how these three font dimensions are used. I could not find this information anywhere. All I could figure out was that changing ...
5
votes
3answers
867 views

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^\...
4
votes
1answer
965 views

Superscript in Document Title with ACM

I'm trying to get a superscript into the title of my paper using ACM's template. I'm having an issue in that when I try to set the text as a superscript, it ends up in a small font, not scaled with ...
2
votes
2answers
357 views

how to write an equation with a special arrow and super and sub scripts

How do I generate something like this?I don't know how to generate such arrows and how to write above and below the arrow.
3
votes
2answers
702 views

Using \footfullcite{ref}, how can I get the subscript to not be a clickable link?

The following code works fine except I don't want any \footfullcite superscripts to be clickable links. How can I get the superscripts to just be a normal superscripts? \documentclass{paper} \begin{...
2
votes
1answer
251 views

Why do only some footnotes appear in superscript when set in an OTF font?

In the example below, the numbers 1-3 are in superscript as footnote markers while 4-9 and 0 are not. This occurs when the main font is Quattrocento Sans (using \setmainfont{Quattrocento Sans}) but ...
5
votes
2answers
166 views

How to add a correction to a line of text, as if reviewing a hard-copy of a paper and found a word missing?

I want to add a correction to a line, as one would write if they were going through a hard-copy of a paper and found that a word was omitted. I've drawn by hand specifically what I'm after below: ...
6
votes
2answers
486 views

Arrows in superscripts

I have something like this: \int\limits _{\left[a,c\right]}f I would like to add the arrow over the [a,b] to emphasize the directionality, but when I try to use: \int\limits _{\overrightarrow{\left[...