Questions tagged [superscripts]

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

Filter by
Sorted by
Tagged with
8
votes
4answers
999 views

Symbol $\perp$ with a shorter horizontal line to be used as a superscript

i was wondering whether there exists a predefined Latex symbol or command to write $\perp$ with a shorter horizontal line as shown in the image below which has been taken from an old research article ...
2
votes
1answer
31 views

Defining `\subsetcong` and `\subsetsim` via proper tilde over and under `\subset`

I'd like to define a new command \subsetcong that would typeset a tilde over \subseteq to make it look similar to how tilde is over = in \cong. And also, I'd like to define \subsetsim to mean a \...
1
vote
1answer
21 views

Unbold symbol in a bold environment or superscripts alignment

I named a vector in such form \overline{\pmb{\Delta S_{2}^{\star}}^{n}}^{x} = (\cdots)^T resulting in but \star and n were not aligned. So I wrote n with \star, \overline{\pmb{\Delta S_{2}^{\star\...
0
votes
1answer
33 views

Too much vertical space in Beamer’s bibliography with superscript ordinals and tiny fontsize

I am looking for a solution for the following problem: I use BibLaTeX to print bibliography in a Beamer presentation. Some of the bibliography items contain ordinals in superscript (generated by \nth{...
0
votes
1answer
14 views

REVTeX citations not superscripting with prb class option

In lieu of a MWE, my WE is this REVTeX template and sample. I would like to use the prb class option to get superscript citations. According to the template, When the prb class option is used, the ...
12
votes
4answers
15k views

Using \textsuperscript to put commas between consecutive footnotes in amsart document

I'm trying to insert a comma between consecutive footnote markers in an amsart document. I'm trying to do this without using the footmisc package, since for some reason it causes the footnotes in my ...
0
votes
0answers
34 views

Vertical spacing of \circ used for degree within \frac [duplicate]

I noticed the different vertical spacing of \circ used for degree within \frac command. MWE: \documentclass{article} \begin{document} \[ \frac{180^\circ}{180^\circ} \] \end{document} Output: ...
12
votes
2answers
2k views

biblatex: How to remove the comma before ed./eds.?

How can I remove the comma before ed. or eds. and put this abbreviation in parentheses? I'm using biblatex. For example this reference: Dozy, Reinhart, ed.: Supplément aux dictionnaires arabes. ...
1
vote
1answer
85 views

Why is superscript not displaying correctly in lyx?

Why is it that whatever I type in the superscript turns into gibberish?
0
votes
1answer
63 views

How to use dash(-) or dot(.) after footnote numbers in para feature with “manyfoot” package?

I want to show footnotes like the below instead of making them superscript: 1- Or 1. How should I do that? \usepackage[para]{manyfoot} \DeclareNewFootnote[para]{A}[roman]
148
votes
8answers
108k views

Left and right subscript / superscript

I am trying to put two subscripts at the left and right of a character. For example, something like: _{t} p_{x} where p is in the middle. How do you do this?
3
votes
1answer
43 views

Placement of nested sub- and superscript

When Typesetting some expressions containing sub-/superscripts as sub-/superscript, I observed that the placement of the nested sub-/superscript changes. MWE \documentclass{article} \begin{document}...
1
vote
0answers
24 views

What is the reason behind the extra vertical space between the superscript and the subscript in a grouping mode? [duplicate]

The distance between the superscript and the subscript for the character of parenthesis, for example, grows in group mode, while the equivalent behavior does not occur for the character of "x", for ...
1
vote
2answers
66 views

How do you deal with multiple superscripts while writing higher order partial derivatives?

I have a set of PDE's i am trying to type in, certain higher order terms in them already have a superscript. I am using the physics package function \pdv[n]{}{} , this is the code I have written ...
1
vote
1answer
55 views

Why all parts are italic like the subscript?

Based on the added picture, I have written SK$_{i,GID}$ and expected that "SK" should no be italic but it did. How can I prevent "SK" to be italic? I want that just "i" from the subscript part be ...
2
votes
1answer
30 views

Numbers with degrees in tabular enviroment

Good time of the day. When I compile code with 2^{25}, the Latex processor gives me following error: Missing $ inserted. \end{align*} . But when I write simply $2$ in second row, then there are no ...
0
votes
1answer
38 views

termcal: superscript st, nd, th

I'd like st, nd, and th of the dates to be superscript like this: 22nd How do I do it? MWE \documentclass{article} \usepackage{termcal} \newcommand{\WFClass}{% \skipday % Monday (no class) \...
0
votes
1answer
30 views

Fix subscript and superscrtpt position by command

I have been using the following \subsup command \newcommand{\subsup}{ \makeatletter \AtBeginDocument{ \check@mathfonts \fontdimen16\textfont2=2.5pt \fontdimen17\textfont2=2.5pt \fontdimen14\textfont2=...
3
votes
1answer
100 views

Shift brackets up for fraction in superscript

The code \documentclass{article} \begin{document} \[ E \left[ e^{\frac{\sigma^2 \lambda^2}{2}} \right] \] \end{document} produces brackets that symmetric(-ish) around the x-height, so they include ...
2
votes
1answer
49 views

How to fix bad output of a custom overline macro?

For changing the vertical position of \overline I have found the following macro: \newcommand*\oline[1]{% \vbox{% \hrule height 0.5pt% % Line above with certain width ...
22
votes
3answers
2k views

Are ^ and _ the only commands in LaTeX not preceded by a backslash?

Almost all commands in LaTeX are preceded by a backslash. Are the superscript and subscript commands in the math environment (^ and _ respectively) the only exceptions?
4
votes
1answer
112 views

How can I keep superscripts the same size in tex?

Currently I have a vector in latex represented by \left(V_i^{L^{(1)}}, K_i^{\mathcal{N}^{(1)}}, G_i^{(1)}\right) However, the (1) in the superscripts are not the same size, in that the first two ...
3
votes
2answers
2k views

How can I move the superscript higher?

I have a code like this: (I used the font mtpro2.) \renewcommand{\arraystretch}{1.6} \begin{tabular}{p{8cm}l} \multicolumn{2}{l}{(a)~$\left( \frac{81}{16}\right)^{-0.25}\times \left( \frac{8}{...
7
votes
3answers
752 views

How to make powers without enclosing the exponent in a pair of curly braces?

We all know that it is possible to write a power, which depends on an argument, without using the braces. As an example: x^2=x^{2}. When working with polynomials of degree greater than 9, we can now ...
7
votes
3answers
187 views

Center superscript relative to subscript in math mode

I think the best explanation is my attempt : \documentclass{report} \usepackage{amsmath} \usepackage{graphicx} \newcommand{\supsub}[2]{\hspace{-0.6em} \begin{tabular}{c} {\scriptsize #1} \\[-1....
14
votes
3answers
3k 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 ...
2
votes
1answer
58 views

How to arbitrarily combine subscript, superscript and “midscript”

I would like to typeset formulas including "midscripts" - like subscripts and superscripts, but in the middle. This question and answer gives some solutions: Subscript. Superscript. Middlescript? . ...
1
vote
1answer
50 views

Comma bug in the realscripts package?

I am using TeXLive 2019. A comma in the superscript while using the realscripts package appears in the main text instead of the superscript. I have noticed this issue when using Libertinus Serif as ...
2
votes
1answer
32 views

\hat Causes double superscript

I have the following: {{\hat{\pi}}^a}^b Everything is grouped, so it should behave fine, but it causes a double superscript error, same is true for {\hat{\pi}^a}^b. if I remove the \hat every thing ...
4
votes
2answers
73 views

super and subscripts on stackrel variable

How I am trying to put a label above a variable omega. That works well but I cant find a better way to have the sub- and superscripts belonging to omega itself without a gap. using the superscripts on ...
2
votes
0answers
65 views

How can i use subscripts and units with fractional powers in siunitx?

I have the following simple document \documentclass[a4paper,10pt]{article} \usepackage{siunitx} \begin{document} \si{\metre_{1}\tothe{1/2}} \bigskip % \si{\metre_{1}\tothe{-\frac{1}{2}}} \...
1
vote
1answer
105 views

Superscript over the Gamma Function

I don't know how to write over Gamma function as shown in the photo. I want to write (1) (2) (3) above the Gamma function
1
vote
1answer
55 views

Missing $ inserted in a table for superscript

I get the error message of missing $ inserted in my table. \toprule ABS & \ 14,573.300^a & 3 & 4,857.767 & 40.297 & .000 \\ \midrule I had tried: \toprule ABS & \[14,573....
2
votes
1answer
41 views

Define macro that scans ahead for super- and/or subscript, “absorbs” them and moves their argument

I have a lot of mathematical macros that already have a super- and/or subscript by definition, i.e. something like \newcommand*{\mymathsym}{x^{\text{foo}}_{\text{bar}}} In the text body, these ...
1
vote
1answer
41 views

Adjusting vertical separation of footnote mark

I'm using a devanagari font to typeset in Sanskrit language. The font which I use is Sanskrit 2003. The problem with this and other few similar fonts is that the footnote mark is not enough vertical ...
0
votes
1answer
34 views

Spacing in front of citation (natbib, super)

I am using \usepackage[super]{natbib} for my citations. When using that, the horizontal spacing in front of and after the citation are different. How do I increase the spacing in front of that ...
0
votes
0answers
81 views

Typesetting superscripts and subscripts with system fonts in Xelatex

My document is required to be typeset in a font called DINPro. I need to use both subscripts and superscripts within the text. I would like to use \textsubscript and \textsuperscript, howerver \...
2
votes
1answer
56 views

realscripts – can fakescripts substitute single missing chars

I have a font with real OT-superscripts which I can use easily with the realscripts-package. But I also need a superscript decimal dot which doesn't exist, thus realscripts falls back to the regular ...
0
votes
1answer
127 views

Superscript and subscript

I want to write a superscript and a subscript at the same place.Every time I do it, it is a superscript then a space followed by the subscript. How do I stack it vertically?
3
votes
2answers
448 views

How to print out the ^ sign? [duplicate]

How to write "y^2" in latex ? I need that hook in mathmode. The error says to put the expression within $...$.
5
votes
2answers
93 views

It possible to have subscript and super script that does not shrink the font size?

It possible to have subscript and super script that does not shrink the font size? Usually the font size becomes smaller: e.g. Is it possible to have the subscript and superscript in normal font ...
72
votes
4answers
424k views

vector arrow with superscript

I want to have a vector with a superscript: \vec{o}^t But this gives very bad results: the t is overlapping with the vector arrow. How do I fix this (and why does this give bad results in the first ...
3
votes
3answers
184 views

Reduce size of sum sub/superscript?

I have a text with lots of sums where the sub/superscripts are pretty long, as in $\displaystyle\sum_{ k=1+min\{a-1,b-1\}}^{ max\{a-1,b-1\} } i_k$ and when I compile the text gets very ugly, since ...
3
votes
1answer
80 views

Double superscript in different positions

I am trying to write the superscript as in the picture, but I get double superscript error. I tried: \documentclass{article} \begin{document} $v'_{w_O}^{T}$ % Double superscript error \end{...
1
vote
1answer
140 views

How to reference something in superscript?

When I reference some label with \ref{label} I find the reference a little too big (Because it's the same size as everything else) I'd like them to be in superscript. But not everywhere. I want this ...
0
votes
0answers
15 views

Can't simultaneously have superscripted footnotes in text and footnote counter not cycling back to 1 with each chapter

I want my footnotes superscripted in the text and numbered continuously in the text of my book from 1 to n, without restarting at 1 with each chapter. In the MWE below, if I comment out the \chngcntr ...
4
votes
1answer
45 views

How to increase the vertical offset of exponent terms with increasing size of parentheses?

I want to be able to write the following expression: But have not been able to do so, since all I can get is: I do not use the fraction of P/E, but rather just the psi. Can you help? EDIT: After ...
1
vote
2answers
80 views

Setting superscript for custom symbol

How do I set a superscript for my custom symbol generated with \newcommand*\mysymbol{\includegraphics{mysymbol.eps}}? Default superscripts appear way too far right from the place they should be in. ...
1
vote
1answer
45 views

Double superscript and \bar

it's several groups that I think of a solution for this little problem, but I can't find the optimal solution. I did several tests, using some combinations, but without getting a good result. \...
2
votes
1answer
71 views

What is the correct way to typeset a vector when there is subscript or superscript?

Consider this MWE: \documentclass{article} \begin{document} \[\vec{v}_{12345}^{12345678}\] \[\overrightarrow{P_{12345}P_{12345}^{12345678}}\] \end{document} As you can see, \vec is designed to ...

1 2 3 4 5 10