How can I convert a color name (such as used with the xcolor package) to a pdfliteral code, like q 1 0 0 rg (for red)?
q 1 0 0 rg
\pdfcompresslevel=0 % to make everything visible in the pdf
in pdf it is: 1 0 0 rg 1 0 0 RG
1 0 0 rg 1 0 0 RG
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
4 years ago
Get the weekly newsletter!
see an example newsletter