1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

Qiitaでめちゃイケ記事を書くためのTeXの埋め込み方

Last updated at Posted at 2022-02-10

こんにちは。@takuthekingです。
n番煎じにはなりますが、Qiita上にTeX記法の埋め込み方を調べてみました。

これだけ知っとくべき

インラインで数式を書く時は$で囲む。段落として書く時は$$で囲む。

例えば、$e^x=1+x+\frac{1}{2}x^2+\cdots$はこんな感じで書きます。

$e^x=1+x+\frac{1}{2}x^2+\cdots$

TeX形式で複数行の数式を書きたい時はmathとの間に挟む。改行は\によって行う。

\begin{align}
e^x&=1+x+\frac{1}{2}x^2+\cdots \\
  &=\sum_{i=0}^\infty \frac{x^n}{n!}
\end{align}

は、こんな感じです。

<br>\begin{align}
<br>e^x&=1+x+\frac{1}{2}x^2+\cdots \\
<br>&=\sum_{i=0}^\infty \frac{x^n}{n!}
\end{align}
<br>```
</div>

Texの表記法については、[Qiitaの数式チートシート](https://qiita.com/PlanetMeron/items/63ac58898541cbe81ada)、[Qiita Markdown 書き方 まとめ](https://qiita.com/shizuma/items/8616bbe3ebe8ab0b6ca1)がくわしいのでこちらをご覧ください。

# 参考文献
[Qiitaの数式チートシート](https://qiita.com/PlanetMeron/items/63ac58898541cbe81ada)
[Qiita Markdown 書き方 まとめ](https://qiita.com/shizuma/items/8616bbe3ebe8ab0b6ca1)
1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?