Skip to main content

Questions tagged [subscripts]

{subscripts} are smaller characters appearing set slightly below the normal line.

Filter by
Sorted by
Tagged with
1 vote
2 answers
196 views

there is a subscript bug in beamer [closed]

I am making my slides with beamer but when I put two mathematical modes (??) it fails and I tried everything and I can't find the answer to solve it. - Objetivo general - Al$_2$ this works fine, ...
Víctor Vargas Marinero's user avatar
2 votes
3 answers
218 views

Subscripting a custom \mathbin operator

I have a custom binary operator \newcommand{\foo}{\mathbin{\bullet^*}} I now need to subscript sometimes, but clearly I get instead of Is there a way to make mathbin pass the subscript to its ...
seldon's user avatar
  • 291
1 vote
0 answers
20 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
  • 121
5 votes
2 answers
452 views

Subscripts in fractions on an exponent look terrible

It seems that whenever we have a fraction in an exponent, the denominator looks terrible. For example, The K in the subscript looks unduly large. This is definitely a bug or something. Is there any ...
Sardines's user avatar
  • 161
1 vote
2 answers
122 views

How to compact an expression in subscript vertically?

I thought LaTeX would figure out by default that it should adjust some settings for the base of the logarithm in $\log_{2\sqrt[6]x}{1994}$ but it doesn't. The root symbol is too tall and extends too ...
ByteEater's user avatar
  • 163
0 votes
1 answer
119 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
3 votes
2 answers
72 views

Automatically typeset subscripts upright - how to make it compatible with greek letters?

I am looking for a way to typeset subscripts (that may contain greek letters and umlauts) upright, as a default, when using math-mode. Upright subscripts as a default have been asked for before, and ...
armel's user avatar
  • 53
2 votes
2 answers
207 views

Control height of subscript in LaTeX

