הבדלים בין גרסאות בדף "תבנית:Equation"

מתוך Math-Wiki
קפיצה אל: ניווט, חיפוש
מ
שורה 2: שורה 2:
 
הועתק מויקיפדיה
 
הועתק מויקיפדיה
  
יש להשתמש ב-&lrm;\vert במקום ב-| לצורך הצגת ערך מוחלט/מחלק/כך ש... (בקבוצות) כדי להציג <math>\vert</math> בנוסחאות המתמטיות (בפרמטרים ll, l, o, r, rr).
+
הערה: יש להשתמש ב-<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">
 
<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.
  
<tt><nowiki>{|</nowiki></tt> needs to be called first. You can add a new general row in the following manner:
+
<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. <tt>ll</tt> - Furthest left column (used only when needed).
+
1. <code>ll</code> - Furthest left column (used only when needed).
  
2. <tt>l</tt> - General left column.
+
2. <code>l</code> - General left column.
  
3. <tt>o</tt> - Operator, defaults to <math>=</math>
+
3. <code>o</code> - Operator, defaults to <math>=</math>
  
4. <tt>r</tt> - General right column.
+
4. <code>r</code> - General right column.
  
5. <tt>rr</tt> - Furthest right column (used only when needed).
+
5. <code>rr</code> - Furthest right column (used only when needed).
  
6. <tt>c</tt> - Comment.
+
6. <code>c</code> - Comment.
  
7. <tt>cc</tt> - Extra comment (used only when needed).
+
7. <code>cc</code> - Extra comment (used only when needed).
  
Once the full equation is completed, <tt><nowiki>|}</nowiki></tt> must be called.
+
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 או ב-{{!}} במקום ב-| לצורך הצגת ערך מוחלט/מחלק/כך ש... (בקבוצות) כדי להציג \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: /\div 21 42 = 21x
2. 2 = x \implies
3. \{a\vert a=3\} \not\in
4. \{a| a\not=2\} \subset