% $Id: header_WEB.tex 1526 2015-01-22 12:47:21Z heinze $ % Create presentation with comments (no transitions) (trac-system) \documentclass[handout]{beamer} \usepackage[author=raasch]{pdfcomment} \usetheme{Dresden} \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}}% }