Last modified: 2012-10-11 10:08:24 UTC
It would be very useful to be able to use \displaystyle, \textstyle,
\scriptstyle, and \scriptscriptstyle in <math> markup (mostly \textstyle). For
an example, please see my sandbox at http://en.wikipedia.org/wiki/User:Bkell/Sandbox
Currently things like <math>n\choose k</math> render in display style, which is
fine for displayed math (i.e., math set aside in its own little box on a line by
itself), but is far too large to be used comfortably in running text. All four
of \displaystyle, \textstyle, \scriptstyle, and \scriptscriptstyle are defined
in both plain TeX and LaTeX.
Created attachment 1215 [details]
This patch adds (PNG-only) support for these TeX commands.
Applied to CVS HEAD.
An improvement has been made, in that \textstyle no longer causes MediaWiki to
barf, but \textstyle has absolutely no effect. <math>\textstyle n\choose
k</math> produces exactly the same thing as <math>n\choose k</math>.
I've moved my examples to my main user page: