summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/eso-pic
diff options
context:
space:
mode:
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'.