Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen gezeigt.
— |
wiki:plugin_mathjax [2013/07/19 09:34] (aktuell) josef angelegt |
||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
+ | ~~NOCACHE~~ | ||
+ | ====== Plugin: MathJax ====== | ||
+ | Diese Dokuwiki-Erweiterung gestattet das Schreiben von LaTeX-Formeln die über eine JavaScript-Erweiterung interpretiert werden. | ||
+ | |||
+ | "This plugin adds MathJax to your wiki pages to let you easily write mathematical formulas that will be typeset and displayed cleanly. It is written to be as simple as possible; it loads and configures the script, protects TeX math expressions from other parsing, and no more." (aus der Plugin-Beschreibung). | ||
+ | \\ | ||
+ | |||
+ | ===== Syntax ===== | ||
+ | |||
+ | Die Formel wird einfach mit Dollarzeichen umgeben. | ||
+ | |||
+ | **Beispiel:** | ||
+ | |||
+ | Die Eingabe von | ||
+ | |||
+ | <code>$\int_0^{\pi/2} \sin x\,dx=1$</code> | ||
+ | |||
+ | führt zum Ergebnis $\int_0^{\pi/2} \sin x\,dx=1$. | ||
+ | |||
+ | \\ | ||
+ | |||
+ | ===== Beispiele ===== | ||
+ | |||
+ | |||
+ | **Beispiel 1**: Ein Integral $\int\frac{1}{x} dx = ln(x)+c $ | ||
+ | \\ | ||
+ | |||
+ | ** Beispiel 2:** Matrizenmultiplikation | ||
+ | $c_{kn} = a_{km}\cdot b_{mn}$ | ||
+ | \\ | ||
+ | |||
+ | Auf der Seite der MathJaX-Entwickler gibt es [[http://www.mathjax.org/|viele weitere Beispiele]]. | ||
+ | |||
+ | \\ | ||
+ | \\ | ||
+ | |||
+ | |||
+ | ===== Quelle und weitere Informationen ===== | ||
+ | |||
+ | Das [[https://www.dokuwiki.org/plugin:mathjax|MathJaX-Plugin]] stammt von Marc Lifton. | ||
+ | |||
+ | |||