שינויים

תבנית:Equation

נוספו 327 בתים, 12:43, 15 באוקטובר 2010
הועתק מויקיפדיה
הערה: יש להשתמש ב-<code>&lrm;\vert </code> או ב-<code><nowiki>{{!}}</nowiki></code> במקום ב-<code>| </code> לצורך הצגת ''ערך מוחלט/מחלק/כך ש... (בקבוצות) '' כדי להציג <math>\vert</math> (קו אופקי) בנוסחאות המתמטיות (בפרמטרים ll, l, o, r, rrבלבד).<code>|</code> משמש למעבר לפרמטר הבא. (דוגמה בהמשך)
<div align="left" dir="ltr">
==Usage==
Used to add new rows of aligned math text.
<ttcode><nowiki>{|</nowiki></ttcode> needs to be called first. You can add a new general row in the following manner:
<pre><nowiki>
The different possible variables that can be used are:
1. <ttcode>ll</ttcode> - Furthest left column (used only when needed).
2. <ttcode>l</ttcode> - General left column.
3. <ttcode>o</ttcode> - Operator, defaults to <math>=</math>
4. <ttcode>r</ttcode> - General right column.
5. <ttcode>rr</ttcode> - Furthest right column (used only when needed).
6. <ttcode>c</ttcode> - Comment.
7. <ttcode>cc</ttcode> - Extra comment (used only when needed).
Once the full equation is completed, <ttcode><nowiki>|}</nowiki></ttcode> must be called.
==Example==
<pre><nowiki>
{{equation|ll=\implies|l=x|r=2|cc=2.}}
{{equation|o=\not\in|r=\{a\vert a=3\}|cc=3.}}
{{equation|o=\subset|r=\{a{{!}} a\not=2\}|cc=4.}}
|}
</nowiki></pre>
{{equation|ll=\implies|l=x|r=2|cc=2.}}
{{equation|o=\not\in|r=\{a\vert a=3\}|cc=3.}}
{{equation|o=\subset|r=\{a{{!}} a\not=2\}|cc=4.}}
|}
</div>