diff options
-rw-r--r-- | Master/texmf-dist/doc/latex/eso-pic/eso-pic.pdf | bin | 211507 -> 148673 bytes | |||
-rw-r--r-- | Master/texmf-dist/tex/latex/eso-pic/showframe.sty | 22 |
2 files changed, 12 insertions, 10 deletions
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 c06613000ca..be806e8c194 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/tex/latex/eso-pic/showframe.sty b/Master/texmf-dist/tex/latex/eso-pic/showframe.sty index af62b075e60..04b11d60ce4 100644 --- a/Master/texmf-dist/tex/latex/eso-pic/showframe.sty +++ b/Master/texmf-dist/tex/latex/eso-pic/showframe.sty @@ -7,7 +7,7 @@ % page with \AddToShipoutPicture*{\ShowFramePicture}. Another useful % options maybe eso-pic's "colorgrid", "grid" and "texcoord". -\ProvidesPackage{showframe}[2005/12/18 v0.1g showframe (new impl., RN)] +\ProvidesPackage{showframe}[2008/12/09 v0.1h showframe (new impl., RN)] \newif\ifSF@frame\SF@frametrue @@ -19,27 +19,29 @@ \newcommand\ShowFramePicture{% \begingroup - \normalcolor\thicklines% + \normalcolor\thicklines + \AtPageLowerLeft{% + \framebox(\LenToUnit{\paperwidth},\LenToUnit{\paperheight}){}}% \AtTextLowerLeft{% - \framebox(\LenToUnit{\textwidth},\LenToUnit{\textheight}){}}% + \framebox(\LenToUnit{\textwidth},\LenToUnit{\textheight}){}}% \AtTextUpperLeft{% \put(0,\LenToUnit{\headsep}){% - \framebox(\LenToUnit{\textwidth},\LenToUnit{\headheight}){}}}% + \framebox(\LenToUnit{\textwidth},\LenToUnit{\headheight}){}}}% \AtTextLowerLeft{% \put(0,\LenToUnit{-\footskip}){% \line(1,0){\LenToUnit{\textwidth}}}}% \AtTextLowerLeft{% \@tempdima=\textwidth\advance\@tempdima\marginparsep% - \if@twoside% - \ifodd\c@page\else% + \if@twoside + \ifodd\c@page\else \if@mparswitch - \@tempdima=-\marginparsep\advance\@tempdima-\marginparwidth% + \@tempdima=-\marginparsep\advance\@tempdima-\marginparwidth \fi - \fi% - \fi% + \fi + \fi \put(\LenToUnit{\@tempdima},0)% {\framebox(\LenToUnit{\marginparwidth},\LenToUnit{\textheight}){}}% - }% + }% \endgroup } |