latex背景颜⾊设置
有时候我们看⽩底⿊字的⽂档感觉不够护眼,想把背景latex⽣成的pdf背景调成绿⾊等。只需在/begin{document}前⾯加上这样⼀段:
% background color setting for eye-protecting
护眼设置\usepackage{color}
\definecolor{myGreen}{rgb}{0.76,0.93,0.63}
\definecolor{yellow}{rgb}{0.99,0.99,0.70}
\definecolor{white}{rgb}{1.0,1.0,1.0}
\definecolor{black}{rgb}{0.00,0.00,0.00}
\pagecolor{myGreen}