[XeTeX] Background color does not work

Ulrike Fischer news3 at nililand.de
Fri Aug 5 12:25:25 CEST 2011


Am Wed, 3 Aug 2011 18:38:46 +0200 schrieb Carlos R. Mafra:

> I am trying to modify the background color of a book I am typesetting using
> 'xetex'.
> 
> After searching on google I found the command
> 
> \special{x:backgroundcolor=color}
> 
 
> Does anyone have an idea about what is going wrong here and how to fix it?

\specials are driver dependent. Current xetex use xdvipdfmx as
driver so you should look there for the syntax of \specials.

In xetex.def of the latex xcolor package you can find the \special
for background color:

\special{background rgb 1 0 0}

-- 
Ulrike Fischer 



More information about the XeTeX mailing list