<br><div class="gmail_quote">On Thu, Apr 7, 2011 at 5:00 PM, William Adams <span dir="ltr"><<a href="mailto:will.adams@frycomm.com">will.adams@frycomm.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On Apr 7, 2011, at 4:07 PM, Peter Davis wrote:<br>
<br>
> Thanks, Herbert, but can you explain how that works? Does Ghostscript get called behind the scenes to convert PostScript to PDF? If so, I'd like to avoid that. I would think just drawing a colored or white rectangle would not require PSTricks, but I haven't found another way.<br>
><br>
> If PSTricks works with XeLaTeX *without* requiring Ghostscript, I'd really like to know about that.<br>
<br>
</div>ps/pdftricks not needed:<br>
<br>
\documentclass{memoir}<br>
\usepackage{xcolor}<br>
\definecolor{testcolor}{cmyk}{1,0.5,0,0}<br>
\newcommand{\placearect}{\color{testcolor}\rule{288bp}{216bp}}<br>
\setlength{\unitlength}{1bp}<br>
\makepagestyle{empty}<br>
\makeoddhead{empty}{\begin{picture}(0,0)\put(-144,-216)%will need to adjust for point of origin of the runninghead<br>
{\placearect}\end{picture}}{}{}<br>
\begin{document}<br>
\pagestyle{empty}test<br>
\end{document}<br></blockquote><div><br></div><div>Excellent! Thanks!</div><div><br></div><div>It also works without pre-defining colors and commands:</div><div><br></div><div>\color[cmyk]{0.0,0.0,0.0,0.0}\rule{288bp}{216bp}</div>
<div><br></div><div>Thank you.</div><div><br></div><div>-pd</div><div><br></div></div><br>-- <br><span style="font-family:arial, sans-serif;border-collapse:collapse">----<div>The Tech Curmudgeon</div><div><a href="http://www.techcurmudgeon.com/" style="color:rgb(17, 65, 112)" target="_blank">http://www.techcurmudgeon.com</a></div>
<div style="font-size:10.8333px"><br></div></span><br>