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

learn more… | top users | synonyms (1)

18
votes
4answers
3k 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 ...
25
votes
3answers
5k 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
257 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
472 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
307 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
179 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 ...
12
votes
1answer
1k 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
976 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 ...
5
votes
1answer
1k 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
250 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
7k 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
393 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 ...
7
votes
1answer
3k views

Writing (mixed) tensors

Does anybody know about a specific package for handling tensors? Consider, for example, a contraction of the type ...
7
votes
1answer
492 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
291 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
684 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
191 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
2k 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
242 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
4k 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
547 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
165 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
553 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
212 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
607 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
4k 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 _ ...
14
votes
3answers
29k 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
315 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 ...
5
votes
2answers
973 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)
4
votes
2answers
228 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 ...