Pages, Numbers 및 Keynote에서의 LaTeX와 MathML 지원에 관하여

Pages, Numbers 및 Keynote에서 LaTeX와 MathML을 사용하는 방법에 대해 알아보고 몇 가지 샘플 방정식을 살펴봅니다.

Pages, Numbers 및 Keynote는 LaTeX와 MathML을 지원하며 blahtex를 사용하여 MathML로 변환될 수 있는 모든 LaTeX 명령을 지원합니다. 추가로 지원되는 LaTeX 확장 기능은 아래에 나열되어 있습니다.

iBooks Author도 LaTeX와 MathML을 지원하지만, 이 앱은 더 이상 업데이트되거나 제공되지 않습니다.

iBooks Author에서 Pages로 전환하기에 대해 자세히 알아보기

iCloud.com의 Pages, Numbers 및 Keynote는 LaTeX와 MathML을 지원하지 않습니다.

LaTeX 명령

LaTeX에서는 일반적으로 아래 나열된 예와 같은 수학 모드 명령으로 방정식을 묶어야 합니다. Pages, Numbers, Keynote 및 iBooks Author의 방정식 편집기는 방정식을 더 쉽게 작성할 수 있도록 수학 모드로 기본 설정되므로 방정식에 수학 모드 명령을 추가할 필요가 없습니다.

  • \begin{math} … \end{math}

  • \begin{displaymath} … \end{displaymath}

  • \begin{equation} … \end{equation}

  • $ … $

  • $$ … $$

  • \( … \)

  • \[ … \]

단락 스타일을 상속받는 방정식에 텍스트를 추가하려면 \text{…}를 사용합니다. \text{...} 내 방정식 중첩은 지원되지 않습니다.

blahtex는 수학 모드에서 ASCII가 아닌 유니코드 문자를 일부만 지원하지만, 텍스트 모드에서는 전체 유니코드 문자 세트를 허용합니다. 저작권 기호, 악센트 부호가 있는 문자 등 특정 문자에 대한 자세한 내용은 blahtex 설명서의 2.22를 참조하십시오.

지원되는 LaTeX 명령(blahtex의 확장 기능) 및 MathML 요소와 속성은 아래에 나열되어 있습니다.

Pages, Numbers 및 Keynote에서 지원하는 LaTeX 명령

명령 또는 기호

\phantom{}

\color

\cancel

\underrightarrow, \underleftarrow, \underleftrightarrow

\lneq, \gneq, \lvertneq, \gvertneq

\thinspace, \medspace, \thickspace, \negthinspace, \negmedspace, \negthickspace

"\:", "\,", "\;", "\!", "\ "

\lmoustache, \rmoustache

\lgroup, \rgroup

\brace, \brack

\xleftarrow, \xrightarrow

\dddot, \ddddot

\copyright

\pounds

\diagup, \diagdown

\dag, \ddag, \dagger, \ddagger

\owns, \ni

{split}

Pages, Numbers 및 Keynote에서 지원하지 않는 LaTeX 명령

명령 또는 기호

참고

\mathring{}

\ae, \AE

\smallint

\idotsint

\euro

유니코드 기호. 텍스트 모드에서만 작동함

\varGamma

\cal

\mathcal{} 사용

\mathml{}

\center

[lrc] in \aligned

\fillin

\strut

\vphantom

\hphantom

\smash

\hspace

"\:", "\,", "\;" 또는 \phantom{} 사용

\mspace

\centernot

\buildrelover

\overset, \underset 사용

\tabular 관련 환경

\matrix 및 \aligned의 경우 제한적으로 지원

\sideset

\pmb, \boldmath, \unboldmath

\boldsymbol 사용

iBooks Author에서 지원하는 LaTeX 명령

명령 또는 기호

\phantom{}

\color

\cancel

\underrightarrow, \underleftarrow, \underleftrightarrow

\lneq, \gneq, \lvertneq, \gvertneq

\thinspace, \medspace, \thickspace, \negthinspace, \negmedspace, \negthickspace

