diff options
author | Karl Berry <karl@freefriends.org> | 2023-05-03 20:12:01 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2023-05-03 20:12:01 +0000 |
commit | 363bc0baf6a34f155299aa1fc75d3ae657093cc2 (patch) | |
tree | aba8da9da68a9ec14dd010ea28fe3ce9875d24e1 /Master | |
parent | 07cb205c4484207a7b0dd07d4e9b8ad4554c1dbc (diff) |
eso-pic (3may23)
git-svn-id: svn://tug.org/texlive/trunk@67001 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r-- | Master/texmf-dist/doc/latex/eso-pic/README.md | 2 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/eso-pic/eso-pic.pdf | bin | 299089 -> 299571 bytes | |||
-rw-r--r-- | Master/texmf-dist/source/latex/eso-pic/eso-pic.dtx | 22 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/eso-pic/eso-pic.sty | 18 |
4 files changed, 27 insertions, 15 deletions
diff --git a/Master/texmf-dist/doc/latex/eso-pic/README.md b/Master/texmf-dist/doc/latex/eso-pic/README.md index 2633b5dc54c..6d4b5f8e667 100644 --- a/Master/texmf-dist/doc/latex/eso-pic/README.md +++ b/Master/texmf-dist/doc/latex/eso-pic/README.md @@ -7,5 +7,7 @@ The package adds one or more user commands to LaTeX’s shipout routine, w may be used to place the output at fixed positions. The grid option may be used to find the correct places. +See: https://github.com/rolfn/eso-pic + Rolf Niepraschk diff --git a/Master/texmf-dist/doc/latex/eso-pic/eso-pic.pdf b/Master/texmf-dist/doc/latex/eso-pic/eso-pic.pdf Binary files differindex 5b570eff40f..3e92c7f697b 100644 --- a/Master/texmf-dist/doc/latex/eso-pic/eso-pic.pdf +++ b/Master/texmf-dist/doc/latex/eso-pic/eso-pic.pdf diff --git a/Master/texmf-dist/source/latex/eso-pic/eso-pic.dtx b/Master/texmf-dist/source/latex/eso-pic/eso-pic.dtx index 3ffa221f476..859b3137a01 100644 --- a/Master/texmf-dist/source/latex/eso-pic/eso-pic.dtx +++ b/Master/texmf-dist/source/latex/eso-pic/eso-pic.dtx @@ -23,7 +23,7 @@ % \iffalse %<package>\NeedsTeXFormat{LaTeX2e}[2020/10/01] %<package>\ProvidesPackage{eso-pic} -%<package> [2023/03/23 v3.0b eso-pic (RN)] +%<package> [2023/05/03 v3.0c eso-pic (RN)] % %<*driver> \documentclass[a4paper]{ltxdoc} @@ -35,7 +35,7 @@ %</driver> % \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/Master/texmf-dist/tex/latex/eso-pic/eso-pic.sty b/Master/texmf-dist/tex/latex/eso-pic/eso-pic.sty index 4de851d8236..500a569e53e 100644 --- a/Master/texmf-dist/tex/latex/eso-pic/eso-pic.sty +++ b/Master/texmf-dist/tex/latex/eso-pic/eso-pic.sty @@ -23,7 +23,7 @@ %% \NeedsTeXFormat{LaTeX2e}[2020/10/01] \ProvidesPackage{eso-pic} - [2023/03/23 v3.0b eso-pic (RN)] + [2023/05/03 v3.0c eso-pic (RN)] \providecommand*\LenToUnit[1]{#1} \newdimen\ESO@tempdima \newdimen\ESO@tempdimb @@ -81,19 +81,23 @@ \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 |