[pdftex] slides with headers/footers?
Troy Goodson
Troy.D.Goodson at jpl.nasa.gov
Mon Nov 19 09:22:57 CET 2001
At 8:29 AM -0800 11/19/01, Troy Goodson wrote:
>I've just discovered that pdfscreen won't let me put headers or
>footers on slides. I really need this and I'm hoping that someone
>out there can point me to a package that will let me do this.
>
>At 9:58 AM +0530 11/17/01, Radhakrishnan CV wrote:
>>On Fri, 16 Nov 2001 at 15:09, Troy Goodson wrote:
>> (and, while, I have your attention: any pointers/tips on
>> making footers on slides? I need left, right, and center
>> footers with the center footer carrying the page number.)
>>
>>There is no way for footers and headers in the slide.
>>
>>I attach herwith a hack for you. Please get back if you have
>>problems.
>>
>>--
>>Radhakrishnan
>(Radhakrishnan is the author of pdfscreen)
>the hack is make a set of background images with the footer in it :(
My apologies, the hack is not as I said but as follows... But I'm
still looking for a package that has this sort of thing built-in.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
\documentclass{article}
\usepackage{times}
\usepackage[screen,nopanel]{pdfscreen}
\margins{.5in}{.5in}{.5in}{.5in}
\screensize{6.25in}{8in}
\notesname{Notes:}
\hypersetup{pdfpagemode=FullScreen}
\begin{document}
%% Here goes a new page style
%% that will keep a footer in every slide
%% Use the command \slidefoot in every
%% slide so that the footer will be effective
%% If you dont use this command in a slide
%% the previous slidefoot will be effective.
\makeatletter
\let\@footleft\@empty\let\@footright\@empty
\def\ps at mystyle{\let\@oddhead\@empty\let\@evenhead\@empty
\def\@oddfoot{\parbox{\textwidth}
{\parbox{.45\textwidth}{\textcolor{section1}{\@footleft}}
\hfill\textcolor{red}{\bf No.~\thepage}\hfill
\parbox{.45\textwidth}
{\hfill\textcolor{section1}{\@footright}}}}
\let\@evenfoot\@oddfoot}
\def\slidefoot#1#2{\gdef\@footleft{#1}\gdef\@footright{#2}}
\ps at mystyle
\makeatother
\overlay{friburg_template.pdf}
\begin{slide}\Huge\color{orange}\centering
This is Slide No. \theslide.\\
\color{blue}\large Slide overlay No. \theslideoverlay.\\
\slidefoot{My first Slide}{Troy Goodson}
\end{slide}
\clearpage
\begin{slide}\Huge\color{orange}\centering
This is Slide No. \theslide.\\
\color{blue}\large Slide overlay No. \theslideoverlay.\\
\slidefoot{My Subsequent Slide}{Troy Goodson}
\end{slide}
\end{document}
More information about the pdftex
mailing list