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

learn more… | top users | synonyms (1)

7
votes
1answer
208 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
154 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
406 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
327 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
296 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
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 ...
4
votes
1answer
230 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 ...
2
votes
1answer
422 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 ...
8
votes
1answer
193 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 ...
3
votes
1answer
1k views

lyx shortcut for superscript and subscript

Instead of using the menu for Insert->Formatting->Superscript or Subscript, I would like to use a keyboard shortcut. I tried Tools->Preferences->Shortcuts, there are already shortcuts for ...
3
votes
1answer
857 views

How to control line spacing and subscript location in captions?

I just started using mhchem and am having problems with captions. Subscripts from mchem overlap with superscripts. I can think of two possible solutions (and trivially not using mchem in captions): ...
3
votes
1answer
753 views

Combining Textstyle and Displaystyle

In my mathematics writing, I often use both superscripts and subscripts on the probability operator. The subscripts are generally lengthy, and I would like for them to appear underneath the operator, ...
1
vote
0answers
45 views

What is the correct way to write the abbreviation of “the first”? [duplicate]

I want to write 1st. What is the correct way to do so? 1\textsuperscript{st} \mbox{1\textsuperscript{st}} \mbox{1$^\text{st}$} $1^\text{st}$
4
votes
2answers
731 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 ...
10
votes
2answers
3k views

My prime symbol is not superscript

I'm learning math mode and having an issue here with the prime symbol. $y\in[0,1]^{d\prime}$ In this inline math formula, the prime symbol is supposed to be superscript, but it shows up at the ...
3
votes
1answer
191 views

superscript asterisk on the left side of different symbols (math mode)

I need to add superscript asterisks to the left side of different symbols like +,\cdot,\leq,\mathbb{R}. I read several different solutions to similar questions, which recommended either \prescript, ...
9
votes
6answers
276 views

math shorthand macro: avoid extra space from empty superscript

I find myself writing $\{0,1\}^x$ a whole lot, so I want to define a shorthand macro: \def\zo#1{\{0,1\}^{#1}} However, sometimes I need $\{0,1\}$ with no superscript. If I write \zo{} I get a tiny ...
4
votes
3answers
462 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 ...
8
votes
1answer
1k views

Temporarily disable superscript in citation

I use superscripted citation style by using \setcitestyle{super} in LaTeX preamble, which done the job as I wanted. However, there are several region, in which I need to temporarily disable the ...
3
votes
2answers
226 views

Leftidx problem: upper indices have different height

When using the leftidx package to create the same upper index on both sides of \Bbbk[G], the indices have different height and look ugly. Minimal example: \documentclass{article} \usepackage{leftidx} ...
22
votes
3answers
1k views

maths nested superscripts and subscripts displayed incorrectly inline

