I want to write a math equation that needs power of dots. I tried these code
{2^{2^{2^{\ddots^{2}}}}}
But the dots needs to be rotated
Adapted from The TeXbook, Exercise 18.45:
\def\rddots#1{\cdot^{\cdot^{\cdot^{#1}}}}
$ 2^{2^{\rddots2}} $
\bye
\iddots
!
\adots
for U+022F0, but I don't think it's available with mathjax (nor if it's the appropriate glyph for this). If mathjax understands different math style
s, you could try the more explicit definition: \def\rddots#1{{\scriptstyle\cdot}^{{\scriptstyle\cdot}^{{\scriptstyle\cdot}^{#1}}}}
\def\sadots{{\scriptstyle\char"22F0\relax}}
(note that there is no family or class definitions, so for use just in this context).
An easy way would be to replace \ddots
by \udots
from the MnSymbol package, or \iddots
from mathdots (better rendering in math mode).
\usepackage{MnSymbol}
in your preamble. Still, I'd recommend using \iddots
instead.
mathdots
in the package texlive-generic-extra
Commented
May 18, 2020 at 12:31
you could try (with 5 dots for the fun of it!):
\[
{2^{2^{2^{\mathstrut^{.^{.^{.^{.^{.^{\raisebox{-.5\height}{$\scriptscriptstyle
2$}}}}}}}}}}}
\]
\[
{2^{2^{2^{\mathstrut^{.^{.^{.^{.^{.^{\raisebox{-.25\height}{$\scriptscriptstyle
2$}}}}}}}}}}}
\]
or the simpler
\[
{2^{2^{2^{\mathstrut^{.^{.^{.^{\raisebox{-.25\height}{$\scriptscriptstyle
2$}}}}}}}}}
\]
\[
{2^{2^{2^{\mathstrut^{.^{.^{.^{2}}}}}}}}
\]
they give (respectively):
\mathstrut
is to put the first dot higher than where it would fall otherwise. One could fine-tune that positioning if needed.
\iddots
from mathdots. Could prove easier indeed to rotate slightly\iddots
than a lot\ddots
, and perhaps actually\iddots
already quasi solves your problem.