From f5c7c9695f181a8fd6e28b572edea03ffc59de93 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Thu, 4 May 2023 03:00:41 +0000 Subject: CTAN sync 202305040300 --- macros/latex/contrib/eso-pic/README.md | 2 ++ macros/latex/contrib/eso-pic/eso-pic.dtx | 22 ++++++++++++++-------- macros/latex/contrib/eso-pic/eso-pic.pdf | Bin 299089 -> 299571 bytes 3 files changed, 16 insertions(+), 8 deletions(-) (limited to 'macros/latex/contrib/eso-pic') diff --git a/macros/latex/contrib/eso-pic/README.md b/macros/latex/contrib/eso-pic/README.md index 2633b5dc54..6d4b5f8e66 100644 --- a/macros/latex/contrib/eso-pic/README.md +++ b/macros/latex/contrib/eso-pic/README.md @@ -7,5 +7,7 @@ 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. +See: https://github.com/rolfn/eso-pic + Rolf Niepraschk diff --git a/macros/latex/contrib/eso-pic/eso-pic.dtx b/macros/latex/contrib/eso-pic/eso-pic.dtx index 3ffa221f47..859b3137a0 100644 --- a/macros/latex/contrib/eso-pic/eso-pic.dtx +++ b/macros/latex/contrib/eso-pic/eso-pic.dtx @@ -23,7 +23,7 @@ % \iffalse %\NeedsTeXFormat{LaTeX2e}[2020/10/01] %\ProvidesPackage{eso-pic} -% [2023/03/23 v3.0b eso-pic (RN)] +% [2023/05/03 v3.0c eso-pic (RN)] % %<*driver> \documentclass[a4paper]{ltxdoc} @@ -35,7 +35,7 @@ % % \fi % -% \CheckSum{753} +% \CheckSum{758} % % \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 @@ -289,23 +289,29 @@ % \begin{macro}{\AtTextUpperLeft} % \changes{v2.0a}{2009/10/07}{Works now for class \clsname{memoir}} % \changes{v2.0e}{2014/04/20}{Wrong horizontal position in one-column mode} +% \changes{v3.0c}{2023/05/03}{Wrong horizontal position in memoir one-side +% mode (issue \#5)} % \begin{macrocode} \ESO@isMEMOIR{% \newcommand\AtTextUpperLeft[1]{% \begingroup - \ifodd\c@page - \ESO@tempdima=\spinemargin + \if@twoside + \ifodd\c@page + \ESO@tempdima=\spinemargin + \else + \ESO@tempdima=\paperwidth + \advance\ESO@tempdima-\textwidth + \advance\ESO@tempdima-\spinemargin + \fi \else - \ESO@tempdima=\paperwidth - \advance\ESO@tempdima-\textwidth - \advance\ESO@tempdima-\spinemargin + \ESO@tempdima=\spinemargin \fi \ESO@tempdimb=-\uppermargin \AtPageUpperLeft{% \put(\ESO@tempdima,\ESO@tempdimb){#1}% }% \endgroup - } + }% }{% \newcommand\AtTextUpperLeft[1]{% \begingroup diff --git a/macros/latex/contrib/eso-pic/eso-pic.pdf b/macros/latex/contrib/eso-pic/eso-pic.pdf index 5b570eff40..3e92c7f697 100644 Binary files a/macros/latex/contrib/eso-pic/eso-pic.pdf and b/macros/latex/contrib/eso-pic/eso-pic.pdf differ -- cgit v1.2.3