[powerdot] How to disable lf=, rf=, logo*= on the titlepage in powerdot?

  • From: Anjishnu Sarkar <anjishnusarkar@xxxxxxxxx>
  • To: powerdot@xxxxxxxxxxxxx
  • Date: Wed, 31 Mar 2010 11:44:03 +0530

Dear All,

How does one disable the left footer, right footer and logo on the titlepage.
Minimal working example is something like this:

\documentclass[style=sailor]{powerdot}
\usepackage{graphicx}
\pddefinetemplate[titleslide]{titleslide}{}{
    \pdsetup{lf=,rf=,theslide=,logopos=,}
}
\pdsetup{
    palette=River,
    lf={Powerdot example},
    logohook=t,%
    logopos={0.088\slidewidth,0.98\slideheight},%
    logocmd={\includegraphics[width=0.08\slidewidth]{logoimg}}%
}
\title{Some title}
\author{Some author \\
{\tt author@xxxxxxxxxxxxxxxx} \\ [15pt]
\includegraphics[width=0.1\textwidth]{logoimg} \\ [2pt]
Some Institute Name \\
}
\date{}
\begin{document}
\maketitle
\begin{slide}{Introduction}
Hello World
\end{slide}
\end{document}

With the above example, even though logo doesn't show up on the titlepage,
the left-footer, right-footer and page number shows up on the titlepage.
In the powerdot.cls file there is a bit of code which says:

\AtBeginDocument{%
  \disable@keys[pd]{global}{%
     lf,rf,theslide,thenote,enumerate,itemize,list,counters%
  }%
}

After commenting out the above code in powerdot.cls, the values of lf,
rf and theslide doesn't show up on the titlepage.

1) Is there a reason to disable them after \begin{document} ?
2) Is there a easier way to do this other than commenting out lines in the
    class file?

Anjishnu

Other related posts: