diff options
author | Karl Berry <karl@freefriends.org> | 2010-09-13 23:51:20 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-09-13 23:51:20 +0000 |
commit | 1cd62c18fb41b06aa2f90bf53d9f7811bd0ce6ec (patch) | |
tree | 2d60dbde9cd0f950dd3d6542d1848ac20d1cb501 /Master/texmf-dist/tex | |
parent | 94bcc1511861d54e0ad02ffc964842b196ed6107 (diff) |
overpic update (13sep10)
git-svn-id: svn://tug.org/texlive/trunk@19712 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/overpic/overpic.sty | 21 |
1 files changed, 15 insertions, 6 deletions
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}% }% |