This shows you the differences between two versions of the page.
paper:latex:color [2022/03/29 03:36] odagawa created |
paper:latex:color [2022/04/11 14:30] (current) odagawa |
||
---|---|---|---|
Line 3: | Line 3: | ||
バージョンをアップデートするなどして内容を更新した際に,更新した部分の色が変わっているとわかりやすい.\\ | バージョンをアップデートするなどして内容を更新した際に,更新した部分の色が変わっているとわかりやすい.\\ | ||
プリアンブルに | プリアンブルに | ||
- | < | + | < |
\usepackage{color} | \usepackage{color} | ||
\newcommand{\red}[1]{\textcolor{red}{# | \newcommand{\red}[1]{\textcolor{red}{# | ||
</ | </ | ||
とし,色を変えたい部分を | とし,色を変えたい部分を | ||
- | < | + | < |
\red{hogehoge} | \red{hogehoge} | ||
</ | </ | ||
とすれば赤色になる.\\ | とすれば赤色になる.\\ | ||
他の色も同じだと思う. | 他の色も同じだと思う. |