I read everywhere that \tiny, etc. does not work in mathmode. When I use it in my code, I also get a warning Command \tiny invalid in math mode. But in the output it nevertheless works. At least in some places.
I suppose on other machines this will not work, so I would like to not use these commands in math mode. But, all other commands to make small fonts in mathemode do not work as well as \tiny does. E.g. in the following MWE
\documentclass{scrbook}
\begin{document}
$M_{\begin{array}{c}2\\2\end{array}2A}$
$M_{\tiny\begin{array}{c}2\\2\end{array}2A}$
$M_{\scriptsize\begin{array}{c}2\\2\end{array}2A}$
$M_{\scriptstyle\begin{array}{c}2\\2\end{array}2A}$
$M_{\scriptscriptstyle\begin{array}{c}2\\2\end{array}2A}$
\end{document}
The output I want, is the second. I have a subscript consisting of an array, and this array shall have small numbers.
But \tiny is the only command which accomplishes that.
Now to my questions:
- How do I make small subscripts as in the second example without the use of
tiny. - Why does
tinywork for the array-subscript, but not for the standard subscript. - Why does
scriptscriptstylework for the standard subscript, but not for the array-subscript.
This question is not a duplicate to
Size commands do not work in mathmode
since I am also asking why tiny works, although it is written everywhere that it is not working (and furthermore, @egreg said it is no duplicate).



\tinyis a switch and should not be misused as an environment. – Johannes_B Dec 03 '18 at 10:19scriptsizeenvironment successfully. – Dec 03 '18 at 10:21