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

מתוך Math-Wiki
(דף חדש: <noinclude> הועתק מויקיפדיה הערה: יש להשתמש ב-<code>‎\vert</code> או ב-<code><nowiki>{{!}}</nowiki></code> במקום ב-<code>|</code> לצורך ה…)
 
אין תקציר עריכה
שורה 12: שורה 12:


<pre><nowiki>
<pre><nowiki>
{{=|l= |r= }}
{{= |l= |r= }}
</nowiki></pre>
</nowiki></pre>


שורה 56: שורה 56:
<div style="font-family:Consolas, 'Courier New', 'Times New Roman';">
<div style="font-family:Consolas, 'Courier New', 'Times New Roman';">
{|
{|
{{=|l=21x |r=42 |rr=/\div 21 |c=נחלק ב-21: |cc=1. }}
{{= |l=21x |r=42 |rr=/\div 21 |c=נחלק ב-21: |cc=1. }}
{{=|ll=\implies |l=x |r=2 |cc=2. }}
{{= |ll=\implies |l=x |r=2 |cc=2. }}
{{=|o=\not\in |r=\{a\vert a=3\} |cc=3. }}
{{= |o=\not\in |r=\{a\vert a=3\} |cc=3. }}
{{=|o=\subset |r=\{a{{!}} a\not=2\} |cc=4. }}
{{= |o=\subset |r=\{a{{!}} a\not=2\} |cc=4. }}
{{=|o=\ni |r=|2| |c=דוגמה לשימוש שגוי: |cc=5. }}
{{= |o=\ni |r=|2| |c=דוגמה לשימוש שגוי: |cc=5. }}
{{=|o=\ne |r=n^{k^{1+e}} |c=דוגמה לשימוש שגוי: |cc=6. }}
{{= |o=\ne |r=n^{k^{1+e}} |c=דוגמה לשימוש שגוי: |cc=6. }}
{{=|o=\ne |r=n^{k^{1+e} } |c=דוגמה לשימוש שגוי: |cc=7. }}
{{= |o=\ne |r=n^{k^{1+e} } |c=דוגמה לשימוש שגוי: |cc=7. }}
|}
|}
</div>
</div>
</div>
</div>
</noinclude>
|-
| align="right" | {{{cc|}}}
| align="right" dir="rtl" style="width:100%; padding:0 5px 0 20px;" | {{{c|}}}
| align="left" | {{#תגית:math|{{{rr|}}}}}
| align="left" style="padding:0 10px 0 7px;" | {{#תגית:math|{{{r|}}}}}
| align="center" | {{#תגית:math|{{{o|=}}}}}
| align="right" style="padding:0 7px 0 10px;" | {{#תגית:math|{{{l|}}}}}
| align="right" | {{#תגית:math|{{{ll|}}}}}

גרסה מ־17:27, 25 בינואר 2011

הועתק מויקיפדיה

הערה: יש להשתמש ב-‎\vert או ב-{{!}} במקום ב-| לצורך הצגת [math]\displaystyle{ \vert }[/math] (ערך מוחלט/מחלק/כך ש... וכו') בנוסחאות המתמטיות (בפרמטרים ll, l, o, r, rr בלבד). | משמש למעבר לפרמטר הבא. כמו כן יש להשתמש ב-} } (סוגריים מסולסלים עם רווח בינהם) במקום ב-}} לצורך סגירת שני ביטויים שנתחמו בסוגריים מסולסלים (לדוגמה, הביטוי n^{k^{1+e}} יכתב כ-n^{k^{1+e} }) בנוסחאות המתמטיות (בכל אחד מהפרמטרים). }} משמש לסגירת התבנית. (דוגמאות בהמשך)

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:

{{= |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 [math]\displaystyle{ = }[/math]

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

{|

{{=|l=21x |r=42 |rr=/\div 21 |c=נחלק ב-21: |cc=1. }}

{{=|ll=\implies |l=x |r=2 |cc=2. }}

{{=|o=\not\in |r=\{a\vert a=3\} |cc=3. }}

{{=|o=\subset |r=\{a{{!}} a\not=2\} |cc=4. }}

{{=|o=\ni |r=|2| |c=דוגמה לשימוש שגוי: |cc=5. }}
{{=|o=\ne |r=n^{k^{1+e}} |c=דוגמה לשימוש שגוי: |cc=6. }}

{{=|o=\ne |r=n^{k^{1+e} } |c=דוגמה לשימוש שגוי: |cc=7. }}

|}

gives:

1. נחלק ב-21: [math]\displaystyle{ /\div 21 }[/math] [math]\displaystyle{ 42 }[/math] [math]\displaystyle{ = }[/math] [math]\displaystyle{ 21x }[/math] [math]\displaystyle{ }[/math]
2. [math]\displaystyle{ }[/math] [math]\displaystyle{ 2 }[/math] [math]\displaystyle{ = }[/math] [math]\displaystyle{ x }[/math] [math]\displaystyle{ \implies }[/math]
3. [math]\displaystyle{ }[/math] [math]\displaystyle{ \{a\vert a=3\} }[/math] [math]\displaystyle{ \not\in }[/math] [math]\displaystyle{ }[/math] [math]\displaystyle{ }[/math]
4. [math]\displaystyle{ }[/math] [math]\displaystyle{ \{a| a\not=2\} }[/math] [math]\displaystyle{ \subset }[/math] [math]\displaystyle{ }[/math] [math]\displaystyle{ }[/math]
5. דוגמה לשימוש שגוי: [math]\displaystyle{ }[/math] [math]\displaystyle{ }[/math] [math]\displaystyle{ \ni }[/math] [math]\displaystyle{ }[/math] [math]\displaystyle{ }[/math]
[math]\displaystyle{ }[/math] [math]\displaystyle{ n^{k^{1+e }[/math] [math]\displaystyle{ \ne }[/math] [math]\displaystyle{ }[/math] [math]\displaystyle{ }[/math] |c=דוגמה לשימוש שגוי: |cc=6. }}
7. דוגמה לשימוש שגוי: [math]\displaystyle{ }[/math] [math]\displaystyle{ n^{k^{1+e} } }[/math] [math]\displaystyle{ \ne }[/math] [math]\displaystyle{ }[/math] [math]\displaystyle{ }[/math]

|- | align="right" | | align="right" dir="rtl" style="width:100%; padding:0 5px 0 20px;" | | align="left" | [math]\displaystyle{ }[/math] | align="left" style="padding:0 10px 0 7px;" | [math]\displaystyle{ }[/math] | align="center" | [math]\displaystyle{ = }[/math] | align="right" style="padding:0 7px 0 10px;" | [math]\displaystyle{ }[/math] | align="right" | [math]\displaystyle{ }[/math]