Log in Help page Discussion History Go to the site toolbox

Help:Formulas

From BluWiki

Revision as of 10:18, 3 April 2008 by 202.28.27.4 (Talk)

addison grill movie studio texas cheerleading stunt picture international supervideos alayam maniratnam movie howard sterns girlfriend beth website cinema edwards movie theater ford 800 tractor part elgin texas courier amazing racists videos law and order dvd movie blow up doll allmoviephoto ssbbw video clip exploited teen ally video arab free movie online watch lady seeing themselves undressing video paxil online shemale dvd kid friendly video apple black ipod mp3 video james earl jones movie ahab movie forum illinois movie peoria anderson clip free movie pamela evangelion x movie electronics game more product toy video index former playboy playmate until enya free piano sheet music lil kim magic stick video its a boy cigars allison angel videos ludivine sagnier video absorbent material arts directing director filmmaking john movie w woo ending movie script powerrangers erika sato tuxedo baby layette john legend video clip goofy movie youtube lewiston movie hubble pic telescope france provence travel jack meoff movie forum s s430p vgn pet accessories anime music video.org kudrow lisa movie resume bank into the sun movie reviews jesus video vintage low cost car rentals low cost airline tickets st algerian hotel r video ygold addisons disease dog in lil rob lyrics funeral home mature dating http hand and power tool entertainment movie theater shredder paper kelly clarkson natural woman video nancy bergeron webmap kimberly holland movies kittanning realty a house in sittingbourne bank forecloser cartoon sex video search cingular phone mike branson tom chase arizona forest national tonto rosa parks biography northwest airline com iraq ambush videos leslie sansone workout video artificial palm trees satin pantie fetish justice league unlimited video clips pueblo colorado college life is a house movie alora stepper motor controler webname lasik procedure video telugu boothu kathalu atl calling all girl video a perfect circle 3 libras video first time sex story web bag paper shopping wholesale edna millays love all domain gang bang wife body building woman photo atv funny video wood stove america fuck yeah video tag heuer lady watch close dolphin encounter video eric johnson video jaws movie prop anderson keith video xxl julia roberts oops ice princess movie soundtrack 1987 nissan pulsar copper mail box howa keaneu reeves new movie tonya offer 04 saleen mustang variable universal life insurance collaboration document management solution jb video feet card chase visa www babie com information about titanic the movie nail art brazilian ass anderson clip free movie pamela atlanta movie guide indian cricket video clips aa route planer anna nikova cheating girlfriend wife us food imports and exports corporate identity watergate salad cocina de italiana recetas entourage omarion video cabin crew emirates adam movie new sandler american sniper video page uw rec sports self employed tax benefit la la music video bare essentials mineral make up black cocks white sluts lenny bruce thank you mask man movie wild animal attack on video in movie ohio springfield theater live movies for free south bend in movie times reiko aylesworth avengers movie trailer ultimate jill scott gettin in the way video square meters conversion square feet From Wikipedia http://en.wikipedia.org/wiki/Help:Formula GNU Free Documentation License (GFDL)

MediaWiki and TeX

MediaWiki uses a subset of TeX markup (including some extensions from LaTeX and AMSLaTeX) for mathematical formulae. It generates either PNG images or simple HTML markup, depending on user preferences and the complexity of the expression. In the future, as more browsers are smarter, it will be able to generate enhanced HTML or even MathML in many cases.

More precisely, MediaWiki filters the markup through Texvc, which in turn passes the commands to TeX for the actual rendering. Thus, only a limited part of the full TeX language is supported; see below for details.

Syntax

Math markup goes inside <math> ... </math>. The edit toolbar has a button for this.

Similarly to HTML, in TeX extra spaces and newlines are ignored.

MediaWiki templates, variables and parameters cannot be used within math tags, see m:Template talk:Demo of attempt to use parameters within TeX.

Rendering

The PNG images are black on white (not transparent). These colors, as well as font sizes and types, are independent of browser settings or CSS. Font sizes and types will often deviate from what HTML renders. Vertical alignment with the surrounding text can also be a problem. The css selector of the images is img.tex.

It should be pointed out that most of these shortcomings have been addressed by Maynard Handley, but have not been released yet.

The alt attribute of the PNG images (the text that is displayed if your browser can't display images; Internet Explorer shows it up in the hover box) is the wikitext that produced them, excluding the <math> and </math>.

Apart from function and operator names, as is customary in mathematics for variables, letters are in italics; digits are not. For other text, (like variable labels) to avoid being rendered in italics like variables, use \mbox or \mathrm. For example, <math>\mbox{abc}</math> gives <math>\mbox{abc}</math>.

TeX vs HTML

Before introducing TeX markup for producing special characters, it should be noted that, as this comparison table shows, sometimes similar results can be achieved in HTML (see Help:Special characters).

TeX Syntax (forcing PNG) TeX Rendering HTML Syntax HTML Rendering
<math>\alpha\,</math> <math>\alpha\,</math>

Site Toolbox:

Personal tools
GNU Free Documentation License 1.2

Disclaimers - About BluWiki