Skip to main content

Questions tagged [superscripts]

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

Filter by
Sorted by
Tagged with
1 vote
0 answers
17 views

Overriding default subscript/superscripts with the tensor package

I wonder if it is possible to override the default sub/superscript commands with the ones coming from the tensor* package. So I would like TeX to read d^*_E as \tensor*{d}{^*_E}. The reason why I am ...
MSDG's user avatar
  • 111
0 votes
1 answer
115 views

Locally delete ^ and _ in braces

I want to delete ^ and _ in a braces like \left( and \right) so that size change of braces ignores super and subscripts. I want to define it as a macro, but use of xstring package does not allow me to ...
Joseph's user avatar
  • 13
9 votes
3 answers
412 views

Problem with superscripts on fractions

I am a bit of a novice with LaTeX so excuse if this is a silly question. I am writing a "common methods" booklet for my department, and one of the agreed methods is to show fractional ...
MrManderson's user avatar
14 votes
2 answers
2k views

Is it bad style to write x^2, 2^\frac{1}{2} and 2^\sqrt{2}?

Is it considered bad style to write: x^2, 2^\frac{1}{2} and 2^\sqrt{2} (without curly brackets around the superscript) instead of: x^{2}, 2^{\frac{1}{2}} and 2^{\sqrt{2}}? The same for subscripts.
David Scherfgen's user avatar
3 votes
1 answer
80 views

Change height of superscripts and depth of subscripts

How do I change the height of the superscripts (to make them higher) and the depth of the subscripts (to make them lower) in math mode formulas in LaTeX? For the subscripts I have tried the following ...
Marcus's user avatar
  • 175
2 votes
1 answer
63 views

Wider accent with lmodern

I'd like to create wider accents which are visible. The accepted answer to this question is the ideal solution; it uses the accents package. My problem appears if I use this solution with the Latin ...
Gargantuar's user avatar
  • 1,174
0 votes
2 answers
54 views

superscript on the left [duplicate]

How to write ^*R correctly in LaTex so that the * is closer to R? As you can see in the picture, the * is very far from the R. Thank you. Edit Here is the code \documentclass[11pt,a4paper]{amsbook} ...
Conjecture's user avatar
0 votes
3 answers
43 views

How to change height and depht for superscript and subscript outside math mode?

To display in a decent way both superscript and subscript after some text I'm using these commands \rlap{\textsuperscript{}}\textsubscript{} and it works. I'm looking for a way to increase the ...
Paul's user avatar
  • 45
3 votes
2 answers
58 views

Custom LaTeX Command for Consecutive Superscripts with Correct Alignment After Large Symbols

I am writing my master's thesis on Formal Concept Analysis and I want to create a custom command for the derivation operators. They are superscript arrows with some optional argument, and would look ...
Samuel Jose Molina Ruiz's user avatar
1 vote
1 answer
48 views

\mathchoice in subscript/superscript

I attempted to redefine certain math relations using \mathchoice so that they don't need to be grouped when used as subscripts and superscripts just like how they behaved originally. However, the MWE ...
FR09's user avatar
  • 159
0 votes
0 answers
36 views

Author citation numbering using sequential letters

I'm submitting an article to a journal that has certain formatting requirements. For the authors list, underneath the title, they want superscripted citations after each name in the form of "a)&...
tansvaal's user avatar
4 votes
2 answers
276 views

Tilde sign in URL is appearing in superscipt position

The Tilde (~) sign in the URL appears in the superscript position. How can I change it so that it gets the same position (near the normal line) as in the text here? \documentclass[12pt,twoside]{report}...
raf's user avatar
  • 785
1 vote
1 answer
35 views

How to override the superscript in \cite when using revtex4-2 with aip configuration [closed]

I'm writing a document in revtex4-2 using the aip class option. This makes all the citations become superscripts. However, sometimes I want to write phrases such as "As shown in Ref. 1", ...
Níckolas Alves's user avatar
2 votes
3 answers
156 views

How do I overset and underset with prescript, superscript, and subscripts?

I am trying to make over/underset play nicely with scripts. However, the alignment is wrong, and I am not sure how to fix it. If I put the prescript in the overset and underset, i.e. \underset{\beta}{\...
ejx's user avatar
  • 23
1 vote
2 answers
71 views

combined use of accents, indices, and superscripts

I would like to combine accents, indices, and superscripts, but I am a bit confused :) Regarding x_k, I want that x_k^\top has the k at the same vertical position. The solution {x_k}^\top is ...
Annika's user avatar
  • 13
0 votes
1 answer
40 views

Need a dash with a certain thickness and length (and something above it)

\documentclass[10pt,a4paper]{llncs} \begin{document} -\ \textemdash\ \textendash\ =\ $\equiv$ \newline $\hat{-} \hat{\textemdash} \hat{\textendash} \hat{=} \hat{\equiv}$ \end{document} And again, ...
Hauke Reddmann's user avatar
3 votes
1 answer
53 views

mathclose messes with subsript placement

I defined my own command \prt in math mode for parentheses that has auto-scales and an optional middle \vert (for conditional probability). The \mathopen and \mathclose ensures that something like P\...
Power_tile's user avatar
1 vote
0 answers
65 views

