يتيح لك العنصر المخصّص <devsite-mathjax>
عرض تدوين رياضي في محتوى DevSite.
الاستخدام العام
أضِف عنصر <devsite-mathjax>
مخصّصًا مع السمة config
في أعلى الملف. العنصر <devsite-mathjax>
مستقل بذاته ولا يجب تضمينه سوى مرة واحدة في الصفحة.
في ما يلي مثال على معادلات حقل أينشتاين للعلاقة العامة مع عنصر <devsite-mathjax>
وسمة config
تم ضبطها على TeX-AMS-MML_SVG
.
المحدِّدات
وتحيط المُحدِّدات بالرمز الرياضي، ويمكن عرضها بشكل مستقل أو مضمّن.
مفردة
نظرية فيثاغورس التالية محاطة بـ $$
delimiters and wrapped
in a <div>
element. It is displayed on its own line.
The following Pythagorean theorem is surrounded by
\\[
and \\]
delimiters
and isn't wrapped in a <div>
element. It is displayed on its own line.
\[
a^2 + b^2 = c^2
\]
The following Pythagorean theorem is surrounded by \[
and \]
delimiters and
is wrapped in a <div>
element. It is displayed on its own line.
\[
a^2 + b^2 = c^2
\]
Inline
This inline equation of the area of a circle $ A = \pi{r^2} $ is displayed in
this Markdown paragraph by using $
delimiters.
This inline equation of a summation expression \( \sum_{i=1}^n X_i \) is
displayed in this Markdown paragraph by using \\(
and \\)
delimiters.
This inline equation of a straight line \(y=mx+b\) is displayed in this HTML
paragraph by using \(
and \)
delimiters.
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2022-03-14 (حسب التوقيت العالمي المتفَّق عليه)