<devsite-mathjax>
맞춤 요소를 사용하면 DevSite 콘텐츠에 수학 표기법을 표시할 수 있습니다.
일반 사용법
파일 상단에 config
속성이 있는 <devsite-mathjax>
맞춤 요소를 추가합니다. <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 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2022-03-14(UTC)