Vorlage:Num Mathematische Formeln: Unterschied zwischen den Versionen

Aus Baustatik-Wiki
Zur Navigation springen Zur Suche springen
K
K
Zeile 1: Zeile 1:
<includeonly>{{{1}}}{|style="border-collapse:collapse; background:none; width:100%;" border={{#if:{{{Border| }}}|"1"|"0"}}
+
<includeonly>{| style="background-color: transparent; width:{{{3|100%}}};"
|- style="height:3pt"
+
| style="text-align:left;  padding:1em 1em 1em 3em;"|{{{1}}}
|nowrap rowspan="2"|<p style="margin:0pt 0pt 0pt 0pt;">{{{2}}}&nbsp;</p>
+
| style="text-align:right; padding:1em 2em 1em 1em; font:larger bold; "|{{{2}}}
| <p style="font-size:1pt; margin:0pt 0pt 0pt 0pt;">&nbsp;</p>
+
|}</includeonly><noinclude>
| nowrap rowspan="2" align="right"|<p style="margin:0pt 0pt 0pt 0pt;">&nbsp;{{#if:{{{RawN| }}}|{{{3}}}|'''({{{3}}})'''}}</p>
+
<noinclude>Übernommen von [https://de.wikipedia.org/wiki/Vorlage:Gl2 Vorlage WIKI Nummerierung mathematischer Formeln ].</noinclude>
|- style="height:2pt"
+
 
| style="border-top:{{{LnSty|3px dotted #e5e5e5}}}; width:99%;"|<p style="font-size:1pt; margin:0pt 0pt 0pt 0pt;">&nbsp;</p>
+
 
|}</includeonly>
+
== Beschreibung ==
<noinclude>Übernommen von [https://de.wikipedia.org/wiki/Vorlage:NumBlk Vorlage WIKI Nummerierung mathematischer Formeln ].</noinclude>
+
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 ==  
 +
:<code><nowiki>{{Gl2|<math>a^2+b^2=c^2</math>|(123)}}</nowiki></code>
 +
Bewirkt:
 +
{{Gl2|<math>a^2+b^2=c^2</math>|(123)}}
 +
 
 +
:<code><nowiki>{{Gl2|<math>a^2+b^2=c^2</math>|(123)|80%}}</nowiki></code>  
 +
Bewirkt:
 +
{{Gl2|<math>a^2+b^2=c^2</math>|(123)|80%}}
 +
 
 +
:<code><nowiki>{{Gl2|<math>a^2+b^2=c^2</math>|Satz des Pythagoras}}</nowiki></code>
 +
Bewirkt:
 +
{{Gl2|<math>a^2+b^2=c^2</math>|Satz des Pythagoras}}
 +
 
 +
:<code><nowiki>{{Gl2|<math>a^2+b^2=c^2</math>|Satz des Pythagoras}}</nowiki></code>
 +
:<code><nowiki>&nbsp;</nowiki></code>
 +
:<code><nowiki>{{Gl2|<math>h_c^2=p \cdot q</math>|Höhensatz}}</nowiki></code>
 +
Bewirkt:
 +
{{Gl2|<math>a^2+b^2=c^2</math>|Satz des Pythagoras}}
 +
 
 +
{{Gl2|<math>h_c^2=p \cdot q</math>|Höhensatz}}
 +
 
 +
Eine einzelne Leerzeile hat meist keine Wirkung, erhöht aber die Lesbarkeit im Quelltext.

Version vom 29. Dezember 2015, 13:53 Uhr

Übernommen von Vorlage WIKI Nummerierung mathematischer Formeln .


Beschreibung

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 Vorlage GL.

Parameter

  1. Die Formel, inklusive „math“-Tags der TeX-Einbindung in der WikiMedia bzw. alles, was nach links kommen soll.
  2. Alles, was nach rechts kommen soll.
  3. Die Gesamtbreite in Pixel oder Prozent. Optional, Vorgabe ist „100%“. Davon gehen links „3em“ und rechts „2em“ ab.

Beispiele

{{Gl2|<math>a^2+b^2=c^2</math>|(123)}}

Bewirkt: Vorlage:Gl2

{{Gl2|<math>a^2+b^2=c^2</math>|(123)|80%}}

Bewirkt: Vorlage:Gl2

{{Gl2|<math>a^2+b^2=c^2</math>|Satz des Pythagoras}}

Bewirkt: Vorlage:Gl2

{{Gl2|<math>a^2+b^2=c^2</math>|Satz des Pythagoras}}
 
{{Gl2|<math>h_c^2=p \cdot q</math>|Höhensatz}}

Bewirkt: Vorlage:Gl2

Vorlage:Gl2

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