Last modified: 2010-05-15 14:35:46 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 1663 - support color in TeX formulas
support color in TeX formulas
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Math (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-03-08 22:51 UTC by mark_sweep
Modified: 2010-05-15 14:35 UTC (History)
1 user (show)

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


Attachments
simple patch (1.73 KB, patch)
2005-12-19 03:32 UTC, Lupin
Details

Description mark_sweep 2005-03-08 22:51:43 UTC
I'm filing this on behalf of User:Cburnett, who asked about color support in TeX
formulas. I think it would be fairly easy to support this, both in TeX and HTML
output.  The parser would have to recognize a new command, say, \color{}{}, and
the TeX output would have to load color.sty, which is a standard component of
the LaTeX graphics package. How to handle named colors and RGB colors in a
uniform way across TeX and HTML is a bit tricky, but doable.
Comment 1 Colin Burnett 2005-03-08 23:05:11 UTC
Thanks Mark.

As a motivating example, for [[Sufficiency (statistics)]], if you can separate a
function into two functions then T is a sufficient statistic (see first equation
on that page).  I think it would be beneficial to add color into the
factorization (one color for parameters and another for observed data) to
visually show what needs to be factorized.
Comment 2 Lupin 2005-12-19 03:32:27 UTC
Created attachment 1212 [details]
simple patch

This patch adds color support. Note that this currently forces PNGs to be
rendered rather than HTML if \color is used in a formula.

A list of named colors is here:
http://www-cryst.bioc.cam.ac.uk/~marko/xray/dvips_color.html
Comment 3 Rob Church 2006-01-12 20:34:03 UTC
Applied to CVS HEAD.

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


Navigation
Links