blob: b0d4b43aa6be7bd7b33d3dbc1466712c298ac1e0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
\documentclass{testsuite}
\usepackage{fontspec}
\usepackage{xcolor}
\begin{document}
{\fontspec[Color=5500FF]{Verdana}Test}
{\fontspec[Color=red]{Verdana}Test} vs
{\color{red}\fontspec{Verdana}Test}
\definecolor{Foo}{rgb}{0.3,0.4,0.5}
{\fontspec[Color=Foo]{Verdana}Test} vs
{\color{Foo}\fontspec{Verdana}Test}
\end{document}
|