博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
LaTeX color&xcolor宏包的使用
阅读量:6966 次
发布时间:2019-06-27

本文共 988 字,大约阅读时间需要 3 分钟。

\documentclass{article}\usepackage{xeCJK}\usepackage{mathpazo}\usepackage{color,xcolor}% predefined color---black, blue, brown, cyan, darkgray, gray, green, lightgray, lime, magenta, olive, orange, pink, purple, red, teal, violet, white, yellow.\definecolor{light-gray}{gray}{0.95}    % 1.灰度\definecolor{orange}{rgb}{1,0.5,0}      % 2.rgb\definecolor{orange}{RGB}{255,127,0}    % 3.RGB\definecolor{orange}{HTML}{FF7F00}      % 4.HTML\definecolor{orange}{cmyk}{0,0.5,1,0}   % 5.cmyk\begin{document}%\pagecolor{yellow}          %设置背景色为黄色\textcolor{green}{绿色}     %1.方法一{\color{orange} 橙色}       %2.方法二\colorbox{red}{\color{black}红底黑字}\fcolorbox{red}{green}{红框绿背景} %框色+背景色\color{blue!20}\color{blue!20!black}\color{blue!20!black!30!green}  %a mixture of (20*0.3) percent blue, ((100-20)*0.3) percent black and (100-30) percent green{\color[rgb]{1,0,0} This text will appear red-colored}          % 直接使用\textcolor[rgb]{0,1,0}{This text will appear green-colored}     % 直接使用\end{document} 复制代码

转载地址:http://wfssl.baihongyu.com/

你可能感兴趣的文章
VRRP工作原理
查看>>
2019年的财富管理行业将何去何从?
查看>>
J - 最强王者 POJ - 1753 Flip Game 搜索+状态压缩
查看>>
这是一个SSL证书普及的时代
查看>>
C++动态库初探
查看>>
keepalived的搭建
查看>>
URAL 1913 Titan Ruins: Old Generators Are Fine Too
查看>>
Horizon Workspace 快速部署指南三(配置Workspace数据模块)
查看>>
C# 添加Excel水印
查看>>
我的友情链接
查看>>
mysql导出和导入
查看>>
IT软件创业之 -- 电脑设备买过来都是钱,卖出去都是废铁
查看>>
debian的“chkconfig”和“service”
查看>>
敏捷开发
查看>>
"无法启动应用程序,工作组信息文件丢失,或是已被其他用户已独占方式打开"解决办法...
查看>>
MYSQL远程连接授权
查看>>
安装hadoop图文
查看>>
Nginx的连接处理方法
查看>>
22个开源的PHP框架
查看>>
进桌面点右键就提示内存不能读,再点确定后就自动注销。
查看>>