Tagged Questions

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

learn more… | top users | synonyms (1)

1
vote
4answers
229 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
65 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
57 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
130 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 ...
6
votes
3answers
207 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 ...
8
votes
0answers
205 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, ...
4
votes
2answers
687 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 ...
3
votes
1answer
104 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
66 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
128 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 ...
3
votes
1answer
99 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 ...
19
votes
6answers
679 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?
0
votes
0answers
187 views

completion of math superscript/subscript in texshop

I updated to TeXShop 3.25 and have a minor problem with completion. In the previous version, typing ^ or _ in math mode, I got automatically the brackets, that is, a^ automatically gave a^{}. Now I ...
1
vote
3answers
59 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 ...
5
votes
2answers
189 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 ...
2
votes
1answer
134 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
260 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 ...
4
votes
2answers
101 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: ...
7
votes
2answers
1k 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
377 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
131 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
5
votes
1answer
172 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 ...
3
votes
2answers
431 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) = ...
4
votes
1answer
225 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 ...
8
votes
2answers
559 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
109 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
492 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 ...
1
vote
2answers
1k 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:
3
votes
1answer
60 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?
1
vote
0answers
45 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 - ...
3
votes
2answers
227 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
327 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
312 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
265 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 ...
6
votes
2answers
475 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!
3
votes
1answer
438 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 ...
2
votes
1answer
101 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
373 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
222 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
457 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, ...
5
votes
1answer
110 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
156 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
247 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
122 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:
7
votes
2answers
266 views

Automatically Raising Subscripts

I have the following expression J_{ne}\boldsymbol{\mathsf{J}}_{ne}^{-1} which is awkward in the sense that as the second (sans-serif) J has a superscript that the subscripted indices are lower than ...
6
votes
1answer
160 views

Defining a different symbol to be used as a sum-class symbol

If I'm interested in using an arbitrary symbol or character instead of the default sum-class symbols (such as \int, \coprod, etc), solely with the interest of preserving subscripts and superscripts ...
3
votes
2answers
404 views

use of limits after a non-math operator

I would like to write the following: $ \mu_{s,r} = \mbox{mean}_ {i \in N}(X_{i,s,r})$ but where the {i \in N} is underneath the word "mean". I tried \limit but it doesn't work unless it's a math ...
4
votes
1answer
218 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.
7
votes
1answer
152 views

(Nonfatal but Symptomatic) Conflict of amsmath and mathstyle Packages

This was brought to my attention by our colleague, Lover of Structure, but since it affects my scalerel package (which began using the mathstyle package to detect the current math style, as of version ...