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