תבנית:Equation

מתוך Math-Wiki
קפיצה אל: ניווט, חיפוש

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

הערה: יש להשתמש ב-‎\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. }}

שימוש שגוי:{{equation|o=\ni |r=|2| |c=דוגמה לשימוש שגוי: |cc=5. }}

|}

gives:

1. נחלק ב-21: /\div 21 42 = 21x
2. 2 = x \implies
3. \{a\vert a=3\} \not\in
4. \{a| a\not=2\} \subset
5. דוגמה לשימוש שגוי: \ni

code

|- | align="right" | | align="right" dir="rtl" style="width:100%; padding:0 5px 0 20px;" | | align="left" | | align="left" style="padding:0 10px 0 7px;" | | align="center" | = | align="right" style="padding:0 7px 0 10px;" | | align="right" |