[XeTeX] Grey fonts with XeTeX

David Carlisle d.p.carlisle at gmail.com
Fri Jun 24 23:18:06 CEST 2016

see the color package documentation

\color[cmyk]{0.1,0.2,0.3,0.4} hello

On 24 June 2016 at 21:50, Philip Taylor <P.Taylor at rhul.ac.uk> wrote:
> Although I normally work with full-colour projects, the financial constraints of a current project require me to avoid colour on any page on which it is not strictly necessary (that is, to avoid colour on any page that does not carry a coloured image or on which coloured text is essential).  I found by a process of experiment that I can achieve grey rules using a combination of "eplain" and the "color" package, as in (e.g.,) :  \headlinerule = {\color [gray] {0.85}\hrule height 0,95 pt depth 0,95 pt} but what if I want a grey font ?  The XeTeX documentation makes no mention of CMYK at all, and whilst I can achieve the /effect/ of gray by using a suitable admixture of RGB, the resulting text is reported by Adobe Acrobat pre-flight checks as "not black".  Is there any way of achieving /real/ grey text so that all non-coloured pages are black-only ?  I have tried playing with the "transparency" hex pair that can optionally follow the RGB specifier, but it appears to offer either
> full transparency or none at all, with no intermediate possibilities.
> Philip Taylor
> --------------------------------------------------
> Subscriptions, Archive, and List information, etc.:
>   http://tug.org/mailman/listinfo/xetex


More information about the XeTeX mailing list