Last modified: 2010-05-15 14:35:46 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 T3663, the corresponding Phabricator task for complete and up-to-date bug report information.
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