4
votes
2answers
71 views

How to create horizontally aligned subscripts in latex

My problem is that I can't align subscripts properly. I want subscript 'ISI' to be at same level for both H and x. while (m,n) remains in italic format. The last expression gives aligned subscripts ...
2
votes
1answer
38 views

Boldface for undescore in math mode

I need to insert an equation which contains the term x_y (y is subscript). The term must also be boldfaced. How do I achieve this in LaTeX?
5
votes
1answer
46 views

Avoid brackets with a command having an optional argument as subscript

I have the following code: \documentclass{article} \newcommand{\quot}[3][c]{\frac{#2}{#3#1}} \begin{document} \LARGE $A_\frac{a}{bc}$ $A_{\quot{a}{b}}$ $A_{\quot[d]{a}{b}}$ \end{document} If I ...
6
votes
3answers
86 views

Is there any global settings to add \limits to evey \sum, \bigcup etc?

I'd like to put the superscripts and the subscripts always above or below the symbols like \sum,\bigcup,\inf etc, even in the inline mode, but I don't want to add \limits everytime. I tried ...
6
votes
1answer
43 views

Stretchable glue in (script)scriptstyle (subscripts, superscripts, fractions)

If $a+b$ appears in a paragraph, the spacing around + will depend on how stretched/compressed the line is. If ${a+b}$ is used, then the formula will have its natural width regardless of how ...
4
votes
2answers
93 views

Greek `\chi`'s subscript expressions: how to make it smaller or offset lower?

I am unsatisfied with the way subscript is rendered for the Greek letter \chi. This particular letter is rendered with a small downward offset. I occasionally have to prefix the subscript with ...
5
votes
1answer
83 views

Renew command on mbox makes it freeze - Fix subscript size

I'm trying to change the font style of \mbox, but all my tries have failed. All commands I try either have no effect or make pdflatex recursively keep working and never finish and freeze. This makes ...
0
votes
2answers
45 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 ...
8
votes
3answers
95 views

Spacing for subscripts in mathmode with \textcolor

It is possible to use \textcolor in math-mode; however, it changes the spacing of subscripts. \documentclass{article} \usepackage[usenames]{xcolor} \begin{document} $Y_i$ vs $\textcolor{red}{Y}_i$ vs ...
3
votes
1answer
77 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
21 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} ...
14
votes
1answer
295 views

Etiquette for math subscripts and superscripts

It is my first question here, I hope it is not too stupid... I am writing my thesis in math and I need a lot of subscripts and superscripts. My problem arises since in subscripts and superscripts ...
2
votes
1answer
77 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. ...
8
votes
1answer
143 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
121 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 ...
1
vote
4answers
201 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 ...
2
votes
1answer
54 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
0answers
190 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
555 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
99 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. ...
4
votes
1answer
118 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
96 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 ...
1
vote
3answers
58 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 ...
3
votes
1answer
237 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
98 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
913 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 ...
3
votes
2answers
396 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
218 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
472 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: ...
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
2answers
210 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 ...
9
votes
1answer
281 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
249 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
278 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
403 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
97 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 ...
1
vote
1answer
415 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, ...
7
votes
3answers
238 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 ...
14
votes
2answers
2k views

divides, not divides and cardinalities

In group theory it happens very often that you want to say: "The order of $H$ divides / does not divide the order of $G$." But the length of | is then always the same: $ |H| | |G| $ produces |H|||G| ...
7
votes
2answers
242 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 ...
4
votes
1answer
209 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
144 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 ...
4
votes
1answer
285 views

Increase the space between operator in subscript/superscript

I need to increase the space globally between operators in subscripts/superscripts. Example: \sum_{x=4} I need a little more space before and after the = symbol in the subscript. It is required ...
9
votes
2answers
175 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 $ ...
12
votes
2answers
532 views

Differences in vertical positioning of superscripts and subscripts depending on grouping (`{ }`): Why? Caveats? Workarounds?

This question about {(x+y)}^2 vs (x+y)^2 drew my attention to the slightly different vertical positioning of super- and subscripts for such expressions. Compare (x+y)^8_8 (left) and {(x+y)}^8_8 ...
5
votes
2answers
241 views

Double subscript error with \newcommand?

Disclaimer: I know of Defining a newcommand with sub- or superscript and avoiding "double subscript" error but this only gives a work-around, but no explanation to my question. Here's a ...
2
votes
1answer
216 views

Using \limits in a customized \overset for superscript together with \sideset for subscript

I am trying to create a notation for a certain space. I am using a customized \overset in mrf's answer in this thread to suppress the extra vertical space. I still want the subscript on the right ...
7
votes
1answer
183 views

How to automatically add \! in subscripts?

This code \documentclass{article} \usepackage{fouriernc} \begin{document} $a_1$ $a_{\!1}$ \end{document} produces this output: I like the spacing on the lower one much more. Is there a way to ...
3
votes
2answers
291 views

Fonts and calibration in math mode

Anyone have any ideas on how to obtain the small + in the subscripts, shorter \overline on the \mathbb{N} and the fat \verts on the semi norm on the bottom as seen in the following notation?
1
vote
1answer
486 views

Subscript in beamer class using frames and equations

\documentclass{beamer} \usepackage[latin1]{inputenc} \usepackage{textpos} \usetheme{CambridgeUS} \usepackage[british,UKenglish,USenglish,english,american]{babel} \begin{document} \begin{frame} ...