color パッケージを使っておき、本文中 \textcolor で色をつける。
例
\usepackage{color}
\begin{document}
{\bf
\textcolor{red}{赤}
\textcolor{magenta}{マゼンタ}
\textcolor{yellow}{黄色}
\textcolor{green}{緑}
\textcolor{blue}{青}
}
\end{document}
結果

雑記
投稿日:
color パッケージを使っておき、本文中 \textcolor で色をつける。
\usepackage{color}
\begin{document}
{\bf
\textcolor{red}{赤}
\textcolor{magenta}{マゼンタ}
\textcolor{yellow}{黄色}
\textcolor{green}{緑}
\textcolor{blue}{青}
}
\end{document}
執筆者:seyanen
関連記事
tex で、ページ全体の体裁をそのままにして 分母と分子の間の距離を広げたり狭めたりするには、\raisebox を使う。 例 通常$$ a=\frac{\raisebox{0ex}[0ex][0ex …
マル記号、バツ記号、マルの中にバツ記号をそれぞれ入力するには次のようにする。 例 $$\circ \times \otimes$$ 結果 美味しんぼ(70)【電子書籍】[ 雁屋哲 ]価格:605円(税 …
amssymb パッケージを導入して、\checkmark でチェックマークが入力できる。 例 \usepackage{amssymb} \begin{document} $\checkmark \t …
2023/01/18
matplotlib のグラフ作成と gnuplot との対応 比較
2022/10/14
pythonで配列(リスト)の、ある要素がわかっているときにその次の要素を取得する方法。