tex

tex で数式の場所を右揃え・左揃えにする

投稿日:2021年2月3日 更新日:

align 環境のもとで、& をつけると右揃えや左揃えにすることができる。改行には \\ 記号を使う。

\begin{align*}
 f(x) = x^2 + 2x + 1 &\\
 g(x) = 2 &
\end{align*}

結果

-tex
-

執筆者:


comment

メールアドレスが公開されることはありません。 * が付いている欄は必須項目です

関連記事

no image

tex で文中の文字に \textcolor で色をつける方法

color パッケージを使っておき、本文中 \textcolor で色をつける。 例 \usepackage{color} \begin{document} {\bf \textcolor{red}{ …

no image

tex で箇条書きをする方法

箇条書きをしたい部分を\begin{\itemize} と\end{itemize} で囲い、項目ごとに \item で箇条書きをすることができる。 例 \begin{itemize}     \it …

no image

tex でギリシャ文字のベータ(β)を入力する方法

ベータ(β)は、ギリシャ文字の2番目の文字。数学等でよく使われる。 例 $\beta$ 結果

no image

tex で、集合の元でないことを表現する方法

\not \in を使う。 例 x \not \in A 結果

no image

tex で表を横にぶち抜きしたものを作成する方法

multicolumn を使う。 例 \begin{center} \begin{table}[] \begin{tabular}{|c|c|c|c|} \hline \multicolumn …