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

learn more… | top users | synonyms (1)

7
votes
2answers
190 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
107 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
864 views

Use hyperref to make bookmarks; how to include superscript

I used hyperref to make bookmarks. After reading hyperref's manual, I got this example and it worked: \section{Pythagoras: \texorpdfstring{$ a^2 + b^2 = c^2 $}{ a\texttwosuperior\ + ...
7
votes
1answer
207 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 ...
7
votes
1answer
91 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 ...
6
votes
4answers
2k 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 ...
6
votes
3answers
224 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
4answers
125 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 ...
6
votes
2answers
1k 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
5answers
108 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
302 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
123 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
1answer
2k views

Writing (mixed) tensors

Does anybody know about a specific package for handling tensors? Consider, for example, a contraction of the type ...
6
votes
2answers
290 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
756 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
469 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
1answer
378 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
233 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
151 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
422 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
2answers
565 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
546 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
94 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 ...
5
votes
1answer
745 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
73 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
135 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
621 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
1answer
70 views

Why is my prime symbol too low? And: Why are my subscripts not scaled accordingly when I use \scriptsize?

I have two (maybe simple) questions concerning the following LaTeX document \documentclass{scrartcl} \usepackage[ansinew]{inputenc} \usepackage[T1]{fontenc} ...
5
votes
1answer
182 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
662 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
193 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
286 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
360 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
253 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
3answers
791 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
652 views

Is there a way to make superscripts larger?

Is there a way to make superscripts larger? Here is a minimal working example. \documentclass[12pt]{amsart} \usepackage{amssymb} \usepackage[all]{xy} \begin{document} \xymatrix{A \\ ...
4
votes
1answer
101 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} ...
4
votes
2answers
730 views

How to anchor labels in tikz for baseline alignment

LaTeX handles subscripts and superscripts nicely, automatically correcting for various sizing and placement issues. I am trying to build a function that works like subscripts and superscripts, but ...
4
votes
3answers
461 views

Subscripts and superscripts for Physiology paper

I'm writing a medicine/physiology article. I was writing the manuscript in Microsoft Word, but have recently discovered LaTeX for rendering math equations, which it does superbly; and wanted to learn ...
4
votes
1answer
240 views

detect previous character state

I am using the following tex-file: \documentclass{book} \begin{document} foo\footnote{test.}\footnote{test2} \end{document} And the result is two adjacent superscript numbers: I want to add a ...
4
votes
3answers
415 views

Mixed superscript, subscript and widehat

What is the correct way to write this equation and make both L_s matrices look the same? I tried this but the widehat and superscript L_s matrix' subscript is positioned slightly lower than the ...
4
votes
2answers
114 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
1answer
193 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.
4
votes
1answer
527 views

Better looking nested subscripts and superscripts

I have a situation where I need to subscript a superscript in math mode (and actually, subscript that subscript in some cases). (Please don't waste time telling me to change my notation; this is the ...
4
votes
2answers
1k views

Position of superscript when superscriptd item has \hat over it

I am trying to typeset he following inline math for a camera-ready document: $\hat{\boldsymbol \Sigma}_{P}^{-1} \hat{\boldsymbol \Sigma}_{G}$ It appears that the superscript -1 is aligned ...
4
votes
3answers
677 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 ...
4
votes
1answer
227 views

Strange interaction between amsmath and setspace

Compiling the MWE below, you will observe in the output the following phenomenon (you may have to zoom in): Comment amsmath out. Then, the spacing beteen lines is such that the subindex of the ...
4
votes
1answer
347 views

Why doesn't math \fontdimen's work with XeTeX?

Why doesn't the \fontdimen-command change anything with XeTeX? \input pgffor \def\chfndims#1{\foreach\dim in{13,...,19}{\fontdimen\dim#1=20pt}} \font\mymathfn="XITS Math:script=math" at 10pt ...
4
votes
1answer
48 views

Difference between Typeset Superscript vs. Unicode Symbol for Superscript

For a Unicode font, is there any difference in height, placement, etc. between rendered text of ^{superscript}, when compared to the Unicode character for superscript itself? For instance: will the ...
4
votes
1answer
98 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: