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

learn more… | top users | synonyms (1)

6
votes
3answers
92 views

Command for formatting only first level of nested subscripts?

I'd like to create a command which only targets the first "level" of the indexes. I'll illustrate with some examples, using \qq as the command in the first line, and the "real" LaTeX code on the line ...
12
votes
2answers
519 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 ...
13
votes
1answer
454 views

How do you get a scriptscriptstyle-sized prime?

As you go from \displaystyle to \scriptstyle to \scriptscriptstyle, letters and numbers, for instance, shrink. Weirdly, to my mind, the prime symbol (') shrinks from \displaystyle to \scriptstyle, ...
6
votes
2answers
456 views

The \prescript command from the mathtools package gives incorrect alignment

The spacing I'm getting with the \prescript command from the mathtools package seems wrong. Here is a MWE: \documentclass{article} \usepackage{amsmath,mathtools} \begin{document} ...
5
votes
2answers
230 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
208 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
182 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
285 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?
5
votes
2answers
137 views

How to have a common height of subscripts when some got superscripts too?

I am writing a script and got a formula with inverses, and I noticed that the subscripts have a different heigth. This is the minimal working example: \documentclass{scrbook} \begin{document} \[ ...
5
votes
2answers
172 views

\left( and \right) too big when surrounding a sum (etc.) with no superscript; exacerbated by substack

When I write \varphi^{-1}\left(\bigcap_{\substack{\mathfrak{p} < B \\ p \text{ prime}}} \mathfrak{p}\right) I get something like this: Apparently it's leaving symmetric amounts of room for ...
3
votes
1answer
172 views

Double subscript with \bar [duplicate]

When I used this code: $ {\bar{a}_x}_y $ MiKtex said: Double subscript $ {\bar{a}_x}_ How to fix?
1
vote
1answer
69 views

Weird compilation error

Why is it that \[ f\langle s,t \rangle = \sum_\substack{v,w \in E \\ v \in S, w \in T}}f(v,w) \\ \] compiles for me, despite the extra }, but \[ f\langle s,t \rangle = \sum_\substack{v,w ...
4
votes
1answer
153 views

Put subscript underneath instead of in the bottomright corner

I wonder if there is a way to create an equation like that where the "subscript" is placed underneath instead of in the bottom right corner. I also want the "subscript" to be center aligned with the ...
4
votes
1answer
264 views

Can't turn off fontified subscripts in Emacs 24

Under Emacs 24.3 and Auctex, the sub/superscript fontification is occurring outside math modes. This appears in either Beamer or normal LaTeX docs. Per this question, I've included the following ...
8
votes
2answers
318 views

Align subscripts vertically

I would like to align the subscripts in an expression such as this one: \documentclass{article} \usepackage{amsmath} \begin{document} $$\sup_{f\in\mathcal H}\lim_{\epsilon\downarrow ...
3
votes
1answer
553 views

Subscript and superscript in lstlisting?

I need to use subscript and superscript in a lstlisting block. lstlisting can replace strings by Latex commands, but is it also possible to replace some kind of regular expression like ...
1
vote
1answer
472 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} ...
2
votes
1answer
108 views

How to control the horizontal location of subscript?

Sometimes I find the subscript is located too far from the letter (to which it is the subscript) such as in \mathbf{v_{_\text{B}}} How to get the subcript closer to the letter?
10
votes
1answer
230 views

Double subscript problem

The code \DeclareMathOperator*{\FAggregate}{F} \begin{equation} q_k'(e) = \FAggregate\limits_{a \in R}_a (q_k(S(a))) \end{equation} causes a problem with an additional _a. What I want is the a to ...
3
votes
1answer
1k views

How to control line spacing and subscript location in captions?

I just started using mhchem and am having problems with captions. Subscripts from mchem overlap with superscripts. I can think of two possible solutions (and trivially not using mchem in captions): ...
8
votes
1answer
1k views

TikZ: Controlling text within nodes and placing nodes in text

Need some help working with TikZ. Let me begin by saying that I think TikZ is amazing. I hardly know what I'm doing at this point and yet I've been able to draw some very nice diagrams with it. ...
3
votes
1answer
975 views

Combining Textstyle and Displaystyle

In my mathematics writing, I often use both superscripts and subscripts on the probability operator. The subscripts are generally lengthy, and I would like for them to appear underneath the operator, ...
16
votes
1answer
643 views

Which command should I use for textual subscripts in math mode?

Textual subscripts like in W_{total} should be typeset in an upright text font (so that code isn't good practice), as has been discussed in various questions here. Now there are several ways to ...
4
votes
2answers
195 views

Different vertical position of summation limits in consecutive \sum

When I use different summation indices in a double sum the limits are not vertically aligend, for instance: \begin{equation} \Delta K_T^i = \sum_{t=1}^{T}\sum_{k=1}^{m}{\Delta K_t^{i,k}} = ...
2
votes
1answer
199 views

Difference in height of subscript [duplicate]

I have a problem concerning the following equation in LaTeX: A_{1}^{\ast} A_{1} = A_{1} A_{1}^{\ast}, where the 1's under the A's are placed at different heights. Does anyone know a simple way to ...
12
votes
1answer
314 views

Typesetting Subscript: Which is correct?

Which one is correct? p_1 or p_1^{}
3
votes
2answers
279 views

Problematic nested subscript

Hello and sorry if I'm reiterating an already asked question. The two i-subscripts have different positions in relation to m, the one on the right hand side of the inequality being the correct one ...
2
votes
0answers
33 views

Short form for textup in math mode [duplicate]

Possible Duplicate: Using simple quotes “” instead of \text{} For subscripts I usally use \textup but if you have many of them it's much to write and read. \documentclass{article} ...
4
votes
3answers
526 views

Subscripts and superscripts for Physiology paper

I'm writing a medicine/physiology article. I was writing the manuscript in Microsoft Word, but have recently discovered LaTeX for rendering math equations, which it does superbly; and wanted to learn ...
0
votes
1answer
476 views

How can I adjust the size of the square brackets in the equation?

I am trying to write an equation that includes fractions and the power of fractions. Here is my equation. \begin{equation}\label{eq:vlj} \si{\volt\of{LJ}}= ...
1
vote
1answer
410 views

Space between letter and lowercase in latex math mode

is there a way to remove the space between the variable and the lowercase letter as standard in math environment? by now i'm using this: \begin{equation} a\;b_{\! c}\;d \end{equation} Without \! ...
7
votes
2answers
455 views

Problem of different spaces between subscripts and letters in math mode

In math mode, the spaces between subscripts and letters are not always the same, but depending on the preceding letters! See e.g. (different colours indicate different spaces) Is it the feature of ...
3
votes
2answers
246 views

Leftidx problem: upper indices have different height

When using the leftidx package to create the same upper index on both sides of \Bbbk[G], the indices have different height and look ugly. Minimal example: \documentclass{article} \usepackage{leftidx} ...
22
votes
3answers
1k 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 ...
14
votes
3answers
482 views

By default, how much do ^ and _ raise and lower the text box in superscript and subscript respectively?

I'm trying to define a set of commands for superscript and subscript, but cannot use the characters ^ and _ in doing so. I've been able to define the correct font size by using ...
7
votes
1answer
113 views

Can I detect whether my macro is being used inside a subscript or superscript?

I defined this macro: \newcommand{\foldeq}[1]{\sim_{#1}} Later on, I noticed that when it's used inside a subscript, it looks a little bit hard to tell whether it's $\sim f$ or $\sim_f$. ($\sim f$ ...
10
votes
2answers
670 views

Weird relative positioning of superscript and subscript with \dot, \bar

Minimal working example: \documentclass[12pt]{article} \usepackage{amsmath} \begin{document} \[ {A^\mu}_\nu \] \[ {\bar{A}^\mu}_\nu \] \end{document} The result is. Why is the placement of ...
4
votes
3answers
492 views

Mixed superscript, subscript and widehat

What is the correct way to write this equation and make both L_s matrices look the same? I tried this but the widehat and superscript L_s matrix' subscript is positioned slightly lower than the ...
10
votes
1answer
183 views

Capture a macro's subscripts/superscripts by the macro

Is it possible to capture sub-/superscripts added to a macro by the macro itself? Consider the following example: \newcommand{\fx}[1]{f(x)} \fx{x} % -> f(x) \fx{x}^2 % -> f(x)² Now the ...
4
votes
1answer
289 views

subscript is set too low in math-mode with xits-math

I use unicode-math with xits-math as math font and asana-math for math double-struck symbols. I compile with lualatex, and my packages are from TeXlive 2011. Now, when use asana-math mixed with xits, ...
8
votes
1answer
172 views

Wrong positioning of subscripts on bold math letters

I just noticed that for kpfonts and times (and probably other fonts since it does not seem to be font-related), the subscripts on boldface letters like V are (I would say) wrong. Is there an ...
1
vote
1answer
576 views

Combining \operatorname with \mathnormal and \mathrm

Related Question: Typesetting the square of a mathematical operator \operatorname converts its argument into a function symbol with appropriate spaces on the left and on the right. However, I ...
6
votes
1answer
470 views

How to write 1, 2, … as a subscript to a letter?

I have two theta angles, one is \theta -1, other one is \theta -2. How can I write that properly? I want to give numbers to the thetas, putting the numbers at the bottom right end of the letter.
14
votes
2answers
238 views

Problem with the subscripts of adjacent sums

I have a problem with the subscript under the sum, \sum_{i \in X} \sum_{i \in \bar{X}} for example gives the subscript at different heights for each sum. Does anyone know how to fix this?
7
votes
2answers
3k views

Problem formatting a subscript in math mode

$\nu_{\rm FWHM}$ prints FWHM too large. But when I try: $\nu_{\mbox{\tiny FWHM}}$ the size is okay but the kerning looks wrong. What is the best way to make a compact little FWHM subscript tag ...
6
votes
1answer
656 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 ...
2
votes
2answers
2k views

Sub-/Superscripts in Headings/Normal Text [duplicate]

Possible Duplicate: How to typeset subscript in usual text mode? I sometimes want to typeset something simple like $N_2$ or $3^2$ in a Heading, other times in a paragraph of normal text. I ...
2
votes
1answer
2k views

Index Exponent with LaTeX

Please, how can i write C i,j in LaTeX (i as an index and j an an exponent)? I know just that: C^j C_i
5
votes
1answer
133 views

Missing <sub> tags in tex4ht output

When processing a LaTeX source with tex4ht, I can't seem to reliably convert subscripts in text mode to <sub> tags in the HTML output. My only solution so far is to switch to math mode. But for ...
4
votes
1answer
675 views

Better looking nested subscripts and superscripts

I have a situation where I need to subscript a superscript in math mode (and actually, subscript that subscript in some cases). (Please don't waste time telling me to change my notation; this is the ...