Difference between revisions of "Wiki editing guide"

From Medusa: Coordinate Free Mehless Method implementation
Jump to: navigation, search
(Created page with " == MathJax == <nomathjax>User either $ $ or \( \) for inline math and $$ $$ or \[ \] for display style math. You can also use environments, such as align, align*, equation. E...")
 
Line 7: Line 7:
 
New $\LaTeX$ command for the current document can be defined using \newcommand.
 
New $\LaTeX$ command for the current document can be defined using \newcommand.
 
Globally, commands can be added as macros in the <code>wiki/MathJax/config/default.js</code> file around line 544.
 
Globally, commands can be added as macros in the <code>wiki/MathJax/config/default.js</code> file around line 544.
 +
 +
== Static pages ==
 +
We have a script that [https://gitlab.com/e62Lab/e62numcodes/blob/master/scripts/backup_wiki_static.sh copies wiki as static pages]. It is located in <code>scripts/</code> folder in our repo.
 +
It can be run directly or by going into your build folder and running <code>make static_wiki</code>.

Revision as of 22:37, 20 October 2016

MathJax

User either $ $ or \( \) for inline math and $$ $$ or \[ \] for display style math. You can also use environments, such as align, align*, equation. Equations within numbered environments may be labeled with \label and referenced with \ref or, better, \eqref.

New commands

New $\LaTeX$ command for the current document can be defined using \newcommand. Globally, commands can be added as macros in the wiki/MathJax/config/default.js file around line 544.

Static pages

We have a script that copies wiki as static pages. It is located in scripts/ folder in our repo. It can be run directly or by going into your build folder and running make static_wiki.