Vector Notation Latex [duplicate]

Does someone know how can I write this type of notation in Latex?
Spacek's user avatar
  • 11
4 votes
2 answers
190 views

Different spacing of only superscript vs superscript and subscript + mathrm vs operatorname

I'd like to have superscript terms (gt) on the same line in the whole equation, but after I write the equation: $\mathbf{T}^{\mathrm gt}=\{\mathbf{T}^{\mathrm gt}_1,\mathbf{T}^{\mathrm gt}_2,\ldots,\...
Wilk's user avatar
  • 100
2 votes
0 answers
54 views

The superscript is too faraway

I have a norm symbol \| f \|_{{\tilde L}^{k^*}}: \documentclass{article} \usepackage{amsmath} \begin{document} \[ \| f \|_{{\tilde L}^{k^*}} \] \[ k^* \] \end{document} The resulted rendering is ...
Akira's user avatar
  • 1,441
1 vote
1 answer
30 views

add superscript to \gls with index using hyperref package

I want to add a superscript to a gls variable in the text. The problem is, that the variable which I defined in the glossary comes with "curly-brackets" caused by the hyperref package. Here ...
pvtpringles's user avatar
2 votes
2 answers
171 views

What is this superscript problem with omega and Omega?

I get the problem explained below with Overleaf and Texstudio. The MWE is \documentclass{article} \usepackage[T1]{fontenc} \begin{document} \noindent The coding \begin{verbatim} $\Omegaˆ+$ and $\...
Frode Alfson Bjørdal's user avatar
1 vote
0 answers
46 views

Need help to make single character with multiple accents

