Questions tagged [superscripts]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
14 views

Placing parentheses around superscript automatically

in my document I have to type expressions that contain letters with superscripts, enclosed between parentheses, such as a^{(k,i)}, b^{(k,i)}, \gamma^{(k,i)} and after a while it became really ...
0
votes
1answer
25 views

Using underset and overset together

I would like to use underset and overset together above and below the word. Current output looks like this: \begin{equation} v_t(j)=max^{N}_{i=1}v_{t-1}(i)a_{ij}b_j(o_t) \end{equation} I would ...
0
votes
2answers
47 views

mathpazo superscripts too close for certain letters

With the mathpazo package, which sets text and mathematics in Palatino font, the superscripts are too close to the letters that they are attached to, particularly if these letters are v,w,z as in $w^d,...
18
votes
3answers
1k views

Making the “ ' ” symbol closer to the variable

I have the following symbols in a paper I'm writing: \hat{c}_{\omega l}^\dagger {}' {}' and \hat{c}_{\omega l} '' I would like the double dashes of the daggered term to sit adjacent to the dagger (...
0
votes
1answer
23 views

How to change the number of reference of superscript to a normal size

I am using this template in Overleaf and I want to do a reference, but what appears is , but I would like to appear Based on the references [1] and [2]. How can I do this? Thanks in advance!
0
votes
1answer
37 views

Optional argument in \newcommand with subscript and superscript

I want to define a macro with an optional argument that will work with superscript and subscript in math mode. e.g. \binaryB{\alpha} will result into \mathbb{B}^{\alpha}() and \binaryB will result ...
9
votes
3answers
1k views

How do I construct this kinetic diagram within LaTeX?

I am interested in trying to code the diagram as shown in the attached picture. So far, I can only code something like this: \begin{equation} S_0 \overset{2\alpha}{\underset{\beta}{\...
2
votes
2answers
101 views

How do I display things above and below an arrow?

Really tried to code this one on my own, but I have no luck in doing so so far! I can do everything in this problem, except the alpha and beta above and beneath the arrows. I believe that alpha is a ...
1
vote
0answers
38 views

! Missing { inserted. Lost on where it's missing

Console reads: ! Missing { inserted. <to be read again> \@@overline l.136 \(\mu_\overline{x} =\mu\) This is what I have: $\mu_\overline{x}=\mu$ ...
4
votes
2answers
264 views

Why should I “enclose the previous parenthesis with ‘{}’”?

I stumbled across this line in chktex (here) with a note saying This is a warning which you may ignore, but for maximum aestethic pleasure, you should enclose your bracket characters with `{}'s. ...
0
votes
1answer
44 views

Superscript and subscript both in textmode with compressed indices

How can I afford both superscript and subscript in textmode, but with compressed incides? I have found the following approach to frist of all get both superscript and subscript in textmode: ...
2
votes
2answers
31 views

How to do superscripts in referencing for LateX

The article is some kind of like this: @article{schripsema2019similarity, title={Similarity and differential NMR spectroscopy in metabolomics: application to the analysis of vegetable oils with 1 H ...
2
votes
1answer
34 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
23 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\...
8
votes
4answers
1k 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 ...
0
votes
1answer
36 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
20 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 ...
0
votes
0answers
35 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: ...
1
vote
1answer
94 views

Why is superscript not displaying correctly in lyx?

Why is it that whatever I type in the superscript turns into gibberish?
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
1answer
56 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 ...
1
vote
2answers
69 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 ...
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
39 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
37 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
114 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
51 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 ...
4
votes
1answer
119 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 ...
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?
7
votes
3answers
192 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....
2
votes
1answer
69 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
51 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
83 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
89 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
116 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
64 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
48 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 ...
0
votes
1answer
74 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]
1
vote
1answer
45 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
39 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
85 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
175 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?
5
votes
2answers
102 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 ...
3
votes
3answers
239 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 ...
1
vote
1answer
170 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
17 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
51 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
2 3 4 5
10