% $Id: header_WEB.tex 915 2012-05-30 15:11:11Z letzel $ % Create presentation with comments (no transitions) (trac-system) \documentclass[handout]{beamer} \usepackage[author=raasch]{pdfcomment} \definestyle{note}{icon=Comment,color=white,open=true} \definestyle{warning}{icon=Comment,color=red,open=true} \newcounter{slidenum} \newcommand{\pdfnote}[2]{% \setcounter{slidenum}{\insertpagenumber} \addtocounter{slidenum}{1} \addtocounter{slidenum}{-\insertframestartpage} %\arabic{slidenum} %\arabic{beamerpauses} \only<\value{beamerpauses}>{\pdfcomment[style=note,author=#1]{#2}}% % \onslide*<\value{slidenum}>{\pdfcomment[style=note,author=#1]{#2}}% } \newcommand{\pdfwarn}[2]{% \setcounter{slidenum}{\insertpagenumber} \addtocounter{slidenum}{1} \addtocounter{slidenum}{-\insertframestartpage} %\arabic{slidenum} %\arabic{beamerpauses} \only<\value{beamerpauses}>{\pdfcomment[style=warning,author=#1]{#2}}% % \onslide*<\value{slidenum}>{\pdfcomment[style=note,author=#1]{#2}}% }