"\:", "\,", "\;", "\!", "\ "

\lmoustache, \rmoustache

\lgroup, \rgroup

\brace, \brack

\xleftarrow, \xrightarrow

\dddot, \ddddot

iBooks Author에서 지원하지 않는 LaTeX 명령

명령 또는 기호

참고

\mathring{}

\copyright

유니코드 기호. 텍스트 모드에서만 작동함

\pounds

유니코드 기호. 텍스트 모드에서만 작동함

\ae, \AE

\smallint

\diagup, \diagdown

\idotsint

\euro

유니코드 기호. 텍스트 모드에서만 작동함

\varGamma

\cal

\mathcal{} 사용

\mathml{}

\center

[lrc] in \aligned

\fillin

\strut

\vphantom

\hphantom

\smash

\dag, \ddag

\dagger, \ddagger 지원

{split}

\hspace

"\:", "\,", "\;" 또는 \phantom{} 사용

\mspace

\centernot

\buildrelover

\overset, \underset 사용

\owns

\ni 사용

\tabular 관련 환경

\matrix 및 \aligned의 경우 제한적으로 지원

\sideset

\pmb, \boldmath, \unboldmath

\boldsymbol 사용

LaTeX 패키지

다음 LaTeX 패키지는 지원되지 않습니다.

패키지

참고

cancel

\cancel 사용

ams

\underrightarrow, \underleftarrow, \underleftrightarrow 사용

centernot

MathML 요소

Pages, Numbers, Keynote 및 iBooks Author에서 지원하는 MathML 요소에 대해 알아보려면 아래 표를 참조하십시오.

지원되는 MathML 요소

요소

참고

mo

mi

mn

mrow

menclose

일부 묶는 형식은 지원되지 않음

mtable

일부 속성은 지원되지 않음

mtr

mtd

mfrac

msup

msub

msubsup

munder

mover

munderover

mstack

msrow

msgroup

mscarries

mscarry

msline

mlongdiv

mpadded

mspace

maction

Pages, Numbers, Keynote 및 iBooks Author는 첫 번째 MathML 하위 항목을 지원하고 나머지는 무시함

mphantom

mfenced

mroot

msqrt

none

mstyle

mtext

ms

maligngroup

malignmark

부분적으로 지원되는 MathML 요소

요소

참고

mlabeledtr

다음으로 처리됨

semantics

행으로 처리됨

annotation

사실상 무시됨

지원되지 않는 MathML 요소

요소

참고

mmultiscripts

mprescripts

mglyph

merror

{ContExp}

내용 MathML 요소는 지원되지 않습니다.

{ContExp}로 다룰 수 있는 요소를 참조하십시오.

MathML 속성

Pages, Numbers, Keynote 및 iBooks Author에서 지원하는 MathML 속성에 대해 알아보려면 아래 표를 참조하십시오.

지원되는 MathML 속성

다음 MathML 속성은 Pages, Numbers, Keynote 및 iBooks Author에서 지원됩니다.

요소

속성

기본값은 다음에서 상속 가능

값(스펙의 서브셋인 경우 값 구문)

*

mathcolor

mstyle

scriptlevel

아니요

mstyle

display

아니요

mstyle

scriptminsize

아니요

mstyle

scriptsizemultiplier

아니요

mstyle

해당 사항 없음

mo

lspace

mo

rspace

mo

largeop

mo

minsize

mo

maxsize

mo

accent

mo

movablelimits

mo

symmetric

mo

stretchy

mo

form

mspace

width

mspace

height

mspace

depth

ms

lqoute

ms

rqoute

mfrac

linethickness

mfrac

numalign

mfrac

denomalign

mover

accent

mover

align

munderover

accent

munderover

underaccent

munder

accentunder

munder

align

mtable

rowalign

mtable

columnalign

mtable

columnspacing

mtable

displaystyle

mtr

rowalign

mtr

columnalign

mtd

rowalign

mtd

columnalign

mstack

align

top | bottom | center | baseline | axis

msrow

