source: palm/tags/release-4.0/TUTORIAL/SOURCE/header_WEB.tex @ 1540

Last change on this file since 1540 was 1526, checked in by keck, 9 years ago

several updates in the tutorial

  • Property svn:keywords set to Id
File size: 954 bytes
Line 
1% $Id: header_WEB.tex 1526 2015-01-22 12:47:21Z raasch $
2% Create presentation with comments (no transitions) (trac-system)
3\documentclass[handout]{beamer}
4\usepackage[author=raasch]{pdfcomment}
5
6\usetheme{Dresden}
7
8\definestyle{note}{icon=Comment,color=white,open=true}
9\definestyle{warning}{icon=Comment,color=red,open=true}
10
11\newcounter{slidenum}
12
13\newcommand{\pdfnote}[2]{%
14\setcounter{slidenum}{\insertpagenumber}
15\addtocounter{slidenum}{1}
16\addtocounter{slidenum}{-\insertframestartpage}
17%\arabic{slidenum}
18%\arabic{beamerpauses}
19\only<\value{beamerpauses}>{\pdfcomment[style=note,author=#1]{#2}}%
20% \onslide*<\value{slidenum}>{\pdfcomment[style=note,author=#1]{#2}}%
21}
22
23\newcommand{\pdfwarn}[2]{%
24\setcounter{slidenum}{\insertpagenumber}
25\addtocounter{slidenum}{1}
26\addtocounter{slidenum}{-\insertframestartpage}
27%\arabic{slidenum}
28%\arabic{beamerpauses}
29\only<\value{beamerpauses}>{\pdfcomment[style=warning,author=#1]{#2}}%
30% \onslide*<\value{slidenum}>{\pdfcomment[style=note,author=#1]{#2}}%
31}
Note: See TracBrowser for help on using the repository browser.