{superscripts} are smaller characters appearing set slightly above the normal line.

learn more… | top users | synonyms (1)

8
votes
1answer
208 views

Why doesn't \mathord work to turn an Acc atom into Ord?

Writing ${\dot X^a}^b$ produces a very cryptic "double superscript" error: this has been explained here on this forum: the reason is that {\dot X}^a generates an Acc atom and that, for a reason that ...
8
votes
1answer
271 views

Nice-looking $x_i^j$

When I write $x_i^j$, the j is very high up, and it looks ugly. (This problem is especially apparent in the New Century Schoolbook font.) I know that TeX is capable of automatically lowering it, ...
8
votes
0answers
215 views

Einstein summation convention [closed]

In Einstein's summation convention, it is sometimes necessary to have subscript and superscript indices in a certain order. If you just use ^ and _, these indices would appear on top of one another, ...
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 ...
7
votes
4answers
159 views

How can I capture both superscripts and subscripts after a macro

This question piggy-backs on the answer to Capture a macro's subscripts/superscripts by the macro by egreg. I'm attempting to use the xparse package to create some macros and I'd rather not have ...
7
votes
3answers
265 views

Force inline-type superscript for display equations (but display-type subscript)

I am trying to create a macro \jjoin for a mathematical operator which roughly produces the following behaviour: Inline: \bigvee^{(J)}, subscript (typically i \in I) goes in the usual position (as in ...
7
votes
2answers
244 views

What's the “opposite” of \limits?

If I write something like $\bigwedge^k$ inline, I get the desired effect -- the k is typeset up and to the right like an exponent, rather than immediately above the wedge. If I'm in a displayed ...
7
votes
2answers
312 views

Automatically Raising Subscripts

I have the following expression J_{ne}\boldsymbol{\mathsf{J}}_{ne}^{-1} which is awkward in the sense that as the second (sans-serif) J has a superscript that the subscripted indices are lower than ...
7
votes
1answer
118 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$ ...
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
552 views

How to reduce the spacing between punctuation and the superscript citation

I'm using biblatex with the autocite=superscript option, so I can use \autocite to switch the interpunction and a superscript citation when the \autocite command is placed before an period or comma. ...
6
votes
3answers
395 views

Super and subscripts with \DeclarePairedDelimiter

I defined a macro for the supremum norm by \DeclarePairedDelimiter{\supnorm}{\|}{\|_\infty} which works nicely. However, as soon as I want to place a superscript like \supnorm{f}^2 things look ...
6
votes
5answers
147 views

newcommand with optional superscript

In my thesis i need to use quite often the partial differential fraction like \frac{\partial^\alpha x}{\partial y^\alpha }} I therefore defined the command ...
6
votes
2answers
2k views

Superscripts in verbatim environment

I have some lines in a verbatim environment ... \begin{verbatim} line 1 * line 2 line 3 * line 4 line 5 \end{verbatim} ... at the beginning of some lines I want to add a number ...
6
votes
3answers
139 views

Sup-left with a matrix

If I want to have supscript on the left, I usually do {}^xa. How can I do this when I have a matrix. So what I want is {}^x\begin{pmatrix} a & b \\ c & d\end{pmatrix} However, this doesn't ...
6
votes
5answers
136 views

How to put a symbol over another in the same line - simultaneous superscript/subscrtipt

Is there a way to put one symbol over the other just as in this shot of a dictionary page? http://phonetic-blog.blogspot.com/2009/09/weak.html
6
votes
3answers
330 views

Emitting LaTeX a “token” at a time, handling superscripts

I am outputting LaTeX from another source language, but one that only gives me things a source-token at a time. Thus, I may get a token corresponding to “begin superscript” and then I will later get ...
6
votes
1answer
124 views

Sub and superscript on the left

I want to do something like this: \documentclass{article} \usepackage{amsmath} \begin{document} \begin{align*} Hom_{K\cap {}_a^bK} \end{align*} \end{document} But there seems that the _a^b is ...
6
votes
1answer
171 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 ...
6
votes
2answers
685 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} ...
6
votes
1answer
984 views

superscripts with xelatex? (footnotes, natbib)

This example illustrates some conflict between xelatex and natbib- and footnote-generated superscripts. The semi-colon between distinct citations is not typeset as a superscript, nor is the dagger. ...
6
votes
1answer
58 views

Stretchable glue in (script)scriptstyle (subscripts, superscripts, fractions)

If $a+b$ appears in a paragraph, the spacing around + will depend on how stretched/compressed the line is. If ${a+b}$ is used, then the formula will have its natural width regardless of how ...
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 ...
6
votes
1answer
247 views

Turn off superscript in todo package

