Tag Info

New answers tagged

0

The original picture can be reproduced by \documentclass{article} \usepackage{amsmath} \begin{document} \[ \frac{(-1)^{\varphi(n)/2}n^{\varphi(n)}} {\prod_{p\mid n} p^{\varphi(n)/(p-1)}} \] \end{document} whereas using \Pi instead of \prod would give which is sensibly different. If the condition is desired to be under the product sign, the ...


0

I solved my problem using the selected answer to this question: Superscript page numbers with natbib If your're reading this, I finally managed to succeed in a half-hour long journey through unsolvable captchas, buggy captcha-widgets and hijacking attempts on my clipboard that forced my to re-copy the link on every of my ~10 attempts to post this.


1

If you can cope with a bit of plain TeX syntax, you can just do this. Put $a$ over $b$: $a \atop b$


1

Just to give the OP different options, here I show the basic features of the stackengine approach to stacking, with the first column as a \stackon, the second as a \stackunder and the third as a \stackanchor. The first row uses "short" stacks, in which the gap between the top of one element and the bottom of the element above it are fixed, whereas the ...


1

Does it serves for the purpose? $_{b}^{a}$ Output:


-2

I use $n^{\text{th}}$. It seems to work okay for me.


1

The simple answer, alas, is that there's no ready-made and automatic way to "fix" the spacing issues you've identified. As DEK notes in the TeXbook, there will always be combinations of letters and/or symbols for which TeX's math-mode spacing rules can be improved by some further tweaking. Your posting identifies a handful of combinations involving terms ...


1

\cite{reference1,reference2} should do the trick


4

The option is SuperscriptsAndSubscripts (note the uppercase A). Here I use a Tamil font I have on my machine. For the transitions to/from superscripts, it's better to go with \begingroup\normalfont and \endgroup, so this will work independently on the context. \documentclass{article} \usepackage{fontspec,polyglossia} ...


6

The positioning of subscripts and superscripts are done by character width (CHARWD) and italic correction (CHARIC) if the nucleus is one character. Suppose the typesetting point before nucleus is typeset. Then subscript is placed to CHARWD and superscript to CHARWD+CHARIC positions. This is not very well concept in TeX because this metric information is ...



Top 50 recent answers are included