1
vote
2answers
173 views

Spacing depending on optional subscripts and superscripts

I am totally new to LaTeX (use it for 2 days), so I am sorry if this has already been asked, but I spent the last 6 hours searching for a solution, but to no avail. (I stumbled upon a package xpeek ...
5
votes
1answer
94 views

Sub and superscript on the left

I want to do something like this: \documentclass{article} \usepackage{amsmath} \begin{document} \begin{align*} Hom_{K\cap {}_a^bK} \end{align*} \end{document} But there seems that the _a^b is ...
7
votes
3answers
205 views

Force inline-type superscript for display equations (but display-type subscript)

I am trying to create a macro \jjoin for a mathematical operator which roughly produces the following behaviour: Inline: \bigvee^{(J)}, subscript (typically i \in I) goes in the usual position (as in ...
3
votes
1answer
753 views

Combining Textstyle and Displaystyle

In my mathematics writing, I often use both superscripts and subscripts on the probability operator. The subscripts are generally lengthy, and I would like for them to appear underneath the operator, ...
9
votes
6answers
276 views

math shorthand macro: avoid extra space from empty superscript

I find myself writing $\{0,1\}^x$ a whole lot, so I want to define a shorthand macro: \def\zo#1{\{0,1\}^{#1}} However, sometimes I need $\{0,1\}$ with no superscript. If I write \zo{} I get a tiny ...
3
votes
2answers
226 views

Leftidx problem: upper indices have different height

When using the leftidx package to create the same upper index on both sides of \Bbbk[G], the indices have different height and look ugly. Minimal example: \documentclass{article} \usepackage{leftidx} ...
14
votes
6answers
6k 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 ...
6
votes
1answer
470 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. ...
8
votes
1answer
688 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 ...
2
votes
1answer
213 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 ...
5
votes
1answer
745 views

Spacing after footnote superscript

I'm writing my thesis for my Computer Science degree. I have a lot of footnotes and my advisor has told me to remove the spacing generated by the superscript of the footnote. This footnotes are ...
4
votes
1answer
348 views

Why doesn't math \fontdimen's work with XeTeX?

Why doesn't the \fontdimen-command change anything with XeTeX? \input pgffor \def\chfndims#1{\foreach\dim in{13,...,19}{\fontdimen\dim#1=20pt}} \font\mymathfn="XITS Math:script=math" at 10pt ...