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

learn more… | top users | synonyms (1)

0
votes
2answers
68 views

Letters and numbers have a different dimension in subscripts

I am writing in math mode symbols with long lists of subscripts, that can either be letters or numbers. For example, I write something like \begin{equation} p_{51y_4y_3} \end{equation} to obtain ...
0
votes
0answers
29 views

Subscript and underbraces [duplicate]

I'm trying to draw an under brace below some subscripts. The thing is that, if I do it the normal way, displays just fine, but with the subscripts letter a little big for a subscript. However, if I ...
4
votes
1answer
51 views

Cases environment problem, when used with subscript

I am trying to use the cases environment but I get the message, missing $ inserted. \begin{cases} deg(u_i) \textrm{ if u_i on primary diagonal} \\ -1 & \textrm{ if u_i u_j ...
4
votes
3answers
64 views

When I add a “hat” to a character, I cannot get a gap before the superscript

I like how there is a gap between the subscript and the superscript when I write ${w_i}^T$. However, if I try to put a hat on the vector, like $\hat{w}_i^T$, this space goes away. Any ideas? I tried ...
3
votes
1answer
67 views

Alignment of subscripts inside and outside parentheses

$(X^n_i)_i$ This piece of code produces output where the inner i is placed at a lower height than the outer i. Is there a graceful way to place both i's at the same height?
6
votes
1answer
70 views

Spacing preceding a subscript?

In a document I'm writing, I have a line \documentclass{article} \usepackage{amsmath,amssymb} \begin{document} \operatorname{Tor}_1(\mathbb{Z}/(r),B)= _rB\simeq\cdots \end{document} However, the ...
5
votes
2answers
255 views

Subscript under sum with dot

I have a problem with the subscript under a sum with dot, it changes the position of the subscript. Namely, \documentclass[a4paper,12pt]{article} \usepackage[english]{babel} \usepackage{amsfonts} ...
3
votes
1answer
119 views

Words under sum that's in a denominator

if I try this; Substituting the expression for \(\Psi\) in to the above and rearranging we derive an expression for the vacuum field \(\Psi'\) as a function of \(\mu \), \begin{equation} \Psi' = ...
1
vote
0answers
23 views

Use sub and superscript as [optional] parameters for macro [duplicate]

I am defining a macro, and would like to run other macro's on any sub/superscripts given to it. For example, I would like to define it such that something like: \myMacro_{lower}^{upper} ...
5
votes
2answers
420 views

Is it wise to use \tensor for bold letters?

I want to use bold math-letters e.g. \mathbf{p_1}^2. The problem with \mathbf{p_1}^2 is that the 1 and 2 sub/superscripts are not aligned under each other. I can fix this by writing \mathbf{p_1^2} ...
2
votes
1answer
126 views

Subscripts and capital letters surpressed in bibliography

My article title contains subscripts and capital letters for the molecular formulas. This reference I downloaded from Google Scholar. However, the subscripts and the capital letters are not displayed ...
1
vote
1answer
184 views

Subscript with fraction, large vertical spacing

In a paragraph, the expression $A_{b/c}^{dd}$ causes an undesired larger vertical spacing of the sentence where it appears (compared to the rest of the paragraph). I have tested some solutions (eg. ...
8
votes
4answers
6k views

how to make subscripts automatically choose font size

Would it be possible to make subscripts in math mode automatically choose a smaller font when a subscript is in uppercase? E.g., if I have sA, the "A" would appear quite big. Is it possible to tell ...
1
vote
0answers
22 views

Writing 3 expressions below \bigcup? [duplicate]

Let's say I have: \bigcup_{a \in X} This will print a big U with $a \in X$ below it. Now, let's say I also want to write $b \in Y$ and $c \in Z$below that big U. Is this possible?
5
votes
4answers
576 views

big square parentheses with subscript

what I want to do is: what I have done is: \begin{align} \tag*{(1)} & v_t(\mathrm{\textbf{K}})= \mathbb{E}\left[_{0\leq x_j\leq D_{jt},j \in J} \max_{\mathbf x \in \mathcal J(\mathbf ...
2
votes
1answer
162 views

Subscript in macro

I would like to define a new command like the following. The latex when compiling should emit I_{wr} when given without arguments, or the optional arguments should come as a subscript. ...
6
votes
1answer
1k views

Subscript spacing in equation

I have a document, where I want to use $\tau_{ff}$. If this is rendered it looks like a space is inserted between the two f's. $\tau_{rl}$ looks fine ... Where does this additional space come from ...
20
votes
4answers
3k views

Underscore in textmode vs mathmode

I use _ character often in text mode, so I changed category of underscore: \catcode\_=12, but that applies also to mathmode and now I'm unable to make subscripts with underscore in mathmode. Is there ...
2
votes
1answer
518 views

Subscript in Figure Captions

How do I make text subscript in a figure caption? I've tried both \textsubscript{} and \protect\textsubscript{} but both throw errors.
6
votes
2answers
272 views

Change size and position of subscript (like double subscript)

I'm writing 'cause I would like to know if there's an automatic way (like something to put in the preamble) to make the subscript behave as double subscript: for example if I write something_a it ...
9
votes
2answers
234 views

recursive multiple subscript and superscript with xparse

How can I define a new command with xparse, something like this: \NewDocumentCommand\tensorkor{ m >{\SplitList{,}}o >{\SplitList{,}}o } { ????? } that i can execute $ ...
2
votes
1answer
82 views

Superscript and subscript, to immediate right of symbol without distortion

I want to have an output like this The closest I have come is with code ${A^{\leftarrow}}_(x, y, z + n)$ that gives me something like where the subscript is way of the mark. Trying something ...
4
votes
2answers
329 views

Double superscript/subscript issue with macros

I would like to be able to define a macro like \newcommand{\Zs}{Z^*} and then somewhere within the text say $\Zs^T$ and have the effect of writing $Z^{* T}$. It should also be possible to write $\Zs$ ...
4
votes
1answer
78 views

Latex: How do I write “\sim_G” but so that the G is directly underneath the “\sim”?

In Latex, How do I write "\sim_G" but so that the G is directly underneath the "\sim"?
11
votes
3answers
546 views

Avoiding overlapping superscripts and subscripts in matrices

I was working on some calculus today and tried to typeset a matrix of partial derivatives and ran into some trouble. Here is my code: \documentclass{minimal} \usepackage{mathtools} \begin{document} ...
8
votes
1answer
276 views

Subscript spacing in newtxmath (comma issue)

I've found a strange behavior of newtxmath package. Using my code with documentclass[12pt]all commas are glued to the next letter, which can be hard to read: When I changedocumentclass[11pt] ...
2
votes
1answer
317 views

how do I get a hyphen in \mathrm

A simple question I think, but if I write $\omega{\mathrm{anti-Stokes}}$, the hyphen looks an awful lot like a minus sign. If I naively try $\omega{\mathrm{anti\hyp{}Stokes}}$ (I think \hyp{} requires ...
2
votes
4answers
800 views

Is there a way to make math mode subscripts automatically non-italic?

I'm currently working on a report where the majority of subscripts will be non-italic. The way I know how to do this currently is via \mathrm{}, which is an absolute horror when you have to do it many ...
5
votes
2answers
92 views

How to put a subscript in the center of two letters [duplicate]

I have the following code \sum_{i<j}^{}\sum Cov(X_i, X_j) which renders How can I move the i<j subscript to the center underneath the two sigmas (which will result in a "shift")? Preference ...
2
votes
1answer
74 views

consistently increased line spacing when subscripts occur in paragraph

The question is about consistent vertical spacing in a paragraph of text that includes some math using subscripts. Concretely, in the example I feel that there is not enough vertical space between ...
8
votes
1answer
139 views

Is there a better way to “absorb” the subscript than this \@ifnextchar-hackery?

In this example document, I want to make a math relation called R which gets typeset as R^X, but as a math relation. But I want to maybe be able to subscript it. The macro \myRbad looks okay without ...
7
votes
3answers
332 views

Subscript for Norms are too high

I'm defining \norm by \|#\|. However, when I type \norm{x}_{M}, the M comes out at exactly the same height as if one typed x_M. The problem is really noticeable with upper-case subscripts. Is there a ...
6
votes
2answers
2k views

\overline and \widehat with subscript

I would like to create commands to produce overlines (respectively wide hats or arrows) with a subscript at the end. The commands \overline{X}^{1} \widehat{X}^{2} \overrightarrow{X}^{3} do not ...
8
votes
0answers
258 views

Einstein summation convention [closed]

In Einstein's summation convention, it is sometimes necessary to have subscript and superscript indices in a certain order. If you just use ^ and _, these indices would appear on top of one another, ...
3
votes
1answer
138 views

Subscript without text in math mode

I want e.g. \bigtriangleup as a subscript in math mode, but I do not want it as the subscript of any preceding symbol as | as in |_{\bigtriangleup}. I tried with _{\bigtriangleup} which does not work. ...
5
votes
1answer
73 views

New commands having variable numbers of parameters and being used in subscripts

Is it possible to make the last two cases work without the need in wrapping the command calls in curly brackets? \documentclass{article} \usepackage{amsmath} \usepackage{amssymb} \makeatletter ...
1
vote
0answers
25 views

How do I center my subscript? [duplicate]

How do I make the following subscript centred below the text? $$\text{argmin}_{x,y,z,b}$$ As this one does automatically? $$\Pr_{x,y,z,b}$$
4
votes
1answer
192 views

tilde mark over letters in exponents or subscripts in math mode under revtex4-1

A space between the tilde mark and a letter is relatively higher in exponent or subscript in math mode. For instance, the tilde mark appears differently spaced over the letter z in the two following ...
19
votes
6answers
719 views

How to let three subscripts and three superscripts to be aligned

Suppose I need to get a formula like $L^{2,3/4,5/6}_{1,2,3}$ in Latex. Then $2$--$1$, $3/4$--$2$, $5/6$--$3$ is not aligned. See Then how can I let these three to be aligned?
3
votes
1answer
122 views

How to adjust the alignment of a mathematical expression in a text section? e.g. argmax

I am using the following definition to generate the argmax operator: \DeclareMathOperator*{\argmax}{\arg\!\max} However the problem is when I use it in a part that some text exists because of the ...
4
votes
2answers
126 views

Prevent spacing in sub or super scripts with eulervm

When typing formulas to explain physics, sometimes non spaced text in super or subscripts is helpful. $q_{heat}$ To prevent spacing in subscripts, I often used \textit in math mode: ...
1
vote
3answers
65 views

Numbered letters [duplicate]

I've been looking for a while now, for something I think is very basic. How can I use, for instance, "v0" with the 0 smaller next to the v. Like this: I can't find it, mainly because I'm not sure ...
23
votes
3answers
2k views

maths nested superscripts and subscripts displayed incorrectly inline

I am having a strange bug when using nested superscripts and subscripts in inline math (displaystyle works fine). This behaviour is the same independently of the font used or the compiler (orginally ...
2
votes
1answer
205 views

How to separate subscript and superscript in LaTeX?

I have a variable with a subscript describer P_{\rm 1S} I'd like to square it. First a style question: is (P_{\rm 1S})^2 or P_{\rm 1S}^2 better? The programming part of the problem is that the ...
3
votes
1answer
466 views

Mathptmx - number subscript too large

I don't know if this is actually intentionally, but if I use the font: \usepackage{mathptmx} and type e.g.: \beta_{8,t} it looks kind of weird, because the 8 is so much larger than t. If I use ...
8
votes
2answers
4k views

Putting \hat over first character of subscripted variable

I'm using a set of commands to define abstractions of mathematical notations that often occur during my thesis such as: \newcommand{\DNoise}{n_d} which would equal some distortion noise. This allows ...
13
votes
2answers
496 views

Kerning of subscripts

I have a large document that's full of subscripted variables that represent points and vectors. I want to typeset the points and vectors upright and bold. I'm using Unicode Math with Latin Modern, and ...
6
votes
5answers
180 views

How to put a symbol over another in the same line - simultaneous superscript/subscrtipt

Is there a way to put one symbol over the other just as in this shot of a dictionary page? http://phonetic-blog.blogspot.com/2009/09/weak.html
6
votes
1answer
182 views

The difference between $\alpha _1$ and $\alpha_1$

Many people would edit my $\alpha _1$ into $\alpha_1$, do you know whether there are any reasons for the default space? Which is better? Since I generate the .tex by Mathematica, the spaces are ...
4
votes
1answer
303 views

Using \phantom in subscript with the bayesnet TikZ library

I'm using the bayesnet TikZ library to draw a graphical model. Node variables might have different size, say $v_0$ and $v_{N-1}$ and the result is that some bubbles are bigger than others. I am trying ...