diff options
author | Karl Berry <karl@freefriends.org> | 2017-12-21 23:56:23 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2017-12-21 23:56:23 +0000 |
commit | d16b7dc51965de2c4a0451d90200f9b4808d23a4 (patch) | |
tree | d7d7beadfd2e5a11e532c3b55ae62e762d11ea0b /Master/texmf-dist/tex | |
parent | 5149fd09e4686b79e89ecc9b5e8fb7b1619f39ba (diff) |
overlays (21dec17)
git-svn-id: svn://tug.org/texlive/trunk@46112 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/overlays/overlays.sty | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/overlays/overlays.sty b/Master/texmf-dist/tex/latex/overlays/overlays.sty index 15bd79591da..5b8a97dd931 100644 --- a/Master/texmf-dist/tex/latex/overlays/overlays.sty +++ b/Master/texmf-dist/tex/latex/overlays/overlays.sty @@ -1,9 +1,9 @@ -\ProvidesPackage{overlays}[2017/11/19 v2.8 Incremental slides] +\ProvidesPackage{overlays}[2017/12/20 v2.9 Incremental slides] % Copyright (C) 2017 Andreas Nolda % Author: Andreas Nolda <andreas@nolda.org> -% Version: 2.8 +% Version: 2.9 % This work may be distributed and/or modified under the conditions of the LaTeX % Project Public License, either version 1.3 of this license or (at your option) @@ -151,13 +151,19 @@ \newcommand{\only}[2]{\overl@y{#1}{#2}{\setbox1=\vbox{#2}}} % ensure side-effects of content (such as incremented counters) \definecolor{background}{rgb}{1,1,1} + \@ifpackageloaded{pstricks}% {\def\pssetb@ckgroundcolor{\psset{linecolor=background}}}% {\def\pssetb@ckgroundcolor{\relax}} +\@ifpackageloaded{graphics}% + {\def\hidegr@phics{\setkeys{Gin}{draft}}}% + {\def\hidegr@phics{\relax}} + \newcommand{\visible}[2]{\overl@y{#1}{#2}{{\color{background}% \blendcolors{!0!background}% \pssetb@ckgroundcolor + \hidegr@phics {#2}% \ifvmode \unskip % undo spurious space introduced by \color |