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

learn more… | top users | synonyms (1)

11
votes
4answers
855 views

Multiple tensor indices with breqn package

When I try to use the tensor style file to create multiple tensor indices with the breqn style file, I run into the following problem shown in this (minimal) code: \documentclass{article} ...
9
votes
1answer
2k views

Text in subscript

For my text-in-mathmode needs in LaTeX, I use \mbox. However, it does not seem to behave well in subscripts. How can I write text that adjusts its height? $ 3 \mbox{dB} = f_{ 3 \mbox{dB} } $ ...
4
votes
2answers
700 views

Problem with \mathpalette and \mathchoice

When working on an additional answer to this question of mine, I stumbled across the following problem with \mathpalette. For simplicity I give an example where in practice it is ridiculous to use ...
17
votes
4answers
2k views

Subscripts for primed variables

When I add a subscript to a primed variable, the subscript is rendered lower than when it is a subscript to an unprimed variable. For example, when I compile $l_x l'_x l_x l'_x l_x l'_x$ I get ...
24
votes
3answers
4k views

non-kludgey left subscripts

I was taught to make a left subscript as a right subscript to {}. For example, I would use f: {}_RA \rightarrow {}_RB to typeset this: If you instead use f: _RA \rightarrow _RB the left ...
8
votes
1answer
237 views

\vec{p_{\bar p}} renders strangely

When I do: \vec{p_{\bar p}} I get: instead of with the \vec shifted over a bit. Why does this happen? (Also, \vec{\mbox{p_{\bar p}}} renders identically, even though \mbox{p_{\bar p}} looks ...
6
votes
1answer
378 views

Redefine the default depth of superscript and subscript document-wide

The behavior of subscript and supscript operator _ and ^ is like a blackbox to me, I am curious if I could redefine the behavior of them globally for a document. I searched the forum and found ...
5
votes
1answer
287 views

special symbol for matrix index l

In the following image there are two different styles used for matrix index l. The first one is the default one. How can one get the second one? The code is for the first equation is ...
1
vote
1answer
175 views

A macro which is similiar to \prescript but it can be used in text mode

How to define a macro, say \pretextsuperscript, to get a presuperscript ahead a word in text mode? Just simply write \textsuperscript{2}hormone and \textsuperscript{2}population is incorrect. Why say ...
3
votes
2answers
2k views

Writing a limit so that the subscript goes directly underneath

When I write $\lim_{x \rightarrow p} f(x) = q$, the subscript x \rightarrow p appears to the right of the limit, instead of directly underneath it. When I try $\displaystyle \lim_{x \rightarrow p} ...
9
votes
1answer
766 views

Removing extra space with \pmod command

When using the \pmod command as a subscript to a sum, I often encounter some extra unwanted space. For example, writing \[ \sum_{n \equiv 1 \pmod{k}} ... \] produces the following image: Does ...
1
vote
1answer
851 views

Alternatives to \sideset and \nolimits?

I'm trying to typeset as $one \sideset{}{_{three}}\prod two$ in instiki (well, ok, it's the nLab [waves to Andrew Stacey]), but it doesn't work. Is there any other alternative to \sideset that I ...
3
votes
1answer
757 views

Defining a newcommand with sub- or superscript and avoiding “double subscript” error

I often use shortcuts defined via \newcommand. However sometimes it causes a "double subscript" problem if a shortcut contains a subscript and I try to add one more subscript when using it. I am ...
2
votes
1answer
213 views

relative hspace in newcommand

I'm trying to create a symbol of a gray triangle with a black border. I managed to do so using: \newcommand{\factor}{{\color{gray} \blacktriangledown}\hspace{-1.6ex}\triangledown} However, the two ...
8
votes
5answers
5k views

How to properly subscript in a superscripted fraction?

the title says it all. It attached a MWE to display the different relative sizes of a subscript within a normal fraction and a superscripted fraction. As you can see, in the superscripted fraction the ...
8
votes
2answers
372 views

How do I get references in subscripts to be the right size when compiling to dvi with hyperref?

