הרכיב המותאם אישית <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 (שעון UTC).