I need to fix the character with two accent's for (Caps,SmallCaps, Italic, Bold and various fontsize character's). But output clashing with accent characters with respect to character height. (Could ...
murugan anbu's user avatar
1 vote
2 answers
73 views

Adjust height of \textsuperscript and \footnote (marks)

I'd like to lower the height of superscripts for certain cases where I'm using very tight leading. Is there a better way than the following? Ideally, the height of the superscript would be no higher ...
dedded's user avatar
  • 2,308
3 votes
1 answer
87 views

How to use exponent "E" with superscript numbers?

Using siunitx i would like to change the exponent marker to be E but maintain the exponent number in superscript \documentclass{standalone} \usepackage{siunitx} \sisetup{ output-exponent-marker={\,...
Felipe9's user avatar
  • 339
2 votes
2 answers
126 views

Subscript right below (not to the right of) superscript in tables

I'm trying to get the subscript right below the superscript, in a table in Latex. I'm using this code: \begin{table}[htbp] \centering \begin{threeparttable} \caption{To evaluate the statistical ...
jibo's user avatar
  • 169
0 votes
0 answers
29 views

\rlap in subscript leads to larger subscript [duplicate]

MWE: \documentclass{article} \usepackage{xcolor} \begin{document} $M_{\theta}$ % correct size theta $M_{\rlap{\ensuremath{\theta}}}$ % too large theta \end{document} Why does this happen? How can I ...
Jakob's user avatar
  • 1,003
1 vote
2 answers
129 views

How to define a command that can be used as a superscript without {} and that can have a subscript

I have used \theta hundreds of times in my document. Now I decided that I would like all thetas to be in red color. So I would like to redefine the command \theta to create a red theta. MWE: \...
Jakob's user avatar
  • 1,003
7 votes
2 answers
599 views

Double or triple....exponent

I have this MWE: \documentclass[a4paper,12pt]{article} \usepackage{amsmath,amssymb} \begin{document} Dato l'insieme non vuoto $A$ allora $(A^{c})^{c}$ è uguale a: \end{document} with this output ...
Sebastiano's user avatar
  • 56.6k
0 votes
1 answer
35 views

Properly sized `\cite` in math superscript

I would like to cite a reference as a superscript of a mathematical symbol, like so: $x^{\cite{nicebook}}$ When I do that, though, the citation symbol is poorly displayed, with e.g., the brackets ...
daysofsnow's user avatar
0 votes
2 answers
51 views

Text size changes within a \displaystyle environment?

I am trying to get some equations for an exercise down. However with a fraction in the exponent it gets rather hard to read, that's why I wanted to play around with font sizes ... with rather ...
Sk1nk's user avatar
  • 125
1 vote
1 answer
46 views

Split a long equation across lines with the numbering bottom aligned

I try to write this equation on overleaf and numbering in second line (the same as in the picture) but I couldn't. Another problem is when I use align or equation, the prime in max' function goes to ...
Lyn's user avatar
  • 11
2 votes
1 answer
76 views

Superscript placement when typesetting with "odd" subscripts

From time to time I typeset classical papers, trying to obtain (as close as possible) the original appearance of the document. I'm currently fiddling with a paper in German that uses the lowered ...
Derek's user avatar
  • 1,748
0 votes
1 answer
127 views

How to make faExternalLink icon smaller in superscript?

I have the following LaTeX from fontawesome5: \usepackage{fontawesome5} % ... Foo \textsuperscript{\faExternalLink*} Here's how it looks: How can I make the superscript \faExternalLink* smaller, ...
Intrastellar Explorer's user avatar
1 vote
1 answer
108 views

Lilypond: superscript in lyrics

I would like to know how I can add a superscript to lyrics in Lilypond. Example: I know how to do markups, but that's not what I am looking for. It's about the 1 and the 2 in the lyrics. Thank you in ...
Brayanokles's user avatar
5 votes
1 answer
150 views

Superscript horizontal alignment on flipped integral symbol

I'm trying to define a command in latex that gives me a flipped integral symbol as I haven't been able to find it in any existing package. So far this is my attempt: \newcommand{\cocoendtni}{\...
Monoidoid's user avatar
  • 153
1 vote
1 answer
55 views

How to achive that subscripts/superscripts are scaled with the font size in a robust command?

I would like to use smaller fonts for the subscripts and superscripts in a user-defined LaTeX command. Do you have any ideas how to scale down the subscripts/superscripts proportionally? My MWE is the ...
TobiR's user avatar
  • 604
2 votes
1 answer
58 views

`\scriptsize` doesn't resize a bare symbol or a square root, but does re-size a cube root

\documentclass{article} \begin{document} $x\sqrt x\sqrt[3]x\scriptsize x\sqrt x\sqrt[3]x$ \end{document} I would expect the first three expressions to appear in regular size, and the last three to ...
LSpice's user avatar
  • 1,468
2 votes
1 answer
40 views

real specific superscript font with sidenote

writing my thesis, book template and Libertine font. I choose to place footnotes in margin using the sidenotes packages. Works fine, but i found the in text numbers to the note quite big, and after ...
Frédéric's user avatar
1 vote
1 answer
69 views

question about \DeclareMathActive and unbraced super/subscript

I find the asterisk of kpfonts too small when used in super/subscripts so, following answers here and here, I'm using @egreg's brilliant \DeclareMathActive to redefine * in math mode as \textstyle\ast:...
mbert's user avatar
  • 4,506
0 votes
1 answer
156 views

LyX and jlcode: subscript, superscript and other special characters

I am trying jlcode within a LyX document in order to insert Julia codes. Here is an exemple of the .tex file in the case of an elementary program: %% LyX 2.3.6 created this file. For more info, see ...
Thierry Lepoint's user avatar
0 votes
0 answers
28 views

Allow consecutive subscripts/superscripts for UTF-8 typing [duplicate]

Is is possible to allow consecutive subscripts/superscripts? I’m discovering the joy of typing UTF-8 characters easily from my keyboard (thanks bépo) and I’d love to be able to type x²ˣ instead of x^{...
tobiasBora's user avatar
  • 8,944
0 votes
1 answer
165 views

Cannot display \textsuperscript and trademark symbol on subsection title [duplicate]

This is what I have:, source: How to typeset subscript in usual text mode?. \subsection{Code from Moral Kombat\texorpdfstring{\textsuperscript{\texttrademark}{Code from Moral Kombat\texttrademark}}} ...
Alix Blaine's user avatar
2 votes
0 answers
27 views

Lowering the superscript [duplicate]

Is it possible to lower the superscript in to achieve something like this?
Siwei Feng's user avatar
5 votes
3 answers
325 views

How to make indices (math mode super- and sub-script) uniform size?

I use Latex primarily to write tensor algebra, typically with a variety of latin and greek indices depending on the context. Normally this is fine, but I have noticed that occasionally some of the ...
Riley Kavanagh's user avatar
5 votes
2 answers
264 views

Space too small before word-starting subscripted symbol (LuaLaTeX only)

I use \textsuperscript at the beginning of words and I have noticed that, as seen on the picture below, the space between the previous word and the superscripted symbol, in case of shrinking, becomes ...
Vincent Krebs's user avatar
2 votes
1 answer
670 views

How to show ORCID ID with a centered icon?

From How to add Orcid ID in LaTex article?, they suggest to display the ORCID icon with the following package: \documentclass{article} \usepackage{orcidlink} \begin{document} \orcidlink{https://orcid....
Puco4's user avatar
  • 189
1 vote
2 answers
71 views

Custom asterisk for amino acid names

I am writing a report where I would like to reduce the time taken to format amino acids and use for the rest of my PhD. I created a command that takes 2 arguments and one optional to format amino acid ...
JamesT's user avatar
  • 3,201
0 votes
1 answer
107 views

How to get table note labels to appear in normal but not superscript text using the threeparttable package?

I want the notes in my table to appear in normal text and one after the other without the classic line break. In the tablenotes environment I used the online and para options, but it didn't have the ...
Daniel Valencia C.'s user avatar
2 votes
1 answer
290 views

LuaLaTeX, with TeX Live 2022 and fourier-otf, fails to superscript en-dashes

After updating to TeX Live 2022, I am unable to produce superscript en-dashes, with fourier-otf. \textsuperscript{1--3}, simply produces superscript numerals, with a non-superscript, regular en-dash, ...
Coby Viner's user avatar
  • 1,949

1
2 3 4 5
14