Skip to main content

All Questions

Tagged with
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 ...
Samuel Jose Molina Ruiz's user avatar
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 ...
FR09's user avatar
  • 159
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\...
Power_tile's user avatar
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,\...
Wilk's user avatar
  • 100
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 ...
pvtpringles's user avatar
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 ...
Jakob's user avatar
  • 1,003
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: \...
Jakob's user avatar
  • 1,003
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 ...
Sebastiano's user avatar
  • 56.7k
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 ...
daysofsnow's user avatar
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 ...
Sk1nk's user avatar
  • 125
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 ...
Derek's user avatar
  • 1,748
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}{\...
Monoidoid's user avatar
  • 153
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:...
mbert's user avatar
  • 4,541
2 votes
0 answers
27 views

Lowering the superscript [duplicate]

Is it possible to lower the superscript in to achieve something like this?
Siwei Feng's user avatar
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 ...
Riley Kavanagh's user avatar

15 30 50 per page
1
2 3 4 5
11