(Having investigated the original question, I'm taking the liberty of re-writing it as I've found a MWE and so isolated the problem, but I don't know a solution. Andrew Stacey.) The scenario is as ...
6
votes
1answer
2k views

Writing (mixed) tensors

Does anybody know about a specific package for handling tensors? Consider, for example, a contraction of the type ...
6
votes
1answer
454 views

Weird font/spacing issue with LuaTeX & Asana Math

Trying to use LuaTeX font support in some big document, everything went fine except a little glitch with Asana Math font. Here is the issue: \documentclass{standalone} \usepackage{unicode-math} ...
5
votes
1answer
249 views

Redefine underscore on a per command basis.

Is it possible to redefine the underscore while within a particular command only? This is somewhat related to: Redefine underscore to produce roman subscript I would like: \mycmd --> S ...
5
votes
2answers
547 views

sub- and superscripting together in text mode

I want to use sub- and superscript together in text mode. I've found this macro to solve the problem \def\textsubsuperscript#1#2{\rlap{\textsubscript{#1}}\textsuperscript{#2}} But it doesn't works ...
6
votes
1answer
175 views

Uneven subscripts. [duplicate]

Possible Duplicate: Supremum of the infimum Is there a way to make the subscripts appear evenly in the following code: \sup_{a\in A}\inf_{b\in B}? That is, so that a\in A doesn't appear ...
2
votes
1answer
2k views

The use of subindices with greek letters

I need to use subindices with greek letters. But I find that the result is sometimes decipherable. Examples: $\alpha_{H}$, $\gamma_{H}$ Do you have any suggestion in that regard? Of course, I do ...
1
vote
4answers
1k views

How to prevent adding subscript from italicizing the text thereafter?

When I try to add subscript(I write O_L and O_R to denote left and right ) in my text all the text after that becomes italicized. Any ideas what might be causing this?
12
votes
1answer
237 views

Is there a way to stop the vertical spread of multiple super- and sub-scripts?

I'd like to be able to place multiple sub and superscripts (in maths mode) on an element without having them expand vertically. That is, so that in the output of ${x^2_4}^6_8$, the 2 and 6 were ...
10
votes
1answer
3k views

How to make proportional subscript when using smaller font in math mode?

How to make proportional subscript when using \tiny (or smaller than normal font size) in math mode? The following screenshot shows subscripts for \tiny, \scriptsize and normal font sizes. ...
3
votes
1answer
460 views

Left Aligning Subscripts

When using displayed (in contrast to inline) equations LaTeX center-aligns subscripts: \Pr\limits_{{r \leftarrow_R \{0,1\}^n}} [ ... ] However, I like them to be left aligned. This can be done by ...
5
votes
2answers
133 views

Colored sub and super-scripts are misaligned

The title basically describes the problem. Here is a minimal example: \documentclass{article} \usepackage{xcolor} \begin{document} $$X_{\color{red}{135}}^{\color{cyan}{345}}$$ \end{document} ...
4
votes
3answers
476 views

Redefine underscore to produce roman subscript without breaking file names

I've been using Hendrik Vogt's answer to my earlier question Redefine underscore to produce roman subscript, in which he explained how to make the underscore character active and assign a macro to it ...
0
votes
1answer
201 views

Which one should be chosen for making a transposition of matrices: `fourIdx`, `leftidx`, `tensor`, `subsupscripts`, `mathtools`?

I want to get a transposition symbol of matrices like ^t(1 2 3), as title. I used the macro \prescript (in mathtools) at present. There is no any problem occured, these packages' macros work well. I ...
7
votes
4answers
523 views

is it possible to change the depth of subscripts?

I have the following formula: $ F_{\!\bm{H}} F_{\overline{\!\!\bm{H}\!}} $ In this case both subscripts end at different depths (but start at the same height). I'd like them to end at the same ...
2
votes
1answer
3k views

Textual subscript in math mode

I want to put some short words in certain subscripts when I am in math mode, for example: \[W_{total} = \sum{W_i}\] but I think LaTeX understands this as the product of t, o, t, a and l. Is in ...
8
votes
2answers
1k views

Redefine underscore to produce roman subscript

I would like to redefine the underscore _ to automatically set subscripts in math mode in roman type, as I currently find myself almost always using _\mathrm{}. I can't find a way of redefining what _ ...
12
votes
3answers
21k views

Superscript and Subscript together

I would like to show both super and subscript together some text. I tried this sometext\textsuperscript{1}\textsubscript{2} But 2 does not show up right below 1. Thanks for your help. Also ...
1
vote
2answers
272 views

How to make contextual framed letters get proportional size automatically?

I am creating a question sheet using a method (I don't know the exact name, maybe bubble sheet format) as follows: My question is how to improve the appearance such that the framed letters get ...
4
votes
2answers
865 views

Underbrace and Subscripts

How do I place a underbrace in a subscript? I_{2,(\underbrace{3,3,3,3,3}_5)} does not typeset correctly (the 3's are not subscript sized)
3
votes
2answers
219 views

Can super/sub-scripts bind more tightly than macro expansion?

By "bind more tightly" I refer to the order in which operations are carried out by default. Experimenting shows that if \ab is ab and \cd is cd then \ab^\cd is ab^cd. I would like it to be ...