position

msgroup

position

msgroup

shift

mscarries

position

mscarries

crossout

updiagonalstrike | downdiagonalstrike | horizontalstrike | verticalstrike

mscarry

crossout

updiagonalstrike | downdiagonalstrike | horizontalstrike | verticalstrike

msline

length

msline

position

mpadded

height

아니요

mpadded

depth

아니요

mpadded

width

아니요

mpadded

lspace

아니요

mpadded

voffset

아니요

mfenced

open

mfenced

close

mfenced

separators

maligngroup

groupalign

malignmark

edge

부분적으로 지원되는 MathML 속성

다음 MathML 속성은 Pages, Numbers, Keynote 및 iBooks Author에서 부분적으로 지원됩니다.

요소

속성

기본값은 다음에서 상속 가능

값(스펙의 서브셋인 경우 값 구문)

참고

mo, mn, mi

mathvariant

initial, stretched, looped, tailed는 지원되지 않음

mtable

align

아니요

top | bottom | center | baseline | axis

rownumber는 지원되지 않음

menclose

notation

updiagonalstrike | downdiagonalstrike | horizontalstrike | verticalstrike

더 알아보기

mlongdiv

longdivstyle

아니요

lefttop

지원되지 않는 MathML 속성

요소

속성

참고

*

mathbackground

mstyle

infixlinebreakstyle

mstyle

veryverythinmathspace, verythinmathspace, thinmathspace, mediummathspace, thickmathspace, verythickmathspace, veryverythickmathspace

MathML 3에서 더 이상 사용되지 않습니다.

mi, mn, mo, ms, mstyle, mtext

mathsize

mi, mn, mo, ms, mstyle, mtext

dir

mi, mn, mo, ms, mstyle, mtext

fontfamily, fontweight, fontstyle, fontsize, color, background

MathML 3에서 더 이상 사용되지 않습니다.

mo

linebreak

mo

lineleading

mo

linebreakstyle

mo

linebreakmultchar

mo

identalign

mo

identshift

mo

identtarget

mo

identalignfirst

mo

identshiftfirst

mo

identalignlast

mo

identshiftlast

mo

fence

시각적인 레이아웃에 영향을 주지 않음

mo

separator

시각적인 레이아웃에 영향을 주지 않음

mspace

linebreak

mfrac

bevelled

mtable

groupalign

mtable

alignmentscope

mtable

columnwidth

mtable

width

mtable

rowspacing

mtable

rowlines

mtable

columnlines

mtable

frame

mtable

framespacing

mtable

equalrows

mtable

equalcolumns

mtable

side

mtable

minlabelspacing

mtr

groupalign

mtd

rowspan

mtd

columnspan

mtd

groupalign

mstack

stackalign

mstack

charalign

mstack

charspacing

mlongdiv

position

mlongdiv

shift

mscarries

location

mscarries

scriptsizemultiplier

mscarry

location

msline

leftoverhang

msline

rightoverhang

msline

mslinethickness

msub

subscriptshift

msup

superscriptshift

msubsup

superscriptshift

msubsup

subscriptshift

mrow

ltr

maction

selection

maction

actiontype

샘플 방정식

기본 수학

LaTeX

렌더링 결과

0.15 \cdot \frac{1}{8}

No alt supplied for Image

-22 \div 11

No alt supplied for Image

2x + 3y \ge -21

No alt supplied for Image

3(b-5) < -6(b+5)

No alt supplied for Image

\left \{ 6 \tfrac{4}{5}, \, \sqrt{49}, \, 6.\overline{3}, \, 7\sqrt{5} \right \}

No alt supplied for Image

정렬

LaTeX

렌더링 결과

\begin{aligned} 9 && < && 15 && < && 16 \\ \sqrt{9} && < && \sqrt{15} && < && \sqrt16 \\ 3 && < && \sqrt{15} && < && 4 \end{aligned}

No alt supplied for Image

\begin{aligned} \text{first number} & & \text{second number} \\ 10 \mbox{\phantom{=digit}} & \cdot & 9 \mbox{\phantom{=digit}} \end{aligned}

