Questions tagged [superscripts]

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

Filter by
Sorted by
Tagged with
2 votes
3 answers
93 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
47 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
30 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
46 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
63 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
176 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
50 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,193
1 vote
1 answer
28 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
142 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
43 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
52 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,226
3 votes
1 answer
73 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
  • 309
2 votes
2 answers
94 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
  • 939
1 vote
2 answers
127 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
  • 939
7 votes
2 answers
548 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
  • 53.7k
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
50 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
  • 113
1 vote
1 answer
45 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
66 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,738
0 votes
1 answer
80 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
0 votes
0 answers
28 views

Cite references in text by superscript and in the bibliography as numbered

I have looked at this other post (cite references in the text by superscript numbers and listed at the end in order they are cited in the text) with a similar problem, which as been solved, but I am ...
Tario You's user avatar
  • 101
1 vote
1 answer
82 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
130 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
47 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
  • 584
0 votes
0 answers
51 views

Parse Subscripts and Superscripts in Nested Macros

How can I parse subscripts and superscripts in nested macros? I am trying to write two macros based on this answer: underlinemacro: underline the input argument excluding subscripts and superscripts. ...
C. Taylor's user avatar
1 vote
1 answer
43 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,448
2 votes
1 answer
32 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
66 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,106
0 votes
1 answer
130 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,401
0 votes
1 answer
137 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
23 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
233 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
261 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
455 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
60 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,151
0 votes
1 answer
90 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
260 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,939
2 votes
3 answers
403 views

Is there a way to make large symbols look better in superscripts and subscripts?

I want to include a summation in the exponent. The following code I use now produce a somewhat uncanny-looking result: \begin{align*} $x^{\displaystyle\sum_{i=0}^{k}}$ \\ $x_{\displaystyle\...
Vincent Phillips's user avatar
0 votes
1 answer
45 views

Biblatex and chem-angew - add dots in abbreviations

my professor is a bit picky about my bibliography: He needs the abbreviation of every journal with dots. Additionally he'd like the numeric citation in superscript when it is mentioned in text. For ...
Georgie's user avatar
0 votes
1 answer
45 views

Typesetting: Lining up footnote marker with cap or ascender line of the text (FN too high)

How can I line up the footnote marks with the cap or ascender line (see https://en.wikipedia.org/wiki/Baseline_(typography)) of a text? Usually LaTex would use superscripts, which appear to be placed ...
dbmei's user avatar
  • 1
8 votes
3 answers
364 views

Why does \mathchoice mess with my redefined superscript?

I redefined ^ to give different colors depending on whether it is a superscript, supersuperscript, etc using the following: \catcode`^\active \def^#1{% \mathchoice{% \sp{\color{red}#1}% ...
btshepard's user avatar
  • 680
0 votes
1 answer
83 views

How to create a custom font size like \tiny that horizontally squishes font?

The appearance of double sub/superscripts is extremely horizontally squished. For example, x^{2^{k^\alpha+1}} yields I would like to create a custom font that "squishes" the k^\alpha+1 ...
btshepard's user avatar
  • 680
3 votes
1 answer
284 views

Can superscripts only be used in $-delimited mathematical formulas? [duplicate]

A^{\dag} got error "Missing $ inserted" Is there a way to use superscripts not in mathematical formulas?
Rui Fang's user avatar
3 votes
1 answer
69 views

\mathrel used in-line and in sub/superscript

I would like to define a \mathrel symbol composed of some text. For instance I would like to do something like \DeclareMathSymbol\myrel{\mathrel}{???}{rel} or perhaps another macro/custom symbol in ...
D.R's user avatar
  • 731
0 votes
0 answers
59 views

is it good practice to have a text over a symbol which contains both super- and subscript?

My problem involves the Greek letter $\Psi$ which is a sum of two parts - a volumetric (vol) part and a deviatoric (part). I have to associate a superscript $h$ and optionally a subscript $a$ to $\psi$...
Simon's user avatar
  • 251
0 votes
0 answers
90 views

Custom limit locations

How are big operators defined? Starting with something like the above, I want to place the lower limit in a displaymath-size symbol below it and the upper limit to the right side (essentially middle ...
Gupta's user avatar
  • 119
0 votes
1 answer
118 views

How to change the superscripted bibliographic citation number to a normal size number in specific cases?

I am using this journal template where all bibliographic citations are superscripted such as: This is true.4 With the corresponding script being: This is true.\cite{paper_4} However, I would like ...
papaya's user avatar
  • 1
0 votes
0 answers
50 views

beamer how to control subscript vertical position

subscript and superscript position depend in the presence of both. How can I control only the position of subscript (or superscript) vertically without added both? I'm using Beamer, although the same ...
gvd's user avatar
  • 143

1
2 3 4 5
13