Realmath.deWiki:Hilfe: Unterschied zwischen den Versionen

Aus realmath-wiki

Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 1: Zeile 1:
= Vorlage und Beschreibung für Mathematische Formeln =
= Beschreibung für Erstellung mathematischer Formeln =
 
Die Vorlage dient der Erstellung von rechts ausgerichteten Anmerkungen bei mathematischen Gleichungen.
Die Vorlage nutzt dafür eine nicht sichtbare („blinde“) Tabelle.
Für Anmerkungen in konstantem Abstand zur Gleichung gibt es die [https://de.wikipedia.org/wiki/Vorlage:GL Vorlage GL].
 
== Parameter ==
 
# Die Formel, inklusive „math“-Tags der TeX-Einbindung in der WikiMedia bzw. alles, was nach links kommen soll.
# Alles, was nach rechts kommen soll.
# Die Gesamtbreite in Pixel oder Prozent. Optional, Vorgabe ist „100%“. Davon gehen links „3em“ und rechts „2em“ ab.


== Beispiele ==  
== Beispiele ==  
:<code><nowiki>{{Num Mathematische Formeln|<math>a^2+b^2=c^2</math>|(123)}}</nowiki></code>  
:<code><nowiki><math>a^2+b^2=c^2</math></nowiki></code>  
Bewirkt:
erzeugt:
{{Num Mathematische Formeln|<math>a^2+b^2=c^2</math>|(123)}}
<math>a^2+b^2=c^2</math>


:<code><nowiki>{{Num Mathematische Formeln|<math>a^2+b^2=c^2</math>|(123)|80%}}</nowiki></code>  
:<code><nowiki><math>h_c^2=p \cdot q</math></nowiki></code>
Bewirkt:
erzeugt:
{{Num Mathematische Formeln|<math>a^2+b^2=c^2</math>|(123)|80%}}
<math>h_c^2=p \cdot q</math>


:<code><nowiki>{{Num Mathematische Formeln|<math>a^2+b^2=c^2</math>|Satz des Pythagoras}}</nowiki></code>
Bewirkt:
{{Num Mathematische Formeln|<math>a^2+b^2=c^2</math>|Satz des Pythagoras}}


:<code><nowiki>{{Num Mathematische Formeln|<math>a^2+b^2=c^2</math>|Satz des Pythagoras}}</nowiki></code>
== komplexere Beispiele ==  
:<code><nowiki>&nbsp;</nowiki></code>
:<code><nowiki>{{Num Mathematische Formeln|<math>h_c^2=p \cdot q</math>|Höhensatz}}</nowiki></code>
Bewirkt:
{{Num Mathematische Formeln|<math>a^2+b^2=c^2</math>|Satz des Pythagoras}}


{{Num Mathematische Formeln|<math>h_c^2=p \cdot q</math>|Höhensatz}}
:<code><nowiki><math>\sqrt{\pi}</math></nowiki></code>
erzeugt:
<math>\sqrt{\pi}</math>


Eine einzelne Leerzeile hat meist keine Wirkung, erhöht aber die Lesbarkeit im Quelltext.


:<code><nowiki><math>\frac{1}{2} \cdot \frac{1}{2} = \frac{1}{4}</math></nowiki></code>
erzeugt:
<math>\frac{1}{2} \cdot \frac{1}{2} = \frac{1}{4}</math>


Mathematische Formeln ins realmath-wiki schreiben


Beispiele:
:<code><nowiki>math>\sqrt{\frac{1}{4}} = \frac{1}{2}</math></nowiki></code>
erzeugt:
<math>\sqrt{\frac{1}{4}} = \frac{1}{2}</math>




<math alt="Square root of pi">\sqrt{\pi}</math>
:<code><nowiki><math>\overrightarrow{AB}=\binom{1}{4}</math></nowiki></code>
erzeugt:
<math>\overrightarrow{AB}=\binom{1}{4}</math>


<math alt="Bruch">\frac{1}{2} \cdot \frac{1}{2} = \frac{1}{4}</math>
<math alt="Bruch">\sqrt{\frac{1}{4}} = \frac{1}{2}</math>
<math>\overrightarrow{AB}=\binom{1}{4}</math>


:<code><nowiki><math> A(x) =
\begin{vmatrix}
2 & x-2 \\
x & -6
\end{vmatrix}  FE
</math>
</nowiki></code>
erzeugt:
<math> A(x) =  
<math> A(x) =  
\begin{vmatrix}
\begin{vmatrix}
Zeile 56: Zeile 48:
</math>
</math>


Eine ausführliche Anleitung findest du [https://www.mediawiki.org/wiki/Extension:Math/Help:Formula hier verlinkt]
Eine ausführliche Anleitung zum Erstellen mathematischer Formeln findest du [https://www.mediawiki.org/wiki/Extension:Math/Help:Formula hier verlinkt]

Version vom 7. August 2023, 18:06 Uhr

Beschreibung für Erstellung mathematischer Formeln

Beispiele

<math>a^2+b^2=c^2</math>

erzeugt:

<math>h_c^2=p \cdot q</math>

erzeugt:


komplexere Beispiele

<math>\sqrt{\pi}</math>

erzeugt:


<math>\frac{1}{2} \cdot \frac{1}{2} = \frac{1}{4}</math>

erzeugt:


math>\sqrt{\frac{1}{4}} = \frac{1}{2}</math>

erzeugt:


<math>\overrightarrow{AB}=\binom{1}{4}</math>

erzeugt:


<math> A(x) = \begin{vmatrix} 2 & x-2 \\ x & -6 \end{vmatrix} FE </math>

erzeugt:

Eine ausführliche Anleitung zum Erstellen mathematischer Formeln findest du hier verlinkt