שינויים

קפיצה אל: ניווט, חיפוש

תבנית:Equation

הוסרו 2,058 בתים, 17:34, 25 בינואר 2011
<noinclude>
הועתק מויקיפדיה הערה: יש להשתמש ב-<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. <code><nowiki>{|</nowiki></code> needs to be called first. You can add a new general row in the following manner[[תבנית<pre><nowiki>{{equation |l= |r= }}</nowiki></pre> The different possible variables that can be used are: 1. <code>ll</code> - Furthest left column (used only when needed). 2. <code>l</code> - General left column. 3. <code>o</code> - Operator, defaults to <math>=</math> 4. <code>r</code> - General right column. 5. <code>rr</code> - Furthest right column (used only when needed). 6. <code>c</code> - Comment. 7. <code>cc</code> - Extra comment (used only when needed). Once the full equation is completed, <code><nowiki>|}</nowiki></code> must be called.==Example==<div style="font-family:Consolas, 'Courier New', 'Times New Roman';"><nowiki>{|</nowiki> <nowiki>{{equation|l=21x |r=42 |rr=/\div 21 |c=נחלק ב-21: |cc=1. }}</nowiki> <nowiki>{{equation|ll=\implies |l=x |r=2 |cc=2. }}</nowiki> <nowiki>{{equation|o=\not\in |r=\{a\vert a=3\} |cc=3. }}</nowiki> <nowiki>{{equation|o=\subset |r=\{a{{!}} a\not=2\} |cc=4. }}</nowiki> <div style="color:red; border:solid 1px red;"><span style="direction:rtl; float:right;">שימוש שגוי:</span><nowiki>{{equation|o=\ni |r=|2| |c=דוגמה לשימוש שגוי: |cc=5. }}</nowiki></div> <nowiki>|}</nowiki></div>gives: <div align="right" dir="rtl">{|{{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. }}|}</div> == code == </div>]] במקום
</noinclude>
|-