summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/overlays
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-10-04 21:34:10 +0000
committerKarl Berry <karl@freefriends.org>2016-10-04 21:34:10 +0000
commitd90bb85661d0273758ed15830e16416bec46fc92 (patch)
tree8f299bdf12ea017d582445e79a14b5f9fff0f0ed /Master/texmf-dist/tex/latex/overlays
parent055795d75854050642b8dd98e5352723ff2ad01f (diff)
overlays (4oct16)
git-svn-id: svn://tug.org/texlive/trunk@42206 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/overlays')
-rw-r--r--Master/texmf-dist/tex/latex/overlays/overlays.sty12
1 files changed, 6 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/latex/overlays/overlays.sty b/Master/texmf-dist/tex/latex/overlays/overlays.sty
index 6e0866ff6c2..42d76fd33df 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}[2016/10/02 v2.2 Incremental slides]
+\ProvidesPackage{overlays}[2016/10/04 v2.3 Incremental slides]
% Copyright (C) 2016 Andreas Nolda
% Author: Andreas Nolda <andreas@nolda.org>
-% Version: 2.2
+% Version: 2.3
% 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)
@@ -135,19 +135,19 @@
\long\def\overl@y#1#2#3{\ifinoverl@yspec{\curoverl@y}{#1}{#2}{#3}}
-\newcommand{\only}[2]{\overl@y{#1}{#2}{\relax}}
+\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}
\newcommand{\visible}[2]{\overl@y{#1}{#2}{{\color{background}%
- \let\default@color\current@color
+ \let\default@color\current@color % make equation number invisible
#2%
\ifvmode
- \unskip
+ \unskip % undo spurious space introduced by \color
\fi}}}
\definecolor{alert}{rgb}{1,0,0}
\newcommand{\alert}[2]{\overl@y{#1}{{\color{alert}%
#2%
\ifvmode
- \unskip
+ \unskip % undo spurious space introduced by \color
\fi}}{#2}}