summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/talk
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-07-14 00:42:28 +0000
committerKarl Berry <karl@freefriends.org>2006-07-14 00:42:28 +0000
commitb8dca10d69a6937ded2ca0371f036b38c1de7722 (patch)
tree773f3700849b7648011c6b0d099b3bbfb088ff43 /Master/texmf-dist/tex/latex/talk
parente8987b1750bf8a39c0608b8a9aaacdc988910684 (diff)
talk update
git-svn-id: svn://tug.org/texlive/trunk@1833 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/talk')
-rw-r--r--Master/texmf-dist/tex/latex/talk/sidebars.sty12
-rw-r--r--Master/texmf-dist/tex/latex/talk/talk.cls13
2 files changed, 17 insertions, 8 deletions
diff --git a/Master/texmf-dist/tex/latex/talk/sidebars.sty b/Master/texmf-dist/tex/latex/talk/sidebars.sty
index c8b7b07d0e8..6bdd35ecb97 100644
--- a/Master/texmf-dist/tex/latex/talk/sidebars.sty
+++ b/Master/texmf-dist/tex/latex/talk/sidebars.sty
@@ -49,10 +49,10 @@
\pgfbox[left,top]{%
\begin{minipage}[t][4.2in]{0.8in}%
\sffamily\tiny%
- {\centering\tiny\sffamily\textcolor{sb@sbt}{\@title}\par%
- \vspace{1em}\@author\par\vspace{2em}}%
+ {\centering\tiny\sffamily\textcolor{sb@sbt}{\@shorttitle}\par%
+ \vspace{1em}\@shortauthor\par\vspace{2em}}%
{\parskip=0.8em\@tableofcontents}%
- {\vfill\hspace*{\fill}p.\theslidelabel\hspace*{\fill}}%
+ {\vfill\hspace*{\fill}p. \theslidelabel\hspace*{\fill}}%
\end{minipage}%
}%
}%
@@ -128,9 +128,9 @@
\renewcommand{\maketitle}{%
\sffamily%
{\centering%
- {\color{sb@sbt}\LARGE\@title}\par\vspace{3em}%
- {\large\@author}\par\vspace{1.5em}%
- {\large\@date}\par
+ {\color{sb@sbt}\LARGE\@title\par}\vspace{3em}%
+ {\large\@author\par}\vspace{1.5em}%
+ {\large\@date\par}
}%
}
\renewcommand{\tableofcontents}[1][0.0-99.99]{%
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)
%