LoginSignup
12
4

More than 5 years have passed since last update.

指定箇所を赤字にする(LaTeX)

Posted at

LaTeXで指定箇所を赤字にしたいときは、プリアンブルに

\usepackage{color}

と書き、本文中で

\textcolor{red}{疲れた}

とすると、
疲れた
と表示することができる。

ただ、論文の修正箇所を赤字にする場合などは、赤字にする箇所が増えるので毎回これを書くのは面倒。
そんなときは、プリアンブルに

\newcommand{\red}[1]{\textcolor{red}{#1}}

を書いておくと、

\red{疲れた}

だけで済むので少し楽になる。

12
4
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
12
4