mathbold에 대하여는 KTUG::259097참조. \mathbf, \boldmath, \mathbold의 모양이 다 다르고 적용되는 범위(greek, sym, var, func, num 등)도 조금씩 차이가 나므로 목적에 맞게 활용하여야 합니다.
color에 대해서는 LaTeX 2022-11-01 이후 버전에서 \mathcolor. TeXLive 2021 이전 버전에서는 안 될 수 있습니다.
첨자의 색상만 바꾸려 할 때는 _ 앞에 스페이스가 생기지 않도록 주의하십시오.
\documentclass{article} \usepackage{amsmath} \usepackage{amsfonts} \pagestyle{empty} \usepackage[mathbold]{mathfixs} \usepackage{xcolor} \begin{document} $\mathbold{P=P_\infty}$ %$ \textcolor{white}{\textbf{P=P_{\infty}}} $ BAD: $\mathcolor{blue}{\mathbold{P=P}}\mathcolor{red}{\mathbold{_{\infty}}}$ GOOD: $\mathbold{\mathcolor{blue}{P=P}_{\mathcolor{red}{\infty}}}$ \end{document}
KTUG 한국 텍 사용자 그룹
mathbold에 대하여는 KTUG::259097참조. \mathbf, \boldmath, \mathbold의 모양이 다 다르고 적용되는 범위(greek, sym, var, func, num 등)도 조금씩 차이가 나므로 목적에 맞게 활용하여야 합니다.
color에 대해서는 LaTeX 2022-11-01 이후 버전에서 \mathcolor. TeXLive 2021 이전 버전에서는 안 될 수 있습니다.
첨자의 색상만 바꾸려 할 때는 _ 앞에 스페이스가 생기지 않도록 주의하십시오.