Last modified: 2012-10-11 10:08:24 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 4000 - Support for \textstyle et al. in <math>
Support for \textstyle et al. in <math>
Product: MediaWiki extensions
Classification: Unclassified
Math (Other open bugs)
All All
: Normal minor with 2 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
: patch-reviewed
Depends on:
  Show dependency treegraph
Reported: 2005-11-17 02:05 UTC by Brian Kell
Modified: 2012-10-11 10:08 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---

simple patch (870 bytes, patch)
2005-12-19 13:50 UTC, Lupin

Description Brian Kell 2005-11-17 02:05:05 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

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.
Comment 1 Lupin 2005-12-19 13:50:18 UTC
Created attachment 1215 [details]
simple patch

This patch adds (PNG-only) support for these TeX commands.
Comment 2 Rob Church 2006-01-12 20:19:52 UTC
Applied to CVS HEAD.
Comment 3 Brian Kell 2006-05-13 01:27:32 UTC
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>.
Comment 4 Brian Kell 2006-05-13 01:29:01 UTC
I've moved my examples to my main user page:

Note You need to log in before you can comment on or make changes to this bug.