Help:Editing: Difference between revisions
m →Article structure: + link to our style guide |
→Maths formulas: update |
||
| Line 264: | Line 264: | ||
=== Maths formulas === | === Maths formulas === | ||
… can be used {{w|Help:Displaying a formula|like in Wikipedia}}. For inline math, | … can be used {{w|Help:Displaying a formula|like in Wikipedia}}, except that we don't have a {{tlx|math|nolink}} template, so we always use raw HTML or Latex. To use Latex: | ||
* For inline math, enclose the formula with <code><nowiki><math display="inline"></nowiki></code> and <code><nowiki></math></nowiki></code>. For example: <math display="inline">V =\frac{4}{3} \pi r^3</math>. | |||
* For display-style math, enclose the formula with <code><nowiki><math display="block"></nowiki></code> and <code><nowiki></math></nowiki></code>, or with both <code><nowiki>$$</nowiki></code>; this will render it centered in a new line. | |||
The [[mw:Extension:SimpleMathJax|SimpleMathJax]] MediaWiki extension is responsible for the rendering on this wiki. | |||
Here is a browser-based formula editor that may be helpful: [https://editor.codecogs.com/ Equation Editor] | Here is a browser-based formula editor that may be helpful: [https://editor.codecogs.com/ Equation Editor] | ||