summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/pagecolor/pagecolor-example.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/pagecolor/pagecolor-example.tex')
-rw-r--r--Master/texmf-dist/doc/latex/pagecolor/pagecolor-example.tex42
1 files changed, 28 insertions, 14 deletions
diff --git a/Master/texmf-dist/doc/latex/pagecolor/pagecolor-example.tex b/Master/texmf-dist/doc/latex/pagecolor/pagecolor-example.tex
index b9864ee665e..b47a922f53f 100644
--- a/Master/texmf-dist/doc/latex/pagecolor/pagecolor-example.tex
+++ b/Master/texmf-dist/doc/latex/pagecolor/pagecolor-example.tex
@@ -9,9 +9,9 @@
%% This is a generated file.
%%
%% Project: pagecolor
-%% Version: 2012/02/23 v1.0e
+%% Version: 2015/06/22 v1.0g
%%
-%% Copyright (C) 2011 - 2012 by
+%% Copyright (C) 2011 - 2015 by
%% H.-Martin M"unch <Martin dot Muench at Uni-Bonn dot de>
%%
%% The usual disclaimer applies:
@@ -39,7 +39,12 @@
%% pagecolor.ins, pagecolor.drv,
%% pagecolor-example.tex, pagecolor-example.pdf.
%%
-\documentclass[british]{article}[2007/10/19]% v1.4h
+%% In memoriam
+%% 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
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage[%
extension=pdf,%
@@ -54,21 +59,26 @@
H.-Martin Muench},%
pdfview=Fit,pdfstartview=Fit,%
pdfpagelayout=SinglePage%
-]{hyperref}[2012/02/06]% v6.82o
+]{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.
-\usepackage[pagecolor={LightGoldenrod1}]{pagecolor}[2012/02/23]% v1.0e
+\usepackage[pagecolor={LightGoldenrod1},%
+ nopagecolor={none}]{pagecolor}[2015/06/22]% v1.0g
-\usepackage{afterpage}[1995/10/27]% v1.08
+\usepackage{afterpage}[2014/10/28]% v1.08
% The afterpage package is generally not needed,
% but the |\newpagecolor{somecolour}\afterpage{\restorepagecolor}|
% construct shall be demonstrated.
-\usepackage{lipsum}[2011/04/14]% v1.2
+\usepackage{lipsum}[2014/07/27]% v1.3
% 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
\begin{document}
@@ -76,17 +86,19 @@
\section*{Example for pagecolor}
This example demonstrates the use of package\newline
-\textsf{pagecolor}, v1.0e as of 2012/02/23 (HMM).\newline
-The used option was \verb|pagecolor={LightGoldenrod1}|.\newline
-\verb|pagecolor={none}| would be the default.\newline
+\textsf{pagecolor}, v1.0g as of 2015/06/22 (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
-For more details please see the documentation!\newline
+\noindent For more details please see the documentation!\newline
\noindent {\color{teal} 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
-The current page (background) colour is\newline
+\noindent The current page (background) colour is\newline
\verb|\thepagecolor|\ =\ \thepagecolor \newline
(and \verb|\thepagecolornone|\ =\ \thepagecolornone ,
which would only be different from \verb|\thepagecolor|,
@@ -119,8 +131,10 @@ the page colour to the value it had before the red page.}
\pagecolor{none}
This page uses \verb|\pagecolor{none}|. If the \verb|\nopagecolor|
-command is known (pdf\TeX and Lua\TeX; not yet for dvips, dvipdfm(x)
-or Xe\TeX), the page colour is now \verb|none|, otherwise \verb|white|:
+command is known (\hologo{pdfTeX} and \hologo{LuaTeX}; not yet for
+dvips, dvipdfm(x) or \hologo{XeTeX}), the page colour is now
+\verb|none| (because option \verb|nopagecolor={none}|), otherwise
+\verb|white| (or the colour given with option \verb|nopagecolor={...}|):
\verb|\thepagecolor|\ =\ \thepagecolor\ and
\verb|\thepagecolornone|\ =\ \thepagecolornone .