summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/eso-pic
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2023-03-24 03:01:34 +0000
committerNorbert Preining <norbert@preining.info>2023-03-24 03:01:34 +0000
commit85fda71ebb01e4a5b0ce50edf3dda43f45ebb55a (patch)
tree8f1fa267e50afbbab02f04483ac3577a698c7916 /macros/latex/contrib/eso-pic
parent46b6c321a2ff14698b756600bffb54d5d5fc3772 (diff)
CTAN sync 202303240301
Diffstat (limited to 'macros/latex/contrib/eso-pic')
-rw-r--r--macros/latex/contrib/eso-pic/eso-ex2.tex2
-rw-r--r--macros/latex/contrib/eso-pic/eso-ex5.tex2
-rw-r--r--macros/latex/contrib/eso-pic/eso-pic.dtx49
-rw-r--r--macros/latex/contrib/eso-pic/eso-pic.pdfbin250019 -> 299089 bytes
4 files changed, 17 insertions, 36 deletions
diff --git a/macros/latex/contrib/eso-pic/eso-ex2.tex b/macros/latex/contrib/eso-pic/eso-ex2.tex
index affe690bd7..b76aeb820d 100644
--- a/macros/latex/contrib/eso-pic/eso-ex2.tex
+++ b/macros/latex/contrib/eso-pic/eso-ex2.tex
@@ -20,7 +20,7 @@
}
% The picture is centered on the page background
-\AddToShipoutPicture{\BackgroundPicture}
+\AddToShipoutPictureBG{\BackgroundPicture}
\begin{document}
diff --git a/macros/latex/contrib/eso-pic/eso-ex5.tex b/macros/latex/contrib/eso-pic/eso-ex5.tex
index 78d0ee5ef7..27003f2f6e 100644
--- a/macros/latex/contrib/eso-pic/eso-ex5.tex
+++ b/macros/latex/contrib/eso-pic/eso-ex5.tex
@@ -17,7 +17,7 @@
\newcommand*\cmd[1]{\texttt{\symbol{`\\}#1}}
-\AddToShipoutPicture{%
+\AddToShipoutPictureBG{%
\thicklines\normalfont\ttfamily\Large%
\color{blue}\setlength\unitlength{1mm}%
\AtTextCenter{\circle*{6}%
diff --git a/macros/latex/contrib/eso-pic/eso-pic.dtx b/macros/latex/contrib/eso-pic/eso-pic.dtx
index 5cdf9141cd..3ffa221f47 100644
--- a/macros/latex/contrib/eso-pic/eso-pic.dtx
+++ b/macros/latex/contrib/eso-pic/eso-pic.dtx
@@ -4,14 +4,12 @@
% -------------------------------------------------------------------
%
% This file may be distributed and/or modified under the
-% conditions of the LaTeX Project Public License, either version 1.2
+% conditions of the LaTeX Project Public License, either version 1.3
% of this license or (at your option) any later version.
% The latest version of this license is in:
%
% http://www.latex-project.org/lppl.txt
%
-% and version 1.2 or later is part of all distributions of LaTeX
-% version 1999/12/01 or later.
% and version 1.3 or later is part of all distributions of LaTeX
% version 2003/12/01 or later.
%
@@ -23,9 +21,9 @@
% \fi
%
% \iffalse
-%<package>\NeedsTeXFormat{LaTeX2e}[2020-10-01]
+%<package>\NeedsTeXFormat{LaTeX2e}[2020/10/01]
%<package>\ProvidesPackage{eso-pic}
-%<package> [2020/10/14 v3.0a eso-pic (RN)]
+%<package> [2023/03/23 v3.0b eso-pic (RN)]
%
%<*driver>
\documentclass[a4paper]{ltxdoc}
@@ -37,7 +35,7 @@
%</driver>
% \fi
%
-% \CheckSum{750}
+% \CheckSum{753}
%
% \CharacterTable
% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
@@ -55,25 +53,6 @@
% Grave accent \` Left brace \{ Vertical bar \|
% Right brace \} Tilde \~}
%
-% \iffalse meta-comment
-% ===================================================================
-% @LaTeX-package-file{
-% author = {Rolf Niepraschk},
-% version = "v2.0i",
-% date = "12 Apr 2018",
-% filename = "eso-pic.sty",
-% address = "",
-% telephone = "",
-% email = "Rolf.Niepraschk@gmx.de",
-% codetable = "ISO/ASCII",
-% keywords = "LaTeX2e, \shipout, picture",
-% dependences = "atbegshi",
-% supported = "yes",
-% docstring = "LaTeX package which makes it easy to add some
-% picture commands to every page."
-% }
-% ===================================================================
-% \fi
%
% \providecommand\env[1]{\textsf{#1}}
% \providecommand\clsname[1]{\textsf{#1}}
@@ -123,7 +102,7 @@
% internal macro \cs{ESO@HookIBG}. This macro is part of a
% zero-length \texttt{picture} environment with basepoint at the lower left
% corner of the page (default) or at the upper left corner
-% (package option "texcoord"). The \texttt{picture} environment will be
+% (package option ``texcoord''). The \texttt{picture} environment will be
% shipped out at every new page.
%
% \DescribeMacro{\AddToShipoutPictureBG*} \cs{AddToShipoutPictureBG*} works like
@@ -138,7 +117,7 @@
% \DescribeMacro{\AddToShipoutPictureFG}
% \DescribeMacro{\AddToShipoutPictureFG*} Works like
% \cs{AddToShipoutPictureBG} but the picture commands are on the top
-% oft the normal document content.
+% of the normal document content.
%
% \DescribeMacro{\ClearShipoutPictureBG} A call of
% \cs{ClearShipoutPictureBG}
@@ -573,6 +552,7 @@
% `pdfTeX'. Now using with Xe\LaTeX\ should be possible.}
% \changes{v2.0a}{2009/10/07}{Better test of color/xcolor}
% \changes{v2.0d}{2013/10/06}{Improved color commands}
+% \changes{v3.0b}{2023/03/23}{More code inside \cmd{\AtBeginDocument}}
% \begin{macrocode}
\@ifundefined{colorbox}{%
\IfFileExists{xcolor.sty}{\RequirePackage{xcolor}}%
@@ -616,14 +596,15 @@
\renewcommand*\ESO@gridlines{\thicklines}
\fi
\fi
+% \changes{v3.0b}{2023/03/23}{More code inside \cmd{\AtBeginDocument}}
+ \ifESO@texcoord
+ \def\ESO@yoffsetI{\z@}\def\ESO@yoffsetII{-\paperheight}
+ \edef\ESO@griddeltaY{-\ESO@griddelta}\edef\ESO@gridDeltaY{-\ESO@gridDelta}
+ \else
+ \def\ESO@yoffsetI{-\paperheight}\def\ESO@yoffsetII{\z@}
+ \edef\ESO@griddeltaY{\ESO@griddelta}\edef\ESO@gridDeltaY{\ESO@gridDelta}
+ \fi
}
-\ifESO@texcoord
- \def\ESO@yoffsetI{\z@}\def\ESO@yoffsetII{-\paperheight}
- \edef\ESO@griddeltaY{-\ESO@griddelta}\edef\ESO@gridDeltaY{-\ESO@gridDelta}
-\else
- \def\ESO@yoffsetI{-\paperheight}\def\ESO@yoffsetII{\z@}
- \edef\ESO@griddeltaY{\ESO@griddelta}\edef\ESO@gridDeltaY{\ESO@gridDelta}
-\fi
% \end{macrocode}
% \begin{macro}{\ESO@gridpicture}
% \begin{macrocode}
diff --git a/macros/latex/contrib/eso-pic/eso-pic.pdf b/macros/latex/contrib/eso-pic/eso-pic.pdf
index 961f29e150..5b570eff40 100644
--- a/macros/latex/contrib/eso-pic/eso-pic.pdf
+++ b/macros/latex/contrib/eso-pic/eso-pic.pdf
Binary files differ