この記事について
- Power Pointで数式のあるスライドを作るとき,以前はTeX2imgで数式の画像を作って貼り付けていたが,ツールを行き来するのがしんどいのでPower Point側だけで数式をサクサク書きたかった.
- Power PointやWordにおいても $ \mathrm\LaTeX $ ライクなコマンドを用いて数式が書けるが, $ \mathrm\LaTeX $ とコマンドが微妙に違うので,その違いをまとめることにする.
参考文献
- Word 2010での行形式による数式の挿入
表記について
ppt用の表記においては行頭から終端の$
の直前までの文字が意味を持っている(途中の半角スペースを飛ばさないように注意).
上付き・下付き文字
e^x
latex
e^x
ppt
e^x $
e^{x+y}
latex
e^{x+y}
ppt
e^(x+y) $
A = (a_{ij})
latex
A = (a_{ij})
ppt
A = (a_(ij) ) $
分数
\frac{1}{2}
latex
\frac{1}{2}
ppt
1/2 $
\frac{1}{x^2 + 5x + 6} = \frac{1}{(x+2)(x+3)}
latex
\frac{1}{x^2 + 5x + 6} = \frac{1}{(x+2)(x+3)}
ppt
1/x^2+5x+6 = 1/(x+2)(x+3) $
関数
f(x)
latex
f(x)
ppt
f(x) $
\sin^2 x + \cos^2 x = 1
latex
\sin^2 x + \cos^2 x = 1
ppt
sin^2 x + cos^2 x = 1 $
総和
\sum_{k=1}^N a_k
latex
\sum_{k=1}^N a_k
ppt
\sum_(k=1)^N a_k $
微分・積分
\int_1^e \frac{1}{x} \;dx
latex
\int_1^e \frac{1}{x} \;dx
ppt
\int_1^e 1/x dx $
\frac{dx}{dt} = v(t)
latex
\frac{dx}{dt} = v(t)
ppt
dx/dt = v(t) $
ベクトル・行列
E = \begin{pmatrix}
1 & 0 & 0 \\
0 & 1 & 0 \\
0 & 0 & 1
\end{pmatrix}
latex
E = \begin{pmatrix}
1 & 0 & 0 \\
0 & 1 & 0 \\
0 & 0 & 1
\end{pmatrix}
ppt
E = (\matrix(1&0&0@0&1&0@0&0&1) ) $
アルファベット
ギリシャ文字
Power Point でも $ \mathrm\LaTeX $ でも共通.
筆記体
\mathcal A\mathcal B\mathcal C\mathcal D\mathcal E\mathcal F\mathcal G\mathcal H\mathcal I\mathcal J\mathcal K\mathcal L\mathcal M\mathcal N\mathcal O\mathcal P\mathcal Q\mathcal R\mathcal S\mathcal T\mathcal U\mathcal V\mathcal W\mathcal X\mathcal Y\mathcal Z
latex(他の文字も同様)
\mathcal A
ppt(他の文字も同様)
\scriptA $
ボールド体
\mathbb A\mathbb B\mathbb C\mathbb D\mathbb E\mathbb F\mathbb G\mathbb H\mathbb I\mathbb J\mathbb K\mathbb L\mathbb M\mathbb N\mathbb O\mathbb P\mathbb Q\mathbb R\mathbb S\mathbb T\mathbb U\mathbb V\mathbb W\mathbb X\mathbb Y\mathbb Z
latex
\mathbb A
ppt
\doubleA $
ドイツ文字
\mathfrak A\mathfrak B\mathfrak C\mathfrak D\mathfrak E\mathfrak F\mathfrak G\mathfrak H\mathfrak I\mathfrak J\mathfrak K\mathfrak L\mathfrak M\mathfrak N\mathfrak O\mathfrak P\mathfrak Q\mathfrak R\mathfrak S\mathfrak T\mathfrak U\mathfrak V\mathfrak W\mathfrak X\mathfrak Y\mathfrak Z
latex
\mathfrak A
ppt
\frakturA $
花文字
\mathscr A\mathscr B\mathscr C\mathscr D\mathscr E\mathscr F\mathscr G\mathscr H\mathscr I\mathscr J\mathscr K\mathscr L\mathscr M\mathscr N\mathscr O\mathscr P\mathscr Q\mathscr R\mathscr S\mathscr T\mathscr U\mathscr V\mathscr W\mathscr X\mathscr Y\mathscr Z
latex
\mathscr A
※ Power Pointには花文字は無さそう