[XeTeX] colored background for a paragraph
Peter Dyballa
Peter_Dyballa at Web.DE
Sun Sep 23 12:04:22 CEST 2007
Am 23.09.2007 um 06:10 schrieb Cyril Niklaus:
> \usepackage{xcolor}
>
> \colorbox {lightgray}{paragraph}
>
In this case it's necessary to use a construct like this:
\colorbox{lightgray}{
\begin{minipage}{\linewidth-3\fboxsep} % approximation, 2 \fboxsep
at least because of surrounding background around the mini page
paragraph
\end{minipage}
}
The boxitpara environment does not work with recent versions of
XeTeX. In SVN versions are available that support PSTricks with
xdvipdfmx as output driver.
--
Greetings
Pete
Without vi there is only GNU Emacs
More information about the XeTeX
mailing list