summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/talk/talk.cls
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/talk/talk.cls')
-rw-r--r--Master/texmf-dist/tex/latex/talk/talk.cls13
1 files changed, 11 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/talk/talk.cls b/Master/texmf-dist/tex/latex/talk/talk.cls
index 794a8d0bae1..1e9831b33e0 100644
--- a/Master/texmf-dist/tex/latex/talk/talk.cls
+++ b/Master/texmf-dist/tex/latex/talk/talk.cls
@@ -12,7 +12,7 @@
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
-\ProvidesClass{talk}[2005/08/09 v1.0.1]
+\ProvidesClass{talk}[2006/07/11 v1.0.2]
\def\pres@dt@notes{notes}
\def\pres@dt@slides{slides}
@@ -40,7 +40,16 @@
\RequirePackage{amsmath}
\RequirePackage{graphicx}
\RequirePackage{pgf}
-%\RequirePackage{hyperref}
+\RequirePackage{hyperref}
+
+% title and author
+%
+\def\title{\@ifnextchar[{\pres@titleii}{\pres@titlei}}
+\def\pres@titleii[#1]#2{\gdef\@title{#2}\gdef\@shorttitle{#1}}
+\def\pres@titlei#1{\pres@titleii[#1]{#1}}
+\def\author{\@ifnextchar[{\pres@authorii}{\pres@authori}}
+\def\pres@authorii[#1]#2{\gdef\@author{#2}\gdef\@shortauthor{#1}}
+\def\pres@authori#1{\pres@authorii[#1]{#1}}
% collect@body (from amsmath.sty)
%