Größe: 8082
Kommentar:
|
Größe: 12080
Kommentar:
|
Gelöschter Text ist auf diese Art markiert. | Hinzugefügter Text ist auf diese Art markiert. |
Zeile 2: | Zeile 2: |
Zeile 6: | Zeile 5: |
Zeile 9: | Zeile 7: |
``{``{``{#!latex <<BR>> ...<<BR>> ``}``}``} |
{{{#!latex <<BR>> . ..<<BR>> }}} |
Zeile 15: | Zeile 15: |
Beispiel: | Beispiel: |
Zeile 19: | Zeile 20: |
OffeneFrage: Was ist an dem Beispiel falsch? |
. OffeneFrage: Was ist an dem Beispiel falsch? |
Zeile 25: | Zeile 25: |
''Anmerkung:'' Die Tabellen sind aus http://www.wikipedia.de/ portiert. Leider weiß ich nicht, wie man einen automatischen Zeilenumbruch erzwingt, und der ``LaTeX`` Code sollte auch innerhalb einer Tabelle gerendert werden können. | ''Anmerkung:'' Die Tabellen sind aus http://www.wikipedia.de/ portiert. Leider weiß ich nicht, wie man einen automatischen Zeilenumbruch erzwingt, und der LaTeX Code sollte auch innerhalb einer Tabelle gerendert werden können. |
Zeile 28: | Zeile 28: |
||<tablewidth="100%":> '''darzustellen''' ||<:> '''Syntax''' ||<:> '''so siehts aus''' || ||<:> Standardfunktionen (richtig) ||<:> `$\sin x + \ln y +\operatorname{sgn} z$` ||<:> $$\sin x + \ln y +\operatorname{sgn} z$$ || ||<:> Standardfunktionen (falsch) ||<:> `$sin x + ln y + sgn z$` ||<:> {{{#!latex $sin x + ln y + sgn z\,$ }}} || ||<:> Ableitungen ||<:> `$\nabla \partial dx$` ||<:> {{{#!latex $\nabla \partial dx$ }}} || ||<:> Mengen ||<:> `$x \not\in \empty \subseteq A\cap B\cup \{x,y\}$` ||<:> {{{#!latex $x \not\in \empty \subseteq A\cap B\cup \{x,y\}$ }}} || ||<:> Logik ||<:> `$p\wedge \bar{q} \rightarrow p\vee \bar{q} \Rightarrow r$` ||<:> {{{#!latex $p\wedge \bar{q} \rightarrow p\vee \bar{q} \Rightarrow r$ }}} || ||<|2> Wurzeln ||<:> `$\sqrt{2}\approx\pm 1.4$` ||<:> {{{#!latex $\sqrt{2}\approx\pm 1.4$ }}} || ||<:> `$\sqrt[n]{x}$` ||<:> {{{#!latex $\sqrt[n]{x}$ }}} || ||<:> Relationen ||<:> `$\cong \le \ge \equiv \approx \ne$` ||<:> {{{#!latex $\cong \ \le \ \ge \ \equiv \ \approx \ \ne$ }}} || |
||<tablewidth="100%"style="text-align: center;">'''darzustellen''' ||<style="text-align: center;">'''Syntax''' ||<style="text-align: center;">'''so siehts aus''' || ||<style="text-align: center;">Standardfunktionen (richtig) ||<style="text-align: center;">`$\sin x + \ln y +\operatorname{sgn} z$` ||<style="text-align: center;">$$\sin x + \ln y +\operatorname{sgn} z$$ || ||<style="text-align: center;">Standardfunktionen (falsch) ||<style="text-align: center;">`$sin x + ln y + sgn z$` ||<style="text-align: center;">{{{#!latex $sin x + ln y + sgn z\,$ }}} || ||<style="text-align: center;">Ableitungen ||<style="text-align: center;">`$\nabla \partial dx$` ||<style="text-align: center;">{{{#!latex $\nabla \partial dx$ }}} || ||<style="text-align: center;">Mengen ||<style="text-align: center;">`$x \not\in \empty \subseteq A\cap B\cup \{x,y\}$` ||<style="text-align: center;">{{{#!latex $x \not\in \empty \subseteq A\cap B\cup \{x,y\}$ }}} || ||<style="text-align: center;">Logik ||<style="text-align: center;">`$p\wedge \bar{q} \rightarrow p\vee \bar{q} \Rightarrow r$` ||<style="text-align: center;">{{{#!latex $p\wedge \bar{q} \rightarrow p\vee \bar{q} \Rightarrow r$ }}} || ||<style="text-align: center;" |2>Wurzeln ||<style="text-align: center;">`$\sqrt{2}\approx\pm 1.4$` ||<style="text-align: center;">{{{#!latex $\sqrt{2}\approx\pm 1.4$ }}} || ||<style="text-align: center;">`$\sqrt[n]{x}$` ||<style="text-align: center;">{{{#!latex $\sqrt[n]{x}$ }}} || ||<style="text-align: center;">Relationen ||<style="text-align: center;">`$\cong \le \ge \equiv \approx \ne$` ||<style="text-align: center;">{{{#!latex $\cong \ \le \ \ge \ \equiv \ \approx \ \ne$ }}} || |
Zeile 40: | Zeile 40: |
||<tablewidth="100%":> '''darzustellen''' ||<:> '''Syntax''' ||<:> '''so siehts aus''' || ||<:> hochgestellt ||<:> `$a^2$` ||<:> {{{#!latex $a^2$ }}} || ||<:> tiefgestellt ||<:> `$a_2$` ||<:> {{{#!latex $ a_2 $ }}} || ||<|2>Gruppierung ||<:> `$a^{2+2}$` ||<:> {{{#!latex $a^{2+2}$ }}} || ||<:> `$a_{i,j}$` ||<:> {{{#!latex $a_{i,j}$ }}} || ||<:> Kombination hoch & tief ||<:> `$x_2^3 oder x^3_2$` ||<:> {{{#!latex $x_2^3 \ \mbox{auch}\ x^3_2$ }}} || ||<:> Ableitung (richtig) ||<:> `$x'$` ||<:> {{{#!latex $x'$ }}} || ||<:> Ableitung (akzeptabel) ||<:> `$x^\prime$` ||<:> {{{#!latex $x^\prime$ }}} || ||<:> Ableitung (falsch) ||<:> `$x\prime$` ||<:> {{{#!latex $x\prime$ }}} || ||<:> Summe ||<:> `$\sum_{k=1}^N k^2$` ||<:> {{{#!latex $\sum_{k=1}^N k^2$ }}} || ||<:> Produkt ||<:> `$\prod_{i=1}^N x_i$` ||<:> {{{#!latex $\prod_{i=1}^N x_i$ }}} || ||<:> Limes ||<:> `$\lim_{n \to \infty}x_n$` ||<:> {{{#!latex $\lim_{n \to \infty}x_n$ }}} || ||<:> Integral ||<:> `$\int_{-N}^{N} e^x\, dx$` ||<:> {{{#!latex $\int_{-N}^{N} e^x\, dx$ }}} || |
||<tablewidth="100%"style="text-align: center;">'''darzustellen''' ||<style="text-align: center;">'''Syntax''' ||<style="text-align: center;">'''so siehts aus''' || ||<style="text-align: center;">hochgestellt ||<style="text-align: center;">`$a^2$` ||<style="text-align: center;">{{{#!latex $a^2$ }}} || ||<style="text-align: center;">tiefgestellt ||<style="text-align: center;">`$a_2$` ||<style="text-align: center;">{{{#!latex $ a_2 $ }}} || ||<style="text-align: center;" |2>Gruppierung ||<style="text-align: center;">`$a^{2+2}$` ||<style="text-align: center;">{{{#!latex $a^{2+2}$ }}} || ||<style="text-align: center;">`$a_{i,j}$` ||<style="text-align: center;">{{{#!latex $a_{i,j}$ }}} || ||<style="text-align: center;">Kombination hoch & tief ||<style="text-align: center;">`$x_2^3 oder x^3_2$` ||<style="text-align: center;">{{{#!latex $x_2^3 \ \mbox{auch}\ x^3_2$ }}} || ||<style="text-align: center;">Ableitung (richtig) ||<style="text-align: center;">`$x'$` ||<style="text-align: center;">{{{#!latex $x'$ }}} || ||<style="text-align: center;">Ableitung (akzeptabel) ||<style="text-align: center;">`$x^\prime$` ||<style="text-align: center;">{{{#!latex $x^\prime$ }}} || ||<style="text-align: center;">Ableitung (falsch) ||<style="text-align: center;">`$x\prime$` ||<style="text-align: center;">{{{#!latex $x\prime$ }}} || ||<style="text-align: center;">Summe ||<style="text-align: center;">`$\sum_{k=1}^N k^2$` ||<style="text-align: center;">{{{#!latex $\sum_{k=1}^N k^2$ }}} || ||<style="text-align: center;">Produkt ||<style="text-align: center;">`$\prod_{i=1}^N x_i$` ||<style="text-align: center;">{{{#!latex $\prod_{i=1}^N x_i$ }}} || ||<style="text-align: center;">Limes ||<style="text-align: center;">`$\lim_{n \to \infty}x_n$` ||<style="text-align: center;">{{{#!latex $\lim_{n \to \infty}x_n$ }}} || ||<style="text-align: center;">Integral ||<style="text-align: center;">`$\int_{-N}^{N} e^x\, dx$` ||<style="text-align: center;">{{{#!latex $\int_{-N}^{N} e^x\, dx$ }}} || |
Zeile 55: | Zeile 56: |
||<tablewidth="100%":> '''darzustellen''' ||<:> '''Syntax''' ||<:> '''so siehts aus''' || ||<:> Brüche ||<:> `$\frac{2}{4} or {2 \over 4}$` ||<:> {{{#!latex $\frac{2}{4}$ }}} || ||<:> Binomialkoeffizienten ||<:> `${n \choose k}$` ||<:> {{{#!latex ${n \choose k}$ }}} || ||<|6> Matrizen ||<:> `$\begin{pmatrix} x & y \\ z & v \end{pmatrix}$` ||<:> {{{#!latex $\begin{pmatrix} x & y \\ z & v \end{pmatrix}$ }}} || ||<:> `$\begin{bmatrix} 0 & \cdots & 0 \\ \vdots & \dots & \vdots \\ 0 & \cdots & 0\end{bmatrix}$` ||<:> {{{#!latex $\begin{bmatrix} 0 & \cdots & 0 \\ \vdots & \dots & \vdots \\ 0 & \cdots & 0\end{bmatrix} $ }}} || ||<:> `$\begin{Bmatrix} x & y \\ z & v \end{Bmatrix}$` ||<:> {{{#!latex $\begin{Bmatrix} x & y \\ z & v \end{Bmatrix}$ }}} || ||<:> `$\begin{vmatrix} x & y \\ z & v \end{vmatrix}$` ||<:> {{{#!latex $\begin{vmatrix} x & y \\ z & v \end{vmatrix}$ }}} || ||<:> `$\begin{Vmatrix} x & y \\ z & v \end{Vmatrix}$` ||<:> {{{#!latex $\begin{Vmatrix} x & y \\ z & v \end{Vmatrix}$ }}} || ||<:> `$\begin{matrix} x & y \\ z & v \end{matrix}$` ||<:> {{{#!latex $\begin{matrix} x & y \\ z & v \end{matrix}$ }}} || ||<:> Fallunterscheidungen ||<:> `$f(n)=\left\{\begin{matrix} n/2, & \mbox{wenn }n\mbox{ grade} \\ 3n+1, & \mbox{wenn }n\mbox{ ungrade} \end{matrix}\right.$` ||<:> {{{#!latex $f(n)=\left\{\begin{matrix} n/2, & \mbox{wenn }n\mbox{ grade} \\ 3n+1, & \mbox{wenn }n\mbox{ ungrade} \end{matrix}\right. $ }}} || ||<:> mehrzeilige Gleichungen ||<:> `$\begin{matrix}f(n+1)&=& (n+1)^2 \\ \ & =& n^2 + 2n + 1\end{matrix}$` ||<:> {{{#!latex $\begin{matrix}f(n+1)&=& (n+1)^2 \\ \ & =& n^2 + 2n + 1\end{matrix}$ }}} || |
||<tablewidth="100%"style="text-align: center;">'''darzustellen''' ||<style="text-align: center;">'''Syntax''' ||<style="text-align: center;">'''so siehts aus''' || ||<style="text-align: center;">Brüche ||<style="text-align: center;">`$\frac{2}{4} or {2 \over 4}$` ||<style="text-align: center;">{{{#!latex $\frac{2}{4}$ }}} || ||<style="text-align: center;">Binomialkoeffizienten ||<style="text-align: center;">`${n \choose k}$` ||<style="text-align: center;">{{{#!latex ${n \choose k}$ }}} || ||<style="text-align: center;" |6>Matrizen ||<style="text-align: center;">`$\begin{pmatrix} x & y \\ z & v \end{pmatrix}$` ||<style="text-align: center;">{{{#!latex $\begin{pmatrix} x & y \\ z & v \end{pmatrix}$ }}} || ||<style="text-align: center;">`$\begin{bmatrix} 0 & \cdots & 0 \\ \vdots & \dots & \vdots \\ 0 & \cdots & 0\end{bmatrix}$` ||<style="text-align: center;">{{{#!latex $\begin{bmatrix} 0 & \cdots & 0 \\ \vdots & \dots & \vdots \\ 0 & \cdots & 0\end{bmatrix} $ }}} || ||<style="text-align: center;">`$\begin{Bmatrix} x & y \\ z & v \end{Bmatrix}$` ||<style="text-align: center;">{{{#!latex $\begin{Bmatrix} x & y \\ z & v \end{Bmatrix}$ }}} || ||<style="text-align: center;">`$\begin{vmatrix} x & y \\ z & v \end{vmatrix}$` ||<style="text-align: center;">{{{#!latex $\begin{vmatrix} x & y \\ z & v \end{vmatrix}$ }}} || ||<style="text-align: center;">`$\begin{Vmatrix} x & y \\ z & v \end{Vmatrix}$` ||<style="text-align: center;">{{{#!latex $\begin{Vmatrix} x & y \\ z & v \end{Vmatrix}$ }}} || ||<style="text-align: center;">`$\begin{matrix} x & y \\ z & v \end{matrix}$` ||<style="text-align: center;">{{{#!latex $\begin{matrix} x & y \\ z & v \end{matrix}$ }}} || ||<style="text-align: center;">Fallunterscheidungen ||<style="text-align: center;">`$f(n)=\left\{\begin{matrix} n/2, & \mbox{wenn }n\mbox{ grade} \\ 3n+1, & \mbox{wenn }n\mbox{ ungrade} \end{matrix}\right.$` ||<style="text-align: center;">{{{#!latex $f(n)=\left\{\begin{matrix} n/2, & \mbox{wenn }n\mbox{ grade} \\ 3n+1, & \mbox{wenn }n\mbox{ ungrade} \end{matrix}\right. $ }}} || ||<style="text-align: center;">mehrzeilige Gleichungen ||<style="text-align: center;">`$\begin{matrix}f(n+1)&=& (n+1)^2 \\ \ & =& n^2 + 2n + 1\end{matrix}$` ||<style="text-align: center;">{{{#!latex $\begin{matrix}f(n+1)&=& (n+1)^2 \\ \ & =& n^2 + 2n + 1\end{matrix}$ }}} || |
Zeile 68: | Zeile 70: |
||<tablewidth="100%":> '''darzustellen''' ||<:> '''Syntax''' ||<:> '''so siehts aus''' || ||<:> Griechische Buchstaben ||<:> `$\alpha \beta \gamma \Gamma \phi \Phi$` ||<:> {{{#!latex $\alpha \beta \gamma \Gamma \phi \Phi$ }}} || ||<:> Mengen, fett ||<:> `$x\in\mathbb{R}\sub\mathbb{C}$` ||<:> {{{#!latex $x\in\mathbb{R}\subset\mathbb{C}$ }}} || ||<:> fett (Vektoren) ||<:> `$\mathbf{x}\cdot\mathbf{y} = 0$` ||<:> {{{#!latex $\mathbf{x}\cdot\mathbf{y} = 0$ }}} || ||<:> Frakturschrift ||<:> `$\mathfrak{a} \mathfrak{B}$` ||<:> {{{#!latex $\mathfrak{a} \mathfrak{B}$ }}} || ||<:> Script ||<:> `$\mathcal{ABC}$` ||<:> {{{#!latex $\mathcal{ABC}$ }}} || ||<:> Hebräisch ||<:> `$\aleph \beth$` ||<:> {{{#!latex $\aleph\ \beth$ }}} || |
||<tablewidth="100%"style="text-align: center;">'''darzustellen''' ||<style="text-align: center;">'''Syntax''' ||<style="text-align: center;">'''so siehts aus''' || ||<style="text-align: center;">Griechische Buchstaben ||<style="text-align: center;">`$\alpha \beta \gamma \Gamma \phi \Phi$` ||<style="text-align: center;">{{{#!latex $\alpha \beta \gamma \Gamma \phi \Phi$ }}} || ||<style="text-align: center;">Mengen, fett ||<style="text-align: center;">`$x\in\mathbb{R}\sub\mathbb{C}$` ||<style="text-align: center;">{{{#!latex $x\in\mathbb{R}\subset\mathbb{C}$ }}} || ||<style="text-align: center;">fett (Vektoren) ||<style="text-align: center;">`$\mathbf{x}\cdot\mathbf{y} = 0$` ||<style="text-align: center;">{{{#!latex $\mathbf{x}\cdot\mathbf{y} = 0$ }}} || ||<style="text-align: center;">Frakturschrift ||<style="text-align: center;">`$\mathfrak{a} \mathfrak{B}$` ||<style="text-align: center;">{{{#!latex $\mathfrak{a} \mathfrak{B}$ }}} || ||<style="text-align: center;">Script ||<style="text-align: center;">`$\mathcal{ABC}$` ||<style="text-align: center;">{{{#!latex $\mathcal{ABC}$ }}} || ||<style="text-align: center;">Hebräisch ||<style="text-align: center;">`$\aleph \beth$` ||<style="text-align: center;">{{{#!latex $\aleph\ \beth$ }}} || |
Zeile 78: | Zeile 80: |
||<tablewidth="100%":> '''darzustellen''' ||<:> '''Syntax''' ||<:> '''so siehts aus''' || ||<:> unschön ||<:> `$( \frac{1}{2} )$` ||<:> {{{#!latex $( \frac{1}{2} )$ }}} || ||<:> Besser ||<:> `$\left( \frac{1}{2} \right)$` ||<:> {{{#!latex $\left ( \frac{1}{2} \right )$ }}} || |
||<tablewidth="100%"style="text-align: center;">'''darzustellen''' ||<style="text-align: center;">'''Syntax''' ||<style="text-align: center;">'''so siehts aus''' || ||<style="text-align: center;">unschön ||<style="text-align: center;">`$( \frac{1}{2} )$` ||<style="text-align: center;">{{{#!latex $( \frac{1}{2} )$ }}} || ||<style="text-align: center;">Besser ||<style="text-align: center;">`$\left( \frac{1}{2} \right)$` ||<style="text-align: center;">{{{#!latex $\left ( \frac{1}{2} \right )$ }}} || |
Zeile 83: | Zeile 86: |
||<tablewidth="100%":> '''darzustellen''' ||<:> '''Syntax''' ||<:> '''so siehts aus''' || ||<:> Runde Klammern ||<:> `$\left( A \right)$` ||<:> {{{#!latex $\left( A \right)$ }}} || ||<:> Eckige Klammern ||<:> `$\left[ A \right]$` ||<:> {{{#!latex $\left[ A \right]$ }}} || ||<:> Geschweifte Klammern ||<:> `$\left\{ A \right\}$` ||<:> {{{#!latex $\left\{ A \right\}$ }}} || ||<:> Gewinkelte Klammern ||<:> `$\left\langle A \right\rangle$` ||<:> {{{#!latex $\left\langle A \right\rangle$ }}} || ||<:> Betragsstriche ||<:> `$\left| A \right|$` ||<:> {{{#!latex $\left| A \right|$ }}} || ||<:> Anwendung \left. und \right., wenn man keinen Abgrenzer will: ||<:> `$\left. A \over B \right\} \to X$` ||<:> {{{#!latex $\left. A \over B \right\} \to X$ }}} || |
||<tablewidth="100%"style="text-align: center;">'''darzustellen''' ||<style="text-align: center;">'''Syntax''' ||<style="text-align: center;">'''so siehts aus''' || ||<style="text-align: center;">Runde Klammern ||<style="text-align: center;">`$\left( A \right)$` ||<style="text-align: center;">{{{#!latex $\left( A \right)$ }}} || ||<style="text-align: center;">Eckige Klammern ||<style="text-align: center;">`$\left[ A \right]$` ||<style="text-align: center;">{{{#!latex $\left[ A \right]$ }}} || ||<style="text-align: center;">Geschweifte Klammern ||<style="text-align: center;">`$\left\{ A \right\}$` ||<style="text-align: center;">{{{#!latex $\left\{ A \right\}$ }}} || ||<style="text-align: center;">Gewinkelte Klammern ||<style="text-align: center;">`$\left\langle A \right\rangle$` ||<style="text-align: center;">{{{#!latex $\left\langle A \right\rangle$ }}} || ||<style="text-align: center;">Betragsstriche ||<style="text-align: center;">`$\left| A \right|$` ||<style="text-align: center;">{{{#!latex $\left| A \right|$ }}} || ||<style="text-align: center;">Anwendung \left. und \right., wenn man keinen Abgrenzer will: ||<style="text-align: center;">`$\left. A \over B \right\} \to X$` ||<style="text-align: center;">{{{#!latex $\left. A \over B \right\} \to X$ }}} || |
Zeile 94: | Zeile 97: |
||<tablewidth="100%":> '''darzustellen''' ||<:> '''Syntax''' ||<:> '''so siehts aus''' || ||<:> 8fach ||<:> `$a \qquad b$` ||<:> {{{#!latex $a \qquad b$ }}} || ||<:> 4fach ||<:> `$a \quad b$` ||<:> {{{#!latex $ a \quad b$ }}} || ||<:> viel Platz ||<:> `$a\ b$` ||<:> {{{#!latex $a\ b$ }}} || ||<:> mittel Platz ||<:> `$a\;b$` ||<:> {{{#!latex $a\;b$ }}} || ||<:> wenig Platz ||<:> `$a\,b$` ||<:> {{{#!latex $a\,b$ }}} || ||<:> kein Platz ||<:> `$ab$` ||<:> {{{#!latex $ab\,$ }}} || ||<:> negativer Platz ||<:> `$a\!b$` ||<:> {{{#!latex $a\!b$ }}} || |
||<tablewidth="100%"style="text-align: center;">'''darzustellen''' ||<style="text-align: center;">'''Syntax''' ||<style="text-align: center;">'''so siehts aus''' || ||<style="text-align: center;">8fach ||<style="text-align: center;">`$a \qquad b$` ||<style="text-align: center;">{{{#!latex $a \qquad b$ }}} || ||<style="text-align: center;">4fach ||<style="text-align: center;">`$a \quad b$` ||<style="text-align: center;">{{{#!latex $ a \quad b$ }}} || ||<style="text-align: center;">viel Platz ||<style="text-align: center;">`$a\ b$` ||<style="text-align: center;">{{{#!latex $a\ b$ }}} || ||<style="text-align: center;">mittel Platz ||<style="text-align: center;">`$a\;b$` ||<style="text-align: center;">{{{#!latex $a\;b$ }}} || ||<style="text-align: center;">wenig Platz ||<style="text-align: center;">`$a\,b$` ||<style="text-align: center;">{{{#!latex $a\,b$ }}} || ||<style="text-align: center;">kein Platz ||<style="text-align: center;">`$ab$` ||<style="text-align: center;">{{{#!latex $ab\,$ }}} || ||<style="text-align: center;">negativer Platz ||<style="text-align: center;">`$a\!b$` ||<style="text-align: center;">{{{#!latex $a\!b$ }}} || |
Technik
Das MoinMoin-System auf dem dieses WikiWikiWeb basiert, kann mit einer entsprechenden Erweiterung mathematische Formeln interpretieren. Dazu müssen sie im 'LaTeX'-Stil geschrieben werden, der Server erzeugt dann daraus ein PNG-Bild.
LaTeX-Code einbinden
Formeln werden genau wie Code-Stücke eingebunden. Die erste Zeile muss #!latex lauten, gefolgt von LaTeX-Kommandos. Also etwa so:
. ..<<BR>>
Anstatt ... werden dann LaTeX-Befehle geschrieben. Innerhalb eines Mathematik-Abschnitts kann man natürlich kein Wiki-Markup verwenden.
Beispiel:
$\sin x + \ln y + \sgn z\,$
OffeneFrage: Was ist an dem Beispiel falsch?
Anmerkung: Die oben beschriebene Technik zum Einbinden von LaTeX Code eignet sich nicht für den Gebrauch innerhalb von Tabellen, Definitionen und Aufzählungen. Wir hoffen, das es bald Abhilfe gibt.
LaTeX schreiben
Anmerkung: Die Tabellen sind aus http://www.wikipedia.de/ portiert. Leider weiß ich nicht, wie man einen automatischen Zeilenumbruch erzwingt, und der LaTeX Code sollte auch innerhalb einer Tabelle gerendert werden können.
die Sonderzeichen
darzustellen |
Syntax |
so siehts aus |
Standardfunktionen (richtig) |
$\sin x + \ln y +\operatorname{sgn} z$ |
$$\sin x + \ln y +\operatorname{sgn} z$$ |
Standardfunktionen (falsch) |
$sin x + ln y + sgn z$ |
#!latex $sin x + ln y + sgn z\,$ |
Ableitungen |
$\nabla \partial dx$ |
#!latex $\nabla \partial dx$ |
Mengen |
$x \not\in \empty \subseteq A\cap B\cup \{x,y\}$ |
#!latex $x \not\in \empty \subseteq A\cap B\cup \{x,y\}$ |
Logik |
$p\wedge \bar{q} \rightarrow p\vee \bar{q} \Rightarrow r$ |
#!latex $p\wedge \bar{q} \rightarrow p\vee \bar{q} \Rightarrow r$ |
Wurzeln |
$\sqrt{2}\approx\pm 1.4$ |
#!latex $\sqrt{2}\approx\pm 1.4$ |
$\sqrt[n]{x}$ |
#!latex $\sqrt[n]{x}$ |
|
Relationen |
$\cong \le \ge \equiv \approx \ne$ |
#!latex $\cong \ \le \ \ge \ \equiv \ \approx \ \ne$ |
Hoch- und Tiefstellungen
darzustellen |
Syntax |
so siehts aus |
hochgestellt |
$a^2$ |
#!latex $a^2$ |
tiefgestellt |
$a_2$ |
#!latex $ a_2 $ |
Gruppierung |
$a^{2+2}$ |
#!latex $a^{2+2}$ |
$a_{i,j}$ |
#!latex $a_{i,j}$ |
|
Kombination hoch & tief |
$x_2^3 oder x^3_2$ |
#!latex $x_2^3 \ \mbox{auch}\ x^3_2$ |
Ableitung (richtig) |
$x'$ |
#!latex $x'$ |
Ableitung (akzeptabel) |
$x^\prime$ |
#!latex $x^\prime$ |
Ableitung (falsch) |
$x\prime$ |
#!latex $x\prime$ |
Summe |
$\sum_{k=1}^N k^2$ |
#!latex $\sum_{k=1}^N k^2$ |
Produkt |
$\prod_{i=1}^N x_i$ |
#!latex $\prod_{i=1}^N x_i$ |
Limes |
$\lim_{n \to \infty}x_n$ |
#!latex $\lim_{n \to \infty}x_n$ |
Integral |
$\int_{-N}^{N} e^x\, dx$ |
#!latex $\int_{-N}^{N} e^x\, dx$ |
Brüche, Matrizen, mehrzeilige Gleichungen
darzustellen |
Syntax |
so siehts aus |
Brüche |
$\frac{2}{4} or {2 \over 4}$ |
#!latex $\frac{2}{4}$ |
Binomialkoeffizienten |
${n \choose k}$ |
#!latex ${n \choose k}$ |
Matrizen |
$\begin{pmatrix} x & y \\ z & v \end{pmatrix}$ |
#!latex $\begin{pmatrix} x & y \\ z & v \end{pmatrix}$ |
$\begin{bmatrix} 0 & \cdots & 0 \\ \vdots & \dots & \vdots \\ 0 & \cdots & 0\end{bmatrix}$ |
#!latex $\begin{bmatrix} 0 & \cdots & 0 \\ \vdots & \dots & \vdots \\ 0 & \cdots & 0\end{bmatrix} $ |
|
$\begin{Bmatrix} x & y \\ z & v \end{Bmatrix}$ |
#!latex $\begin{Bmatrix} x & y \\ z & v \end{Bmatrix}$ |
|
$\begin{vmatrix} x & y \\ z & v \end{vmatrix}$ |
#!latex $\begin{vmatrix} x & y \\ z & v \end{vmatrix}$ |
|
$\begin{Vmatrix} x & y \\ z & v \end{Vmatrix}$ |
#!latex $\begin{Vmatrix} x & y \\ z & v \end{Vmatrix}$ |
|
$\begin{matrix} x & y \\ z & v \end{matrix}$ |
#!latex $\begin{matrix} x & y \\ z & v \end{matrix}$ |
|
Fallunterscheidungen |
$f(n)=\left\{\begin{matrix} n/2, & \mbox{wenn }n\mbox{ grade} \\ 3n+1, & \mbox{wenn }n\mbox{ ungrade} \end{matrix}\right.$ |
#!latex $f(n)=\left\{\begin{matrix} n/2, & \mbox{wenn }n\mbox{ grade} \\ 3n+1, & \mbox{wenn }n\mbox{ ungrade} \end{matrix}\right. $ |
mehrzeilige Gleichungen |
$\begin{matrix}f(n+1)&=& (n+1)^2 \\ \ & =& n^2 + 2n + 1\end{matrix}$ |
#!latex $\begin{matrix}f(n+1)&=& (n+1)^2 \\ \ & =& n^2 + 2n + 1\end{matrix}$ |
Schriften
darzustellen |
Syntax |
so siehts aus |
Griechische Buchstaben |
$\alpha \beta \gamma \Gamma \phi \Phi$ |
#!latex $\alpha \beta \gamma \Gamma \phi \Phi$ |
Mengen, fett |
$x\in\mathbb{R}\sub\mathbb{C}$ |
#!latex $x\in\mathbb{R}\subset\mathbb{C}$ |
fett (Vektoren) |
$\mathbf{x}\cdot\mathbf{y} = 0$ |
#!latex $\mathbf{x}\cdot\mathbf{y} = 0$ |
Frakturschrift |
$\mathfrak{a} \mathfrak{B}$ |
#!latex $\mathfrak{a} \mathfrak{B}$ |
Script |
$\mathcal{ABC}$ |
#!latex $\mathcal{ABC}$ |
Hebräisch |
$\aleph \beth$ |
#!latex $\aleph\ \beth$ |
große Ausdrücke in Klammern
darzustellen |
Syntax |
so siehts aus |
unschön |
$( \frac{1}{2} )$ |
#!latex $( \frac{1}{2} )$ |
Besser |
$\left( \frac{1}{2} \right)$ |
#!latex $\left ( \frac{1}{2} \right )$ |
Klammer Arten
darzustellen |
Syntax |
so siehts aus |
Runde Klammern |
$\left( A \right)$ |
#!latex $\left( A \right)$ |
Eckige Klammern |
$\left[ A \right]$ |
#!latex $\left[ A \right]$ |
Geschweifte Klammern |
$\left\{ A \right\}$ |
#!latex $\left\{ A \right\}$ |
Gewinkelte Klammern |
$\left\langle A \right\rangle$ |
#!latex $\left\langle A \right\rangle$ |
Betragsstriche |
$\left| A \right|$ |
#!latex $\left| A \right|$ |
Anwendung \left. und \right., wenn man keinen Abgrenzer will: |
$\left. A \over B \right\} \to X$ |
#!latex $\left. A \over B \right\} \to X$ |
Platz zwischen Zeichen
Für manuelle Kontrolle der Leerzeichen stellt TeX folgende Befehle zur Verfügung.
darzustellen |
Syntax |
so siehts aus |
8fach |
$a \qquad b$ |
#!latex $a \qquad b$ |
4fach |
$a \quad b$ |
#!latex $ a \quad b$ |
viel Platz |
$a\ b$ |
#!latex $a\ b$ |
mittel Platz |
$a\;b$ |
#!latex $a\;b$ |
wenig Platz |
$a\,b$ |
#!latex $a\,b$ |
kein Platz |
$ab$ |
#!latex $ab\,$ |
negativer Platz |
$a\!b$ |
#!latex $a\!b$ |
Externe Links
Ein $PDF-Dokument zur TeX-Einführung -- ab Seite 39 gibt es eine gute math-Einführung: http://www.ctan.org/tex-archive/info/gentle/gentle.pdf?action=/starter/
Vollständige Liste aller Symbole: http://wso.williams.edu/how/lshort2e/node61.html
Das ist per Definition gut: http://www.ams.org/tex/amslatex.html