I have a problem with the following code \documentclass{article} \usepackage{amsmath} \begin{document} \begin{align*} \operatorname{P}_{\widehat{Y}} \quad \operatorname{P}_{Y} \\ \end{align*} \end{...
PoZa's user avatar
  • 21
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
93 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
  • 289
2 votes
1 answer
74 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,251
0 votes
3 answers
51 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
1 vote
1 answer
53 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
2 votes
1 answer
49 views

apply bar or tilde to symbol only (ignore subscript)

\documentclass[12pt]{article} \usepackage{amsmath} \begin{document} $ \bar{S_{i,k}} $ \end{document} What I want is to span the bar only over the letter S. Obviously, the solution to this is $\bar{...
Simon's user avatar
  • 335
1 vote
1 answer
57 views

Superscript on top and subscript on bottom in equation

\documentclass[12pt]{article} \usepackage{amsthm} \usepackage{amsmath} \usepackage{graphicx} \usepackage{hyperref} \usepackage[latin1]{inputenc} \begin{document} \begin{equation} u_{k}^{i} = \frac{\...
MacTavish's user avatar
  • 115
0 votes
0 answers
32 views

Italics for subscripts (indexes) or use roman (upright)?

How do you place the indices of e.g. resistors in an electrical network? For $R_1$, $R_2$ (resistor values): here the 1 and 2 are up (roman). So should you place $R_A$ or place R_\text{A}. In most ...
MrI2C's user avatar
  • 125
2 votes
3 answers
192 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
0 votes
2 answers
65 views

Creating operator with arguments above and below

I am working with creating an operator which has too look like this: I wanna make clear that I need to change the arguments many times in my document because I am showing relation properties between ...
MathHack'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
196 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
0 votes
1 answer
32 views

Add vertical space inside \underset

I have this code: \begin{equation*} \underset{\z \in \mathbb{R}^n}{\min}\ \underset{\y \in \mathbf{B}^{n-1}_{\infty}}{\max} \ \left\{\frac{1}{2} \right\} . \end{equation*} This results into ...
Newrion's user avatar
  • 103
1 vote
3 answers
45 views

Subscript under subset sign [duplicate]

How can one achieve a sub-index and super-index over a subset sign, as in the following image: I have not found any resources online. Thanks!
lafinur's user avatar
  • 115
2 votes
2 answers
194 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
4 votes
3 answers
292 views

Subscripts position in \sum and \sup

I am trying to write the following formula I have written this code on Overleaf but I don't like the result \[ ||u||_{\ell^p} = \begin{cases} \big(\sum_{n=1}^{\infty} |u_n|^p\big)^{\...
Athanasios Paraskevopoulos's user avatar
10 votes
2 answers
623 views

A subscript that is closer to the tip of the nabla symbol

With the command \nabla_x f(x, y), I have I think this is not aesthetic. Is there a way to get the subscript closer to the tip of nabla symbol? Something looks like Thank you so much for your ...
Akira's user avatar
  • 1,493
0 votes
0 answers
85 views

How to write undertext in alignment environment [duplicate]

Couldn't find as answer to this question in the site: I want to write $A_i=\cap_{g\in G} gH_ig^{-1}$, But it shows me(in overleaf) this - While I want the $g\in G$ be UNDER the $\cap$.
A field's user avatar
  • 131
3 votes
2 answers
151 views

Double subscript nagging from Overleaf

I'm trying to write a derivative wrt to time i.e. dot, in a bold face matrix, which uses the leftindex environment, but Overleaf nags about double subscript (even though it shows it correctly). Can ...
Jorge's user avatar
  • 133
3 votes
2 answers
253 views

add subscript when expression already has a subscript

A subscript to a subscript can be accomplished by a_{b_c} in a way that the c is really subscript to b, and both together subscript to a. However, {a_b}_c behaves differently (either b and c appear at ...
Ralf's user avatar
  • 185
2 votes
2 answers
143 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
1 answer
73 views

Reason for \in positioning, and possible fix?

All the tex layouts I've seen thus far produce something like: In displaystyle the off-centering (or centering?) of the \in symbol isn't very noticable, however it is in scriptstyle. Also: The same ...
studying mathematics 's user avatar
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,013
1 vote
2 answers
130 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,013
0 votes
1 answer
53 views

How to write subindex with subset in greek letters

I'm having a hard time to write a "a vector of parameters with subindex". Here is what I have: $\underset{\sim}{\hat{\theta}_0}$ %or $\underset{\sim}{\hat{\theta_0}}$ %or $\underset{\sim}{\...
Ga13's user avatar
  • 105
1 vote
0 answers
38 views

Double subscript error on ${\tilde a_0}_0$? [duplicate]

${a_0}_0$ compiles fine: ${a_0}_0$ ${\tilde a_0}_0$ yields a "double subscript" error. Why is that and how can I fix it?
Andi Bauer's user avatar
0 votes
0 answers
62 views

A better \sum limits display style?

Consider the following y_j=\sum_{k=0}^n \sum_{i=\max(-k,1-j)}^{\min(k,n-j)} x_{j+i} I do not like the second summation limits style. Is there any better alternative to this?
sam wolfe's user avatar
  • 257
0 votes
0 answers
48 views

redefine subscripts [duplicate]

The code a_x_y is undefined in pdflatex, it could mean a_{x_y}, {a_x}_y, a_{xy}, or a_x{}_y. Is there a way to define a_x_y as a_{xy} by default, as is in XeTex?
Alois Pichler's user avatar
4 votes
1 answer
139 views

operatorname vs text in subscripts

I often see things like \lambda_{\min} or \lambda_{\max} in papers. To me, it seems that the "min" and "max" are not used as operators, but rather as text, so it would be better to ...
overfull hbox's user avatar
1 vote
1 answer
60 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
  • 614
1 vote
1 answer
37 views

How to make subscript follow the large angle instead of aligning with the bottom line of the equation?

I have the following latex code and I don't know how to align the subscript f with the \rangle. Making the langle and rangle bigger is also possible but I didn't find a solution. I've tried to use ...
Qingwei Li's user avatar
4 votes
3 answers
261 views

Tables containing Young diagrams

I would like to make a table containing Young diagrams and some other text. Also I would like some of the diagrams to have subscripts or superscripts. Here is my first attempt. Does anyone know how ...
IanM's user avatar
  • 71
0 votes
1 answer
45 views

A (somewhat) picky subscript notation? [closed]

This is probably a weird question, but I will ask it anyway. I am trying to find a certain syntax for the following notation. I have However, I want to write j = i +1. These do not look good: A ...
MathIsLife12's user avatar
0 votes
1 answer
164 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
  • 9,116
2 votes
0 answers
28 views

Lowering the superscript [duplicate]

Is it possible to lower the superscript in to achieve something like this?
Siwei Feng's user avatar
9 votes
2 answers
373 views

Adjust italic correction for a math symbol for subscripts

I am using the DejaVu math font and noticed that the zero in f_0 is very far away from the f. % !TeX program = lualatex \documentclass{article} \usepackage{unicode-math} \setmathfont{texgyredejavu-...
schtandard's user avatar
  • 15.5k
0 votes
2 answers
50 views

How to align a title with an subscript below of it

Right now, I have this code: \documentclass{book} \renewcommand\sfdefault{cmss} \renewcommand{\familydefault}{\sfdefault} \usepackage[top = 2.54cm, bottom = 2.54cm, left = 1.5cm, right = 1.5cm]{...
Peluche's user avatar
  • 613
5 votes
3 answers
381 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
1 vote
0 answers
29 views

Recommendations for multiletter subscripts in an equation [closed]

Are there recommendations for multiletter subscripts in equations? I need to use fr for "friction" and the plain old _{fr} doesn't look very good. \documentclass[border=1mm]{standalone} \...
Jason S's user avatar
  • 2,880
2 votes
1 answer
88 views

Spacing of subscripts on subscripted variables that themselves appear in subscripts

I'm trying to improve the spacing on and around the eta symbol that I typeset below. I use the symbol to denote elasticity (in economics). Eta will appear in expressions that can grow quite long, and ...
RMM's user avatar
  • 117
1 vote
1 answer
56 views

Double superscript. error from Maple latex code after updating

All my files no longer compile after running my program due to such errors now Double superscript. \left(-x^{2}+1\right) y^{\prime}^{2} I have not updated TeXlive recently. Last time I updated it ...
Nasser's user avatar
  • 20.4k

1
2 3 4 5
16