summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/eso-pic
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-10-10 22:27:56 +0000
committerKarl Berry <karl@freefriends.org>2013-10-10 22:27:56 +0000
commitefa300558205320b779ab9de9ac92cc0b6c1872e (patch)
tree8eef658be7076e058227ec1df7bef33e5e0a9e37 /Master/texmf-dist/tex/latex/eso-pic
parent902eb7f3759df28b9ccead1963d456a85da3263c (diff)
eso-pic (10oct13)
git-svn-id: svn://tug.org/texlive/trunk@31875 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.sty24
1 files changed, 17 insertions, 7 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 5ae84afb890..596b4f011f9 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}
- [2010/10/06 v2.0c eso-pic (RN)]
+ [2013/10/06 v2.0d eso-pic (RN)]
\RequirePackage{atbegshi}
\providecommand*\LenToUnit[1]{#1\@gobble}
\newcommand\ESO@isMEMOIR[2]{#2}
@@ -199,11 +199,11 @@
\newcommand*\ESO@vline[1]{\ESO@subgridlines\line(0,1){#1}}
\newcommand*\ESO@Hline[1]{\ESO@gridlines\line(1,0){#1}}
\newcommand*\ESO@Vline[1]{\ESO@gridlines\line(0,1){#1}}
-\newcommand\ESO@fcolorbox[4][]{\fbox{#4}}
+\newcommand\ESO@fcolorbox[3]{\fbox{#3}}
\newcommand\ESO@color[1]{}
-\newcommand\ESO@colorbox[3][]{%
+\newcommand\ESO@colorbox[2]{%
\begingroup
- \fboxrule=\z@\fbox{#3}%
+ \fboxrule=\z@\fbox{#2}%
\endgroup
}
\newcommand\gridSetup[6][]{%
@@ -260,8 +260,18 @@
{\RequirePackage{color}}%
}{}%
\let\ESO@color=\color
-\let\ESO@colorbox=\colorbox
-\let\ESO@fcolorbox=\fcolorbox
+\renewcommand\ESO@colorbox[2]{%
+ \begingroup
+ \fboxsep=.4ex %
+ \colorbox{#1}{#2}%
+ \endgroup
+}
+\renewcommand\ESO@fcolorbox[3]{%
+ \begingroup
+ \fboxsep=.5ex %
+ \fcolorbox{#1}{#2}{#3}%
+ \endgroup
+}
\AtBeginDocument{%
\ESO@dvipsfalse
\@ifundefined{Gin@driver}{}%
@@ -342,7 +352,7 @@
\normalcolor%
\endgroup
}
-\ifESO@grid\g@addto@macro\ESO@HookIIIBG{\ESO@gridpicture}\fi
+\ifESO@grid\g@addto@macro\ESO@HookIFG{\ESO@gridpicture}\fi
\endinput
%%
%% End of file `eso-pic.sty'.