Questions tagged [superscripts]

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

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

Adjusting vertical separation of footnote mark

I'm using a devanagari font to typeset in Sanskrit language. The font which I use is Sanskrit 2003. The problem with this and other few similar fonts is that the footnote mark is not enough vertical ...
0
votes
1answer
18 views

Spacing in front of citation (natbib, super)

I am using \usepackage[super]{natbib} for my citations. When using that, the horizontal spacing in front of and after the citation are different. How do I increase the spacing in front of that ...
0
votes
0answers
34 views

Typesetting superscripts and subscripts with system fonts in Xelatex

My document is required to be typeset in a font called DINPro. I need to use both subscripts and superscripts within the text. I would like to use \textsubscript and \textsuperscript, howerver \...
2
votes
1answer
43 views

realscripts – can fakescripts substitute single missing chars

I have a font with real OT-superscripts which I can use easily with the realscripts-package. But I also need a superscript decimal dot which doesn't exist, thus realscripts falls back to the regular ...
0
votes
1answer
51 views

Superscript and subscript

I want to write a superscript and a subscript at the same place.Every time I do it, it is a superscript then a space followed by the subscript. How do I stack it vertically?
5
votes
2answers
63 views

It possible to have subscript and super script that does not shrink the font size?

It possible to have subscript and super script that does not shrink the font size? Usually the font size becomes smaller: e.g. Is it possible to have the subscript and superscript in normal font ...
3
votes
3answers
83 views

Reduce size of sum sub/superscript?

I have a text with lots of sums where the sub/superscripts are pretty long, as in $\displaystyle\sum_{ k=1+min\{a-1,b-1\}}^{ max\{a-1,b-1\} } i_k$ and when I compile the text gets very ugly, since ...
1
vote
1answer
53 views

How to reference something in superscript?

When I reference some label with \ref{label} I find the reference a little too big (Because it's the same size as everything else) I'd like them to be in superscript. But not everywhere. I want this ...
0
votes
0answers
13 views

Can't simultaneously have superscripted footnotes in text and footnote counter not cycling back to 1 with each chapter

I want my footnotes superscripted in the text and numbered continuously in the text of my book from 1 to n, without restarting at 1 with each chapter. In the MWE below, if I comment out the \chngcntr ...
4
votes
1answer
33 views

How to increase the vertical offset of exponent terms with increasing size of parentheses?

I want to be able to write the following expression: But have not been able to do so, since all I can get is: I do not use the fraction of P/E, but rather just the psi. Can you help? EDIT: After ...
1
vote
1answer
31 views

Double superscript and \bar

it's several groups that I think of a solution for this little problem, but I can't find the optimal solution. I did several tests, using some combinations, but without getting a good result. \...
2
votes
1answer
43 views

What is the correct way to typeset a vector when there is subscript or superscript?

Consider this MWE: \documentclass{article} \begin{document} \[\vec{v}_{12345}^{12345678}\] \[\overrightarrow{P_{12345}P_{12345}^{12345678}}\] \end{document} As you can see, \vec is designed to ...
3
votes
1answer
49 views

Add parentheses if double superscript or double subscript

I've already got an answer for Add parentheses if double superscript. I want to go a step further as proposed below. However lualatex complains of “missing $” when using the e{_}-type argument… \...
1
vote
1answer
78 views

Rule for writing superscript in text mode

In the scope of gaining space, I would like my superscript minuses to be shortened from: $ J^{-1} $ to $ J^{\text -1} $ using a rule.
1
vote
2answers
76 views

Setting superscript for custom symbol

How do I set a superscript for my custom symbol generated with \newcommand*\mysymbol{\includegraphics{mysymbol.eps}}? Default superscripts appear way too far right from the place they should be in. ...
0
votes
0answers
22 views

Horizontal alignment when using the tensor package

When using the \tensor command, the indicies are lowered a bit to much for my taste. Is it possible to align them with the usual position of the indicies. That is, \tensor{T}{_\mu} should look like T_\...
0
votes
1answer
63 views

superscripts on customized unit in siunitx

I want to add subscripts to some units and so far the solution I found is to define my own unit, for instance: \DeclareSIUnit{\Lmedia}{\text{$\textup{L}_{\textup{media}}$}} However, when I use this ...
2
votes
2answers
93 views

Superscript in a sentence

How to start a sentence after using the superscript in latex for eg. Ground plane is constructed with dimensions of 25\times10.5 mm^2 and the thickness of \ac{PEC} is 0.035 mm over the substrate. A ...
1
vote
1answer
26 views

Superscripts on a `\widetilde`

Consider the following: \documentclass{article} \begin{document} \[ KO^n(X), \widetilde{KO}^n(X). \] \end{document} The superscript appears too high in the second one. Ideally, I'd have the n ...
1
vote
1answer
52 views

Superscript not working in footnotes in tex4ht output

When I use \textsuperscript in footnotes (in memoir class, compiled with xetex), tex4ht fails to make the text in question superscript, even though it does so successfully in the main body text. I ...
1
vote
2answers
94 views

Underscript, subscript and superscript add the same time possibly via \mathoperator* without trailing space

I have a symbol, which I want to give a underscipt, subscript and superscript. I tried: \DeclareMathOperator*{\wmat}{w} \wmat_2_i^j But now I get a space between my symbol and the sub and ...
0
votes
0answers
24 views

Biblatex supercite command with use of square brackets [duplicate]

I want to use the package biblatex and cite with supercite but my problem is that if i use supercite the citations are not in square brackets anymore. Is it possible to get something like number-comp ...
2
votes
0answers
114 views

realscripts/fontspec update vs. some Opentype fonts

I have a file that was running smoothly a few weeks ago and is now stopping with the message: Argument of \__fontspec_strip_leading_sign:Nw has an extra } Using most system fonts, or Amiri, ...
3
votes
3answers
62 views

