From 1cd62c18fb41b06aa2f90bf53d9f7811bd0ce6ec Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 13 Sep 2010 23:51:20 +0000 Subject: overpic update (13sep10) git-svn-id: svn://tug.org/texlive/trunk@19712 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/overpic/overpic.sty | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) (limited to 'Master/texmf-dist/tex/latex/overpic') diff --git a/Master/texmf-dist/tex/latex/overpic/overpic.sty b/Master/texmf-dist/tex/latex/overpic/overpic.sty index f3622fd67d8..59cc29ad622 100644 --- a/Master/texmf-dist/tex/latex/overpic/overpic.sty +++ b/Master/texmf-dist/tex/latex/overpic/overpic.sty @@ -1,22 +1,23 @@ % overpic.sty -% Copyright 1999 Rolf Niepraschk, niepraschk@ptb.de +% Copyright 1999-2010 Rolf Niepraschk, Rolf.Niepraschk@gmx.de % This program can be redistributed and/or modified under the terms % of the LaTeX Project Public License Distributed from CTAN % archives in directory macros/latex/base/lppl.txt; either % version 1 of the License, or any later version. +% \changes{v0.53}{2010/09/13}{reset the graphics parameter} % \changes{v0.51}{1999/03/02}{New (LPPL) license} % \changes{v0.52}{1999/07/04}{Correction of wrong height calculation % (if depth != 0)} -\def\fileversion{v0.52} -\def\filedate{1999/07/04}% +\def\fileversion{v0.53} +\def\filedate{2010/09/13}% \ProvidesPackage{overpic} - [\filedate\space\fileversion\space\space Overwriting eps pictures] + [\filedate\space\fileversion\space\space Overwriting graphics] \NeedsTeXFormat{LaTeX2e} @@ -61,7 +62,7 @@ \divide\@tempcnta by \unitlength% \fi% \ifnum\count@=\z@% - \count@=\OVP@scale\divide\count@ by 10% + \count@=\OVP@scale\divide\count@ by 10 % \fi% }% \else% @@ -89,8 +90,16 @@ \put(0,0){\makebox(0,0)[bl]{\usebox{\z@}}}% \ifGin@grid% \put(0,0){\normalfont\fontsize\@viipt\@viiipt\selectfont% - \grid(\@tempcnta,\@tempcntb)(\count@,\count@)[0,0]}% + \grid(\@tempcnta,\@tempcntb)(\count@,\count@)[0,0]}% \fi% + % reset the graphics parameter + \let\Gin@outer@scalex\relax + \let\Gin@outer@scaley\relax + \let\Gin@angle\relax + \let\Gin@ewidth\Gin@exclamation + \let\Gin@eheight\Gin@ewidth + \def\Gin@scalex{1} + \let\Gin@scaley\Gin@exclamation }{% \end{picture}% }% -- cgit v1.2.3