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

learn more… | top users | synonyms (1)

5
votes
1answer
118 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 ...
2
votes
1answer
81 views

Textsuperscript does not work with letters

An attempt to write 8th 8\textsuperscript{th} resulted in the same text 8th while the same environment worked well with numbers 8\textsuperscript{8} and produced correct view with subscript. Why ...
0
votes
0answers
96 views

Bad superscript with authblk / xltxtra

I'm writing a document using the article class using XeLaTeX, and authblk to have the author / affiliation displayed using superscript. I also wants to use the package xltxtra to typeset better ...
2
votes
1answer
227 views

Latex matrix of real numbers R^3x3

I trying to write R^3x3 (for a matrix 3 columns and 3 rows) in Latex using this: \mathbb{R}^3x3 But all this does is put the first 3 in the power and then writes x3 next to it in normal text.I ...
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: ...
8
votes
1answer
713 views

Changing font size in equations changes superscript size in text (LATeX)

I used \DeclareMathSizes{12}{20}{14}{10} to make my equations larger than the default output of LATeX (the parameters mean, as far as I understand, {font size}{equation regular text size}{equation ...
2
votes
1answer
59 views

Superscript and subscript, to immediate right of symbol without distortion

I want to have an output like this The closest I have come is with code ${A^{\leftarrow}}_(x, y, z + n)$ that gives me something like where the subscript is way of the mark. Trying something ...
11
votes
3answers
380 views

Avoiding overlapping superscripts and subscripts in matrices

I was working on some calculus today and tried to typeset a matrix of partial derivatives and ran into some trouble. Here is my code: \documentclass{minimal} \usepackage{mathtools} \begin{document} ...
9
votes
2answers
360 views

Is there a convention for making text as an index in math

Taking an example from category theory, given a category "C", the opposite category is usually denoted "C^op". Where "op" is an abbreviation for opposite. Now there are three ways to put this in ...
1
vote
1answer
91 views

Automatically adding space in math superscripts

I am using mathspec, but the superscripts in math mode are a bit cramped. This is a well-known problem, so much so that the package defines a command to add space around characters (the double quote). ...
13
votes
3answers
495 views

Raised ellipsis

What's next in the following sequence of LaTeX commands: \ldots, \cdots? That is, I want an ellipsis at the top instead of in the middle or the bottom. The specific situation I have is ...
19
votes
2answers
356 views

How to prevent superscripts from moving under \sqrt?

When I put an expression with superscripts under a \sqrt, the superscripts (here "vis") move down a bit. How can I prevent that, so that it looks consistent no matter whether it's under a root or not? ...
8
votes
0answers
224 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, ...
24
votes
3answers
731 views

Strange default exponent positioning?

Why is this red exponent so far away from the right parenthesis? To my eye it is too far away. \documentclass{article} \usepackage{xcolor} \begin{document} ...
4
votes
2answers
123 views

How to define a command \exponent that transforms $\exponent^e$ to $a^eb^ec^e$?

I have tried to define a command $\exponent$ that would look for next exponent and would put a copy of this exponent after a, another after b and a last one after c. $\exponent^e$ would transform to ...
4
votes
3answers
3k views

Alternatives to asterisk and star for superscripts

While writing a paper, I find myself exhausted with superscript symbols to denote similar types of variables. I have used x, x^\ast (i.e. x*), x^\star and x'. I can't use symbols which sit right on ...
41
votes
7answers
2k views

How do I typeset a tenfold powering (a tower-of-powers) with LaTeX?

How do I write x^x^x^x^x^x^x^x^x^x? My LaTeX distribution doesn't wanna eat it, it stops swallowing stuff at the double power x^x^x. What I'm aiming at is essentially building a telescope out of X's ...
7
votes
2answers
255 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 ...
4
votes
1answer
152 views

biblatex-verbose: edition as superscript in front of year

I’m using biblatex and Biber, and modifying the verbose style. I’m having trouble with the placement and formatting of the edition: The edition should appear immediately in front of the year, without ...
19
votes
6answers
690 views

How to let three subscripts and three superscripts to be aligned

Suppose I need to get a formula like $L^{2,3/4,5/6}_{1,2,3}$ in Latex. Then $2$--$1$, $3/4$--$2$, $5/6$--$3$ is not aligned. See Then how can I let these three to be aligned?
2
votes
1answer
150 views

How to separate subscript and superscript in LaTeX?

I have a variable with a subscript describer P_{\rm 1S} I'd like to square it. First a style question: is (P_{\rm 1S})^2 or P_{\rm 1S}^2 better? The programming part of the problem is that the ...
6
votes
3answers
418 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 ...
10
votes
1answer
355 views

Arrow with superscript in tikz-cd

I need my tikz-cd diagrams to have arrows (vertical and horizontal) that mimic \mapsto^* to match the relation in the text. The closest I've managed is to add a label {*} at [pos=1]: ...
3
votes
2answers
272 views

XeLaTeX textsuperscript issue [duplicate]

In XeLaTeX I have a \textsuperscript issue with all fonts I've tested, with regard to the dash. As opposed to what happens in LaTeX, in XeLaTeX the dash does not get superscripted. This is a MWE: ...
6
votes
5answers
141 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
12
votes
3answers
284 views

How can I make something like a superscript that doesn't go as high?

The \textsuperscript command makes the superscripted text go above the top of capital letters. Here's an example showing what I mean: \textsuperscript{3} И сказ As you can see, the superscripted ...
4
votes
1answer
144 views

Why does $\overbrace{\star\star}^{m}$ cause a double superscript error?

In part of my HW paper I have: $\overbrace{\star\star}^{m}$ This causes the following error: ! Double superscript. \star ->^ * l.153 $\overbrace{\star\star} ...
2
votes
1answer
48 views

superscript issue in latex [duplicate]

I have 2 superscripts in 1 equation but one of these is floating higher than the other making it look messy. The code I have used is: $\hat{\boldsymbol\beta}^T X^T$ The T is higher for the beta ...
11
votes
1answer
121 views

Size of indices (sub- and super- scripts)

I've been looking around for a way to change the size of indices (all through the manuscript). I found a lot of stuff, which could work, but I refuse to use without understandind. (See for example ...
5
votes
1answer
254 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 ...
9
votes
1answer
361 views

Consistent vertical positioning of superscripts

This is somehow a follow-up question to this one. I've got the following math expression: \nabla_y u_0^{(i)}\nabla_y v^{(i)} However, no matte, whether I enclose the v in curly brackets or not (as ...
1
vote
2answers
243 views

Spacing depending on optional subscripts and superscripts

I am totally new to LaTeX (use it for 2 days), so I am sorry if this has already been asked, but I spent the last 6 hours searching for a solution, but to no avail. (I stumbled upon a package xpeek ...
6
votes
1answer
130 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 ...
7
votes
4answers
162 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
275 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 ...
4
votes
1answer
137 views

Triple scripts for analysis

I am doing the music harmonic analysis. There are plenty of symbols that must be added and there are need for: underscript triple sub/super scripts:
7
votes
2answers
329 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 ...
3
votes
1answer
173 views

Mark in word and margin in paragraph

Anyone knows how to put a mark on a word? (1) Text:   (1) will be slightly raised as if an exponent. Also, how could shorten margins in a paragraph? Clip 10 mm left and 10 mm right?
6
votes
1answer
182 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
223 views

How to put a subscript in a superscript

How can I write the following thing? a^(b_c), b being a superscript of a, and c being a subscript of b.
5
votes
1answer
464 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 ...
3
votes
1answer
105 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 ...
8
votes
1answer
329 views

Endnotes numbered by regular arabic numbers (instead of superscripts) and without indentation

The Latex document below (from my earlier question Chapter name appearing in the endnotes) produces endnotes which are numbered by arabic numbers in the superscript, and there is indentation for each ...
9
votes
2answers
199 views

recursive multiple subscript and superscript with xparse

How can I define a new command with xparse, something like this: \NewDocumentCommand\tensorkor{ m >{\SplitList{,}}o >{\SplitList{,}}o } { ????? } that i can execute $ ...
12
votes
2answers
659 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 ...
13
votes
1answer
614 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, ...
6
votes
2answers
768 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} ...
5
votes
2answers
191 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 ...
4
votes
1answer
329 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 ...
4
votes
1answer
799 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 ...