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

learn more… | top users | synonyms (1)

6
votes
1answer
152 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 ...
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 ...
5
votes
1answer
762 views

starred version of \DeclareMathOperator not working

I am using Kile as my LaTeX editor. I have defined a star for DeclareMathOperator but it does show the behavior of \limits, the subscript appears only in the sides rather than below. But using maptop ...
3
votes
2answers
346 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 ...
7
votes
1answer
143 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
268 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
1answer
213 views

Reduce spacing between lines and stacked subscripts with mathop

I am using the following code to typeset a minus (or a plus) under a syllable of text to be used for chant: \def\mi#1{$\displaystyle{\mathop{\mbox{\smash {#1}}}_{\scriptscriptstyle -}}$} This ...
3
votes
1answer
90 views

Recursive Multiple subscripts and superscripts with xparse (Modified Version)

How can I modify the command below to obtain a version (of the question: recursive multiple subscript and superscript with xparse) which does not stack the sub/superscripts horizontally but moves all ...
3
votes
1answer
172 views

biblatex - postcite as subscript

I've defined the command \newcommand{\mycite}[2][]{\autocite{#2} #1} which allows me to combine a superscripted citation with a parenthetical page reference: Cf. Sloterdijk1 (pp. 84–85). ✓ This ...
13
votes
1answer
456 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, ...
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?
4
votes
3answers
527 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 ...
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 ...
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 ...
1
vote
1answer
191 views

Left and right subscripts in multline environment

I am using \documentclass[12pt]{article} \usepackage{amsmath} \begin{document} \begin{multline} \big_{1}[_{2}(...)_{2}\big]_{1}. \end{multline} \end{document} The lower suffix works only for right ...
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} ...
16
votes
4answers
8k views

How to typeset indices before a symbol?

I know how to write a usual index with the help of the underscore, but I seem to be unable to find out how to write an (upper/lower) index in front of a letter/text. These kind of indices are common ...
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 ...
5
votes
2answers
231 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
209 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 ...
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
173 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 ...
15
votes
1answer
17k views

Double Subscript for Subsequences

What's the best way to write subsequences? $x_n_i$ gives an error, while $x_{n_{i}}$ works, but it just looks like $x_{ni}$ (the i isn't lowered enough below the n)...
4
votes
1answer
154 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 ...
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
558 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 ...
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 ...
4
votes
2answers
649 views

Italic/slanted math font and kerning

I'd like to write a macro for typesetting slanted letters in bold for highlighting vectors. I've used this implemenation: \newcommand\vect[1]{\text{\bfseries\sffamily\slshape#1\/}} But I've run ...
1
vote
1answer
473 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
976 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
648 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
200 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
315 views
7
votes
4answers
3k views

Problem adding subscripts and superscripts [duplicate]

Possible Duplicate: Cursive text after _ I need to have some subscripted and superscripted text in my thesis document. But when I try to do it the way as H_{2O} or S^{2}. I get an error at ...
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 ...
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} ...
1
vote
1answer
411 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 \! ...
0
votes
1answer
482 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}}= ...
7
votes
2answers
458 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
247 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} ...
13
votes
3answers
4k views

How to raise a subscript?

For some reason, I need to write a “minus” sign as a subscript on some symbols, but if I simply write $\Pi_{-}$ the result looks kind of odd. I've found that $\Pi{\scriptstyle -}$ looks reasonably ...
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$ ...
13
votes
3answers
11k views

Supremum of the infimum

Consider the following snippet: $$\text{d}_{H}(A,B) = \max\left\{ \sup_{a\in A} \inf_{b\in B} \text{d}(a,b),\sup_{b\in B} \inf_{a\in A}\text{d}(a,b)\right\}$$ In the output, the text under the ...