CTAN Comprehensive TeX Archive Network

CTAN update: pagecolor

Date: April 19, 2023 3:45:53 PM CEST
Hans-Martin Münch submitted an update to the pagecolor package. Version: 1.2c 2023-04-18 License: lppl1.3c Summary description: Interrogate page color Announcement text:
No longer uses the hardwrap package (which did not work with XeLaTeX).
The package’s Catalogue entry can be viewed at https://ctan.org/pkg/pagecolor The package’s files themselves can be inspected at https://mirrors.ctan.org/macros/latex/contrib/pagecolor/
Thanks for the upload. For the CTAN Team Petra Rübe-Pugliese
CTAN is run entirely by volunteers and supported by TeX user groups. Please join a user group or donate to one, see https://ctan.org/lugs

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.

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

Announcements

more

Guest Book Sitemap Contact Contact Author