I am having a strange bug when using nested superscripts and subscripts in inline math (displaystyle works fine). This behaviour is the same independently of the font used or the compiler (orginally ...
14
votes
3answers
417 views

By default, how much do ^ and _ raise and lower the text box in superscript and subscript respectively?

I'm trying to define a set of commands for superscript and subscript, but cannot use the characters ^ and _ in doing so. I've been able to define the correct font size by using ...
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$ ...
14
votes
6answers
6k views

How should imaginary numbers be typeset?

I've never had to typeset complex numbers before and I'm finding that I'm uncertain about what best-practices are. My question is really about typesetting just i. (Hence my title referring to ...
10
votes
2answers
583 views

Weird relative positioning of superscript and subscript with \dot, \bar

Minimal working example: \documentclass[12pt]{article} \usepackage{amsmath} \begin{document} \[ {A^\mu}_\nu \] \[ {\bar{A}^\mu}_\nu \] \end{document} The result is. Why is the placement of ...
4
votes
3answers
416 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 ...
10
votes
1answer
153 views

Capture a macro's subscripts/superscripts by the macro

Is it possible to capture sub-/superscripts added to a macro by the macro itself? Consider the following example: \newcommand{\fx}[1]{f(x)} \fx{x} % -> f(x) \fx{x}^2 % -> f(x)² Now the ...
2
votes
1answer
325 views

Footnotes with no superscript but indent [duplicate]

Possible Duplicate: How to set superscript footnote mark in the text body but normalsized in the foot? I cannot find a way to have footnotes with no superscript number in the footnotes, but ...
10
votes
1answer
503 views

Fractions in superscripts are placed too low

I have noticed that "tall" superscripts seem to be placed awkwardly low in math mode; their baseline is so close to the main baseline that confusion has happened. \documentclass{article} ...
6
votes
1answer
470 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. ...
1
vote
1answer
478 views

Combining \operatorname with \mathnormal and \mathrm

Related Question: Typesetting the square of a mathematical operator \operatorname converts its argument into a function symbol with appropriate spaces on the left and on the right. However, I ...
6
votes
1answer
758 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. ...
2
votes
2answers
935 views

Sub-/Superscripts in Headings/Normal Text [duplicate]

Possible Duplicate: How to typeset subscript in usual text mode? I sometimes want to typeset something simple like $N_2$ or $3^2$ in a Heading, other times in a paragraph of normal text. I ...
2
votes
1answer
1k views

Index Exponent with LaTeX

Please, how can i write C i,j in LaTeX (i as an index and j an an exponent)? I know just that: C^j C_i
-1
votes
2answers
413 views

How to represent this superscript?

I am trying to write this command below but it doesnt work. $$\triangle$^m$
11
votes
3answers
885 views

Statistical significance stars

What's wrong with my code for three stars (***)? It's so ugly compared to my ** and *. \documentclass{article} \newcommand{\oneS}{\ensuremath{{}^{\textstyle *}}} ...
4
votes
1answer
528 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
1answer
228 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 ...
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 ...
2
votes
1answer
158 views

Global change of notation

Consider the MWE below. In the first notation the superindex is higher than necessary since the lower end of the brackets is taken as reference point for the box in which the superindex is set. This ...
1
vote
1answer
398 views

How to change the side on which the superscript appears? [duplicate]

Possible Duplicate: Left and right subscript Superscripts before a letter in math I need to write something almost identical to this notation $P_{O}^A$except I need the superscript A not ...
13
votes
1answer
7k views

normal high asterisk in equation mode

I was looking back at some of the equations that I had written and noticed that the asterisks weren't behaving how I was expecting it to (I also understand that my expectations may differ from other ...
1
vote
1answer
123 views

References into the tables in different style of the text

I would like to do one question concerning to references into the tables. So, I am writing my Phd thesis and I have so many tables with theoretical and experimental values. For the experimental values ...
9
votes
1answer
175 views

Best and recommended way to write prime on i in $i^{th}$

I have two $i^{th}$ and $i^{\prime th}$ and it is hard to see prime in $i^{\prime th}$. I would like to know the opinion of expert LaTeX users about this. I wonder what is the best and recommend way ...
8
votes
1answer
688 views

Superscripts and bold math

I'm writing the transpose of a matrix that is denoted by a bold capital letter. This looks fine when the matrix is denoted by B, but when the matrix is denoted by A, the transpose superscript is too ...
8
votes
3answers
169 views

Is appending superscripts possible?

Let's say I want to write N^{eT}, but have N^e as a predefined command \Ne. Thus, I want to append the character T to the superscript of \Ne. Is this possible? (Note that I don't want to write ...
5
votes
1answer
622 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 ...
2
votes
2answers
5k views

How to make a superscript on the upper left hand corner of a letter? [duplicate]

Possible Duplicate: Left and right subscript How can I make a superscript on the upper left hand corner of a letter?
8
votes
1answer
228 views

Enriching \to^*

I am trying to enrich $\to^*$ with a $w$ above it, and the cleanest look I could get was with the {\smash {\overset w \rightarrow}}^* command. However, I believe this to be a pretty ugly solution, and ...
5
votes
2answers
663 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 ...