diff options
author | Karl Berry <karl@freefriends.org> | 2022-11-22 22:27:41 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-11-22 22:27:41 +0000 |
commit | ae8f4fb50da58825a500031103ec009d82c4fa56 (patch) | |
tree | 30d63ab9d5163e55a9d97675022d418074475251 /Master/texmf-dist/doc | |
parent | 383ade8f42bfc4c156b9739d28ae96d370178753 (diff) |
pagecolor (21nov22)
git-svn-id: svn://tug.org/texlive/trunk@65086 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc')
-rw-r--r-- | Master/texmf-dist/doc/latex/pagecolor/README | 34 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/pagecolor/pagecolor-example.pdf | bin | 85717 -> 81832 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/pagecolor/pagecolor-example.tex | 92 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/pagecolor/pagecolor.pdf | bin | 320120 -> 339411 bytes |
4 files changed, 58 insertions, 68 deletions
diff --git a/Master/texmf-dist/doc/latex/pagecolor/README b/Master/texmf-dist/doc/latex/pagecolor/README index a1dc382c79e..0bae5caeb6f 100644 --- a/Master/texmf-dist/doc/latex/pagecolor/README +++ b/Master/texmf-dist/doc/latex/pagecolor/README @@ -1,4 +1,4 @@ -README for pagecolor package, 2017/05/29, v1.0i +README for pagecolor package, 2022-11-20, v1.1a TABLE OF CONTENTS @@ -18,25 +18,25 @@ TABLE OF CONTENTS ============== This LaTeX package provides the command \thepagecolor, which gives -the current page (background) colour, i. e. the argument used with +the current page (background) color, i. e. the argument used with the most recent call of \pagecolor{...}. -The command \thepagecolornone gives the same colour as -\thepagecolor, except when the page background colour is "none". +The command \thepagecolornone gives the same color as +\thepagecolor, except when the page background color is "none". In that case \thepagecolor is white and \thepagecolornone is none. -When \nopagecolor is unknown (e.g. Xe(La)TeX) or broken (crop package) +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. +Similar to \newgeometry and \restoregeometry of the geometry package +\newpagecolor{...} and \restorepagecolor are provided. This material is published under the LPPL 1.3c: This work may be distributed and/or modified under the conditions of the LaTeX Project -Public License, either version 1.3c of this license or (at your option) any -later version. This version of this license is in -http://www.latex-project.org/lppl/lppl-1-3c.txt +Public License, either version 1.3c of this license or (at your option) +any later version. This version of this license is in +https://www.latex-project.org/lppl/lppl-1-3c.txt and the latest version of this license is in -http://www.latex-project.org/lppl.txt +https://www.latex-project.org/lppl.txt and version 1.3c or later is part of all distributions of LaTeX version -2005/12/01 or later. +2008-05-04 or later. 2 DOWNLOAD @@ -52,7 +52,7 @@ driver (pagecolor.drv), pagecolor.dtx, installation file (pagecolor.ins), the style file (pagecolor.sty), and this README, already sorted in a TDS tree: -http://mirrors.ctan.org/install/macros/latex/contrib/pagecolor.tds.zip +https://mirrors.ctan.org/install/macros/latex/contrib/pagecolor.tds.zip 3 INSTALLATION @@ -105,8 +105,8 @@ g) Copy the documentation files to ===================== pagecolor loads other packages: -kvoptions, xcolor (if the color package has not been loaded -before pagecolor), ifpdf, and ifluatex, +kvoptions and +xcolor, if the color package has not been loaded before pagecolor which again load other packages (see the result of the \listfiles command in the log-file of the example). @@ -142,8 +142,8 @@ A bug report should contain: contain any unnecessary packages and code. * Used drivers/programs. * Version information about used packages and programs. -* If you are using LaTeX, then add "\listfiles". Then - a list of version information is printed at the end +* If you are using LaTeX, then add "\listfiles" to the document. + Then a list of version information is printed at the end of the LaTeX run. * Please no other files than the minimal test file. The other files .log, .dvi, .ps, .pdf are seldom diff --git a/Master/texmf-dist/doc/latex/pagecolor/pagecolor-example.pdf b/Master/texmf-dist/doc/latex/pagecolor/pagecolor-example.pdf Binary files differindex dba8dd4f911..ae63e8048c5 100644 --- a/Master/texmf-dist/doc/latex/pagecolor/pagecolor-example.pdf +++ b/Master/texmf-dist/doc/latex/pagecolor/pagecolor-example.pdf diff --git a/Master/texmf-dist/doc/latex/pagecolor/pagecolor-example.tex b/Master/texmf-dist/doc/latex/pagecolor/pagecolor-example.tex index da72469ed78..937d23eb980 100644 --- a/Master/texmf-dist/doc/latex/pagecolor/pagecolor-example.tex +++ b/Master/texmf-dist/doc/latex/pagecolor/pagecolor-example.tex @@ -9,13 +9,13 @@ %% This is a generated file. %% %% Project: pagecolor -%% Version: 2017/05/29 v1.0i +%% Version: 2022-11-20 v1.1a %% -%% Copyright (C) 2011 - 2017 by -%% H.-Martin M"unch <Martin dot Muench at Uni-Bonn dot de> +%% Copyright (C) 2011 - 2022 by +%% H.-Martin Muench <Martin dot Muench at Uni-Bonn dot de> %% %% The usual disclaimer applies: -%% If it doesn't work right that's your problem. +%% If it does not work right that is your problem. %% (Nevertheless, send an e-mail to the maintainer %% when you find an error in this package.) %% @@ -23,11 +23,11 @@ %% conditions of the LaTeX Project Public License, either %% version 1.3c of this license or (at your option) any later %% version. This version of this license is in -%% http://www.latex-project.org/lppl/lppl-1-3c.txt +%% https://www.latex-project.org/lppl/lppl-1-3c.txt %% and the latest version of this license is in -%% http://www.latex-project.org/lppl.txt +%% https://www.latex-project.org/lppl.txt %% and version 1.3c or later is part of all distributions of -%% LaTeX version 2005/12/01 or later. +%% LaTeX version 2005-12-01 or later. %% %% This work has the LPPL maintenance status "maintained". %% @@ -40,12 +40,12 @@ %% pagecolor-example.tex, pagecolor-example.pdf. %% %% In memoriam -%% Claudia Simone Barth + 1996/01/30 -%% Tommy Muench + 2014/01/02 -%% Hans-Klaus Muench + 2014/08/24 +%% Claudia Simone Barth + 1996-01-30 +%% Tommy Muench + 2014-01-02 +%% Hans-Klaus Muench + 2014-08-24 %% -\documentclass[british]{article}[2014/09/29]% v1.4h -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\NeedsTeXFormat{LaTeX2e}[2021-11-15] +\documentclass[british]{article}[2021/10/04]% v1.4n \usepackage[% extension=pdf,% plainpages=false,% @@ -55,67 +55,57 @@ pdftitle={pagecolor package example},% pdfauthor={H.-Martin Muench},% pdfsubject={Example for the pagecolor package},% - pdfkeywords={LaTeX, pagecolor, thepagecolor, page colour,% - H.-Martin Muench},% + pdfkeywords={LaTeX, pagecolor, thepagecolor, page color, page colour},% pdfview=Fit,pdfstartview=Fit,% pdfpagelayout=SinglePage% -]{hyperref}[2012/11/06]% v6.83m -\usepackage[x11names]{xcolor}[2007/01/21]% v2.11 - % The xcolor package would not be needed for just using - % the base colours. The color package would be sufficient for that. -\definecolor{darkgreen}{rgb}{0.0, 0.3, 0.0}% +]{hyperref}[2022-02-21]% v7.00n + +\usepackage[x11names]{xcolor}[2021/10/31]% v2.13 + % The xcolor package would not be needed for just using the base colors. + % The color package would be sufficient for that. + \usepackage[pagecolor={LightGoldenrod1},% - nopagecolor={none}]{pagecolor}[2017/05/29]% v1.0i + nopagecolor={none}]{pagecolor}[2022-11-20]% v1.1a \usepackage{afterpage}[2014/10/28]% v1.08 % The afterpage package is generally not needed, - % but the |\newpagecolor{somecolour}\afterpage{\restorepagecolor}| + % but the |\newpagecolor{somecolor}\afterpage{\restorepagecolor}| % construct shall be demonstrated. -\usepackage{lipsum}[2014/07/27]% v1.3 +\usepackage{lipsum}[2021-09-20]% v2.7 % The lipsum package is generally not needed, % but some blind text is needed for the example. -\usepackage{hologo}[2012/04/26]% v1.10 - % The hologo package is only needed to write - % \hologo{pdfTeX}, \hologo{LuaTeX}, and \hologo{XeTeX}. - -\gdef\unit#1{\mathord{\thinspace\mathrm{#1}}}% -\listfiles% +\listfiles \begin{document} \pagenumbering{arabic} \section*{Example for pagecolor} This example demonstrates the use of package\newline -\textsf{pagecolor}, v1.0i as of 2017/05/29 (HMM).\newline +\textsf{pagecolor}, v1.1a as of 2022-11-20 (HMM).\newline The used options were\newline -\verb|pagecolor={LightGoldenrod1}| (\verb|pagecolor={none}| -would be the default), and -\verb|pagecolor={none}| (which is the default).\newline +\verb|pagecolor={LightGoldenrod1}|\newline +(\verb|pagecolor={none}| would be the default), and\newline +\verb|nopagecolor={none}| (which is the default). -\noindent For more details please see the documentation!\newline +\noindent For more details please see the documentation! -\noindent {\color{darkgreen} Save per page about $200\unit{ml}$ water, -$2\unit{g}$ CO$_{2}$ and $2\unit{g}$ wood:\newline -Therefore please print only if this is really necessary.}\newline - -\noindent The current page (background) colour is\newline +\noindent The current page (background) color is\newline \verb|\thepagecolor|\ =\ \thepagecolor \newline (and \verb|\thepagecolornone|\ =\ \thepagecolornone , which would only be different from \verb|\thepagecolor|, -when the page colour would be \verb|none|). +when the page color would be \verb|none|). \pagebreak \pagecolor{rgb:-green!40!yellow,3;green!40!yellow,2;red,1} -{\color{white} The current page (background) colour is\newline -\verb|\thepagecolor|\ =\ \thepagecolor . \newline} +{\color{white} The current page (background) color is\newline +\verb|\thepagecolor|\ =\ \thepagecolor .} -{\color{\thepagecolor} And that makes this text practically invisible. -\newline} +{\color{\thepagecolor} And that makes this text practically invisible.} {\color{white} Which made the preceding line of text practically -invisible.} +invisible, but it can be copied and pasted.} \pagebreak \newpagecolor{red} @@ -126,23 +116,23 @@ This page uses \verb|\newpagecolor{red}|. \restorepagecolor {\color{white}And this page uses \verb|\restorepagecolor| to restore -the page colour to the value it had before the red page.} +the page color to the value it had before the red page.} \pagebreak \pagecolor{none} This page uses \verb|\pagecolor{none}|. If the \verb|\nopagecolor| -command is known (\hologo{pdfTeX} and \hologo{LuaTeX}; not yet for -dvips, dvipdfm(x) or \hologo{XeTeX}), the page colour is now +command is known, the page color is now \verb|none| (because option \verb|nopagecolor={none}|), otherwise -\verb|white| (or the colour given with option \verb|nopagecolor={...}|): +\verb|white| (or the color given with option \verb|nopagecolor={...}|): +\newline \verb|\thepagecolor|\ =\ \thepagecolor\ and \verb|\thepagecolornone|\ =\ \thepagecolornone . \pagebreak \restorepagecolor -{\color{white}\verb|\restorepagecolor| restored the page colour again.} +{\color{white}\verb|\restorepagecolor| restored the page color again.} \pagebreak \pagecolor{green} @@ -155,14 +145,14 @@ This page is green due to \verb|\pagecolor{green}|. {\color{white}\verb|\newpagecolor{blue}\afterpage{\restorepagecolor}|% \newline was used here, i.\,e.~this page is blue, and the next one will -automatically have the same page colour before it was changed to blue +automatically have the same page color before it was changed to blue here (i.\,e. green).} \smallskip {\color{red}\textbf{\lipsum[1-11]}} \bigskip -The page colour was changed back at the end of the page - +The page color was changed back at the end of the page -- in mid-sentence! \end{document} diff --git a/Master/texmf-dist/doc/latex/pagecolor/pagecolor.pdf b/Master/texmf-dist/doc/latex/pagecolor/pagecolor.pdf Binary files differindex d2f611b6ee7..08642c75e5a 100644 --- a/Master/texmf-dist/doc/latex/pagecolor/pagecolor.pdf +++ b/Master/texmf-dist/doc/latex/pagecolor/pagecolor.pdf |