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

learn more… | top users | synonyms (1)

4
votes
2answers
268 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
73 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
487 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
236 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
241 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
595 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
80 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
71 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
137 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
294 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
1k 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
247 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
128 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
70 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
169 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
708 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
109 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
116 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
64 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
179 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
396 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 ...
7
votes
2answers
3k 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 ...
12
votes
2answers
467 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
160 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
279 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
642 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
936 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
130 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
839 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
267 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
3k 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 ...
3
votes
2answers
332 views

Can I have a dot and a double subscript at a single letter?

I cannot get a double subscript to a letter that has a dot on it. I only get what is in the first line of the picture, but what I want is the upper left with the dot only on the v. Note that the ...
3
votes
1answer
401 views

Array as subscript

While $\begin{matrix} 2 & 4 & 6 & 5 & 4 & 3 & 2 \\ && 3 \end{matrix}$ looks great for the highest root of $\mathsf E_8$, $s_{\begin{matrix} 2 & 4 & 6 & 5 ...
9
votes
1answer
429 views

Consistent vertical positioning of superscripts

This is somehow a follow-up question to this one. I've got the following math expression: \nabla_y u_0^{(i)}\nabla_y v^{(i)} However, no matte, whether I enclose the v in curly brackets or not (as ...
6
votes
2answers
341 views

When substack and array doesn't work

I am trying to write a formula. But both substack and array cannot fulfil my needs (as far as I know how to use them). The first is how I want it to look like. But I need an i'\neq i below the ...
3
votes
1answer
685 views

Subscript spacing

I have a question similiar to the post: How to change default for spacing around binary relations?. In particular, I would like to make subscripts look less cramped. According to another post ...
6
votes
2answers
3k views

Derivatives: enter “evaluated at” vertical bar with multiple values as subscripts

Sorry for the long title, but how do I enter evaluated at (for a derivative), with multiple valuation criteria at the bottom of the the big | line? Thanks!
2
votes
1answer
132 views

Lower indices height

Adding a subscript to a dagged variable, the subscript is lower than when it is added to an undagged variable. Here's an example: $c^{\dagger}_R c_R c^{\dagger}_R c_R c^{\dagger}_R c_R c^{\dagger}_R ...
2
votes
1answer
509 views

\raisebox command for subscript [duplicate]

I was wondering if anyone know make a command for raisebox subscript? This question asks how to make the subscript part...here I want to make the command shorter by having a macro do the work rather ...
1
vote
2answers
275 views

Spacing depending on optional subscripts and superscripts

I am totally new to LaTeX (use it for 2 days), so I am sorry if this has already been asked, but I spent the last 6 hours searching for a solution, but to no avail. (I stumbled upon a package xpeek ...
1
vote
1answer
569 views

Equivalent symbol not working and subscript on vertical line

I have couple of issues here. I am making a presentation on beamer and I am using the following code: \begin{align*} & F_{in} = \int \frac{\partial Q}{\partial s}|_{in} ds, ...
6
votes
1answer
141 views

Sub and superscript on the left

I want to do something like this: \documentclass{article} \usepackage{amsmath} \begin{document} \begin{align*} Hom_{K\cap {}_a^bK} \end{align*} \end{document} But there seems that the _a^b is ...
7
votes
4answers
173 views

How can I capture both superscripts and subscripts after a macro

This question piggy-backs on the answer to Capture a macro's subscripts/superscripts by the macro by egreg. I'm attempting to use the xparse package to create some macros and I'd rather not have ...
7
votes
3answers
315 views

Force inline-type superscript for display equations (but display-type subscript)

I am trying to create a macro \jjoin for a mathematical operator which roughly produces the following behaviour: Inline: \bigvee^{(J)}, subscript (typically i \in I) goes in the usual position (as in ...
4
votes
1answer
162 views

Triple scripts for analysis

I am doing the music harmonic analysis. There are plenty of symbols that must be added and there are need for: underscript triple sub/super scripts: