meilleure définition de placehold

Cette révision appartient à :
Yann Salmon
2019-02-15 12:07:31 +01:00
Parent 238fdb25b7
révision 55abb381fb

Voir le fichier

@@ -114,18 +114,18 @@
\tikzstyle{crashfloyd} = [basefloyd, fill=red!20]
\tikzstyle{invfloyd} = [basefloyd, fill=green!20]
\newbox\@tempboxb
\newcommand<>\placehold[1]{%
\setbox\@tempboxa\hbox{#1}%
\setbox\@tempboxb\hbox{\null}%
\wd\@tempboxb=\wd\@tempboxa
\ht\@tempboxb=\ht\@tempboxa
\dp\@tempboxb=\dp\@tempboxa
% Use the below definition if color goes wrong
% \setbox\@tempboxa\hbox{\color@begingroup#1\color@endgroup}%
\alt#2{\box\@tempboxa}{\box\@tempboxb}%
}
\mode
<article>
\long\def\ysbeamer@reallymakeinvisible#1{\pgfsys@begininvisible #1\pgfsys@endinvisible}
\newrobustcmd*{\placehold}{\alt{\ysbeamer@reallymakeinvisible}{\ysbeamer@reallymakeinvisible}}
\mode
<presentation>
\newrobustcmd*{\placehold}{\alt{\beamer@fakeinvisible}{\beamer@makecovered}}
\mode
<all>
\mode<article>{\parskip=1ex plus .5ex minus 0.5ex}
\mode<presentation>{\parskip=1ex plus .5fill minus 0.75ex}