[luatex] \mathstyle

Herbert Voss Herbert.Voss at FU-Berlin.DE
Sun Dec 2 19:28:19 CET 2012

I do not really understand the definition of
\mathstyle. From the documentation on page 133
I thought that this should work:


  \ifnum\mathstyle=\textstyle \hbox{Text}
  \else\ifnum\mathstyle=\scriptstyle \hbox{Script}
   \else\ifnum\mathstyle=\scriptscriptstyle \hbox{ScriptScript}
     \else \hbox{nothing} \fi \fi \fi}

$L_{\Test} \Test L_{\Test_{\Test}}$


But it detects only \textstyle not the other ones.
Is that the intended behaviour?


More information about the luatex mailing list