مساعدة:عرض صيغة رياضية: الفرق بين النسختين
Klamfadi وسمان: تحرير من المحمول تعديل ويب محمول |
ط استرجاع تعديلات 78.95.192.124 (نقاش) حتى آخر نسخة بواسطة Mr.Ibrahembot وسم: استرجاع |
||
سطر 1: | سطر 1: | ||
العربية |
|||
انطلاقا من يناير 2003، الصيغ الرياضية في [[ويكيبيديا]] يمكن كتابتها بنظام [[تخ]] TeX. |
|||
Fgj;775448fghj |
|||
القواعد الأساسية كالآتي: |
|||
Fyh334424hg |
|||
* الصيغ الرياضية توضع بين <nowiki><math>...</math></nowiki>. |
|||
* الرموز + - = / ' | * < > ( ) يمكن أن تدرج مباشرة. |
|||
* داخل صيغة يمكن تجميع صيغ باستعمال العلامات {}، ذلك لتمثيل صيغ أسية مثلا. |
|||
== الدوال == |
|||
{| class="wikitable" |
|||
|+ |
|||
!الوظيفة |
|||
!الصيغة |
|||
!ماذا يظهر |
|||
|- |
|||
|دوال. |
|||
(جيد) |
|||
|{{Code|\sin x + \ln y +\sgn z}} |
|||
|<math>\sin x + \ln y +\sgn z</math> |
|||
|- |
|||
|دوال |
|||
(سيئ) |
|||
|{{Code|sin x + ln y + sgn z}} |
|||
|<math>sin x + ln y + sgn z\,</math> |
|||
|- |
|||
|دوال غير معيارية |
|||
|{{Code|\operatorname{function} }} |
|||
|<math>\operatorname{function} </math> |
|||
|- |
|||
|[[دوال مثلثية]] |
|||
|{{Code|\sin \cos \tan \cot \sec \csc}} |
|||
|<math>\sin\ \cos\ \tan\ \cot\ \sec\ \csc\,</math> |
|||
|- |
|||
|[[دوال مثلثية عكسية]] |
|||
|{{Code|\arcsin \arccos \arctan \arcsec \arccsc}} |
|||
|<math>\arcsin\ \arccos\ \arctan\ \arcsec\ \arccsc</math> |
|||
|- |
|||
|[[دالة زائدية|دوال زائدية]] |
|||
|{{Code|\sinh\ \cosh\ \tanh\ \coth}} |
|||
|<math>\sinh\ \cosh\ \tanh\ \coth</math> |
|||
|- |
|||
|دوال [[تحليل رياضي|التحليل]] |
|||
|{{Code|\lim \sup \inf \limsup \liminf \log \ln \lg \exp}} |
|||
|<math>\lim \sup \inf \limsup \liminf \log \ln \lg \exp \arg \min \max</math> |
|||
|- |
|||
|دوال [[جبر|الجبر]] |
|||
|{{Code|\det \deg \dim \hom \ker}} |
|||
|<math>\det \deg \dim \hom \ker</math> |
|||
|} |
|||
== رموز خاصة == |
|||
{| class="wikitable" border="1" |
|||
! الوظيفة !! الصيغة !! ماذا يظهر |
|||
|- |
|||
|التشكيلات |
|||
|{{Code|\hat o \acute o \dot o \ddot o \vec o \check o \grave o \breve o \widehat {abc} \tilde o \bar o}} |
|||
|<math>\hat o\ \acute o\ \dot o\ \ddot o\ \vec o\ \check o\ \grave o\ \breve o\ \widehat {abc}\ \tilde o\ \bar o </math> |
|||
|- |
|||
|نص في صيغة (غير مدعوم بالعربية) |
|||
|{{Code|\text{Text} }} |
|||
|<math>\text{Text} </math> |
|||
|- |
|||
|عمليات ثنائية |
|||
|{{كود|\star \times \circ \cdot \bullet \cap \cup \sqcup \vee \wedge |
|||
\odot \oslash \oplus \ominus \otimes \div \pm \mp \triangle \triangleleft \triangleright}} |
|||
|<math>\star \times \circ \cdot \bullet \cap \cup \sqcup \vee \wedge |
|||
\odot \oslash \oplus \ominus \otimes \div \pm \mp \triangle \triangleleft \triangleright</math> |
|||
|- |
|||
|العمليات الكبيرة والتكاملات (لمزيد من رموز التكامل، انظر [[قالب:Oiint]]، و [[قالب:Oiiint]]، و [[قالب:Intorient]].) |
|||
|{{Code|\sum \prod \coprod \int \iint \iiint \iiiint \oint |
|||
\bigcup \bigcap \bigsqcup \bigvee \bigwedge \bigoplus \bigotimes \bigodot \biguplus}} |
|||
|<math>\sum \prod \coprod \int \iint \iiint \iiiint \oint |
|||
\bigcup \bigcap \bigsqcup \bigvee \bigwedge \bigoplus \bigotimes \bigodot \biguplus</math> |
|||
|----- |
|||
|[[حذف (نحو)|حذف]] |
|||
|<code>x + \cdots + y</code> ''أو'' <code>x + \ldots + y</code> |
|||
|<math>x + \cdots + y</math> ''أو'' <math>x + \ldots + y</math> |
|||
|---- |
|||
|محددات |
|||
|<div dir="ltr"><code>( ) [ ] \{ \} \lfloor \rfloor \lceil \rceil \langle \rangle / \backslash <nowiki>| \|</nowiki> \uparrow \Uparrow \downarrow \Downarrow \updownarrow \Updownarrow</code></div> |
|||
|<math>( \; ) \; [ \; ] \; \{ \; \} \; \lfloor \; \rfloor \; \lceil \; \rceil \; \langle \; \rangle \; / \; \backslash \; | \; \| \; \uparrow \; \Uparrow \; \downarrow \; \Downarrow \;\updownarrow \Updownarrow</math> |
|||
|----- |
|||
|الحسابيات التوافقية |
|||
|<div dir="ltr"><code>s_k \equiv 0 \pmod{m}</code></div> |
|||
|<math>s_k \equiv 0 \pmod{m}</math> |
|||
|----- |
|||
|[[مشتق (رياضيات)|الاشتقاق]] |
|||
|<div dir="ltr"><code>\nabla \partial x \ dx \dot x \ddot y</code></div> |
|||
|<math>\nabla \ \partial x \ dx \dot x\ \ddot y</math> |
|||
|----- |
|||
|[[منطق رياضي|المنطق]] |
|||
|<div dir="ltr">{{Code|\forall \exists \lnot \land \lor \to \leftrightarrow \Rightarrow \Leftarrow \Leftrightarrow \vdash \models}}</div> |
|||
|<math>\forall \exists \lnot \land \lor \to \leftrightarrow \Rightarrow \Leftarrow \Leftrightarrow \vdash \models</math> |
|||
|- |
|||
|[[نظرية المجموعات|المجموعات]] |
|||
|<div dir="ltr"><code>\emptyset \varnothing \cap \cup \setminus \smallsetminus</code></div> |
|||
|<math>\emptyset \varnothing \cap \cup \setminus \smallsetminus</math> |
|||
|----- |
|||
| rowspan="2" |[[جذر نوني|الجذور]] |
|||
|<div dir="ltr"><code>\sqrt{2}\approx\pm 1,4</code></div> |
|||
|<math>\sqrt{2}\approx\pm 1,4</math> |
|||
|----- |
|||
|<div dir="ltr"><code>\sqrt[n]{x}</code></div> |
|||
|<math>\sqrt[n]{x}</math> |
|||
|----- |
|||
|العلاقات |
|||
|<div dir="ltr">{{Code|1=\sim \ \simeq \ \cong \ \le \ \ge \ \equiv \ \approx \ = \ \propto}}</div> |
|||
|<math> \sim \ \simeq \ \cong \ \le \ \ge \ \equiv \ \approx \ = \ \propto</math> |
|||
|- |
|||
|علاقات المجموعات |
|||
|{{كود|\subset \subseteq \supset \supseteq \in \ni \notin}} |
|||
|<math>\subset\ \subseteq\ \supset\ \supseteq\ \in\ \ni\ \notin </math> |
|||
|----- |
|||
| نفي العلاقات (للنفي، إستخدم البادئة {{كود|\not}}) |
|||
|{{Code|\not\sim \ \not\simeq \ \not\cong \ \not\leq \ \not\geq \ \not\equiv \ \not\approx \ \ne\ \not\propto}} |
|||
|<math>\not\sim \ \not\simeq \ \not\cong \ \not\leq \ \not\geq \ \not\equiv \ \not\approx \ \ne\ \not\propto</math> |
|||
|----- |
|||
|الهندسة |
|||
|{{كود|\triangle \angle 45^\circ}} |
|||
|<math>\triangle \ \angle \ 45^\circ</math> |
|||
|----- |
|||
| rowspan="2" | أسهم |
|||
|{{كود|\leftarrow \rightarrow \leftrightarrow}} |
|||
{{كود|\longleftarrow \longrightarrow}}<br>{{كود|\mapsto \longmapsto}}<br>{{كود|\nearrow \searrow \swarrow \nwarrow}} |
|||
|<math>\leftarrow\ \rightarrow\ \leftrightarrow</math> |
|||
<math>\longleftarrow\ \longrightarrow</math> |
|||
<math>\mapsto\ \longmapsto</math> |
|||
<math>\nearrow\ \searrow\ \swarrow\ \nwarrow</math> |
|||
|----- |
|||
|{{كود|\Leftarrow \Rightarrow \Leftrightarrow}} |
|||
{{كود|\Longleftarrow \Longrightarrow \Longleftrightarrow}} |
|||
|<math>\Leftarrow\ \Rightarrow\ \Leftrightarrow</math> |
|||
<math>\Longleftarrow\ \Longrightarrow\ \Longleftrightarrow</math> |
|||
|----- |
|||
|رموز أخرى |
|||
|{{Code|\pm \mp \hbar \wr \dagger \ddagger}} |
|||
{{Code|\infty \ \vdash \ \top \bot \models \vdots \ddots \imath \; \ell}} |
|||
{{Code|\Re \; \Im \; \wp \; \mho}} |
|||
|<math>\pm \mp \hbar \wr \dagger \ddagger </math> |
|||
<math>\infty \ \vdash \ \top \bot \models \vdots \ddots \imath \; \ell </math> |
|||
<math>\Re \; \Im \; \wp \; \mho</math> |
|||
|} |
|||
== أُسُس، أدِلّة == |
|||
{| class="wikitable" border="1" |
|||
! rowspan="2" | الوظيفة !! rowspan="2" | الصيغة !! colspan="2" | ماذا يظهر |
|||
|----- |
|||
!في |
|||
'''HTML''' |
|||
!في |
|||
'''PNG''' |
|||
|----- |
|||
|[[رفع (رياضيات)|أس]] |
|||
|3^10 |
|||
|<math>a^2</math> |
|||
|<math>a^2 \,\!</math> |
|||
|----- |
|||
|دليل |
|||
|a_2 |
|||
|<math> a_2 </math> |
|||
|<math>a_2 \,\!</math> |
|||
|----- |
|||
| rowspan="2" | تجميع |
|||
|{{Code|a^{2+2} |
|||
}} |
|||
|<math>a^{2+2}</math> |
|||
|<math>a^{2+2} \,\!</math> |
|||
|----- |
|||
|{{Code|a_{i,j} |
|||
}} |
|||
|<math>a_{i,j}</math> |
|||
|<math>a_{i,j} \,\!</math> |
|||
|----- |
|||
|تأليف أس و دليل |
|||
|x_2^3 |
|||
|<math>x_2^3</math> |
|||
|<math>x_2^3 \,\!</math> |
|||
|----- |
|||
|دليل و أس سابق |
|||
|{{Code|{}_1^2\!X_3^4}} |
|||
| colspan="2" |<math>{}_1^2\!X_3^4</math> |
|||
|----- |
|||
|[[مشتق (رياضيات)|مشتق]] |
|||
(جيد) |
|||
|{{Code|x'}} |
|||
|<math>x'</math> |
|||
|<math>x' \,\!</math> |
|||
|----- |
|||
|مشتق |
|||
(سيئ في |
|||
HTML) |
|||
|x^\prime |
|||
|<math>x^\prime</math> |
|||
|<math>x^\prime \,\!</math> |
|||
|----- |
|||
|مشتق |
|||
(سيئ في |
|||
PNG) |
|||
|x\prime |
|||
|<math>x\prime</math> |
|||
|<math>x\prime \,\!</math> |
|||
|----- |
|||
|مشتقات زمنية |
|||
|{{Code|\dot{x}, \ddot{x} |
|||
}} |
|||
| colspan="2" |<math>\dot{x}, \ddot{x}</math> |
|||
|----- |
|||
|تسطير و سطر فوق |
|||
|{{Code|\hat a \bar b \vec c \overline {g h i} \underline {j k l}}} |
|||
| colspan="2" |<math>\hat a \ \bar b \ \vec c\ \overline {g h i} \ \underline {j k l}</math> |
|||
|----- |
|||
|متجهات و زوايا |
|||
|{{Code|\vec U \overrightarrow{AB} \widehat {POQ<nowiki>}</nowiki>}} |
|||
| colspan="2" |<math>\vec U\ \ \overrightarrow{AB}\ \ \widehat {POQ} </math> |
|||
|----- |
|||
|[[مجموع (علم الحساب)|مجموع]] |
|||
|{{Code|1=\sum_{k=1}^N k^2}} |
|||
| colspan="2" |<math>\sum_{k=1}^N k^2</math> |
|||
|----- |
|||
|[[جداء (رياضيات)|جداء]] |
|||
|{{Code|1=\prod_{i=1}^N x_i}} |
|||
| colspan="2" |<math>\prod_{i=1}^N x_i</math> |
|||
|----- |
|||
|[[نهاية (رياضيات)|نهاية]] |
|||
|{{Code|\lim_{n \to \infty}x_n}} |
|||
| colspan="2" |<math>\lim_{n \to \infty}x_n</math> |
|||
|----- |
|||
|[[تكامل]] معرف أو غير معرف |
|||
|{{Code|\int \frac{1}{1+t^2}\, dt \int_{-N}^{N} e^x\, dx}} |
|||
| colspan="2" |<math>\int \frac{1}{1+t^2}\, dt \int_{-N}^{N} e^x\, dx</math> |
|||
|----- |
|||
|[[تكامل خطي]] مغلق |
|||
|{{Code|\oint_{C} x^3\, dx + 4y^2\, dy}} |
|||
| colspan="2" |<math>\oint_{C} x^3\, dx + 4y^2\, dy</math> |
|||
|----- |
|||
|[[تكامل متعدد|تكامل ثنائي]] |
|||
|{{Code|\iint e^{-\frac{x^2+y^2}{2}\, dx dy}} |
|||
| colspan="2" |<math>\iint e^{-\frac{x^2+y^2}{2}}\, dx dy</math> |
|||
|----- |
|||
|[[تقاطع (نظرية المجموعات)|تقاطع]] |
|||
|{{Code|\bigcap_1^{n} p}} |
|||
| colspan="2" |<math>\bigcap_1^{n} p</math> |
|||
|----- |
|||
|[[اتحاد (نظرية المجموعات)|إتحاد]] |
|||
|{{Code|\bigcup_1^{k} p}} |
|||
| colspan="2" |<math>\bigcup_1^{k} p</math> |
|||
|}<div dir="ltr"></div> |
|||
== قسمة، مصفوفات، سطور متعددة == |
|||
{| class="wikitable" border="1" |
|||
!الوظيفة |
|||
!الصيغة |
|||
!ماذا يظهر |
|||
|- |
|||
|[[قسمة (رياضيات)|قسمة]] |
|||
|{{Code|\frac{2}{4} }} أو {{Code|{2 \over 4} }} |
|||
|<math>\frac{2}{4}</math> |
|||
|- |
|||
| rowspan="2" |[[كسر مستمر|كسور مستمرة]] |
|||
|{{كود|1=x = a_0 + \frac{1}{a_1 + \frac{1}{a_2 + \frac{1}{a_3+\cdots} } } }} |
|||
|<math>x = a_0 + \frac{1}{a_1 + \frac{1}{a_2 + \frac{1}{a_3+\cdots} } }</math> |
|||
|- |
|||
|{{Code|1=x = a_0 + \cfrac{1}{a_1 + \cfrac{1}{a_2 + \cfrac{1}{a_3+\cdots} } } }} |
|||
|<math>x = a_0 + \cfrac{1}{a_1 + \cfrac{1}{a_2 + \cfrac{1}{a_3+\cdots} } }</math> |
|||
|----- |
|||
|معاملات ثنائية، [[توفيق (رياضيات)|توفيقات]] |
|||
|{{Code|{n \choose k} }} أو {{Code|C_n^k}} |
|||
|<math>{n \choose k}</math> أو <math>C_n^k</math> |
|||
|----- |
|||
| rowspan="7" |[[مصفوفة (رياضيات)|مصفوفات]] |
|||
|{{Code|\begin{pmatrix} x & y \\ z & v \end{pmatrix} }} |
|||
|<math>\begin{pmatrix} x & y \\ z & v \end{pmatrix}</math> |
|||
|----- |
|||
|{{Code|\begin{bmatrix} 0 & \cdots & 0 \\ \vdots & \ddots & \vdots \\ 0 & \cdots & 0\end{bmatrix} }} |
|||
|<math>\begin{bmatrix} 0 & \cdots & 0 \\ \vdots & \ddots & \vdots \\ 0 & \cdots & 0\end{bmatrix}</math> |
|||
|----- |
|||
|{{Code|\begin{Bmatrix} x & y \\ z & v \end{Bmatrix} }} |
|||
|<math>\begin{Bmatrix} x & y \\ z & v \end{Bmatrix}</math> |
|||
|----- |
|||
|{{Code|\begin{vmatrix} x & y \\ z & v \end{vmatrix} }} |
|||
|<math>\begin{vmatrix} x & y \\ z & v \end{vmatrix}</math> |
|||
|----- |
|||
|{{Code|\begin{Vmatrix} x & y \\ z & v \end{Vmatrix} }} |
|||
|<math>\begin{Vmatrix} x & y \\ z & v \end{Vmatrix}</math> |
|||
|----- |
|||
|{{Code|\begin{matrix} x & y \\ z & v \end{matrix} }} |
|||
|<math>\begin{matrix} x & y \\ z & v \end{matrix}</math> |
|||
|- |
|||
|{{Code|\begin{smallmatrix} a & b \\ c & d \end{smallmatrix} }} |
|||
|<math>\begin{smallmatrix} a & b \\ c & d \end{smallmatrix}</math> |
|||
|- |
|||
|الجداول |
|||
|{{Code|\begin{array}{c{{!}}r{{!}}l} \rm center & \rm right & \rm left \\ \hline c & r & l \end{array} }} |
|||
|<math>\begin{array}{c|r|l} \rm center & \rm right & \rm left \\ \hline c & r & l \end{array} </math> |
|||
|----- |
|||
|تمييز الحالات |
|||
|{{Code|1=f(n)=\left\{\begin{matrix} n/2, & \mbox{if }n\mbox{is even} \\ 3n+1, & \mbox{if }n\mbox{ is odd} \end{matrix}\right.}} |
|||
|<math>f(n)=\left\{\begin{matrix} n/2, & \mbox{if }n\mbox{ is even} \\ 3n+1, & \mbox{if }n\mbox{ is odd} \end{matrix}\right.</math> |
|||
|----- |
|||
|معادلات في عدة سطور |
|||
|{{Code|1=\begin{align}f(n+1) &= (n+1)^2 \\ &= n^2 + 2n + 1 \end{align} }} |
|||
|<math>\begin{align}f(n+1) &= (n+1)^2 \\ &= n^2 + 2n + 1 \end{align} </math> |
|||
|- |
|||
| rowspan="2" |حاصرات |
|||
|{{Code|\overbrace{1+2+\cdots+100}^{5050} }} |
|||
|<math>\overbrace{1+2+\cdots+100}^{5050} </math> |
|||
|- |
|||
|{{Code|\underbrace{a+b+\cdots+z}_{26} }} |
|||
|<math>\underbrace{a+b+\cdots+z}_{26} </math> |
|||
|- |
|||
| rowspan="4" |تراكب |
|||
|{{Code|1=x \stackrel{?}{=} y}} |
|||
|<math>x \stackrel{?}{=} y</math> |
|||
|- |
|||
|{{Code|1=x \overset{?}{=} y}} |
|||
|<math>x \overset{?}{=} y </math> |
|||
|- |
|||
|{{Code|1=x \underset{?}{=} y}} |
|||
|<math>x \underset{?}{=} y </math> |
|||
|- |
|||
|{{Code|x \xrightarrow{\text {text} } y, x \xleftarrow{\text {text} } y}} |
|||
|<math>x \xrightarrow{\text {text} } y, x \xleftarrow{\text {text} } y </math> |
|||
|} |
|||
== نص مشطوب == |
== نص مشطوب == |
نسخة 12:19، 26 مارس 2020
انطلاقا من يناير 2003، الصيغ الرياضية في ويكيبيديا يمكن كتابتها بنظام تخ TeX.
القواعد الأساسية كالآتي:
- الصيغ الرياضية توضع بين <math>...</math>.
- الرموز + - = / ' | * < > ( ) يمكن أن تدرج مباشرة.
- داخل صيغة يمكن تجميع صيغ باستعمال العلامات {}، ذلك لتمثيل صيغ أسية مثلا.
الدوال
الوظيفة | الصيغة | ماذا يظهر |
---|---|---|
دوال.
(جيد) |
\sin x + \ln y +\sgn z
|
|
دوال
(سيئ) |
sin x + ln y + sgn z
|
|
دوال غير معيارية | \operatorname{function}
|
|
دوال مثلثية | \sin \cos \tan \cot \sec \csc
|
|
دوال مثلثية عكسية | \arcsin \arccos \arctan \arcsec \arccsc
|
|
دوال زائدية | \sinh\ \cosh\ \tanh\ \coth
|
|
دوال التحليل | \lim \sup \inf \limsup \liminf \log \ln \lg \exp
|
|
دوال الجبر | \det \deg \dim \hom \ker
|
رموز خاصة
الوظيفة | الصيغة | ماذا يظهر |
---|---|---|
التشكيلات | \hat o \acute o \dot o \ddot o \vec o \check o \grave o \breve o \widehat {abc} \tilde o \bar o
|
|
نص في صيغة (غير مدعوم بالعربية) | \text{Text}
|
|
عمليات ثنائية | \star \times \circ \cdot \bullet \cap \cup \sqcup \vee \wedge \odot \oslash \oplus \ominus \otimes \div \pm \mp \triangle \triangleleft \triangleright
|
|
العمليات الكبيرة والتكاملات (لمزيد من رموز التكامل، انظر قالب:Oiint، و قالب:Oiiint، و قالب:Intorient.) | \sum \prod \coprod \int \iint \iiint \iiiint \oint \bigcup \bigcap \bigsqcup \bigvee \bigwedge \bigoplus \bigotimes \bigodot \biguplus
|
|
حذف | x + \cdots + y أو x + \ldots + y
|
أو |
محددات | ( ) [ ] \{ \} \lfloor \rfloor \lceil \rceil \langle \rangle / \backslash | \| \uparrow \Uparrow \downarrow \Downarrow \updownarrow \Updownarrow |
|
الحسابيات التوافقية | s_k \equiv 0 \pmod{m} |
|
الاشتقاق | \nabla \partial x \ dx \dot x \ddot y |
|
المنطق | \forall \exists \lnot \land \lor \to \leftrightarrow \Rightarrow \Leftarrow \Leftrightarrow \vdash \models |
|
المجموعات | \emptyset \varnothing \cap \cup \setminus \smallsetminus |
|
الجذور | \sqrt{2}\approx\pm 1,4 |
|
\sqrt[n]{x} |
||
العلاقات | \sim \ \simeq \ \cong \ \le \ \ge \ \equiv \ \approx \ = \ \propto |
|
علاقات المجموعات | \subset \subseteq \supset \supseteq \in \ni \notin
|
|
نفي العلاقات (للنفي، إستخدم البادئة \not )
|
\not\sim \ \not\simeq \ \not\cong \ \not\leq \ \not\geq \ \not\equiv \ \not\approx \ \ne\ \not\propto
|
|
الهندسة | \triangle \angle 45^\circ
|
|
أسهم | \leftarrow \rightarrow \leftrightarrow
|
|
\Leftarrow \Rightarrow \Leftrightarrow
|
| |
رموز أخرى | \pm \mp \hbar \wr \dagger \ddagger
|
|
أُسُس، أدِلّة
الوظيفة | الصيغة | ماذا يظهر | |
---|---|---|---|
في
HTML |
في
PNG | ||
أس | 3^10 | ||
دليل | a_2 | ||
تجميع | a^{2+2}
|
||
a_{i,j}
|
|||
تأليف أس و دليل | x_2^3 | ||
دليل و أس سابق | {}_1^2\!X_3^4
|
||
مشتق
(جيد) |
x'
|
||
مشتق
(سيئ في HTML) |
x^\prime | ||
مشتق
(سيئ في PNG) |
x\prime | ||
مشتقات زمنية | \dot{x}, \ddot{x}
|
||
تسطير و سطر فوق | \hat a \bar b \vec c \overline {g h i} \underline {j k l }
|
||
متجهات و زوايا | \vec U \overrightarrow{AB} \widehat {POQ}
|
||
مجموع | \sum_{k=1}^N k^2
|
||
جداء | \prod_{i=1}^N x_i
|
||
نهاية | \lim_{n \to \infty}x_n
|
||
تكامل معرف أو غير معرف | \int \frac{1}{1+t^2}\, dt \int_{-N}^{N} e^x\, dx
|
||
تكامل خطي مغلق | \oint_{C} x^3\, dx + 4y^2\, dy
|
||
تكامل ثنائي | \iint e^{-\frac{x^2+y^2}{2}\, dx dy
|
||
تقاطع | \bigcap_1^{n} p
|
||
إتحاد | \bigcup_1^{k} p
|
قسمة، مصفوفات، سطور متعددة
الوظيفة | الصيغة | ماذا يظهر |
---|---|---|
قسمة | \frac{2}{4} أو {2 \over 4}
|
|
كسور مستمرة | x = a_0 + \frac{1}{a_1 + \frac{1}{a_2 + \frac{1}{a_3+\cdots} } }
|
|
x = a_0 + \cfrac{1}{a_1 + \cfrac{1}{a_2 + \cfrac{1}{a_3+\cdots} } }
|
||
معاملات ثنائية، توفيقات | {n \choose k} أو C_n^k
|
أو |
مصفوفات | \begin{pmatrix} x & y \\ z & v \end{pmatrix}
|
|
\begin{bmatrix} 0 & \cdots & 0 \\ \vdots & \ddots & \vdots \\ 0 & \cdots & 0\end{bmatrix}
|
||
\begin{Bmatrix} x & y \\ z & v \end{Bmatrix}
|
||
\begin{vmatrix} x & y \\ z & v \end{vmatrix}
|
||
\begin{Vmatrix} x & y \\ z & v \end{Vmatrix}
|
||
\begin{matrix} x & y \\ z & v \end{matrix}
|
||
\begin{smallmatrix} a & b \\ c & d \end{smallmatrix}
|
||
الجداول | \begin{array}{c|r|l} \rm center & \rm right & \rm left \\ \hline c & r & l \end{array}
|
|
تمييز الحالات | f(n)=\left\{\begin{matrix} n/2, & \mbox{if }n\mbox{is even} \\ 3n+1, & \mbox{if }n\mbox{ is odd} \end{matrix}\right.
|
|
معادلات في عدة سطور | \begin{align}f(n+1) &= (n+1)^2 \\ &= n^2 + 2n + 1 \end{align}
|
|
حاصرات | \overbrace{1+2+\cdots+100}^{5050}
|
|
\underbrace{a+b+\cdots+z}_{26}
|
||
تراكب | x \stackrel{?}{=} y
|
|
x \overset{?}{=} y
|
||
x \underset{?}{=} y
|
||
x \xrightarrow{\text {text} } y, x \xleftarrow{\text {text} } y
|
نص مشطوب
يتيح لك ذلك شطب عناصر النص في الصيغ الرياضية، على سبيل المثال عندما تنعدم بعض العناصر.
الوظيفة | الصيغة | ماذا يظهر |
---|---|---|
مشطوب على اليمين | \cancel{5y}
|
|
مشطوب على اليسار | \bcancel{5y}
|
|
مشطوب | \xcancel{5y}
|
|
مشطوب مع قيمة | \cancelto{0}{5y}
|
حروف ورموز
الوظيفة | الصيغة | ماذا يظهر |
---|---|---|
حروف يونانية كبيرة (بدون أوميكرون) | \Alpha \Beta \Gamma \Delta \Epsilon \Zeta \Eta \Theta \Iota \Kappa \Lambda \Mu \Nu \Xi O \Pi \Rho \Sigma \Tau \Upsilon \Phi \Chi \Psi \Omega
|
|
حروف يونانية صغيرة (بدون أوميكرون) | \alpha \beta \gamma \delta \epsilon \varepsilon \zeta \eta \theta \iota \kappa \lambda \mu \nu \xi o \pi \varpi \rho \sigma \varsigma \tau \upsilon \phi \varphi \chi \psi \omega
|
|
الكتابة الغليظة (للمتجهات) | \mathbf{x}\cdot\mathbf{y} = 0
|
|
Fraktur | \mathfrak{a b c d e f g h i j k l m}
|
|
حروف مجوفة / مجموعة الأعداد | \mathbb{ABCDEFGHIJKLMNOPQRSTUVWXYZ} \mathbb{abcdefghijklmnopqrstuvwxyz}
|
|
\N \Z \Q \R \C \H (من المستحسن استعمال هذه الاختصارات)
|
||
غليظ | \mathbf{ABCDEFGHIJKLMNOPQRSTUVWXYZ}
|
|
روماني | \mathrm{ABCDEFGHIJKLMNOPQRSTUVWXYZ}
|
|
عادي | ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz 1234567890 |
|
يدوي | \mathcal{ABCDEFGHIJKLMNOPQRSTUVWXYZ}
|
|
عبري | \aleph \beth \daleth \gimel
|
تحديد في المعادلات الكبيرة
سيئ | ( \frac{1}{2} )^n
|
|
حسن | \left ( \frac{1}{2} \right )^n
|
يمكننا استعمال \left
و \right
في عدة حالات:
الوظيفة | الصيغة | ماذا يظهر |
---|---|---|
قوسان | \left( A \right)
|
|
معقوفتان / حاضنتان | \left[ A \right]
|
|
حاصرتان | \left\{ A \right\}
|
|
شارتان | \left\langle A \right\rangle
|
|
شريطان عموديان | |A| أو \left\vert A \right\vert
|
|
استخدم \left و \right
لإظهار واحد فقط من المحددات. |
\left. {A \over B} \right\} \to X
|
الفراغات
TeX تسير معظم مشاكل الفراغات بطريقة تلقائية، لكن يمكن تحديد الفراغ يدويا في بعض الحالات.
الوظيفة | الصيغة | ماذا يظهر |
---|---|---|
فراغ كبير مزدوج
(double quad space) |
a \qquad b | |
فراغ كبير
(quad space) |
a \quad b | |
فراغ متوسط | a\ b | |
فراغ متوسط | a\;b | |
فراغ رقيق | a\,b | |
عدم وجود فراغ | ab | |
فراغ سالب | a\!b |
تلميح
لأظهار صيغة على هيئة صورة, يكفي إضافة فراغ رقيق في نهاية الصيغة : \,
<math>a(1+e^2/2)</math> تعطي
<math>a(1+e^2/2)\,</math> تعطي
تلوين الصيغة
<math>{\color{Blue}x^2}+{\color{Brown}2x}-{\color{OliveGreen}1}</math>
نتحصل على:
اجمع الصيغة التي تريد تلوينها بلون موحد في {} و استعمل color{لون
} قبل الصيغة.
<math>{\color{Blue}x}{\color{red}^2}+{\color{Brown}2x}-{\color{OliveGreen}1}</math>
نتحصل على:
الألوان المدعومة
أمثلة
متعدّدة الحدود من الدرجة الثانية
مثال
<math>x_1 = a^2 + b^2 + c^2 </math>
معادلة من الدرجة الثانية
مثال
<math>x_{1,2}=\frac{-b\pm\sqrt{b^2-4ac}}{2a}</math>
علامات الحصر والكسور
مثال
<math>\left(3-x\right) \times \left( \frac{2}{3-x} \right) =
\left(3-x\right) \times \left( \frac{3}{2-x} \right)</math>
علامات الحصر والكسور الطويلة
مثال
<math>2 = \left( \frac{\left(3-x\right) \times 3}{2-x} \right)</math>
تحويل إلى صورة
مثال
<math>4-2x = 9-3x \!</math>
مثال
<math>-2x+3x = 9-4 \!</math>
جمع
مثال
<math>\sum_{m=1}^\infty\sum_{n=1}^\infty\frac{m^2\,n}
{3^m\left(m\,3^n+n\,3^m\right)}</math>
مثال
<math>B(u) = \sum_{k=0}^N {P_k}{N! \over k!(N - k)!}{u^k}(1 -
u)^{N-k}\,</math>
مثال
<math>{}_pF_q(a_1,...,a_p;c_1,...,c_q;z) = \sum_{n=0}^\infty
\frac{(a_1)_n\cdot\cdot\cdot(a_p)_n}{(c_1)_n\cdot\cdot\cdot(c_q)_n}\frac{z^n}{n!}\,</math>
مثال
<math>\phi_n(\kappa) =
0.033C_n^2\kappa^{-11/3},\,\,\,\frac{1}{L_0}<\!\!<\kappa<\!\!<\frac{1}{l_0}\,</math>
مثال
<math>f(x) = {a_0\over 2} + \sum_{n=1}^\infty a_n\cos\left({2n\pi x \over T}\right) +
b_n\sin\left({2n\pi x\over T}\right)\,</math>
مثال
<math>J_p(z) = \sum_{k=0}^\infty
\frac{(-1)^k\left(\frac{z}{2}\right)^{2k+p}}{k!\Gamma(k+p+1)}\,</math>
معادلات تفاضلية
مثال
<math>u'' + p(x)u' + q(x)u=f(x),\,\,\,x>a</math>
مثال
<math>|\bar{z}| = |z|, |(\bar{z})^n| = |z|^n, \arg(z^n) = n \arg(z)\,</math>
نهايات
مثال
<math>\lim_{z\rightarrow z_0} f(z)=f(z_0)\,</math>
جدول تغيرات دالة
مثال: جدول تغيرات الدالة مربع.
<math>\begin{array}{|c|lcccccr|}\hline
x & -\infty & & & 0 & & & & +\infty \\ \hline f'(x) & & - & & 0 & & + & & \\ \hline
f(x) & & \searrow & & 0 & & \nearrow & & \\ \hline
\end{array}</math>
تكامل
مثال
<math>\phi_n(\kappa) = \frac{1}{4\pi^2\kappa^2} \int_0^\infty
\frac{\sin(\kappa R)}{\kappa R} \frac{\partial}{\partial R}\left[R^2\frac{\partial
D_n(R)}{\partial R}\right]\,dR\,</math>
مثال
<math>u(x,y) = \frac{1}{\sqrt{2\pi}}\int_0^\infty
f(\xi)\left[g(|x+\xi|,y)+g(|x-\xi|,y)\right]\,d\xi\,</math>
مثال
<math>\int_0^1 \frac{1}{\sqrt{-\ln x}} dx\,</math>
مثال
<math>\int_0^\infty e^{-st}t^{x-1}\,dt,\,\,\,s>0\,</math>
مثال
<math>\int_0^\infty x^\alpha \sin(x)\,dx = 2^\alpha \sqrt{\pi}\,
\frac{\Gamma(\frac{\alpha}{2}+1)}{\Gamma(\frac{1}{2}-\frac{\alpha}{2})}\,</math>
مثال
<math>\int_a^x \int_a^s f(y)\,dy\,ds = \int_a^x f(y)(x-y)\,dy\,</math>
المتتابعة الحسابية وحالات الإحصاء
مثال
f(x) = \begin{cases}1 & -1 \le x < 0\\
\frac{1}{2} & x = 0\\x&0<x\le 1\end{cases}
دالة غاما
مثال
<math>\Gamma(n+1) = n \Gamma(n), \; n>0</math>
مثال
<math>\Gamma(z) = \int_0^\infty e^{-t} t^{z-1} \,dt\,</math>