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

learn more… | top users | synonyms (1)

7
votes
1answer
117 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
8k 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
770 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
574 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
210 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
468 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
656 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} ...
7
votes
1answer
548 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
644 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
963 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
2k 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
2k 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
467 views

How to represent this superscript?

I am trying to write this command below but it doesnt work. $$\triangle$^m$
11
votes
3answers
1k 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
778 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
285 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
314 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
172 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
448 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
12k 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
138 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
190 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
853 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 ...
9
votes
3answers
190 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
851 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
7k 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
260 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
817 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 ...
8
votes
1answer
269 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, ...
9
votes
2answers
2k views

Subscript vertical position dependent on presence of superscript - how to change? [duplicate]

Possible Duplicate: Subscripts for primed variables If I have a variable which is always subscripted but only sometimes superscripted, the vertical position of the subscript varies. For ...
5
votes
2answers
780 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
0answers
376 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 ...
8
votes
3answers
5k views

Using \textsuperscript to put commas between consecutive footnotes in amsart document

I'm trying to insert a comma between consecutive footnote markers in an amsart document. I'm trying to do this without using the footmisc package, since for some reason it causes the footnotes in my ...
86
votes
3answers
96k views

Superscript outside math mode

What is the easiest way to superscript text outside of math mode? For example, let's say I want to write the $n^{th}$ element, but without the math mode's automatic italicization of the th. And what ...
6
votes
1answer
460 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 ...
4
votes
1answer
1k views

Fraction in Superscript

\documentclass[a4paper]{article} \usepackage{amsmath} \usepackage{fontspec} \setmainfont[Script=Devanagari]{Sanskrit 2003} \newcommand\sufr[2]{\textsuperscript{$\frac{#1}{#2}$}} \begin{document} ...
15
votes
3answers
749 views

Adjust box around hyperref footnote links

Is it possible to adjust the size of the box around the footnote links produced by hyperref? Specifically, I would like to move the base of the box closer to the base of the object inside. ...
5
votes
1answer
462 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?
4
votes
2answers
259 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?
6
votes
3answers
329 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 ...
4
votes
2answers
845 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 \\ ...
1
vote
1answer
179 views

A macro which is similiar to \prescript but it can be used in text mode

How to define a macro, say \pretextsuperscript, to get a presuperscript ahead a word in text mode? Just simply write \textsuperscript{2}hormone and \textsuperscript{2}population is incorrect. Why say ...
11
votes
4answers
1k views

Multiple tensor indices with breqn package

When I try to use the tensor style file to create multiple tensor indices with the breqn style file, I run into the following problem shown in this (minimal) code: \documentclass{article} ...
1
vote
1answer
776 views

Position of Exponent Relative to Base

I'm having a problem in that the position of an exponent, relative to the base, is too low. For example, with capital letters or mathbb the top of the exponent is almost in line with the top of the ...
2
votes
1answer
761 views

Typesetting Math and Text Commands

In your opinion, what is the best way to place things like symbols next to names, if some symbols are meant for text and you have to be in mathmode to use the exponent functionality? What is the ...
5
votes
1answer
998 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
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 ...
13
votes
5answers
2k views

Double superscript error involving tilde

When I write {{\tilde{C}}^{0}_{har}}^{\Gamma} (or the same with fewer curly brackets) in Tex I obtain a double superscript error and I can't solve it. Does someone know how to fix this?
2
votes
1answer
245 views

relative hspace in newcommand

I'm trying to create a symbol of a gray triangle with a black border. I managed to do so using: \newcommand{\factor}{{\color{gray} \blacktriangledown}\hspace{-1.6ex}\triangledown} However, the two ...
16
votes
3answers
12k views

Double superscript error

I'm a relative beginner with Lyx. When I type in this code I'm hoping for T' to be followed by superscripts and subscripts. Instead I get a "double superscript" error when I try to view the pdf \[ ...