More actions
m →Text color in EVE chat: Add second shade of green. |
m →Formula presentation: Add newline and align. |
||
| Line 150: | Line 150: | ||
=== Formula presentation === | === Formula presentation === | ||
UniWiki uses the extension [[:Mediawikiwiki:Extension:SimpleMathJax|SimpleMathJax]] for the presentation of formulas. The formula to be presented needs to be encased whit the tags <nowiki><math></nowiki> and <nowiki></math></nowiki>. <math>\TeX</math> or <math>\LaTeX</math> markup can be used. | UniWiki uses the extension [[:Mediawikiwiki:Extension:SimpleMathJax|SimpleMathJax]] for the presentation of formulas. The formula to be presented needs to be encased whit the tags <nowiki><math></nowiki> and <nowiki></math></nowiki>. <math>\TeX</math> or <math>\LaTeX</math> markup can be used. Errors will be marked as <math>\sqrt</math> | ||
To display a formula the following markup can be used: | To display a formula the following markup can be used: | ||
| Line 157: | Line 157: | ||
! Source !! MathJax presentation || Notes | ! Source !! MathJax presentation || Notes | ||
|- | |- | ||
| X^n || <math>X^n</math> || exponentiation ? | | X^n || <math> X^n </math> || exponentiation ?<br> superscript | ||
|- | |- | ||
| a \times b || <math>a \times b</math> || multiplication | | a \times b || <math> a \times b </math> || multiplication | ||
|- | |- | ||
| a / b || <math>a / b</math> || division | | a / b || <math>a / b</math> || division | ||
|- | |- | ||
| \frac{a}{b} ||<math>\frac{a}{b}</math> || division/fraction | | \frac {a} {b} ||<math> \frac {a} {b} </math> || division/fraction | ||
|- | |- | ||
| \displaystyle \frac{a}{b} ||<math>\displaystyle \frac{a}{b}</math> || division/fraction | | \displaystyle \frac{a}{b} || <math> \displaystyle \frac {a} {b} </math> || division/fraction | ||
|- | |- | ||
| \sqrt{X} || <math>\sqrt{X}</math> || square root | | \sqrt {X} || <math> \sqrt {X} </math> || square root | ||
|- | |- | ||
| \root{n} \of{X} || <math>\root{n} \of{X}</math> | | \root {n} \of {X} || <math> \root {n} \of {X} </math> || root | ||
|- | |- | ||
| a + b || <math>a + b</math> || addition | | a + b || <math> a + b </math> || addition | ||
|- | |- | ||
| a - b || <math>a - b</math> || abstraction | | a - b || <math> a - b </math> || abstraction | ||
|- | |- | ||
| V_{max} ||<math>V_{max}</math> || subscript | | V_{max} ||<math> V_{max} </math> || subscript | ||
|- | |- | ||
| \text{text} ||<math>\text{text}</math> || roman text | | \text{text} ||<math> \text{text} </math> || roman text | ||
|- | |- | ||
| text || <math>text</math> | | text || <math> text </math> || italic text | ||
|- | |- | ||
| \color{blue} b ||<math>\color{blue} b</math> || color | | \color{blue} b ||<math> \color{blue} b </math> || color | ||
|- | |- | ||
| \color{blue} \text{Blue} || <math>\color{blue} \text{Blue}</math> || | | \color{blue} \text{Blue} || <math> \color{blue} \text{Blue} </math> || | ||
|- | |- | ||
| { \color{blue} b } X || <math>{ \color{blue} b } X</math> || partial color | | { \color{blue} b } X || <math> { \color{blue} b } X </math> || partial color | ||
|- | |- | ||
| \sin || <math>\sin</math> || | | \sin || <math> \sin </math> || | ||
|- | |- | ||
| \cos || <math>\cos</math> || | | \cos || <math> \cos </math> || | ||
|- | |- | ||
| \tan || <math>\tan</math> || | | \tan || <math> \tan </math> || | ||
|- | |- | ||
| \ | | \ln || <math> \ln </math> || natural logarithm | ||
|- | |- | ||
| \ | | \log || <math> \log </math> || logarithm | ||
|- | |- | ||
| \ | | \infty || <math> \infty </math> || Infinity | ||
|- | |- | ||
| \ | | \pi || <math> \pi </math> || pi | ||
|- | |- | ||
| \left( \frac{a}{b} \right) || <math> ( \frac{a}{b} ) </math> || | | \displaystyle \left( \frac {a} {b} \right) || <math> \displaystyle \left( \frac {a} {b} \right) </math> || | ||
|- | |||
| \left( \frac {a} {b} \right) || <math> \left( \frac {a} {b} \right) </math> || Works with (, [, < and { (needs to be escaped \{ ) | |||
|- | |||
| ( \frac {a} {b} ) || <math> ( \frac {a} {b} ) </math> || See ( hight difference with previous | |||
|- | |||
| a \\ b \\ c || <math> a \\ b \\ c </math> || newline within a <nowiki><math></nowiki> block | |||
|- | |||
| \ begin{align}<br> | |||
a & = b \times c \\<br> | |||
b \times c & = a<br> | |||
\end{align} | |||
| <math> \begin{align} | |||
a & = b \times c \\ | |||
b \times c & = a | |||
\end{align} </math> || Align on & | |||
|} | |} | ||