summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/talk/sidebars.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/talk/sidebars.sty')
-rw-r--r--Master/texmf-dist/tex/latex/talk/sidebars.sty99
1 files changed, 51 insertions, 48 deletions
diff --git a/Master/texmf-dist/tex/latex/talk/sidebars.sty b/Master/texmf-dist/tex/latex/talk/sidebars.sty
index 6bdd35ecb97..ecff124bda7 100644
--- a/Master/texmf-dist/tex/latex/talk/sidebars.sty
+++ b/Master/texmf-dist/tex/latex/talk/sidebars.sty
@@ -33,41 +33,40 @@
\sidebartitlecolor{0,0,0.7}
\@newslidestyle{normal}{%
- \renewcommand{\@makeslidebackground}{%
- \color{sb@bg}
- \pgfrect[fill]{\pgfpoint\z@\z@}{\pgfpoint\slidewidth\slideheight}%
- \color{sb@sb}%
- \pgfrect[fill]{\pgfpoint{5in}\z@}{\pgfpoint{1in}\slideheight}%
- \@ifscreen{}{%
- \color{black}%
- \pgfrect[stroke]{\pgfpoint\z@\z@}{\pgfpoint\slidewidth\slideheight}%
- }%
- }%
- \renewcommand{\@makeslidecontent}{%
- \begin{pgfpicture}\z@\z@\z@\z@
- \pgfputat{\pgfpoint{5.1in}{-0.2in}}{%
- \pgfbox[left,top]{%
- \begin{minipage}[t][4.2in]{0.8in}%
- \sffamily\tiny%
- {\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}}%
- \end{minipage}%
- }%
+ \renewcommand{\@makeslide}{%
+ \begin{pgfscope}
+ \color{sb@bg}
+ \pgfrect[fill]{\pgfpoint\z@\z@}{\pgfpoint\slidewidth\slideheight}%
+ \color{sb@sb}%
+ \pgfrect[fill]{\pgfpoint{5in}\z@}{\pgfpoint{1in}\slideheight}%
+ \@ifscreen{}{%
+ \color{black}%
+ \pgfrect[stroke]{\pgfpoint\z@\z@}{\pgfpoint\slidewidth\slideheight}%
}%
- \pgfputat{\pgfpoint{0.2in}{-0.2in}}{%
- \pgfbox[left,top]{%
- \begin{minipage}[t][4.1in]{4.6in}%
- \sffamily{\color{sb@title}\LARGE\@slidetitle\par}%
- \vspace*{1.5em plus 1fill}%
- \parskip=1.5ex plus0.5ex minus0.5ex\@slidebody\par%
- \vspace*{0pt plus 1fill}%
- \end{minipage}%
- }%
+ \end{pgfscope}
+ %
+ \pgfputat{\pgfpoint{5.1in}{4.3in}}{%
+ \pgfbox[left,top]{%
+ \begin{minipage}[t][4.2in]{0.8in}%
+ \sffamily\tiny%
+ {\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}}%
+ \end{minipage}%
}%
- \end{pgfpicture}
- }
+ }%
+ \pgfputat{\pgfpoint{0.2in}{4.3in}}{%
+ \pgfbox[left,top]{%
+ \begin{minipage}[t][4.1in]{4.6in}%
+ \sffamily{\color{sb@title}\LARGE\@slidetitle\par}%
+ \vspace*{1.5em plus 1fill}%
+ \parskip=1.5ex plus0.5ex minus0.5ex\@slidebody\par%
+ \vspace*{0pt plus 1fill}%
+ \end{minipage}%
+ }%
+ }%
+ }%
\renewcommand{\@maketocsection}[3]{%
\raggedright\noindent%
\@ifcurrentsection{##1}{%
@@ -91,27 +90,31 @@
\@newslidestyle{plain}{%
\renewcommand{\@makeslidebackground}{%
- \color{sb@bg}
- \pgfrect[fill]{\pgfpoint\z@\z@}{\pgfpoint\slidewidth\slideheight}%
- \@ifscreen{}{%
- \color{black}%
- \pgfrect[stroke]{\pgfpoint\z@\z@}{\pgfpoint\slidewidth\slideheight}%
- }%
+ \begin{pgfscope}
+ \color{sb@bg}
+ \pgfrect[fill]{\pgfpoint\z@\z@}{\pgfpoint\slidewidth\slideheight}%
+ \@ifscreen{}{%
+ \color{black}%
+ \pgfrect[stroke]{\pgfpoint\z@\z@}{\pgfpoint\slidewidth\slideheight}%
+ }%
+ \end{pgfscope}
}%
\renewcommand{\@makeslidecontent}{\vspace*{\fill}\@slidebody\vspace*{\fill}}%
}
\@newslidestyle{outline}{%
\renewcommand{\@makeslidebackground}{%
- \color{sb@bg}
- \pgfrect[fill]{\pgfpoint\z@\z@}{\pgfpoint\slidewidth\slideheight}%
- \color{sb@sb}
- \pgfrect[fill]{\pgfpoint\z@\z@}{\pgfpoint{0.5in}\slideheight}%
- \pgfrect[fill]{\pgfpoint{5.5in}\z@}{\pgfpoint{0.5in}\slideheight}%
- \@ifscreen{}{%
- \color{black}%
- \pgfrect[stroke]{\pgfpoint\z@\z@}{\pgfpoint\slidewidth\slideheight}%
- }%
+ \begin{pgfscope}
+ \color{sb@bg}
+ \pgfrect[fill]{\pgfpoint\z@\z@}{\pgfpoint\slidewidth\slideheight}%
+ \color{sb@sb}
+ \pgfrect[fill]{\pgfpoint\z@\z@}{\pgfpoint{0.5in}\slideheight}%
+ \pgfrect[fill]{\pgfpoint{5.5in}\z@}{\pgfpoint{0.5in}\slideheight}%
+ \@ifscreen{}{%
+ \color{black}%
+ \pgfrect[stroke]{\pgfpoint\z@\z@}{\pgfpoint\slidewidth\slideheight}%
+ }%
+ \end{pgfscope}%
}%
\renewcommand{\@makeslidecontent}{%
\vspace{0.2in}%