summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/eso-pic
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2015-04-21 23:50:16 +0000
committerKarl Berry <karl@freefriends.org>2015-04-21 23:50:16 +0000
commitb5c4101d03d97b6b343cbe28e71b6f0c03cd672c (patch)
tree4750c7d8598ad7d7e64cf02fb67fc85e1a441492 /Master/texmf-dist/tex/latex/eso-pic
parent89a308a01374e940bb8bae76bf8ba450728b07ef (diff)
eso-pic (21apr15)
git-svn-id: svn://tug.org/texlive/trunk@36994 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/eso-pic')
-rw-r--r--Master/texmf-dist/tex/latex/eso-pic/eso-pic.sty12
1 files changed, 8 insertions, 4 deletions
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 596b4f011f9..0f2d8e1da0e 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}[1999/12/01]
\ProvidesPackage{eso-pic}
- [2013/10/06 v2.0d eso-pic (RN)]
+ [2015/04/20 v2.0e eso-pic (RN)]
\RequirePackage{atbegshi}
\providecommand*\LenToUnit[1]{#1\@gobble}
\newcommand\ESO@isMEMOIR[2]{#2}
@@ -97,10 +97,14 @@
\newcommand\AtTextUpperLeft[1]{%
\begingroup
\@tempdima=1in\relax
- \ifodd\c@page
- \advance\@tempdima\oddsidemargin
+ \if@twoside
+ \ifodd\c@page
+ \advance\@tempdima\oddsidemargin
+ \else
+ \advance\@tempdima\evensidemargin
+ \fi
\else
- \advance\@tempdima\evensidemargin
+ \advance\@tempdima\oddsidemargin
\fi
\@tempdimb=-1in\relax
\advance\@tempdimb-\topmargin