This package browser is in early development. Mind the rough edges.

texlive-pagecolor 2025.2

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.

Installation

Install texlive-pagecolor 2025.2 as follows:

guix install texlive-pagecolor@2025.2

Or install the latest version:

guix install texlive-pagecolor

The texlive-pagecolor package provides more outputs besides the default (out). You can install them by appending :output-name to the package specification. For example:

guix install texlive-pagecolor:doc

You can also install packages in augmented, pure or containerized environments for development or simply to try them out without polluting your user profile. See the guix shell documentation for more information.