방정식 요소를 정렬하는 데 사용하면 좋은 팁은 \mbox{\phantom{space}}를 사용하는 것입니다. 괄호 (space) 안에 있는 내용은 생성되는 공백의 양으로 간주됩니다. 위 예에서 =digit에 문자를 더 추가하면 10 • 9 사이에 공백이 추가로 생깁니다.

No alt supplied for Image

\begin{aligned} N &= 0.555\ldots \\ {\color{red}10}N &= {\color{red} 10}(0.555\ldots) \\ 10N &= 5.555\ldots \end{aligned}

No alt supplied for Image

색상

LaTeX

렌더링 결과

\begin{aligned} N &= 0.555\ldots \\ {\color{red}10}N &= {\color{red} 10}(0.555\ldots) \\ 10N &= 5.555\ldots \end{aligned}

No alt supplied for Image

\sum_{\color{0A7C10}n=0}^{\color{red}\infty} a_n x^n

No alt supplied for Image

적분

LaTeX

렌더링 결과

\textstyle \int_{-N}^{N} e^x\, dx

No alt supplied for Image

\int_{-N}^{N} e^x\, dx

No alt supplied for Image

\textstyle은 인라인 방정식과 표시 방정식을 구별합니다.

행렬

LaTeX

렌더링 결과

\begin{matrix} a & b \\ c & d \\ \end{matrix}

No alt supplied for Image

\begin{matrix} c(1)^{n-1} & \dots & c(1)^2 & c(1) & 1 \\ c(2)^{n-1} & \dots & c(2)^2 & c(2) & 1 \\ \vdots & \ddots & \vdots & \vdots & \vdots \\ c(n)^{n-1} & \dots & 1 & 0 & 0 \end{matrix}

No alt supplied for Image

|x| = \begin{cases} \phantom{-} x& \text{if } x \geq 0 \\ -x & \text{if } x<0 \end{cases}

No alt supplied for Image

R_\theta = \begin{bmatrix} \cos \theta & -\sin \theta \\ \sin \theta & \phantom{-} \cos \theta \end{bmatrix}

No alt supplied for Image

공통 방정식 요소

LaTeX

렌더링 결과

\(\Delta S^\circ=\sum S^{\circ }\text{products} - \sum S^{\circ }\text{reactants}\)

No alt supplied for Image

HF(aq) +H_{2}O(l) \rightleftharpoons H_{3}O^{+} (aq) +F_{-}(aq)

No alt supplied for Image

\nabla \times \overrightarrow{\mathbf{B}} - \frac{1}{C} \frac{\delta \overrightarrow{\mathbf{E}}}{\delta t} = 4\pi \rho

No alt supplied for Image

x = \frac{- b\pm\sqrt{b^2-4a c}}{2a}

No alt supplied for Image

긴 연산

MathML

렌더링 결과

2 1 2,327 - 1,156 1,171

No alt supplied for Image

12 16.5 198 12 78 72 6.0 6.0 0

No alt supplied for Image

1 1 2 435 × 25 1 2175 870 10875

No alt supplied for Image

Pages, Numbers, Keynote 및 iBooks Author는 긴 나눗셈과 나머지에 대해 LaTeX를 지원하지 않습니다. 긴 나눗셈과 나머지에 대해 작업하려면 MathML을 사용해야 합니다.

더 알아보기

Apple이 제조하지 않은 제품에 관한 정보 또는 Apple의 관리 또는 테스트 대상이 아닌 독립적인 웹 사이트는 권장 또는 보증 없이 제공되는 것입니다. Apple은 타사 웹 사이트 또는 제품에 대한 선택, 성능 및 사용과 관련하여 발생하는 결과에 대해 책임을 지지 않습니다. Apple은 타사 웹 사이트의 정확성 또는 신뢰도에 대해 어떠한 언급도 하지 않습니다. 자세한 내용은 해당 업체에 문의하시기 바랍니다.

게시일: