source: palm/trunk/TUTORIAL/SOURCE/header_WEB.tex @ 988

Last change on this file since 988 was 915, checked in by maronga, 12 years ago

added first LaTeX source code for the new tutorial

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