Difference between revisions of "Math Equations with TeX - Mediawiki"
From Help Wiki
m (subst applied to Template:TwoColumn) |
|||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
− | + | ||
+ | <div class="container-fluid"> | ||
+ | <div class="row"> | ||
+ | <div class="col-md-8"> | ||
+ | <div class="lead"> | ||
How to insert equations into your wiki with TeX | How to insert equations into your wiki with TeX | ||
− | + | </div> | |
+ | |||
==Getting equations working in your wiki== | ==Getting equations working in your wiki== | ||
Mediawiki uses TeX to render math equations. To enable your wiki to use TeX, contact your system administrator to set the following in your LocalSettings.php file: | Mediawiki uses TeX to render math equations. To enable your wiki to use TeX, contact your system administrator to set the following in your LocalSettings.php file: | ||
Line 19: | Line 24: | ||
* http://www.tug.org/ TeX Users Group | * http://www.tug.org/ TeX Users Group | ||
* [http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes TeX FAQ] | * [http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes TeX FAQ] | ||
− | + | ||
+ | |||
+ | <!-- end col-md-8 --> | ||
+ | </div> | ||
+ | <div class="col-md-1"></div> | ||
+ | <div class="col-md-3 sidebar"> | ||
{{Mediawiki Help}} | {{Mediawiki Help}} | ||
{{GetHelp}} | {{GetHelp}} | ||
− | + | ||
+ | <!-- end col-md-3--> | ||
+ | </div> | ||
+ | <!-- end row--> | ||
+ | </div> | ||
+ | <!-- end container--> | ||
+ | </div> | ||
+ | <!-- Generator=Template:TwoColumn --> | ||
+ | __NOTOC__ | ||
+ | __NOEDITSECTION__ | ||
[[category:Mediawiki]] | [[category:Mediawiki]] |
Latest revision as of 16:01, 14 August 2017
How to insert equations into your wiki with TeX
Getting equations working in your wiki
Mediawiki uses TeX to render math equations. To enable your wiki to use TeX, contact your system administrator to set the following in your LocalSettings.php file:
$wgUseTeX = true;
Getting Started
Use the math tags around your equation.
The equation
<math>-b \pm \sqrt{b^2 - 4ac} \over 2a</math>
would look like this in the wiki
<math>-b \pm \sqrt{b^2 - 4ac} \over 2a</math>
Tex Resources
- http://en.wikipedia.org/wiki/TeX - a good overview and history of TeX
- http://www.tug.org/ TeX Users Group
- TeX FAQ