All Questions
Tagged with math-mode superscripts
161
questions
3
votes
2
answers
60
views
Custom LaTeX Command for Consecutive Superscripts with Correct Alignment After Large Symbols
I am writing my master's thesis on Formal Concept Analysis and I want to create a custom command for the derivation operators. They are superscript arrows with some optional argument, and would look ...
1
vote
1
answer
49
views
\mathchoice in subscript/superscript
I attempted to redefine certain math relations using \mathchoice so that they don't need to be grouped when used as subscripts and superscripts just like how they behaved originally. However, the MWE ...
3
votes
1
answer
53
views
mathclose messes with subsript placement
I defined my own command \prt in math mode for parentheses that has auto-scales and an optional middle \vert (for conditional probability). The \mathopen and \mathclose ensures that something like P\...
4
votes
2
answers
191
views
Different spacing of only superscript vs superscript and subscript + mathrm vs operatorname
I'd like to have superscript terms (gt) on the same line in the whole equation, but after I write the equation:
$\mathbf{T}^{\mathrm gt}=\{\mathbf{T}^{\mathrm gt}_1,\mathbf{T}^{\mathrm gt}_2,\ldots,\...
1
vote
1
answer
30
views
add superscript to \gls with index using hyperref package
I want to add a superscript to a gls variable in the text.
The problem is, that the variable which I defined in the glossary comes with "curly-brackets" caused by the hyperref package.
Here ...
0
votes
0
answers
29
views
\rlap in subscript leads to larger subscript [duplicate]
MWE:
\documentclass{article}
\usepackage{xcolor}
\begin{document}
$M_{\theta}$ % correct size theta
$M_{\rlap{\ensuremath{\theta}}}$ % too large theta
\end{document}
Why does this happen? How can I ...
1
vote
2
answers
129
views
How to define a command that can be used as a superscript without {} and that can have a subscript
I have used \theta hundreds of times in my document. Now I decided that I would like all thetas to be in red color.
So I would like to redefine the command \theta to create a red theta.
MWE:
\...
7
votes
2
answers
600
views
Double or triple....exponent
I have this MWE:
\documentclass[a4paper,12pt]{article}
\usepackage{amsmath,amssymb}
\begin{document}
Dato l'insieme non vuoto $A$ allora $(A^{c})^{c}$ è uguale a:
\end{document}
with this output ...
0
votes
1
answer
35
views
Properly sized `\cite` in math superscript
I would like to cite a reference as a superscript of a mathematical symbol, like so:
$x^{\cite{nicebook}}$
When I do that, though, the citation symbol is poorly displayed, with e.g., the brackets ...
0
votes
2
answers
51
views
Text size changes within a \displaystyle environment?
I am trying to get some equations for an exercise down. However with a fraction in the exponent it gets rather hard to read, that's why I wanted to play around with font sizes ... with rather ...
2
votes
1
answer
79
views
Superscript placement when typesetting with "odd" subscripts
From time to time I typeset classical papers, trying to obtain (as close as possible) the original appearance of the document. I'm currently fiddling with a paper in German that uses the lowered ...
5
votes
1
answer
151
views
Superscript horizontal alignment on flipped integral symbol
I'm trying to define a command in latex that gives me a flipped integral symbol as I haven't been able to find it in any existing package.
So far this is my attempt:
\newcommand{\cocoendtni}{\...
1
vote
1
answer
70
views
question about \DeclareMathActive and unbraced super/subscript
I find the asterisk of kpfonts too small when used in super/subscripts so, following answers here and here, I'm using @egreg's brilliant \DeclareMathActive to redefine * in math mode as \textstyle\ast:...
2
votes
0
answers
27
views
Lowering the superscript [duplicate]
Is it possible to lower the superscript in
to achieve something like this?
5
votes
3
answers
330
views
How to make indices (math mode super- and sub-script) uniform size?
I use Latex primarily to write tensor algebra, typically with a variety of latin and greek indices depending on the context. Normally this is fine, but I have noticed that occasionally some of the ...