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

learn more… | top users | synonyms (1)

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
409 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
119 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
173 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
550 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
154 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 ...
1
vote
1answer
469 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
265 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
230 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
78 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
316 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
76 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
522 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
265 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
294 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
743 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
89 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
138 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
322 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
255 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
134 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
184 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
717 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
116 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
203 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
450 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
487 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
173 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
295 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 ...
3
votes
2answers
694 views

Double subscript caused error during compilation

I have in code: $\varphi(x) = \sum_{k=1}^ra_k\mathds{1}_{B_k}(x) $ but pdflatex commmand generates often: ? ! Undefined control sequence. l.1354 ...rc \xi)(\omega) = ...
8
votes
2answers
1k views

A new line inside subscript

I have formula: \[ A_k = \bigcup_{I \subset \{ 1,...,k \} \text{card} J = K} B_j\] which generates I would like ask how to make the new line inside subscript. It should look like formula below: ...
11
votes
1answer
137 views

Size of indices (sub- and super- scripts)

I've been looking around for a way to change the size of indices (all through the manuscript). I found a lot of stuff, which could work, but I refuse to use without understandind. (See for example ...
1
vote
2answers
945 views

Product symbol c on the lower suffix

Sorry, this may be very easy question but I didn't get. When I use product symbol, I want to write c(as a cardinal product) in the lower suffix. I am using following command. \documentclass{12 ...
4
votes
1answer
290 views

How to put a subscript in a superscript

How can I write the following thing? a^(b_c), b being a superscript of a, and c being a subscript of b.
1
vote
2answers
4k views

Subscript of sum [duplicate]

How can I make a subscript for sum in latex like the following picture: I tried \sum_{q_i} but that doesn't make the result I want. It makes the following result:
1
vote
0answers
47 views

How to have subscripts in bibliography [duplicate]

I am trying to have this paper in my bibliography http://apl.aip.org/resource/1/applab/v1/i4/p82_s1 I export the BibTeX file and put it in my .bib. But it is shown like this: FROM Ga(As[sub 1 - ...
15
votes
2answers
9k views

Is there an “underscript” command?

Is there a way to do underscripts? By "underscript" I mean a small font underneath the text object like limits or sums have. I don't want it to behave like a math operator though, where it is typeset ...