Questions tagged [superscripts]

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

Filter by
Sorted by
Tagged with
1
vote
1answer
107 views

how to make the numbers of endnotes superscript?

In the following TeX, how to make the numbers of endnotes superscript? \documentclass[preprint,12pt]{elsarticle} \usepackage[colorlinks=true]{hyperref} \usepackage[backref]{enotez} % <-- ...
3
votes
3answers
516 views

Edit \today in such a way that it displays 1st/2nd/3rd/4th, etc. Month Year

I have found questions where \today has been edited – but in such a way which I do not want to have. Yet, I do not know how to programme it. If I write \today, I do not want to see something like ...
0
votes
0answers
148 views

How to cite with superscript (and use et al.) in usepackage{scicite}

I tried to fix this myself but i`m not so very much LaTex experienced yet and i cant figure it out. I use documentclass{Article} and userpackage{scicite} So for citatations and library i I`m using ...
1
vote
1answer
232 views

I cannot get my superscript to stagger after the subscript

Here is an example of superscripts staggering after subscripts with the amsmath package: {x_\text{P}}^2. But in this case they do not stagger: {\bar{x}_\text{P}}^2 How can I get staggering similar to ...
0
votes
1answer
201 views

Why can't I combine superscript and small caps in my beamer presentation?

I'm having trouble combining superscript and small caps for an individual word in my Beamer presentation. I haven't found any answers on the topic. Here is a MWE: \documentclass[17pt,t,compress]{...
1
vote
1answer
589 views

Footnote numbering not in superscript

I want the footnote numbering to be superscripted (both in body and on the bottom of the page). What I get is superscript in body, and normal format on bottom of page. I understand what I'm asking for ...
2
votes
4answers
78 views

Using the height of the box preceding sub- or superscript

When writing formulas regarding relativity, I often need to write tensor symbols where the ordering of the indices (in sub- and superscript) matters. That is, I want to have several sub- and ...
0
votes
1answer
48 views

How to use ^ in superscript mathmode?

How to use ^ in superscript mathmode? for example need to write only $x\^$
1
vote
3answers
365 views

How to put a tick mark above a letter? [duplicate]

I am looking for some way of putting a tick and cross marks above a word or a letter. Something like this
3
votes
1answer
162 views

Using OpenType superior figures with siunitx

I want to use the specifically designed OpenType superior figures in my document. Doing this with fontspec is easy enough, but I couldn’t get siunitx to make the change as well and the package ...
3
votes
3answers
2k views

Question about typesetting decimal numbers in LaTeX

I can't seem to make this decimal number appear correctly. My code is like this: $S=bK^1,09$ I would like it to write S = bK^(1,09) , but instead it writes the 1 in the exponent position and then ,...
1
vote
1answer
248 views

Getting transpose symbols to be along the same line

For my expression, \dot{R}(t)R^{\top}(t) + R(t){\dot{R}}^{\top}(t) = 0 \dot{R}(t)R^\top(t) = -{(\dot{R}(t)R^\top(t))}^{\top} The transpose symbols are not along the same line and this is bugging ...
2
votes
1answer
145 views

superscript spacing, rule 18, delta, s

background I want to understand spacing rules for supersript. Note: I ONLY care about horizontal spacing. The vertical spacing makes perfect sense. The horizontal spacing -- I don't know which ...
3
votes
1answer
141 views

Wrong size of superscripts in other fontsizes than \normalsize

please look at the following example: When I change the fontsize to \Huge the superscript ist too big in relation to the x. But when I set the same fontsize as \Huge by the \fontsize command, this ...
1
vote
0answers
225 views

Footnote citation superscript in square brackets [duplicate]

I'm using biblatex to build my citations and my bibliography for a math paper. However, I have certain portions like this: As you can see, I am trying to say "as d tends towards 1" but with the ...
2
votes
1answer
51 views

Eliminating gap between super-scripted numbering and text in thebibliography

I want to eliminate the gap between the reference text (such as 'First reference', 'Second reference' in the example below) and the reference super-scripted numbering (such as 1 and 2 in the example ...
0
votes
1answer
59 views

superscripts with stmaryrd

symbols that I want to have displayed as superscripts end up displayed right next to a formula when I use stmaryrd package. Here's the code I used: $\llbracket \lozenge \phi \rrbracket^{w,c,i}$ ...
2
votes
2answers
714 views

Redefine ^ to produce roman superscripts and subscripts

I need to set subscripts and superscripts automatically in mathematical equations in roman font style for a book publication. I do not want to apply \mathrm{...} to each subscript or superscript ...
1
vote
0answers
21 views

Can we have regular numbers citations and superscript citations at the same time with natbib? [duplicate]

I would like to be able to cite some articles as superscript, and some not. The problem is that if I try this : \documentclass{article} \usepackage[numbers, square, super]{natbib} \begin{document} ...
1
vote
1answer
279 views

Using subscripts and superscripts in minted

I am using the minted package for code highlighting in my thesis. My minted command looks like this: \newminted[ps]{js}{frame=lines,style=manni,fontfamily=courier,linenos=true} And I used it like ...
3
votes
2answers
218 views

How to find the position of a word in a jumbled sentence?

I have an initial sentence: The quick brown fox jumps over the lazy dog. I have a new sentence (which is always a jumble of the original sentence): The lazy dog jumps over the quick brown fox. In ...
3
votes
1answer
122 views

Force superscript to stay specified distance before following word without mbox

I have set up a Devanagari Bible text with headers that automatically alternatively show the first and last verse number of each page. That is working fine. However, I cannot for the life of me force ...
4
votes
2answers
1k views

To make the numero sign, would N\textsuperscript{\underline{\scriptsize o}} be a valid alternative to \textnumero (from textcomp package)

Regarding LaTeX: Numero sign ('№'), would N\textsuperscript{\underline{\scriptsize o}} be a valid alternative to \textnumero (from textcomp package)? I prefer a numero sign that matches the ...
4
votes
1answer
196 views

Realscripts package not working in TeXLive 2017 (MacTeX)

The realscripts package does not seem to have any impact in TeXLive 2017 (MacTeX) when compiling with XeLaTeX. I updated my TeX distribution yesterday, and I notice that my footnote marks are no ...
7
votes
3answers
737 views

How to make powers without enclosing the exponent in a pair of curly braces?

We all know that it is possible to write a power, which depends on an argument, without using the braces. As an example: x^2=x^{2}. When working with polynomials of degree greater than 9, we can now ...
3
votes
1answer
171 views

Subtleties in placing superscripts: explaining what TeX is actually doing

Starting from this question I tried investigating what TeX is actually doing while typesetting different subscripts, ie, how it decides how much to shift the superscript up, in order to make it a ...
1
vote
1answer
91 views

chemformula bug with additional braces in sub- / superscript

I get a strange bug when using additional braces in sub- or superscript inside a \ch{}. The following minimal example \documentclass{standalone} \usepackage{chemformula} \begin{document} \ch{Cl^{n+1}...
1
vote
0answers
65 views

Subscript size for formulas in beamer presentation [duplicate]

I am creating a beamer presentation where I have a lot of formulas. Between the packages used I have \usepackage{amsmath} and the theme for the presentation is \usetheme{Warsaw}. As it can be seen in ...
1
vote
0answers
31 views

Changing the size of sub- and superscripts for the whole document [duplicate]

I want to change the sizes of sub- and superscripts of formulas as their font size is already set to \scriptsize. Is there a way to decrease the font size of all formulas written in \scriptsize by ...
0
votes
1answer
186 views

Superscript in subscript (notation for removing one row and column from a matrix)

I need some notation for a matrix M which indicates that row r and column c is excluded. I tried M_{(r,c)^-} but the minus sign is too low and not close enough for this to be good notation. \...
0
votes
1answer
82 views

Spacing of subscripts and superscripts in macro

I have defined commands that stick subscripts and superscripts onto objects. Individually they work just fine, but together they give undesirable spacing, which is to be expected. Unfortunately I ...
5
votes
1answer
230 views

Printing makes superscript minus signs disappear when using scrartcl

When I have minus signs in superscripts, they disappear when printing out the pdf that pdflatex produces, but only when using the scrartcl documentclass, not article. For example, \documentclass{...
9
votes
2answers
304 views

Superscripts too high after macros defined with \DeclarePairedDelimiter

I have a macro for absolute value (using \DeclarePairedDelimiter from mathtools): \DeclarePairedDelimiter{\abs}{\lvert}{\rvert} This works great in terms of adjusting the size of fences etc. But the ...
9
votes
2answers
282 views

Adjusting kerning with LuaTeX and realscripts

I'm using the realscript package to get true super- and subscripts with LuaLaTex. However I'm not pleased with kerning of superscripts with the font I'm using, Linux Libertine. I've tried to adjust ...
6
votes
3answers
1k views

Minus sign too big in superscript inside subscript in math display mode

The following code: Inline mode $\|f\|_{H^{-1}}, \|f\|_{_{H^{-1}}}, \|f\|_{_{\scalebox{0.7}{$H^{-1}$}}},\|f\|_{_{\scalebox{0.5}{$H^{-1}$}}}$, display mode $$\|f\|_{H^{-1}}, \|f\|_{_{H^{-1}}}, \|f\|_{...
2
votes
2answers
443 views

Subscript on the bottom and Superscript on the top

I am writing an equation and I want that subscript should be in the center bottom and superscript should be on the center top of the symbol instead of bottom and top sides. I tried to use the \...
2
votes
2answers
2k views

How can I move the superscript higher?

I have a code like this: (I used the font mtpro2.) \renewcommand{\arraystretch}{1.6} \begin{tabular}{p{8cm}l} \multicolumn{2}{l}{(a)~$\left( \frac{81}{16}\right)^{-0.25}\times \left( \frac{8}{...
1
vote
1answer
329 views

Horizontal placement of subscript/superscript

I want to fine-tune the placement of subscripts and superscripts next to large parentheses. Since the large parentheses bulge out, they push the sub/superscripts too far to the right. MWE: \...
0
votes
1answer
437 views

Nice looking double superscript

How can I make a nice look double superscript like the picture which was made in MS Word? {R}^e{^{\mathbf{Tx}}}
5
votes
4answers
438 views

Ordinal numbers with small, elevated superscript that don't go above character?

I've used \textsuperscript to represent ordinals like 1st, 2nd, and so forth. Other post here about this: What's the quickest way to write "2nd" "3rd" etc in LaTeX? The ...
5
votes
3answers
793 views

Bad spacing of exponents in denominator

Please look at the following code: \documentclass{article} \usepackage{amsmath} \begin{document} \Huge \begin{equation} \frac{x^{2}}{x^{2}} \end{equation} \begin{equation} x^{2} / x^{2} \end{...
4
votes
1answer
416 views

Best practise, double superscript

I'm looking for best practise w.r.t. double sub/superscripts. I have a bunch of macros to denote certain subclasses, the x-component, the nth order, the outside value, etc. I would like them to be ...
0
votes
2answers
389 views

How to get glossary terms to properly typeset subscripts/superscripts?

I have just begun using the glossaries package. I have created a glossary entry for the coproduct symbol as disjoint union: \newglossaryentry{coprod} { name = {\ensuremath{\coprod}}, ...
3
votes
2answers
937 views

How to place a \sim over \equiv similar to \simeq and \cong?

As the question states, I want a tilde over \equiv similar to \simeq and \cong commands. To be more specific, they tilde needs to be closer to the \equiv symbol. I've tried using stackrel and ...
1
vote
1answer
32 views

Wrong superscript placement with `hepparticles`

I am writing a thesis on theoretical particle physics and need some particle names. I stumbled upon hepnames which in turn uses hepparticles. After I changed my whole document, I realized that the ...
10
votes
3answers
3k views

Sub and super scripts touching lines in table [duplicate]

I have a table containing mathematics with sub and superscripts. These touch both the lines above and below in the table. I tried quite a few alternatives but have not been able to find anything that ...
10
votes
1answer
18k views

Double Superscript

I am trying to find a similar question but they all seem to suggest something completely different. I want to create a superscript for a superscript. Essentially: 2^2^n
6
votes
2answers
394 views

How to set superscript for expandable parentheses?

The following code compiled with error: \documentclass{report} \usepackage{chemfig} \begin{document} \schemestart \chemfig{R-C(=[:60]O)-[:-60]O-H} \arrow{<=>} \chemleft[\chemfig{...
1
vote
1answer
340 views

Auctex sub/superscript formatting of single macros with arguments

E.g. in emacs 25.1 with Auctex 11.90.0 $a_\mathrm{b}$ only lowers the \mathrm and the {b} is left unmoved. Obviously I can add braces e.g. $a_{\mathrm{b}}, but I'm editing existing documents and don'...
3
votes
2answers
2k views

How to keep a nice layout when combining overline/underline with superscript/subscript?

I would like to add indices as subscripts and superscripts to a couple of bounds denoted by underline (lower bound) and overline (upper bound), but I am not able to keep the same well-shaped look of ...