Questions tagged [superscripts]
{superscripts} are smaller characters appearing set slightly above the normal line.
590
questions
1
vote
1
answer
23
views
biblatex-musuos: edition as superscript in front of year with crossref
I have a question related to this one: biblatex-verbose: edition as superscript in front of year
I'm using biblatex-musuos and that solution works for it as well, but only for normal entries. Child ...
0
votes
0
answers
30
views
Persistent subscript placement with ot without superscript
I have hit a problem regarding the consistency of subscripts, specifically while superscripting at the same element, i.e.
$a^{b}_{m+1}$
It seems that the subscript doesn´t have the same placement if ...
0
votes
0
answers
24
views
How to make a superscript number outside the hyperlink box?
This is a minimal working example (in XeLaTeX):
\documentclass[12pt]{ctexart}
\usepackage{circledsteps, hyperref}
\usepackage{lipsum}
\begin{document}
This is \hyperlink{1}{the first link}.
\lipsum[1]...
0
votes
0
answers
32
views
double dot above r [duplicate]
I'd like to type the double dots above $r$ as in the last line of the snippet.
How ?
2
votes
1
answer
51
views
Parse subscript and superscript in command
I am using quite a lot of notation in my text.
Thus, I decided to write some commands such as:
\newcommand{\struct}[1]{\mathsf{#1}}
The typical use is as follows:
Let $(\struct{A}_n)$ be a sequence ...
11
votes
3
answers
1k
views
Minus sign not aligning with fraction
When I use subscripts and superscript with \frac the numerator and denominator looks very tight,
\documentclass[a4paper,12pt]{article}
\usepackage{mathtools,amssymb}
\begin{document}
\[e^{-\frac{(x-\...
3
votes
1
answer
43
views
Vertically align super and subscript in columns
I have a symbol that always has two upper and two lower indices, so think of it like two index columns. I'd like to have them aligned with each other.
\newcommand{\cg}[5]{{\scriptstyle{#1}}^{#2 #4}_{#...
0
votes
0
answers
41
views
(Luatex makes) newtx superscript number font different from text number
The newtx package somehow uses a font with noticeably greater weight for superscript (footnote) numbers. How can I force it to use the same one as in the text?
\documentclass{article}
\usepackage{...
0
votes
0
answers
40
views
Can anything be done to add superscript letters to words, without messing up PDF Search functionality?
I am creating a PDF Bible for personal use; it includes both footnotes (which are superscripted numbers appended to the end of certain words), and margin cross-references (which are superscripted ...
0
votes
0
answers
27
views
Matrix super script interferes with subscript
I'm using a simple $\boldsymbol{X}_{\tau(t)}^+\boldsymbol{X}_{\tau(t)}$ equation.
However, the subscript of the left matrix gets "pushed" downwards because of the superscript.
Is there a way ...
5
votes
2
answers
412
views
A prime in parentheses
I would like the prime in $\mathfrak E ^{(')}$ to look like the normal prime in $\mathfrak E'$.
Also I might like smaller parentheses around the prime.
0
votes
1
answer
47
views
biblatex \cite as superscript brackets
I have a question according to my citation and the bibliography:
How did it got printed in the text is:
A[18] instead of A^[18] also A[18][20][19] results not in A^[18-20]
with
[18] J. Hua, X. Li, Y.-...
0
votes
2
answers
34
views
Is there a way to prevent \mathchoice from resetting the bounds of its contents (with respect to superscript/subscript placement)?
I have a series of norm macros that I want to expand to \left\| ...\right\| in display math but remain as \| ... \| in inline math. Each norm has a subscript unique to the macro:
\newcommand {\...
0
votes
1
answer
39
views
i Needed to solve the problem plz help [closed]
\usepackage{amsmath}
\begin{document}
\begin{equation}
RresT (u) =
\begin{cases}
1 & \text{\RresT (u)= \Bigg\{ 1, \text{ if Pos. {Arcs_{v_{\xrightarrow[]{}}u \ (u)} > Neg.Arcs_{v_{...
0
votes
1
answer
75
views
\textsuperscript does not work
I am writing my thesis using a template and have a problem with the function \textsuperscript. For whatever reason it is not working and instead it writes "germanb".
I mean, if I write in ...
0
votes
1
answer
36
views
Allow consecutive subscript
Apparently, LaTeX does not like x_a_b. This is an issue when I want to type \game{1}_Z as depending on the way \game is defined, it may finish with a subscript like Game_1. I tried to define \game ...
1
vote
0
answers
28
views
Increase horizontal spacing of (all) superscripts
I am using a TrueType font with XeLaTeX and unicode-math, and I noticed that, because italic letters are very slanted, in math formulas superscripts are too close, sometimes they touch the letter. The ...
0
votes
2
answers
37
views
How can I combine superscript, math symbols together? For instance, Trex1−/−
I was using this command to have my output "Trex1−/−", where -/- will be in a superscript and TREX emphasized/italic.
My command is \emph{Trex1} $^${\num{-}}$/$ $^${\num{-}}
I get error ...
1
vote
2
answers
33
views
Conflict between subscript and superscript under summation
I would like the subscript of my sum to look better:
$$
\sum_{d \mid p_j^{m_j}} f(d)
$$
creates the output
but i would like the exponent m_j to be further down and closer p_j.
0
votes
1
answer
30
views
How to make this superscript position lower?
I have seen this symbol in a textbook.
I tried \overline{\mathbb R}^+, but the plus sign position is higher than as in the picture.
Could you elaborate on this issue?
3
votes
2
answers
48
views
Centering sub/superscript of operator after scaling
I would like to make the sub-/supperscript smaller 10% and use package scalerel to do that.
Everything is fine until I find out that the sub-/superscript in operators are also scaled but they are not ...
0
votes
0
answers
32
views
Lowering superscript to match elements without tilde
Consider:
\[
\mathrm{A}^{+}\tilde{\mathrm{A}}^{+}
\]
\[
\mathrm{Aa}^{+}\tilde{\mathrm{Aa}}^{+}
\]
Is there a simple way to lower the final plus-sign, so that it aligns with the first three?
(This is ...
0
votes
1
answer
71
views
How to italicize superscripts and subscripts in math mode?
I'm pretty new in LaTeX, but I was surprised when in math mode subscripts and superscripts weren't italic. How can I solve this issue?
Here's my code:
$(Z(\bm{\mathrm{s}}\textsubscript{1}), ...,
Z(\bm{...
1
vote
2
answers
30
views
Write punctuation after citation using superscript style with biblatex
I am using the superscript style in biblatex and it writes the citation number after the punctuation. How can I force to locate the punctuation (point or comma) before the citation number? Please see ...
1
vote
1
answer
31
views
Different superscripts in a list
In a previous question from mine (see here) I asked about adding superscripts to numbered lists in order tho acknowledge authorship of some exercises. I accepted campa's suggestion of defining a new ...
1
vote
1
answer
26
views
Adding a superscript to a numbered list
I've defined a theorem-like environment called ex for exercises for my students. Some of them are taken from other authors and I'd like to give them credit. In order to do that, I was thinking of ...
0
votes
0
answers
15
views
How to modify plainnat.bst to force linebreak and make indentation within a reference?
I'm using natbib with an already slightly modified .bst file (so that authors' surname appears first followed by first name initials). Regarding the reference list, I'd like to do some further changes ...
2
votes
1
answer
39
views
Is it advisable to always include an empty group to avoid double superscript error for math accents?
This very helpful answer
https://tex.stackexchange.com/a/582444/239563
describes a way to avoid a double superscript error by including an empty group:
${{}\dot{y}^a}^\top$
My question is: is there ...
4
votes
4
answers
284
views
A macro that detects the subscript of the argument
I'm not good at TeX programming. I've looked for the method that detects the subscript or superscript of the argument in macro. Existing relevant answers using the xifthen package (Detecting subscript ...
10
votes
2
answers
474
views
How to put a symbol above another
Following this question, I'm having problems when using the accepted answer on subscripts.
\[
A_ {z {_{y}^{x}} {_{x}^{y}} } \qquad
{z {_{y}^{x}} {_{x}^{y}} }
\]
I don't know why, when in a ...
5
votes
1
answer
369
views
A problem typing (') in LaTeX
What is this? I'm just trying to write '
Entry:
Output:
My code:
\documentclass[a4paper]{article}
\usepackage[margin=1.5cm]{geometry}
\usepackage{helvet}
\renewcommand\familydefault{\sfdefault}
\...
4
votes
2
answers
127
views
Super Script and Hyphenation Problems
I am using LuaLaTeX compiler with KOMA-scrbook class.
I need to define a command with superscript text, but I do not know why LaTeX disable the hyphenation of words with superscript text.
\...
10
votes
3
answers
721
views
Curly braces with subscript and superscript
I'm looking for a way to write something like this:
\lbrace A_i\rbrace _{i = 1}^{n}
My goal is to put a subscript and a superscript near the right curly brace. How can I do it? The subscript and the ...
2
votes
1
answer
85
views
Achieve consistent symbol height independently from subscript and superscript
Consider the following:
\documentclass{minimal}
\usepackage{amsmath}
\begin{document}
\fbox{\(+\)}, \fbox{{\(+_L\)}}, \fbox{{\(+^R\)}}, \fbox{{\(+^R_L\)}}
\end{document}
it produces:
As you can ...
2
votes
1
answer
111
views
Parsing formatted arguments with expl3
I want to parse subscripts and superspricts using expl3 for which I used \def before:
\documentclass{article}
\usepackage{expl3}
\ExplSyntaxOn
\cs_new:Npn \l__parsing_parse_superscript:n ^#1 {...
1
vote
1
answer
47
views
Problem with superscripts in limits [duplicate]
Problem
My problem concerns the position of the variable n, specifically when used with limits as shown in the following output. The fragment x \in \mathbb{C}^{n} works as desired. but when this ...
4
votes
1
answer
175
views
Underline math symbols and letters on same height
i'm looking for another option than \underline for underline math symbols as well as regular letters on same height.
What I want is to change the underline of the first two symbols to the red ...
0
votes
1
answer
52
views
missing superscript glyph
I am using XeLaTeX TeXLive on Debian and Minion Pro for typesetting a commentary with many footnote series (with bigfoot). Minion Pro lacks "c" superscript, so realscript replaces it with ...
1
vote
0
answers
65
views
Superscript in citation and bibliography (using interact document class) [closed]
I am using a template for a journal paper (Taylor & Francis), it has \documentclass[]{interact}. I want to use the superscript citation as shown in the next figure:
I am using also the following ...
1
vote
1
answer
53
views
Ugly fractions including exponents in superscript
Consider typesetting the following expression in LaTeX:
\[
a^{\frac{\mathrm{e}^{\lambda x}}{1-\mathrm{e}^{\lambda x}}}
\]
The output is as follows:
This looks quite ugly. I think the issue is that ...
3
votes
1
answer
284
views
How to lower the superscript in a math mode manually
I am using amsmath package, and I would like to print $\dot{\overline{P}}^{A}$ such that the letter A was at the same height as in $\overline{P}^{A}$.
The order of upper symbols matters (\dot must be ...
1
vote
1
answer
41
views
Align subscript
When i put the code $(f_{\mathcal{X}},f_{\mathcal{X}}^{\partial})$ I get the following:
But I want the subscripts to be aligned. How can I do this?
0
votes
1
answer
119
views
How to get automatic math superscript height like \dagger?
I wish to define a superscript that is adaptive to the height of the character before it.
Just like using the \dagger offered by latex.
For example, for the following code:
\[
\sqrt{p^\top \...
0
votes
1
answer
42
views
Double Superscript Error with Macro Adding a Superscript
I found a lots of questions asking how to add a superscript to a variable defined with a superscript but none for how to do it the other way around.
My macro is \newcommand{\trsp}[1]{#1^T} and I want ...
1
vote
1
answer
33
views
Alignment symbols with super-scripts
Consider the MWE
\documentclass{article}
\begin{document}
\[
A_{X}, A_{X_{1}}, A_{X_{b}^{2}}, A_{\bar X_{b}^{2}},
A_{\overline X_{b}^{2}}
\]
\end{document}
which produces
Adding subscripts (or ...
3
votes
1
answer
150
views
How do I type a superscript in a subtitle?
Here is a minimal version of what I am trying to compile:
\documentclass{book}
\begin{document}
\title{La vie au XXI\textsuperscript{e} si\`ecle}
\subtitle{La vie au XXI\textsuperscript{e} si\`ecle}...
0
votes
1
answer
33
views
Change Display of Subscripts and Superscripts of Summations in a left bracket
By using the following code from the amsmath package:
\documentclass{article}
\usepackage{mathptmx,mathtools}
\DeclareSymbolFont{Xlargesymbols}{OMX}{cmex}{m}{n}
\DeclareMathSymbol{\Xsum}{\mathop}{...
0
votes
1
answer
159
views
Inserting multiplication sign in superscript in-text
On overleaf, I am trying to write out matrix X in all real numbers ^ (P x P), where x is a multiplication sign, in the middle of a paragraph of text.
So far, I have
$X$ $\in$ $\mathbb{R}^{P\timesP}$.
...
2
votes
0
answers
93
views
Power and Subscript "Push" Each Other
I'm facing an issue where the superscript and subscript do not align:
Now I'm using a command I defined to create this:
\newcommand{\pow}[2]{\ensuremath{\reflectbox{\ensuremath{{\reflectbox{\...
1
vote
2
answers
48
views
A better way of writing exponents/superscripts for matrices?
How can I make the height of the left-hand side (Sigma with superscript) and the right-hand side(Lambda with an exponent 1/2) the same or at least to a similar level?
\documentclass{article}
\...