Blockarray superscript

I am using blkarray to generate a labelled matrix. I would like to indicate the transpose of such matrix using a superscript with T. However I cannot find the right syntax to get what I want. Below ...
0
votes
1answer
113 views

Removing unnecessary horizontal space (gap) from the superscript

I am using the 'rticle' package in R which allows building R markdown documents based on pre-specified templates for the journal submission. The template is in .tex format and as shown in the figure, ...
2
votes
1answer
62 views

Adjust spacing between preceded superscript and base

Depending on the letter in the base there is space to the preceded superscript. Letters like T, W, Y use ink in the top left corner, so there is no space, but when using I, D, E, ... (these letters ...
1
vote
0answers
54 views

Kerning of superscripted recto, verso and full stop/comma in biblatex-dw

I've created three commands for biblatex-dw to typeset \recto \verso and \rectoverso references. If one of these commands is followed by a full stop or comma the horizontal spacing between the ...
4
votes
1answer
75 views

Sups in ConTeXt

In LuaLaTeX I can use the realscripts package to use superior figures as footnote marks. How can I use superior figures as footnote marks in ConTeXt?
3
votes
2answers
160 views

Number within Circle as an Exponent on Text

I need to put a number within a circle on top of a text (i.e., as an exponent). How to go about it? I am doing something like \raisebox{.5pt}{\textcircled{\raisebox{-.9pt} {8}}} but unable to make ...
3
votes
1answer
48 views

horizontal shift of sub- and superscript for \chi

I get a small horizontal displacement of sub- and superscript when using the letter \chi. It does not seem to appear for other letters. Does anybody know how to fix this? MWE: \documentclass{article}...
2
votes
4answers
104 views

Changing the effect of a command in another

I'm currently trying to define commands such that: \x{F}{a} gives F^{(x=a)} \y{F}{b} gives F^{(y=b)} This I can do fairly easily: \newcommand{\x}[2]{\ensuremath{{#1}^{(x={#2})}}} However, I ...
3
votes
0answers
94 views

Typesetting a symbol with both a subscript and an exponent [closed]

Suppose I take the variable $X_a$ and square it. To be clear, the _a is part of the variable's name, whereas the ^2 will denote the mathematical operation of squaring. I could typeset this as $X_a^2$...
1
vote
1answer
47 views

How to superscript text on \rightarrowtail?

How to get superscripted text on \rightarrowtail? I have included mathtools package, but there isn't any command like \xrightarrowtail[]{}.
1
vote
1answer
78 views

^ started producing literal ^ instead of superscript [closed]

I've been using Lyx for years and one of the most basic shortcuts is that ^ doesn't appear literally in math-mode but is displayed as an empty box in the superscript position. A couple of months ago ...
1
vote
1answer
52 views

How to write the superscript above the subscript in newcommand?

I want to create a command for adding a superscript * to a variable, indicating its "optimal" value. However, when I do this, the superscript is added after the subscript instead of right above: \...
2
votes
1answer
244 views

Align subscript and superscript in math mode

I'm having issues with aligning superscript with subscript in math mode. My MWE is: % arara: xelatex \documentclass[preview,8pt,varwidth=true]{standalone} \usepackage{amsmath} \usepackage{mathspec} \...
3
votes
1answer
80 views

get width and height of character in the power

I want to create a "minus-sign" in a superscript of a letter in math mode using \rule{width}{height} to get control over the look of it. In principle, I get something to my liking, but I fail to make ...
6
votes
2answers
200 views

Place a given symbol inside \cup like \uplus

does any know how I can create a command that places a symbol given as an argument inside \cup? For instance, the command \uplus has the symbol '+' inside \cup. I would like to be able to place any ...
1
vote
2answers
100 views

How to get the numeric subscript and superscript to scale correctly using specific font

In the code below, the numeric superscript and subscript do not scale correctly or looks "not nice" when the font is scaled down. Is there a way to have the superscript and subscript scale nicely or ...
1
vote
0answers
157 views

Left sub/superscript in exponents

I have a small problem with left sub- and superscripts. In my work, I have two regularly occurring indices, that should be distinct from one another. As I have to use exponents of some of these ...
1
vote
1answer
69 views

Add parentheses if double superscript

I'd like to set up a macro able to add parenthesis if the argument has already one superscript. It similar to this question, unfortunately the compilation of the following MWE doesn't end… \...
3
votes
1answer
76 views

Curly bracket around iterated exponentials

I believe this problem must already have a solution but I cannot find one on the Internet. Consider the following code. \documentclass{article} \usepackage{amsmath} \begin{document} \begin{...
1
vote
1answer
37 views

edition in superscript before author in citations

it's me again. My advisor looked through my first drafts for my thesis and was overall very pleased but pointed out that she wants to see the edition of a work (@book or @collection) in superscript ...
0
votes
2answers
114 views

caret (circumflex/hat/^) turns into superscript

I'm using ShareLaTeX on my Chromebook. I'd like to write m² in LaTeX (m^2), but the hat does not come out in the source code, instead it just turns everything into a superscript directly. How can ...
3
votes
1answer
412 views

Mismatched braces in subscript and superscript

There is mismatch in the braces when used as subscript or superscript \textit{ $ R(p_(a ),p_(b ) )=e^{(|(-\gamma {\lVert p_(a) - p_(b) \rVert})^2| )}$}
2
votes
2answers
402 views

Taking the transpose of a matrix with superscripts and subscripts

What is the best way to take a transpose of a matrix with superscripts and subscripts, when the subscript is long? Neither $A_{ijk}^{a\top}$ $A_{ijk}^{a^{\top}}$ ${A_{ijk}^{a}}^{\top}$ ${A^{a}}^{...
4
votes
1answer
71 views

Using math accents/diacritics as standalone symbols

Suppose I have an operation on a set X which I want to denote with something like $X^\prime$, $X^\bullet$, or $X^\circ$, except with a different symbol. I found out that some of the diacritics ...
11
votes
1answer
176 views

Is there a LuaLaTeX solution to adjust superscript kerning on large delimiters?

Superscripts can sit very far from large parentheses, more for some fonts than others. I am seeking a Lua-based solution to adjust the kerning of math superscripts on delimiters. Here is an example ...
5
votes
1answer
60 views

Vertical position of subscripts with commands

The answers to the questions Differences in vertical positioning of superscripts and subscripts depending on grouping (`{ }`): Why? Caveats? Workarounds? and {(x+y)}^2 or (x+y)^2? make it clear that ...
0
votes
2answers
166 views

Double arrow and variable on top [duplicate]

How to create a double arrow line with a variable on its top. Something like this.