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

learn more… | top users | synonyms (1)

8
votes
1answer
1k views

biblatex: How to remove the comma before ed./eds.?

How can I remove the comma before ed. or eds. and put this abbreviation in parentheses? I'm using biblatex. For example this reference: Dozy, Reinhart, ed.: Supplément aux dictionnaires arabes. ...
8
votes
1answer
446 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 ...
8
votes
1answer
1k 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 ...
8
votes
1answer
224 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
288 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
257 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
7answers
390 views

Superscript-like text on a text

I want to add a small text on a regular one. It looks like a superscript but the difference is the regular text won't have any break. I don't know how to explain the situation correctly so I added a ...
7
votes
4answers
186 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
340 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
317 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
449 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
148 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
4k 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
156 views

Why does using color break superscript/subscript horizontal spacing?

The below snippet, within an equation array environment, gives the subsequent rendering: F\left[C^{(n-k)}_{P_{ji}}\right] But when I add color to the snippet (using the color package) as below ...
7
votes
1answer
675 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. ...
7
votes
1answer
596 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
4answers
243 views

Superscript/subscript fonts different from body font

The following minimal example: \documentclass{article} \renewcommand{\familydefault}{\sfdefault} \begin{document} 10$^5$ and CO$_2$. \end{document} produces the following: The superscript and ...
6
votes
2answers
251 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 ...
6
votes
3answers
569 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
164 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
156 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
180 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
355 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
2answers
89 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 ...
6
votes
1answer
151 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
233 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
1k 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
1k 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
1k 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 ...
6
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 ...
6
votes
1answer
87 views

Typeset a degree sign in tex4ht

I am trying to produce a degree sign in tex4ht (ideally with the same code that produces the pdf) The PDF works fine in all of the different ways of displaying the degree sign, but the html document ...
6
votes
1answer
90 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
11k views

Typesetting “nth” in LaTeX [duplicate]

Possible Duplicates: What's the quickest and easiest way to write “2nd” “3rd” etc in LaTeX 1st, 2nd and i-th? Is there a standard/best practice for ...
6
votes
1answer
255 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 ...
6
votes
1answer
110 views

CM fonts kerning in math superscripts

Using CM fonts with either a traditional engine or XeTeX, an expression such as $D^rf$ produces too much space between the r and the f in the output. It's easy to fix manually by inserting a \!. ...
5
votes
3answers
135 views

Simultaneous overset and superscript

When I type $\overset{\circ}{Z}^\lambda$ the lambda is placed slightly above and to the right of the circle. Is there a way to make it appear as a superscript on the Z? I tried ...
5
votes
3answers
1k 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: ...
5
votes
1answer
501 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
236 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
420 views

Is it wise to use \tensor for bold letters?

I want to use bold math-letters e.g. \mathbf{p_1}^2. The problem with \mathbf{p_1}^2 is that the 1 and 2 sub/superscripts are not aligned under each other. I can fix this by writing \mathbf{p_1^2} ...
5
votes
2answers
1k 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
1k 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
142 views

Kerning super- and subscripts “semantically”

I want to know if it's possible to change how LaTeX typesets superscripts and subscripts (separately, that is, not both at once) for an element where the default kerning doesn't cut it for me. Some ...
5
votes
1answer
1k 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
2answers
87 views

How to add a correction to a line of text, as if reviewing a hard-copy of a paper and found a word missing?

I want to add a correction to a line, as one would write if they were going through a hard-copy of a paper and found that a word was omitted. I've drawn by hand specifically what I'm after below: ...
5
votes
1answer
231 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
4k 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
2answers
105 views

Footnote in \bfseries: New error in newpx update [closed]

After a recent update, the newpx font packages (newpxtext, newpxmath) throw an error when trying to make a superscript footnote number within a group where the boldface series is selected. ...
5
votes
1answer
128 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 ...