diff options
author | Karl Berry <karl@freefriends.org> | 2020-02-24 14:30:04 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-02-24 14:30:04 +0000 |
commit | 960d933f3f34459c808af97a490a2f3f72e9945d (patch) | |
tree | 086521ad14c27658158afa3ebbdc75dc6f403636 /Master/texmf-dist/source/latex/overpic/overpic.dtx | |
parent | 0b64a57a603dd2c4391a9ecb8600d1cb91123ec4 (diff) |
overpic (23feb20)
git-svn-id: svn://tug.org/texlive/trunk@53889 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/overpic/overpic.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/overpic/overpic.dtx | 25 |
1 files changed, 15 insertions, 10 deletions
diff --git a/Master/texmf-dist/source/latex/overpic/overpic.dtx b/Master/texmf-dist/source/latex/overpic/overpic.dtx index 72bb795dbe2..ee3ba5cc166 100644 --- a/Master/texmf-dist/source/latex/overpic/overpic.dtx +++ b/Master/texmf-dist/source/latex/overpic/overpic.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -% Copyright (C) 2017 by Rolf Niepraschk <Rolf.Niepraschk@gmx.de> +% Copyright (C) 1997-... by Rolf Niepraschk <Rolf.Niepraschk@gmx.de> % --------------------------------------------------------------------------- % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either version 1.3 @@ -19,7 +19,7 @@ % %<*package> \NeedsTeXFormat{LaTeX2e}[1999/12/01] -\ProvidesPackage{overpic}[2018/09/02 1.2 picture overlays (RN)] +\ProvidesPackage{overpic}[2020/02/22 1.3 picture overlays (RN)] %</package> % %<*driver> @@ -58,7 +58,7 @@ %</driver> % \fi % -% \CheckSum{176} +% \CheckSum{180} % % \CharacterTable % {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z @@ -202,6 +202,7 @@ % % \begin{lstlisting} % \begin{Overpic}[abs,unit=1mm,grid=true,tics=5]{% +% \bfseries\sffamily % \begin{tabular}{*{8}{p{8mm}}} % H & & & & & & & He\\ % Li & Be & B & C & N & O & F & Ne\\ @@ -211,13 +212,14 @@ % Cs & Ba & Tl & Pb & Bi & Po & At & Rn\\ % Fr & Ra & 112& & 114& & &\\ % \end{tabular}}% -% \linethickness{0.5mm} \color{blue}% -% \put(0,0){\polygon(0,30)(10,30)(10,21.5)(44,21.5)(44,13.5)% -% (22,13.5)(22,4.5)(0,4.5)} +% \put(0,0){\color{blue}\linethickness{0.5mm} +% \polygon(0,30)(10,30)(10,21.5)(45,21.5)(45,13)(22,13)% +% (22,4.5)(0,4.5)} % \end{Overpic} % \end{lstlisting} % \par\medskip\pagebreak[3] % \begin{Overpic}[abs,unit=1mm,grid=true,tics=5]{% +% \bfseries\sffamily % \begin{tabular}{*{8}{p{8mm}}} % H & & & & & & & He\\ % Li & Be & B & C & N & O & F & Ne\\ @@ -227,10 +229,10 @@ % Cs & Ba & Tl & Pb & Bi & Po & At & Rn\\ % Fr & Ra & 112& & 114& & &\\ % \end{tabular}}% -% \linethickness{0.5mm} \color{blue}% -% \put(0,0){\polygon(0,30)(10,30)(10,21.5)(44,21.5)(44,13.5)% -% (22,13.5)(22,4.5)(0,4.5)} -% \end{Overpic} +% \put(0,0){\color{blue}\linethickness{0.5mm} +% \polygon(0,30)(10,30)(10,21.5)(45,21.5)(45,13)(22,13)% +% (22,4.5)(0,4.5)} +% \end{Overpic} % % \StopEventually{} % @@ -345,10 +347,13 @@ % \end{environment} % \begin{environment}{Overpic} % \changes{1.0}{2017/10/06}{Suggested by \mbox{Herbert Vo\ss}} +% \changes{1.3}{2020/02/22}{Added missing \cmd\setkeys} % Box 0 gets any \TeX\ code. % \begin{macrocode} \newenvironment{Overpic}[2][]{% \sbox\OVP@box{#2}% + \count@=\z@ \Gin@gridfalse + \setkeys{Gin}{#1}% \OVP@picture{#1}% }{\endpicture} % \end{macrocode} |