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

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T6000, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 4000 - Support for \textstyle et al. in <math>
Support for \textstyle et al. in <math>
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Math (Other open bugs)
unspecified
All All
: Normal minor with 2 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
http://en.wikipedia.org/wiki/User:Bke...
: patch-reviewed
Depends on:
Blocks:
  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: ---


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

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 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.
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:
http://en.wikipedia.org/wiki/User:Bkell#Wikipedia_complaints

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


Navigation
Links