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
関連記事
マル記号、バツ記号、マルの中にバツ記号をそれぞれ入力するには次のようにする。 例 $$\circ \times \otimes$$ 結果 美味しんぼ(70)【電子書籍】[ 雁屋哲 ]価格:605円(税 …
amsmath パッケージを使っておき、\begin{equation} と \end{equation} の数式中で \tag を使うと式番号を自分で指定したとおりに表示できる。(式番号の中に日本語 …
2023/01/18
matplotlib のグラフ作成と gnuplot との対応 比較
2022/10/14
pythonで配列(リスト)の、ある要素がわかっているときにその次の要素を取得する方法。