[texhax] memoir colored page and missing trims

Jan de Ruijter janderuijter at tiscali.nl
Tue Feb 23 08:55:50 CET 2016


Hi,
I am using |memoir| and |showtrims| as an option. using |\onepagecolor| 
makes the trims disappear. Any ideas?

Here is a MWE:


|\documentclass[12pt,showtrims]{memoir}
\usepackage{lipsum}

\usepackage{xcolor}
\setstocksize{290mm}{210mm}
\settrimmedsize{240mm}{170mm}{*}
\settrims{20mm}{20mm}
\settypeblocksize{180mm}{110mm}{*}
\setlrmargins{20mm}{*}{*}
\setulmargins{20mm}{*}{*}

\usepackage{pagecolor}
\usepackage{afterpage}
\newcommand{\onepagecolor}[1]{%
\newpagecolor{#1}\afterpage{\restorepagecolor}}

\begin{document}

\trimFrame
\lipsum[1]
\newpage
\onepagecolor{green}
\lipsum[1]

\end{document}|

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/texhax/attachments/20160223/a0440d50/attachment.html>


More information about the texhax mailing list