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

learn more… | top users | synonyms (1)

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
967 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
999 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
245 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
6k 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
391 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
490 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
288 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
667 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
190 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
543 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
163 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
546 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
210 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
597 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
312 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
970 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 ...