From 309dc55b934abc5251e55f65b9aa4c8227f337cd Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 28 Sep 2020 20:57:56 +0000 Subject: eso-pic (28sep20) git-svn-id: svn://tug.org/texlive/trunk@56463 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/eso-pic/README | 2 +- Master/texmf-dist/doc/latex/eso-pic/eso-ex1.tex | 24 ++++++++++++------------ Master/texmf-dist/doc/latex/eso-pic/eso-pic.pdf | Bin 250322 -> 250230 bytes 3 files changed, 13 insertions(+), 13 deletions(-) (limited to 'Master/texmf-dist/doc') 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 Binary files a/Master/texmf-dist/doc/latex/eso-pic/eso-pic.pdf and b/Master/texmf-dist/doc/latex/eso-pic/eso-pic.pdf differ -- cgit v1.2.3