summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/eso-pic
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-09-28 20:57:56 +0000
committerKarl Berry <karl@freefriends.org>2020-09-28 20:57:56 +0000
commit309dc55b934abc5251e55f65b9aa4c8227f337cd (patch)
tree72deae383e3989fa2bf6d9b874de55dd7d964036 /Master/texmf-dist/doc/latex/eso-pic
parente752903a9ad1c74190305384230882402822846a (diff)
eso-pic (28sep20)
git-svn-id: svn://tug.org/texlive/trunk@56463 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/eso-pic')
-rw-r--r--Master/texmf-dist/doc/latex/eso-pic/README2
-rw-r--r--Master/texmf-dist/doc/latex/eso-pic/eso-ex1.tex24
-rw-r--r--Master/texmf-dist/doc/latex/eso-pic/eso-pic.pdfbin250322 -> 250230 bytes
3 files changed, 13 insertions, 13 deletions
diff --git a/Master/texmf-dist/doc/latex/eso-pic/README b/Master/texmf-dist/doc/latex/eso-pic/README
index 57772f89098..2633b5dc54c 100644
--- a/Master/texmf-dist/doc/latex/eso-pic/README
+++ b/Master/texmf-dist/doc/latex/eso-pic/README
@@ -7,5 +7,5 @@ The pack­age adds one or more user com­mands to LaTeX’s shipout rou­tine, w
may be used to place the out­put at fixed po­si­tions. The grid op­tion may be
used to find the cor­rect places.
-Rolf Niepraschk (Rolf.Niepraschk@gmx.de)
+Rolf Niepraschk
diff --git a/Master/texmf-dist/doc/latex/eso-pic/eso-ex1.tex b/Master/texmf-dist/doc/latex/eso-pic/eso-ex1.tex
index 6241e37d3fc..c9a43c24f97 100644
--- a/Master/texmf-dist/doc/latex/eso-pic/eso-ex1.tex
+++ b/Master/texmf-dist/doc/latex/eso-pic/eso-ex1.tex
@@ -1,23 +1,23 @@
% file `eso-ex1.tex'; a framed background example
-% Rolf Niepraschk, 2015-07-14, Rolf.Niepraschk@gmx.de
+% Rolf Niepraschk, 2020-09-27, Rolf.Niepraschk@gmx.de
\documentclass[a4paper]{article}
-\usepackage{eso-pic,calc}
+\usepackage{eso-pic}
\listfiles
-\makeatletter
+\newdimen\myTempdima
+\newdimen\myTempdimb
+\newdimen\myTempdimc
+
\AddToShipoutPicture{%
- \begingroup
- \setlength{\@tempdima}{15mm}%
- \setlength{\@tempdimb}{\paperwidth-2\@tempdima}%
- \setlength{\@tempdimc}{\paperheight-2\@tempdima}%
- \thicklines%
- \put(\LenToUnit{\@tempdima},\LenToUnit{\@tempdima}){%
- \framebox(\LenToUnit{\@tempdimb},\LenToUnit{\@tempdimc}){}}%
- \endgroup
+ \setlength{\myTempdima}{15mm}%
+ \setlength{\myTempdimb}{\dimexpr\paperwidth-2\myTempdima}%
+ \setlength{\myTempdimc}{\dimexpr\paperheight-2\myTempdima}%
+ \thicklines%
+ \put(\LenToUnit{\myTempdima},\LenToUnit{\myTempdima}){%
+ \framebox(\LenToUnit{\myTempdimb},\LenToUnit{\myTempdimc}){}}%
}
-\makeatother
\begin{document}
diff --git a/Master/texmf-dist/doc/latex/eso-pic/eso-pic.pdf b/Master/texmf-dist/doc/latex/eso-pic/eso-pic.pdf
index 53c9ba100b9..c1b4fe471b3 100644
--- a/Master/texmf-dist/doc/latex/eso-pic/eso-pic.pdf
+++ b/Master/texmf-dist/doc/latex/eso-pic/eso-pic.pdf
Binary files differ