Todo package by default can display todo notes either as a superscript or as a marginpar (the package has appropriate options). Is there a way to display todo notes as normal text (without patching ...
5
votes
2answers
187 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 ...
5
votes
1answer
467 views

How to automatically add parentheses around fractions?

Is there any way to make LaTeX automatically put parentheses around a \frac if it is followed by a superscript expression?
5
votes
3answers
180 views

Inverted circumflex not as diacritic

How do I typeset a caron or inverted circumflex as a character on its own in math-mode, rather than as a diacritic above another character? I need to do this because I want to use it as a superscript, ...
5
votes
2answers
804 views

Superscript page numbers with natbib

I'm with an annoying problem with natbib. When the super parameter is used, the citation happily goes superscript but the page or chapter number doesn't. \documentclass{article} \usepackage[numbers, ...
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 ...
5
votes
1answer
906 views

Spacing after footnote superscript

I'm writing my thesis for my Computer Science degree. I have a lot of footnotes and my advisor has told me to remove the spacing generated by the superscript of the footnote. This footnotes are ...
5
votes
1answer
151 views

Should superscript and subscript be upright in this case? [duplicate]

What do you think which notation is better to read? The set $B^{high} = {b_1, \ldots, b_n}$ should indicate the set of all buildings which are high and $B^{low} = {b_1, \ldots, b_n}$ all buildings ...
5
votes
1answer
117 views

How to get a slanted schwa sign in \textsuperscript size?

There are in Tipa package two options: \schwa which makes slanted “schwa” of a peculiar size, and \textschwa which adjust to the text-size (for example when in \textsuperscript, it gets the right ...
5
votes
1answer
2k views

\vphantom and superscripts

The superscripts position is exactly the same for these two statements: \vphantom{\int}^S and {}^S How can I get the superscript higher up? Edit The \intis just an example. Here is another one: ...
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 ...
5
votes
2answers
381 views

Matrix doesn't shrink when put in fraction.

This is my minimal example, the problem is the different size of the two x. I would expect the matrix to be shrunken too, but it isn't. Why is this and how is it corrected? ...
5
votes
2answers
40 views

Correct positioning of right-hand superscript in combination with \underbrace

I have a term that needs both an underbrace and a transpose sign as a superscript on its right side. There are three options in what order the \underbrace command its corresponding subscript and the ...
5
votes
1answer
871 views

Squeeze superscripts and subscripts around bracketed expressions in display math

Consider a bracketed term in display math, like this. Is there any way to squeeze the space between the super/sub-scripts and the bracketed term? e.g. where I've modified the image to create the ...
5
votes
2answers
95 views

Double Superscript error with primes

Simple question, Why does the following cause a double superscript error? $$ H^{' '} $$ Removing the spaces $$ H^{''} $$ produces the expected output.
5
votes
1answer
78 views

Figure as superscript in section title

I would like to have a section title of special type: I need it to be a letter with a figure in superscript. My code (that does not work) would be: \documentclass[12pt,a4paper]{article} ...
5
votes
1answer
432 views

pmatrix and superscript

I would like to place a superscript to a pmatrix, but the superscript is not correctly positioned. \begin{pmatrix} 1 & 2 & 3 \\ 4 & 5 & 6 \\ 7 & 8 & 9 \end{pmatrix}^{T} Any ...
5
votes
2answers
828 views

How do I adjust the height of a superscript?

I have an operation that I call \conv, that I defined as follows: \newcommand\conv{{}^{\scriptstyle\smile}} Sometimes I use it in this situation: $a\conv$ and sometimes I use it in this ...
5
votes
1answer
35 views

How do I remove interior brackets from a range of superscript citations?

I'm using the cite package as follows \usepackage[superscript,biblabel]{cite} However, when I try to cite multiple articles, the range includes interior brackets, as seen here. Can anyone tell me ...
5
votes
1answer
247 views

Textsuperscript and linebreak problem

I got a problem when doing cites and linebreaks. I configured natbib the following way: \usepackage{babelbib} \usepackage[super,square,numbers,sort&compress]{natbib} Now, citing multiple ...
5
votes
0answers
316 views

Problem with optical sizes option in package MinionPro [closed]

I have converted the .otf files for Adobe MinionPro to PostScript Type1 files and used the auxiliary files for metrics and encodings provided with the package MinionPro. Everything works fine except ...
5
votes
0answers
377 views

How to lower the superscripts (and raise the subscripts) [duplicate]

Possible Duplicate: tex4ht problems with footnotes I am preparing a document using XeLaTeX, unicode-math and Asana Math OTF (turned on by \setmathfont{Asana-Math.otf}). I've noticed that ...
4
votes
2answers
260 views

How do I specify 8^(a - b) in math mode

$8^(a - b)$ produces only a superscripted (; the rest of the power is not superscripted. How can I superscript the whole (a-b) portion?
4
votes
2answers
173 views

How to print out the ^ sign? [duplicate]

How to write "y^2" in latex ? I need that hook in mathmode. The error says to put the expression within $...$.
4
votes
3answers
140 views

Vectors and indices

I'm trying to write a vector, r, which is raised to the power two. Currently this is what I'm using $\vec{r}_{i}^{2}$ but the vector arrow and power of two are overlapping. Is there anyway I could ...
4
votes
3answers
963 views

Prevent extra spacing between lines from \raisebox

I create superscripts for indexes for notes manually with \raisebox. What I don't like is that Latex changes the line spacing to fit a manual superscript into a line. For instance: ...
4
votes
2answers
83 views

Superscripts after fs - spacing

When certain characters in superscripts follow certain letters ("f" at least) they collide. I'm using a numeric superscripted citation style, but the problem is more general that that as the following ...