CTAN Comprehensive TeX Archive Network

CTAN Update: pagecolor

Date: June 23, 2015 7:53:05 PM CEST
Hans-Martin Münch submitted an update to the pagecolor package. Version: 1.0g / 2015-06-22 License: lppl1.3 Summary description: Interrogate page colour. Announcement text:
Now handles \nopagecolor when it is not defined (e.g. XeLaTeX) or when it is broken by the crop package; new option nopagecolor introduced.
This package is located at http://mirror.ctan.org/macros/latex/contrib/pagecolor/ More information is at http://www.ctan.org/pkg/pagecolor We are supported by the TeX Users Group http://www.tug.org . Please join a users group; see http://www.tug.org/usergroups.html .
Thanks for the upload. For the CTAN Team Petra Rübe-Pugliese

pagecolor – Interrogate page color

This package provides the command \thepagecolor, which gives the current page (background) color, i. e. the argument used with the most recent call of \pagecolor{...}. The command \thepagecolornone gives the same color as \thepagecolor, except when the page background color is “none” (e.g., as a result of using the \nopagecolor command). In that case \thepagecolor is “white” and \thepagecolornone is “none”.

When \nopagecolor is unknown or broken (crop package), this package provides a replacement. Similar to \newgeometry and \restoregeometry of the geometry package \newpagecolor{...} and \restorepagecolor are provided. For use with the crop package \backgroundpagecolor{...} as well as \newbackgroundpagecolor{...} and \restorebackgroundpagecolor are provided.

Version1.2c 2023-04-18
Copyright2011–2023 H.-Martin Münch
MaintainerHans-Martin Münch



Guest Book Sitemap Contact Contact Author