[texhax] beamer and attachfile

Victor Ivrii vivrii at gmail.com
Fri Jan 27 12:54:38 CET 2006


Dear Alexander,

Thank a lot, it works!

And without \hphantom it should be called to \MyOnSlideOnly


                                                           Victor

On 1/27/06, Alexander Grahn <A.Grahn at fz-rossendorf.de> wrote:
> Dear Victor,
>
>
> Here is a hack which seems to work. It defines a macro \MyOnSlide to be
> used with an explicit slide number (no range, no `+-' etc.):
>
> \makeatletter%
>   \let\myslideinframe\beamer at slideinframe%
> \makeatother%
> \newcommand{\MyOnSlide}[2]{%
>   \ifnum\myslideinframe=#1%
>     #2%
>   \else%
>     \phantom{#2}%
>   \fi%
> }
>
> ...
>
> \MyOnSlide{2}{\attachfile ...} %attach file on 2nd slide
>
> Alexander
>
> _______________________________________________
> TeX FAQ: http://www.tex.ac.uk/faq
> Mailing list archives: http://tug.org/pipermail/texhax/
> More links: http://tug.org/begin.html
>
> Automated subscription management: http://tug.org/mailman/listinfo/texhax
> Human mailing list managers: postmaster at tug.org
>


--
========================
Victor Ivrii, Department of Mathematics, University of Toronto



More information about the texhax mailing list