summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/powerdot
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-07-14 22:42:30 +0000
committerKarl Berry <karl@freefriends.org>2006-07-14 22:42:30 +0000
commit9050dab9c1fe96ee740f4b240c9f1cbdeb764d08 (patch)
tree7e0ecfb5592cc0cfc6b22a9492daa2a278b04502 /Master/texmf-dist/source/latex/powerdot
parent8e31fe3c99d1f1b6a0eda074f89b206fd70aa9e5 (diff)
powerdot update
git-svn-id: svn://tug.org/texlive/trunk@1842 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/powerdot')
-rw-r--r--Master/texmf-dist/source/latex/powerdot/powerdot.dtx4241
1 files changed, 3038 insertions, 1203 deletions
diff --git a/Master/texmf-dist/source/latex/powerdot/powerdot.dtx b/Master/texmf-dist/source/latex/powerdot/powerdot.dtx
index 3430e23d4e9..97e2c3cacf3 100644
--- a/Master/texmf-dist/source/latex/powerdot/powerdot.dtx
+++ b/Master/texmf-dist/source/latex/powerdot/powerdot.dtx
@@ -25,9 +25,9 @@
% other style name) to generate .001 and .002 files which
% will be included by the documentation.
%
-%% ----------------------------------------------------------
-%% Copyright (C) 2005 Hendri Adriaens and Christopher Ellison
-%% ----------------------------------------------------------
+%% ---------------------------------------------------------------
+%% Copyright (C) 2005-2006 Hendri Adriaens and Christopher Ellison
+%% ---------------------------------------------------------------
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3
@@ -39,7 +39,7 @@
%%
%% This work has the LPPL maintenance status "maintained".
%%
-%% This Current Maintainer of this work is Christopher Ellison.
+%% This Current Maintainer of this work is Hendri Adriaens.
%%
%% This work consists of all files listed in manifest.txt.
%%
@@ -67,10 +67,16 @@
\file{powerdot-sailor.sty}{\from{powerdot.dtx}{pdsailor}}
\file{powerdot-upen.sty}{\from{powerdot.dtx}{pdupen}}
\file{powerdot-bframe.sty}{\from{powerdot.dtx}{pdbframe}}
+ \file{powerdot-horatio.sty}{\from{powerdot.dtx}{pdhoratio}}
+ \file{powerdot-paintings.sty}{\from{powerdot.dtx}{pdpaintings}}
+ \file{powerdot-klope.sty}{\from{powerdot.dtx}{pdklope}}
+ \file{powerdot-jefka.sty}{\from{powerdot.dtx}{pdjefka}}
+ \file{powerdot-pazik.sty}{\from{powerdot.dtx}{pdpazik}}
\file{powerdot-styletest.tex}{\from{powerdot.dtx}{pdstyletest}}
\file{powerdot-styleexample.tex}{\from{powerdot.dtx}{pdstyleexample}}
\file{powerdot-example1.tex}{\from{powerdot.dtx}{pdexample1}}
\file{powerdot-example2.tex}{\from{powerdot.dtx}{pdexample2}}
+ \file{powerdot-example3.tex}{\from{powerdot.dtx}{pdexample3}}
\file{pdpream.ble}{\from{powerdot.dtx}{preamble}}
\file{powerdot.bib}{\from{powerdot.dtx}{bib}}
}
@@ -81,8 +87,8 @@
\input{pdpream.ble}
\OnlyDescription
%\EnableCrossrefs
-\def\fileversion{v1.2}
-\def\filedate{2005/10/09}
+\def\fileversion{v1.3}
+\def\filedate{2005/12/06}
\begin{document}
\DocInput{powerdot.dtx}
\let\Section\section\def\section*#1{\Section*{#1}\addcontentsline{toc}{section}{#1}}
@@ -92,13 +98,13 @@
The authors are grateful to Mael Hill\'ereau for contributing the
\LyX\ layout file and description. Further, we like to thank all
style contributors (see section~\ref{sec:styles}). Moreover, we wish
-to thanks everyone who contributed to this
-package in any other way.\\[1em]
+to thank everyone who contributed to this package in any other
+way.\\[1em]
\hspace*{\stretch{1}}
\begin{minipage}{.9\linewidth}
-Ramon van den Akker, Pavel Cizek, Darren Dale, Andr\'as Horv\'ath,
-Laurent Jacques, Akira Kakuto, Thomas Koepsell, Theo Stewart and
-Herbert Vo\ss.
+Ramon van den Akker, Pavel \v C\'i\v zek, Darren Dale, Hans Marius
+Eikseth, Morten H\o gholm, Andr\'as Horv\'ath, Laurent Jacques, Akira
+Kakuto, Uwe Kern, Kyanh, Theo Stewart, Don P. Story and Herbert Vo\ss.
\end{minipage}
\hspace*{\stretch{1}}\\[1em]
We hope not to have forgotten anyone.
@@ -127,8 +133,25 @@ We hope not to have forgotten anyone.
% \changes{v1.2}{2005/10/09}{Solved some small bugs}
% \changes{v1.2}{2005/10/09}{Simplified coding of most styles}
% \changes{v1.2}{2005/10/09}{Speeded up compilations}
-%
-% \CheckSum{2426}
+% \changes{v1.3}{2005/12/06}{Solved some small bugs}
+% \changes{v1.3}{2005/12/06}{Improved \texttt{figure} and \texttt{table} handling}
+% \changes{v1.3}{2005/12/06}{Added \pf{horatio}, \pf{paintings}, \pf{klope}, \pf{jefka}
+% and \pf{pazik} styles}
+% \changes{v1.3}{2005/12/06}{Added palettes feature}
+% \changes{v1.3}{2005/12/06}{Added random dots feature}
+% \changes{v1.3}{2005/12/06}{Added optional argument to \cs{maketitle}}
+% \changes{v1.3}{2005/12/06}{Added clock feature}
+% \changes{v1.3}{2005/12/06}{Updated all styles}
+% \changes{v1.3}{2005/12/06}{Added palettes to \pf{default}, \pf{fyma} and \pf{sailor} styles}
+% \changes{v1.3}{2005/12/06}{Revised docs}
+% \changes{v1.3}{2005/12/06}{Updated \LyX\ example and information}
+% \changes{v1.3}{2005/12/06}{Cleaned up options}
+% \changes{v1.3}{2005/12/06}{Added possibility to create horizontal table of contents}
+% \changes{v1.3}{2005/12/06}{Added logo feature}
+% \changes{v1.3}{2005/12/06}{Added examples and example file}
+% \changes{v1.3}{2005/12/06}{Added two slide processing methods to do verbatim on slides easily}
+%
+% \CheckSum{3174}
%
% \CharacterTable
% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
@@ -251,14 +274,15 @@ We hope not to have forgotten anyone.
%
%\subsection{Document class options}\label{sec:classopts} We will
%start with the class options that are typed in the |\documentclass|
-%command as a comma-separated list. For each option, the default
-%value will be mentioned in the description. This is the value that
-%will be used if you decide to not give a value to the option or not
-%use the option at all.
+%command as a comma-separated list. For each option, the preset
+%value\footnote{The value that will be used when you don't use the
+%option.} will be mentioned in the description. This is the value
+%that will be used if you decide to not give a value to the option or
+%not use the option at all.
%
%\DescribeOption{mode}
%This options controls the kind of output that we want to produce.
-%The default value is |present|.
+%The preset value is |present|.
%\begin{description}
%\item\option{mode=present}\\
%This mode is used when you want to create the actual presentation. It
@@ -281,8 +305,8 @@ We hope not to have forgotten anyone.
%\end{description}
%\end{description}
%
-%\DescribeOption{paper} This option has three possible values. The default
-%value is |screen|.
+%\DescribeOption{paper} This option has three possible values. The
+%preset value is |screen|.
%\begin{description}
%\item\option{paper=screen}\\
%This is a special format with screen optimized ratio (4/3). The
@@ -299,7 +323,7 @@ We hope not to have forgotten anyone.
%viewing presentations is available in section~\ref{sec:compiling}.
%
%\DescribeOption{orient} This controls the orientation of the
-%presentation. The default value is |landscape|.
+%presentation. The preset value is |landscape|.
%\begin{description}
%\item\option{orient=landscape}\\
%The presentation will be in landscape format. This value is not
@@ -313,7 +337,7 @@ We hope not to have forgotten anyone.
%\end{description}
%
%\DescribeOption{display} This controls the production of slides and
-%notes. The default value is |slides|.
+%notes. The preset value is |slides|.
%\begin{description}
%\item\option{display=slides}\\
%This will only typeset the slides in your presentation.
@@ -321,19 +345,19 @@ We hope not to have forgotten anyone.
%This will typeset both the slides and the notes in your
%presentation. See also section~\ref{sec:notes} for more information
%about notes.
-%\item\option{display=notes}\\ This will typeset the notes only. To
-%be able to typeset the slide numbers of the notes correctly, one should
-%first run the presentation in slidesnotes mode once.
+%\item\option{display=notes}\\
+%This will typeset the notes only.
%\end{description}
%
%Here are some more options to control the output.
%\begin{description}
%\item\DescribeOption{size}\option{size}\\
%This is the size of the normal text font in points. Possible values
-%are 8pt, 9pt, 10pt, 11pt, 12pt, 14pt, 17pt and 20pt and the default value is
-%11pt.\footnote{Note that sizes other than 10pt, 11pt and 12pt are
-%non-standard and it is assumed that you have the \pf{extsizes}
-%bundle \cite{extsizes} installed, which provides these sizes.}
+%are 8pt, 9pt, 10pt, 11pt, 12pt, 14pt, 17pt and 20pt and the preset
+%value is 11pt.\footnote{Note that sizes other than 10pt, 11pt and
+%12pt are non-standard and it is assumed that you have the
+%\pf{extsizes} bundle \cite{extsizes} installed, which provides these
+%sizes.}
%\item\DescribeOption{style}\option{style}\\
%This controls the style to be loaded for the presentation. By
%default, the \pf{default} style will be loaded. For more styles, see
@@ -353,14 +377,14 @@ We hope not to have forgotten anyone.
%post processing steps yourself, use this option.
%\item\DescribeOption{hlentries}\option{hlentries}\\
%This highlights table of contents entries when the entry matches
-%with the current slide and is |true| by default. See also
+%with the current slide and its preset value is |true|. See also
%section~\ref{sec:structure}. If you don't want highlighting of table
%of contents entries (for instance in print mode), use
%|hlentries=false|.
%\item\DescribeOption{hlsections}\option{hlsections}\\
%This highlights table of contents sections when the section matches
-%with the current section in the presentation and is |false| by
-%default. See also section~\ref{sec:structure}. Specifying this
+%with the current section in the presentation and is preset to |false|.
+%See also section~\ref{sec:structure}. Specifying this
%option turns highlighting of sections on. This could be useful when
%you are using a style that implements a split table of contents.
%\item\DescribeOption{blackslide}\option{blackslide}\\
@@ -372,6 +396,9 @@ We hope not to have forgotten anyone.
%slide, you will go back to the originating slide. This option can be
%used to temporarily pause a presentation, for instance, to do a
%proof on the black board.
+%\item\DescribeOptions{clock}\option{clock}\\
+%This displays a small digital clock on slides which you can use to
+%check the time left for your presentation.
%\end{description}
%
%Here is an example of a |\documentclass| command.
@@ -412,21 +439,25 @@ We hope not to have forgotten anyone.
%|\documentclass| command. This has a technical reason.\footnote{The
%interested reader is referred to the section about the \pf{xkvltxp}
%package in the \pf{xkeyval} package documentation \cite{xkeyval}.}
-%The options can be accessed via the |\pdsetup| command, which can
-%only be used in the preamble of your presentation. The command takes
-%one argument, which should contain a comma-separated list of
-%options. The available options are described below.
-%
+%We distinguish two types of options. Options that can only be set
+%globally (acting for the entire presentation) using the |\pdsetup|
+%command and options that can be accessed both globally (via
+%|\pdsetup|) and locally (via slide environments, see section~\ref{sec:slides}).
+%
+%\subsubsection{Global options}\label{sec:gopts}
+%This section describes options that can only be used globally in the
+%preamble of your presentation via the |\pdsetup| command.
%\begin{description}
-%\item\DescribeOption{lf}\option{lf}\\
-%This determines the content of the left footer. By default, this is
-%empty.
-%\item\DescribeOption{rf}\option{rf}\\
-%This determines the content of the right footer. By default, this is
-%empty.
+%\item\DescribeOption{palette}\option{palette}\\
+%This specifies the palette to be used. A palette is a set of colors
+%defined by a style. To find out which palettes are defined by each
+%style, see section~\ref{sec:styles}.
+%\item\DescribeOptions{lf,rf}\option{lf,rf}\\
+%This determines the content of the left footer and right footers.
+%These are preset to empty.
%\item\DescribeOption{theslide}\option{theslide}\\
-%This option controls how the slide number appears on the slide. By
-%default this has the value |\arabic{slide}~/~\pageref*{lastslide}|,
+%This option controls how the slide number appears on the slide. This
+%is preset to the value |\arabic{slide}~/~\pageref*{lastslide}|,
%which could appear like |5/22|. Notice that the |\arabic{slide}|
%typesets the number of the current slide and that
%|\pageref*{lastslide}| typesets the number of the last
@@ -435,10 +466,41 @@ We hope not to have forgotten anyone.
%it is referring to.}
%\item\DescribeOption{thenote}\option{thenote}\\
%This is similar to the |theslide| option, but typesets the slide
-%numbers of notes. The default value is
+%numbers of notes. The preset value is
%|note~\arabic{note}~of~slide~\arabic{slide}| and |\arabic{note}|
%here typesets the number of the current note that goes with the
%current slide. This could appear like |note 2 of slide 7|.
+%\item\DescribeOption{counters}\option{counters}\\
+%The |counters| option lists counters that you might want to protect
+%on overlays. As material on overlays (see
+%section~\ref{sec:overlays}) is processed multiple times, also
+%\LaTeX\ counters, like the |equation| counter, might be increased
+%too often. To avoid that your equations get different numbers on
+%every overlay, use this option. The |equation|, |table|, |figure|,
+%|footnote| and |mpfootnote| counters are already protected for you.
+%If you use extra counters, for instance for theorems, list them in
+%this option. Example:
+%\begin{example}
+% counters={theorem,lemma}
+%\end{example}
+%\item\DescribeOption{list}\option{list}\\
+%This option takes a list of options that will be passed on to the
+%\pf{enumitem} package that controls the layout of lists created by
+%the |enumerate| and |itemize| environments. Example:
+%\begin{example}
+% list={labelsep=1em,leftmargin=*,itemsep=0pt,topsep=5pt,parsep=0pt}
+%\end{example}
+%See for more information on controlling the layout of lists the
+%\pf{enumitem} package \cite{enumitem}.
+%\item\DescribeOptions{enumerate,itemize}\option{enumerate,itemize}\\
+%As the |list| option, but only control |enumerate| and |itemize|
+%environments respectively.
+%\end{description}
+%
+%\subsubsection{Global and local options}\label{sec:glopts}
+%This section describes options that can be used both globally via
+%|\pdsetup| and locally via slide environments (see section~\ref{sec:slides}).
+%\begin{description}
%\item\DescribeOption{trans}\option{trans}\\
%This option sets the default transition effect to be used in the
%presentation. These transition effects only work after compiling the
@@ -449,7 +511,7 @@ We hope not to have forgotten anyone.
%|Cover|, |Uncover| or |Fade|. It is important to notice that most
%viewers are case sensitive, so, for instance, |box| will not work.
%
-%The default effect is |Replace| which just replaces one slide with
+%The preset effect is |Replace| which just replaces one slide with
%another when browsing the slides. Note that some PDF viewers (like
%Acrobat Reader 5 and higher) only produce the transition effect in
%full screen mode. If you want to use a custom transition effect that
@@ -464,34 +526,113 @@ We hope not to have forgotten anyone.
%In Acrobat (Reader), this wipes from left to right instead of the
%default top to bottom. For more information, see a PDF Reference
%Manual.
-%\item\DescribeOption{counters}\option{counters}\\
-%The |counters| option lists counters that you might want to protect
-%on overlays. As material on overlays (see
-%section~\ref{sec:overlays}) is processed multiple times, also
-%\LaTeX\ counters, like the |equation| counter, might be increased
-%too often. To avoid that your equations get different numbers on
-%every overlay, use this option. The |equation|, |table|, |figure|,
-%|footnote| and |mpfootnote| counters are already protected for you.
-%If you use extra counters, for instance for theorems, list them in
-%this option. Example:
+%\item\DescribeOption{method}\option{method}\\
+%This option can be used when a slide contains special material that
+%does not get treated in the `usual' way by \LaTeX. Verbatim material
+%is an example of this. Possible values are |normal| (the preset value),
+%|direct| and |file|. We will come back to this option in detail in
+%section~\ref{sec:verbatim}.
+%\item\DescribeOptions{logohook,logopos,logocmd}\option{logohook,logopos,logocmd}\\
+%If |logopos| is specified, a logo defined by the value of the
+%|logocmd| option will be put on slides. The position can be
+%specified relative to the width and height of the slide. |{0,0}| is
+%the lower left corner of the paper and |{\slidewidth,\slideheight}|
+%is the upper right corner. For positioning the logo, the |\rput|
+%command of \pf{pstricks} \cite{PSTricksWeb,PSTricks} is used. This
+%command also allows to specify the point of the logo that should be
+%positioned there. This point can be entered via the |logohook|
+%option and can take the values |tl|, |t|, |tr|, |r|, |Br|, |br|,
+%|b|, |bl|, |Bl|, |l|, |B| and |c|. For more information about
+%|\rput|, consult the \pf{pstricks} documentation. Here is an example
+%that integrates the flower of the \pf{default} style into the
+%\pf{husky} style.
%\begin{example}
-% counters={theorem,lemma}
+% \documentclass[style=husky]{powerdot}
+% \pdsetup{
+% logohook=t,
+% logopos={.088\slidewidth,.99\slideheight},
+% logocmd={\includegraphics[height=.08\slideheight]{powerdot-default.ps}}
+% }
+% \begin{document}
+% ...
+% \end{document}
%\end{example}
-%\item\DescribeOption{list}\option{list}\\
-%This option takes a list of options that will be passed on to the
-%\pf{enumitem} package that controls the layout of lists created by
-%the |enumerate| and |itemize| environments. Example:
+%The preset value for |logohook| is |tl|.
+%\end{description}
+%
+%A special feature of \pf{powerdot}, which can be used to make
+%presentations come alive, is the use of random dots. These dots will
+%be placed anywhere on your slides and use the colors defined by the
+%palette that you use. Overlays will carry the same dots. This
+%feature uses |random.tex| \cite{random}. Several options are
+%available to control the appearance of the random dots.
+%\begin{description}
+%\item\DescribeOption{randomdots}\option{randomdots}\\
+%By default, random dots are turned off. If this option is set to
+%|true|, random dots will be generated. |false| will turn off the
+%feature. When no value is submitted to the option, |true| will be
+%used.
+%\item\DescribeOptions{dmindots,dmaxdots}\option{dmindots,dmaxdots}\\
+%The number of dots per slide is also random. These options set the
+%minimum and maximum dots per slide. Preset values are |5| and |40|,
+%respectively.
+%\item\DescribeOptions{dminsize,dmaxsize}\option{dminsize,dmaxsize}\\
+%The minimum and maximum radius of the dots. Preset values are |5pt|
+%and |40pt|, respectively.
+%\item\DescribeOptions{dminwidth,dmaxwidth,dminheight,dmaxheight}
+%\option{dminwidth,dmaxwidth,dminheight,dmaxheight}\\
+%These options determine the area on the slide that can be used for
+%the random dots. These values are preset such that dots go anywhere
+%on the slide, but you might want to adjust these such that, for
+%instance, dots can only appear in the text area. The preset values
+%are |0pt|, |\slidewidth|, |0pt|, |\slideheight|.
+%
+%Here is an example that allows dots in a smaller rectangle on the
+%slide.
%\begin{example}
-% list={labelsep=1em,leftmargin=*,itemsep=0pt,topsep=5pt,parsep=0pt}
+% \pdsetup{
+% dminwidth=.1\slidewidth,dmaxwidth=.9\slidewidth,
+% dminheight=.2\slideheight,dmaxheight=.8\slideheight
+% }
%\end{example}
-%See for more information on controlling the layout of lists the
-%\pf{enumitem} package \cite{enumitem}.
-%\item\DescribeOption{enumerate}\option{enumerate}\\
-%As the |list| option, but only control |enumerate| environments.
-%\item\DescribeOption{itemize}\option{itemize}\\
-%As the |list| option, but only control |itemize| environments.
+%\item\DescribeOption{dbright}\option{dbright}\\
+%This option can be used to adjust the brightness of the dots. The
+%number should be an integer between -100 and 100. If the number is
+%negative, the color will be adjusted towards black, with -100 giving
+%black. If the number is positive, the color will be adjusted towards
+%white, with 100 giving white. With a light background, you may want
+%to choose |bright| to be positive. With a dark background, you may
+%want to set it negative. The preset value is |60|, meaning a mixture
+%of 40\% of the original color and 60\% white.
+%\item\DescribeOption{dprop}\option{dprop}\\
+%This option is used for passing extra parameters to the |\psdot|
+%command, which creates the random dots. You could, for instance,
+%change the style of the dots or the line width. See for more
+%information about |\psdot| the \pf{pstricks} documentation
+%\cite{PSTricksWeb,PSTricks}. \pf{powerdot} defines two extra dot
+%styles that can be used for the random dots. These styles are
+%|ocircle| (open circle) and |osquare| (open square).
%\end{description}
%
+%Here are two examples for the use of random dots.
+%\begin{example}
+% \pdsetup{
+% randomdots,dminwidth=.2\slidewidth
+% }
+%\end{example}
+%This turns on random dots and doesn't use the left 20\% of the slide
+%for placing random dots.
+%\begin{example}
+% \pdsetup{
+% randomdots,dprop={dotstyle=ocircle,linewidth=.5pt},
+% dminsize=500pt,dmaxsize=600pt,dmindots=2,dmaxdots=5
+% }
+%\end{example}
+%This example puts at most 5 big circles on slides. These circles do
+%not fit on the slides and you will only see parts of them in the
+%shape of curves.
+%
+%\subsubsection{\cs{pdsetup} example}
%Here is an example of a |\pdsetup| command that one could use to set up
%the presentation.
%\begin{example}
@@ -499,13 +640,14 @@ We hope not to have forgotten anyone.
% lf=My first presentation,
% rf=For some conference,
% trans=Wipe,
-% theslide=\arabic{slide}
+% theslide=\arabic{slide},
+% randomdots,dmaxdots=80
% }
%\end{example}
%This sets the left and right footers and will initialize the
%transition effect to |Wipe|. Further, slide numbers will not include
%the number of the last slide, but only the number of the current
-%slide.
+%slide. Finally, slides will be covered with at most 80 random dots.
%
%A small note is necessary with respect to the appearance of footers.
%The slide number (controlled by the |theslide| option) will be added
@@ -521,9 +663,15 @@ We hope not to have forgotten anyone.
%\DescribeMacro{\and}
%\DescribeMacro{\date}
%\DescribeMacro{\maketitle}
-%The title slide is created by the |\maketitle| command. Its use is
-%the same as in the standard \LaTeX\ document classes. See an example
-%below.
+%The title slide is created by the |\maketitle| command.
+%\begin{command}
+% `\cs{maketitle}\oarg{options}'
+%\end{command}
+%Its use is the same as in the standard \LaTeX\ document classes. The
+%optional argument \meta{options} can contain any option from
+%section~\ref{sec:glopts}. Specifying such an option in the
+%|\maketitle| command will only have an effect on the title slide and
+%not on other slides. See an example below.
%\begin{example}
% \documentclass{powerdot}
% \title{Title}
@@ -572,10 +720,9 @@ We hope not to have forgotten anyone.
%viewer. In the example above, the entries in both table contents and
%the list of bookmarks would be titled |First slide|.
%
-%The \meta{options} for the |slide| environment allow the user to
-%specify alternative titles for the table of contents and bookmark
-%entries. There is also a |trans| option that works only for the
-%current slide.
+%The \meta{options} for the |slide| environment can contain any
+%option listed in section~\ref{sec:glopts}. Additionally, the
+%following options can be used.
%\begin{description}
%\item\DescribeOption{toc}\option{toc}\\
%When specified, the value is used for the entry in the table of
@@ -585,11 +732,6 @@ We hope not to have forgotten anyone.
%When specified, the value is used for the bookmark entry; otherwise,
%the slide title is used. If |bm=| is specified, then no entry is
%created.
-%\item\DescribeOption{trans}\option{trans}\\
-%This works the same as the |trans| option described in
-%section~\ref{sec:pdsetup}, except that it sets the transition effect
-%of the current slide only (when used in the slide \meta{options})
-%and not for the entire presentation.
%\end{description}
%
%These optional arguments are especially useful when the title of a
@@ -709,7 +851,7 @@ We hope not to have forgotten anyone.
%\DescribeOption{type}
%Suppose we wanted every item to show, but we only wanted one item to
%appear `active' at once. This can be accomplished via the |type|
-%option for the |itemize| environment. The default value is |0|.
+%option for the |itemize| environment. The preset value is |0|.
%\begin{example}
% \begin{slide}{Type 1 itemize}
% \begin{itemize}[type=1]
@@ -720,10 +862,10 @@ We hope not to have forgotten anyone.
% \end{slide}
%\end{example}
%Now, every item will be displayed in the \emph{inactive
-%color}\index{inactive color} (which is defined by the style that you
-%use), and the item's font color will become the active one on the
-%overlay that it would normally appear on. The default behavior is
-%given by |type=0|.
+%color}\index{inactive color|usage} (which is defined by the style
+%that you use), and the item's font color will become the active one
+%on the overlay that it would normally appear on. The default
+%behavior is given by |type=0|.
%
%Lists can also be nested to create complicated structures. When a
%list is nested, it inherits the setting of the |type| option from
@@ -757,7 +899,7 @@ We hope not to have forgotten anyone.
%This optional argument should contain an overlay specification
%stating on which overlays you want the item to appear. This
%specification is a comma separated list where each item can used the
-%notation as in table \vref{tab:item}.
+%notation as in table \ref{tab:item}.
%\begin{table}[htb]\centering
%\begin{tabular}{d}
%Syntax&Meaning\\\hline
@@ -803,7 +945,7 @@ We hope not to have forgotten anyone.
%This command takes an \meta{overlays} specification as first
%argument and the \meta{text} to apply it to as second argument. The
%\meta{overlays} on which the text will appear are specified as a
-%comma separated list with syntax as in table \vref{tab:item}. We
+%comma separated list with syntax as in table \ref{tab:item}. We
%start off with a simple example.
%\begin{example}
% \begin{slide}{Simple onslide}
@@ -826,8 +968,8 @@ We hope not to have forgotten anyone.
%\end{example}
%The |\onslide+| command displays its content in a different manner
%altogether. Now, |dot| appears on every overlay, but it is in
-%inactive color\index{inactive color} and matches the normal font
-%color \textit{only} on overlay two. This is comparable to the
+%inactive color\index{inactive color|usage} and matches the normal
+%font color \textit{only} on overlay two. This is comparable to the
%|type=1| behavior for lists (see section~\ref{sec:lists}).
%
%When executing this example, we will also notice that the |\onslide|
@@ -856,7 +998,7 @@ We hope not to have forgotten anyone.
%We finish with an example of the syntax that is possible with
%|\item| and |\onslide|. Remember that these commands take a comma
%separated list for the \meta{overlays} specification and that each
-%element can used the syntax as explained in table \vref{tab:item}.
+%element can used the syntax as explained in table \ref{tab:item}.
%The various variations are demonstrated in the example below.
%\begin{example}
% \begin{slide}{Lists}
@@ -898,7 +1040,7 @@ We hope not to have forgotten anyone.
%syntax of the list of overlays. Now, we can specify a `|+|' symbol
%in the list. In its simplest usage, |\onslide{+1}| will make text
%display one overlay after the overlay it would \textit{normally}
-%appear on. You can still use the syntax in table \vref{tab:item}.
+%appear on. You can still use the syntax in table \ref{tab:item}.
%These are demonstrated in the above example. Notice,
%|\onslide{+1-6}| means that the text will appear one overlay after
%the overlay it would normally appear on and that the text should
@@ -919,7 +1061,7 @@ We hope not to have forgotten anyone.
%to control its output.
%
%\DescribeOption{tocsection} This option controls the creation of a
-%section in the table of contents. The default value is |true|.
+%section in the table of contents. The preset value is |true|.
%\begin{description}
%\item\option{tocsection=true}\\
%This does create a section in the table of contents. This means that
@@ -936,7 +1078,7 @@ We hope not to have forgotten anyone.
%\end{description}
%
%\DescribeOption{slide} This option controls whether the |\section|
-%command creates a slide. The default value is |true|.
+%command creates a slide. The preset value is |true|.
%\begin{description}
%\item\option{slide=true}\\
%A slide is created.
@@ -975,8 +1117,8 @@ We hope not to have forgotten anyone.
%\DescribeOption{type}
%This option controls whether certain material (depending on the
%input in the |content| option below) will be hidden or displayed in
-%the inactive color\index{inactive color}. The default value is |0|.
-%Compare with the |type| option for list environments
+%the inactive color\index{inactive color|usage}. The preset value is
+%|0|. Compare with the |type| option for list environments
%(section~\ref{sec:lists}).
%
%\begin{description}
@@ -990,7 +1132,7 @@ We hope not to have forgotten anyone.
%
%\DescribeOption{content}
%The |content| option controls which elements will be included in the
-%overview. The default value is |all|. The description below assumes
+%overview. The preset value is |all|. The description below assumes
%that |type=0| was chosen, but the alternative text for |type=1| can
%easily be deduced.
%
@@ -1028,11 +1170,158 @@ We hope not to have forgotten anyone.
%\end{example}
%
%\section{Miscellaneous}
+%\subsection{Notes}\label{sec:notes}
+%\DescribeEnv{note}
+%The |note| environment can be used to make personal notes that
+%accompany a slide. You can control displaying notes using the
+%|display| option (see section~\ref{sec:classopts}). Here is an
+%example.
+%\begin{example}
+% \begin{slide}{Chewing gum}
+% ...
+% \end{slide}
+% \begin{note}{Reminder for chewing gum}
+% Don't forget to mention that chewing gum is sticky.
+% \end{note}
+%\end{example}
+%
+%\subsection{Empty slides}\label{sec:emptyslides}
+%\DescribeEnv{emptyslide}
+%The |emptyslide| environment creates a totally empty slide. The text
+%box on the slide can be used for special things like displaying
+%photos. This allows for creating a dia show. Example:
+%\begin{example}
+% \begin{emptyslide}{}
+% \centering
+% \vspace{\stretch{1}}
+% \includegraphics[height=0.8\slideheight]{me_chewing_gum.eps}
+% \vspace{\stretch{1}}
+% \end{emptyslide}
+%\end{example}
+%The |\includegraphics| command is defined by the \pf{graphicx}
+%package \cite{graphics}. The |\stretch| command is used to
+%vertically center the picture. Both commands are described in your
+%favorite \LaTeX\ manual, for instance \cite{companion}. Note that
+%you can use the lengths |\slideheight| and |\slidewidth| to scale
+%pictures to fit nicely on the slide.
+%
+%\subsection{Bibliography slide}\label{sec:bib}
+%\DescribeEnv{thebibliography}
+%\pf{powerdot} redefines the standard \pf{article}
+%|thebibliography| environment to suppress the creation of a section
+%heading and running headers. All other properties are maintained.
+%You can do either of the next two (depending whether you are
+%using BiB\TeX\ or not):\\
+%\begin{minipage}[t]{.49\linewidth}
+%\begin{example}
+% \begin{slide}{Slide}
+% \cite{someone}
+% \end{slide}
+% \begin{slide}{References}
+% \begin{thebibliography}{1}
+% \bibitem{someone} Article of someone.
+% \end{thebibliography}
+% \end{slide}
+%\end{example}
+%\end{minipage}\hfill
+%\begin{minipage}[t]{.49\linewidth}
+%\begin{example}
+% \begin{slide}{Slide}
+% \cite{someone}
+% \end{slide}
+% \begin{slide}{References}
+% \bibliographystyle{plain}
+% \bibliography{YourBib}
+% \end{slide}
+%\end{example}
+%\end{minipage}
+%
+%In case you have a big reference list that you want to spread over
+%multiple slides, have a look at the packages \pf{natbib} and
+%\pf{bibentry} \cite{natbib}. Using both packages allows you to do:
+%\begin{example}
+% \begin{slide}{References (1)}
+% \bibliographystyle{plain}
+% \nobibliography{YourBib}
+% \bibentry{someone1}
+% \bibentry{someone2}
+% \end{slide}
+% \begin{slide}{References (2)}
+% \bibentry{someone3}
+% \end{slide}
+%\end{example}
+%Have a look at your favorite \LaTeX\ manual for more information
+%about citations and bibliographies.
+%
+%\subsection{Verbatim on slides}\label{sec:verbatim}\DescribeOption{verbatim}
+%\pf{powerdot} has three different methods of processing slides, from
+%which two have mainly been developed to make the inclusion of
+%verbatim content\footnote{And other content that needs catcode
+%changes when processing.} on slides easier. These methods can be
+%accessed by the |method| key which is available in slide
+%environments and the |\pdsetup| command (see
+%section~\ref{sec:glopts}).
+%\begin{description}
+%\item\option{method=normal}\\
+%This is the preset method for processing slides. It is fast and
+%allows for overlays, but it does not allow for
+%verbatim.\footnote{Except when it has been saved in a box outside
+%the slide.}
+%\item\option{method=direct}\\
+%This method is also fast, but does not allow for overlays. Overlays
+%will silently be disabled. However, it does allow for verbatim
+%content on slides.
+%\item\option{method=file}\\
+%This method uses a temporary file to export the slide body to and
+%read it back in. This method does allow for verbatim content and
+%overlays, but could be slow when many slides use this method because
+%the filesystem is used.
+%\end{description}
+%
+%Below is an example demonstrating the use of all three different
+%methods of slide processing.
+%\begin{example}
+% \documentclass{powerdot}
+% \usepackage{listings}
+% \lstnewenvironment{code}{%
+% \lstset{frame=single,escapeinside=`',
+% backgroundcolor=\color{yellow!20},
+% basicstyle=\footnotesize\ttfamily}
+% }{}
+% \begin{document}
+% \begin{slide}{Slide 1}
+% Normal \pause content.
+% \end{slide}
+% \begin{slide}[method=direct]{Slide 2}
+% Steps 1 and 2:
+% \begin{code}
+% compute a;`\pause'
+% compute b;
+% \end{code}
+% \end{slide}
+% \begin{slide}[method=file]{Slide 3}
+% Steps 1 and 2:
+% \begin{code}
+% compute a;`\pause'
+% compute b;
+% \end{code}
+% \end{slide}
+% \end{document}
+%\end{example}
+%The first slide shows the default behavior for normal content. It
+%produces two overlays. The second slide does not produce overlays,
+%despite the use of the |\pause| command. This command has been
+%disabled by choosing the |direct| method to process the verbatim
+%content. The third slide has the same body as the second slide, but
+%now does create two overlays, because the method using a temporary
+%file has been chosen. Notice that we used |\pause| inside the listing,
+%but that it can also be used outside the listing.
+%
%\subsection{The \cs{twocolumn} command}\label{sec:twocolumn}
%\DescribeMacro{\twocolumn}
%The |\twocolumn| macro allows to split content into two columns.
%\begin{command}
-% `\cs{twocolumn}\marg{options}\marg{left}\marg{right}'
+% `\cs{twocolumn}\oarg{options}\marg{left}\marg{right}'
%\end{command}
%This typesets \meta{left} and \meta{right} in two columns. The
%dimensions of those columns can be controlled by \meta{options}.
@@ -1047,34 +1336,27 @@ We hope not to have forgotten anyone.
%\begin{example}
% lineprop={linestyle=dotted,linewidth=3pt}
%\end{example}
-%\item\DescribeOption{lfrheight}\option{lfrheight}\\
-%Creates a frame of the specified height around the left
-%column.
-%\item\DescribeOption{lfrprop}\option{lfrprop}\\
-%As |lineprop|, but for the left frame.
-%\item\DescribeOption{rfrheight}\option{rfrheight}\\
-%Creates a frame of the specified height around the right
-%column.
-%\item\DescribeOption{rfrprop}\option{rfrprop}\\
-%As |lineprop|, but for the left frame.
+%\item\DescribeOptions{lfrheight,lfrprop}\option{lfrheight,lfrprop}\\
+%The first creates a frame of the specified height around the left
+%column. The second is as |lineprop|, but for the left frame.
+%\item\DescribeOptions{rfrheight,rfrprop}\option{rfrheight,rfrprop}\\
+%As |lfrheight| and |lfrprop|, but for the right frame.
+%\item\DescribeOptions{lcolwidth,rcolwidth}\option{lcolwidth,rcolwidth}\\
+%Width of the left and right columns. Both are preset to: |0.47\linewidth|.
%\item\DescribeOption{frsep}\option{frsep}\\
-%Space between text and the frames. Default: |1.5mm|.
+%Space between text and the frames. Preset: |1.5mm|.
%\item\DescribeOption{colsep}\option{colsep}\\
-%Space between the two columns. Default: |0.06\linewidth|.
-%\item\DescribeOption{lcolwidth}\option{lcolwidth}\\
-%Width of the left column. Default: |0.47\linewidth|.
-%\item\DescribeOption{rcolwidth}\option{rcolwidth}\\
-%Width of the right column. Default: |0.47\linewidth|.
+%Space between the two columns. Preset: |0.06\linewidth|.
%\item\DescribeOption{topsep}\option{topsep}\\
%The extra space (additional to |\baselineskip|) between text above
-%the columns and the text within the columns. Default: |0cm|.
+%the columns and the text within the columns. Preset: |0cm|.
%\item\DescribeOption{bottomsep}\option{bottomsep}\\
-%Idem for the bottom of the columns. Default: |0cm|.
+%Idem for the bottom of the columns. Preset: |0cm|.
%\item\DescribeOption{indent}\option{indent}\\
-%Horizontal indent left to the left column. Default: |0cm|.
+%Horizontal indent left to the left column. Preset: |0cm|.
%\end{description}
%The dimensions described above are represented graphically in
-%figure \vref{fig:twocolumndim}.
+%figure \ref{fig:twocolumndim}.
%\begin{figure}[htb]
%\centering
%\begin{pspicture}(0,.5)(13,10.5)
@@ -1142,10 +1424,10 @@ We hope not to have forgotten anyone.
%\end{figure}
%Important to notice is that the |\twocolumn| macro uses the current
%cursor position as the reference point to position the first line of
-%text of the left column (see also figure \vref{fig:twocolumndim}). This
+%text of the left column (see also figure \ref{fig:twocolumndim}). This
%means that optional frames can extend to the text on the previous
%line. Use for instance |topsep=0.3cm| in that case to add extra
-%space between the two lines of text. The default value of |topsep|
+%space between the two lines of text. The preset value of |topsep|
%is based on the situation that there is no text on top of the two
%columns. In that case, it is best to locate the first line of text
%of the left column at the same spot as text that is not created by
@@ -1157,7 +1439,7 @@ We hope not to have forgotten anyone.
%The |\twocolumn| macro computes the height of the construction to
%position text below the construction correctly. The computation is
%done by taking the maximum height of |lfrheight|, |rfrheight|,
-%|lineheight| (if requested) and the left and right column content.
+%|lineheight| (if specified) and the left and right column content.
%Hence when frames nor a line is requested, |bottomsep| is the
%vertical space between the lowest line of text in the columns and
%the text below the columns (additional to |\baselineskip|). Here is
@@ -1165,95 +1447,30 @@ We hope not to have forgotten anyone.
%\begin{example}
% \begin{slide}{Two columns}
% Here are two columns.
-% \twocolumn{lfrprop={linestyle=dotted,linewidth=3pt},
+% \twocolumn[
+% lfrprop={linestyle=dotted,linewidth=3pt},
% lfrheight=4cm,rfrheight=5cm,lineheight=3cm,topsep=0.3cm
-% }{left}{right}
-% That were two columns.
+% ]{left}{right}
+% Those were two columns.
% \end{slide}
%\end{example}
-%
-%\subsection{Notes}\label{sec:notes}
-%\DescribeEnv{note}
-%The |note| environment can be used to make personal notes that
-%accompany a slide. You can control displaying notes using the
-%|display| option (see section~\ref{sec:classopts}). Here is an
-%example.
+%Note that the use of the \pf{xkeyval} commands |\savevalue| and
+%|\usevalue| \index{savevalue=\verb!*+\savevalue+|usage}
+%\index{usevalue=\verb!*+\usevalue+|usage} could be handy here, for
+%instance for copying the properties of the left frame to the right
+%frame. This avoids typing them twice and avoids making errors
+%resulting in different frames. See an example below.
%\begin{example}
-% \begin{slide}{Chewing gum}
-% ...
-% \end{slide}
-% \begin{note}{Reminder for chewing gum}
-% Don't forget to mention that chewing gum is sticky.
-% \end{note}
+% \twocolumn[
+% \savevalue{lfrheight}=3cm,
+% \savevalue{lfrprop}={
+% linestyle=dotted,framearc=.2,linewidth=3pt},
+% rfrheight=\usevalue{lfrheight},
+% rfrprop=\usevalue{lfrprop}
+% ]{left}{right}
%\end{example}
-%
-%\subsection{Empty slides}\label{sec:emptyslides}
-%\DescribeEnv{emptyslide}
-%The |emptyslide| environment creates a totally empty slide. The text
-%box on the slide can be used for special things like displaying
-%photos. This allows for creating a dia show. Example:
-%\begin{example}
-% \begin{emptyslide}{}
-% \centering
-% \vspace{\stretch{1}}
-% \includegraphics[height=0.8\slideheight]{me_chewing_gum.eps}
-% \vspace{\stretch{1}}
-% \end{emptyslide}
-%\end{example}
-%The |\includegraphics| command is defined by the \pf{graphicx}
-%package \cite{graphics}. The |\stretch| command is used to
-%vertically center the picture. Both commands are described in your
-%favorite \LaTeX\ manual, for instance \cite{companion}. Note that
-%you can use the lengths |\slideheight| and |\slidewidth| to scale
-%pictures to fit nicely on the slide.
-%
-%\subsection{Bibliography slide}\label{sec:bib}
-%\DescribeEnv{thebibliography}
-%\pf{powerdot} redefines the standard \pf{article}
-%|thebibliography| environment to suppress the creation of a section
-%heading and running headers. All other properties are maintained.
-%You can do either of the next two (depending whether you are
-%using BiB\TeX\ or not):\\
-%\begin{minipage}[t]{.49\linewidth}
-%\begin{example}
-% \begin{slide}{Slide}
-% \cite{someone}
-% \end{slide}
-% \begin{slide}{References}
-% \begin{thebibliography}{1}
-% \bibitem{someone} Article of someone.
-% \end{thebibliography}
-% \end{slide}
-%\end{example}
-%\end{minipage}\hfill
-%\begin{minipage}[t]{.49\linewidth}
-%\begin{example}
-% \begin{slide}{Slide}
-% \cite{someone}
-% \end{slide}
-% \begin{slide}{References}
-% \bibliographystyle{plain}
-% \bibliography{YourBib}
-% \end{slide}
-%\end{example}
-%\end{minipage}
-%
-%In case you have a big reference list that you want to spread over
-%multiple slides, have a look at the packages \pf{natbib} and
-%\pf{bibentry} \cite{natbib}. Using both packages allows you to do:
-%\begin{example}
-% \begin{slide}{References (1)}
-% \bibliographystyle{plain}
-% \nobibliography{YourBib}
-% \bibentry{someone1}
-% \bibentry{someone2}
-% \end{slide}
-% \begin{slide}{References (2)}
-% \bibentry{someone3}
-% \end{slide}
-%\end{example}
-%Have a look at your favorite \LaTeX\ manual for more information
-%about citations and bibliographies.
+%See the \pf{xkeyval} documentation \cite{xkeyval} for more
+%information about |\savevalue| and |\usevalue|.
%
%\section{Available styles}\label{sec:styles}
%\pf{powerdot} comes with a number of styles which are listed in the
@@ -1265,8 +1482,12 @@ We hope not to have forgotten anyone.
%support portrait orientation unless states otherwise.
%\begin{description}
%\item\pf{default}\\
-%This style has as main colors light blue and white. A flower in the
-%top left corner decorates the slide.\\
+%This style provides six different palettes. A flower in the top left
+%corner decorates the slides for all palettes. The default palette is
+%\texttt{blue} which has as main colors light blue and white. You can
+%see an example of that palette below. Other available palettes are
+%\texttt{red}, \texttt{green}, \texttt{yellow}, \texttt{brown} and
+%\texttt{purple}.\\
%\styleexample{default}
%\item\pf{simple}\\
%This is a simple style in black and white. This style could be
@@ -1287,8 +1508,11 @@ We hope not to have forgotten anyone.
%\pf{HA-prosper} with extended features. With his kind permission,
%this style has been converted by Shun'ichi J. Amano for
%\pf{powerdot}. The style has an elegant design with a light blue and
-%white gradient background. It has special templates for sections on
-%slides and sections on wide slides.\\
+%white gradient background in the default \texttt{blue} palette.
+%Other available palettes are \texttt{green}, \texttt{gray},
+%\texttt{brown} and \texttt{orange}. It has special templates for
+%sections on slides and sections on wide slides. Below is a sample of
+%the blue palette.\\
%\styleexample{fyma}
%\item\pf{ciment}\\
%This style was originally created by Mathieu Goutelle for
@@ -1311,8 +1535,10 @@ We hope not to have forgotten anyone.
%light gray sun beams combined with dark red highlights.\\
%\styleexample{husky}
%\item\pf{sailor}\\
-%This style is contributed by Mael Hill\'ereau and uses rounded shapes
-%in dark blue and shades of light blue.\\
+%This style is contributed by Mael Hill\'ereau and supplies five
+%different palettes: \texttt{Sea} (the default), \texttt{River},
+%\texttt{Wine}, \texttt{Chocolate} and \texttt{Cocktail}. Below is a
+%sample of the palette \texttt{Sea}.\\
%\styleexample{sailor}
%\item\pf{upen}\\
%This style has a nice dark blue background and text in yellow. It is
@@ -1322,11 +1548,48 @@ We hope not to have forgotten anyone.
%The \pf{bframe} style has blue frames on the slide in which text is
%positioned. The style is contributed by Piskala Upendran.\\
%\styleexample{bframe}
+%\item\pf{horatio}\\
+%The \pf{horatio} style has been contributed by Michael Lundholm and
+%is a more conservative blue style.\\
+%\styleexample{horatio}
+%\item\pf{paintings}\\
+%This is a simple style without a table of contents on slides. It has
+%been contributed by Thomas Koepsell and provides 10 different
+%palettes. The colors used in the palettes are drawn from famous
+%paintings.\footnote{The style defines a color \texttt{pdcolor7}
+%which is not used in the style but comes from the same painting and
+%complements the other colors. It can be used, for example, to
+%highlight text against the main background color.} If you are
+%interested, open the style file to read which paintings have been
+%used. The available palettes are: \texttt{Syndics} (the default),
+%\texttt{Skater}, \texttt{GoldenGate}, \texttt{Lamentation},
+%\texttt{HolyWood}, \texttt{Europa}, \texttt{Moitessier},
+%\texttt{MayThird}, \texttt{PearlEarring} and \texttt{Charon} (all
+%case sensitive). Below is a sample of the \texttt{Syndics}
+%palette.\\
+%\styleexample{paintings}
+%\item\pf{klope}\\
+%The \pf{klope} style implements a horizontal table of contents that
+%only lists the sections. The style is available in the following
+%palettes: \texttt{Spring}, \texttt{PastelFlower}, \texttt{BlueWater}
+%and \texttt{BlackWhite}. The \texttt{Spring} palette is the default
+%and you can see a sample of that below.\\
+%\styleexample{klope}
+%\item\pf{jefka}\\
+%The \pf{jefka} style comes with four palettes: \texttt{brown} (the
+%default), \texttt{seagreen}, \texttt{blue} and \texttt{white}. Below
+%you see a sample of the \texttt{brown} palette.\\
+%\styleexample{jefka}
+%\item\pf{pazik}\\
+%This style is available in two palettes: \texttt{red} and
+%\texttt{brown}. Below is a sample of the default \texttt{red}
+%palette.\\
+%\styleexample{pazik}
%\end{description}
%
%\section{Compiling your presentation}\label{sec:compiling}
%\subsection{Dependencies}\label{sec:dependencies}
-%In table \vref{tab:dependencies} is a list of packages that
+%In table \ref{tab:dependencies} is a list of packages that
%\pf{powerdot} uses to perform specific tasks. Dependencies of
%packages in this table are not listed. In the table, `required'
%means that you should have a version \emph{at least} as new as
@@ -1351,7 +1614,7 @@ We hope not to have forgotten anyone.
%\pf{geometry} \cite{geometry} & 3.2 & 2002/07/08 & tested\\
%\pf{hyperref} \cite{hyperref} & 6.74m & 2003/11/30 & tested\\
%\pf{graphicx} \cite{graphics} & 1.0f & 1999/02/16 & tested\\
-%\pf{float} \cite{float} & 1.3d & 2001/11/08 & tested
+%\pf{verbatim} & 1.5q & 2003/08/22 & tested
%\end{tabular}
%\caption{Dependencies}\label{tab:dependencies}
%\end{table}
@@ -1413,36 +1676,85 @@ We hope not to have forgotten anyone.
%
%A style has several components. We describe these components below.
%\begin{description}
-%\item\textbf{Identification}\\
-%This identifies the package in the log of a presentation. The default
-%style contains:
+%\item\textbf{Identification and packages}\\
+%This identifies the package in the log of a presentation and loads
+%all required packages. The \pf{default} style contains something like:
%\begin{example}
% \NeedsTeXFormat{LaTeX2e}[1995/12/01]
-% \ProvidesPackage{powerdot-default}[2005/09/04 v1.0 default style (HA)]
+% \ProvidesPackage{powerdot-default}[2005/10/09 v1.2 default style (HA)]
+% \RequirePackage{pifont}
%\end{example}
%See for more information about these commands a \LaTeX\ manual, for
%instance \cite{companion}.
-%\item\textbf{Color definitions}\\
-%This section contains the definitions of the colors that you want to
-%use in the style. \pf{powerdot} uses \pf{xcolor} (via
+%\item\textbf{Palette or color definitions}\\
+%This section contains the definitions of palettes or colors that you
+%want to use in the style. \pf{powerdot} uses \pf{xcolor} (via
%\pf{pstricks}). Hence, for more information about colors, see the
-%\pf{xcolor} documentation.
+%\pf{xcolor} documentation. We will discuss palettes in more detail
+%in section~\ref{sec:defpals}.
%\item\textbf{Template definitions}\\
-%We will come back to this in the subsequent sections.
+%We will come back to this in sections~\ref{sec:deftemps}
+%to~\ref{sec:defbg}.
%\item\textbf{Custom declarations}\\
%These can include anything that you want to be part of the style.
-%The default style, for instance, includes definitions for the labels
+%The \pf{default} style, for instance, includes definitions for the labels
%in list environments like |itemize| and some initializations for
%lists in general (done with |\pdsetup|, see
-%section~\ref{sec:pdsetup}).
-%\item\textbf{Color and font initializations}\\
-%This is a very important part. Here you \emph{must} initialize the
-%main text color and put font definitions (which can be done by
-%loading a package like \pf{helvet}). If you don't initialize the
-%color here, most of the text will appear in black.
+%section~\ref{sec:pdsetup}). This part could also include some
+%customizations as described in section~\ref{sec:specialtemps}.
+%\item\textbf{Font initializations}\\
+%This initializes font definitions (which can be done by
+%loading a package like \pf{helvet}).
%\end{description}
%
-%\subsection{Defining templates}
+%\subsection{Defining palettes}\label{sec:defpals}
+%We will be defining templates formally in
+%section~\ref{sec:deftemps}. For now, it's enough to have the general
+%idea that a template controls the design of a slide. Palettes are
+%sets of colors that color a template or design. A palette does not
+%change the overall design of a template.
+%
+%\DescribeMacro{\pddefinepalettes}
+%The following command can be used to define palettes for your style.
+%\begin{command}
+% `\cs{pddefinepalettes}\marg{name1}\marg{cmds1}\dots'
+%\end{command}
+%This macro takes \emph{any} even number of mandatory arguments with
+%a minimum of two. For every \meta{name}, a set of \meta{commands}
+%can be given which define the palette with name \meta{name}. These
+%commands can define colors with names |pdcolor1|, |pdcolor2|,
+%etcetera. These colors can be used when designing the template (see
+%section~\ref{sec:deftemps}). |pdcolor1| will always be used as text
+%color.
+%
+%The user can access these palettes via the |palette| key for the
+%|\pdsetup| command (see section~\ref{sec:pdsetup}). If the user does
+%not specify a palette, the first palette defined when compiling the
+%presentation, will be used. Here is an example for defining 2
+%palettes.
+%\begin{example}
+% \pddefinepalettes{reds}{
+% \definecolor{pdcolor1}{rgb}{1,0,0}
+% \definecolor{pdcolor2}{rgb}{1,.1,0}
+% \definecolor{pdcolor3}{rgb}{1,.2,0}
+% }{greens}{
+% \definecolor{pdcolor1}{rgb}{0,1,0}
+% \definecolor{pdcolor2}{rgb}{.1,1,0}
+% \definecolor{pdcolor3}{rgb}{.2,1,0}
+% }
+%\end{example}
+%In this example, the |reds| palette is the default one. For more
+%information about |\definecolor|, see the documentation of the
+%\pf{xcolor} package \cite{xcolor}.
+%
+%Notice that it is not necessary to use the names |pdcolor2|,
+%|pdcolor3| etcetera as color names. But if these colors are defined,
+%\pf{powerdot} will use them, for instance, in the random dots
+%feature (see section~\ref{sec:glopts}). The flexibility adds extra
+%possibilities in setting up templates and palettes. See for an
+%example of its use, the \pf{klope} style.
+%
+%\subsection{Defining templates}\label{sec:deftemps}
%We start off with a definition of what a template is. A template is
%a collection of settings for slide components together with custom
%definitions, which controls the visual appearance of a slide. A
@@ -1522,11 +1834,11 @@ We hope not to have forgotten anyone.
%outside the \meta{options} argument of the |\pddefinetemplate|
%command.
%\begin{command}
-% `\cs{pdifsetup}\marg{desired}\marg{yes}\marg{no}'
+% `\cs{pdifsetup}\marg{desired}\marg{true}\marg{false}'
%\end{command}
%\DescribeMacro{\pdifsetup}
-%This macro executes \meta{yes} when the setup that the user chose
-%matches with the \meta{desired} setup, \meta{no} in all other cases.
+%This macro executes \meta{true} when the setup that the user chose
+%matches with the \meta{desired} setup, \meta{false} in all other cases.
%For instance, if the user has chosen landscape, then
%\begin{example}
% \pdifsetup{landscape}{yes}{no}
@@ -1545,9 +1857,9 @@ We hope not to have forgotten anyone.
%This macro generates an error when the user requests portrait
%orientation. Notice that the handout mode only works in portrait
%orientation. This macro takes that into account and doesn't generate
-%an error in that case.
+%an error in the case that the user requested a handout.
%
-%\subsection{Main components}
+%\subsection{Main components}\label{sec:maincomps}
%The \meta{options} control several key components of a slide. Every
%component has several properties. A key that can be used in the
%\meta{options} argument is the name of the component postfixed by
@@ -1629,7 +1941,7 @@ We hope not to have forgotten anyone.
%|minipage| used for the main text. This does not imply that users
%are restricted to this length or that \pf{powerdot} does automatic
%slide breaking. This height is only used for vertical alignments of
-%material, for instance by footnotes. The default value is
+%material, for instance by footnotes. The preset value is
%|\slideheight|.
%\item\DescribeOption{-font}\option{-font}\\
%This will be inserted just before the text that is about to be
@@ -1652,34 +1964,15 @@ We hope not to have forgotten anyone.
%contains the content of the left footer. The above declaration
%checks whether the footer and |\theslide| are both non-empty and if
%so, it inserts |~--~| to separate both.
+%\item\DescribeOption{-orient}\option{-orient}\\
+%This property is only available for the |toc|, |stoc| and |ntoc|
+%components. This property can be |h| or |v| and determines the
+%orientation of the table of contents. The preset is |v|. See
+%also section~\ref{sec:slidetoc} for more information about the
+%construction of the table of contents.
%\end{description}
%
-%Below, we have copied the default setting for the keys described
-%above done by \pf{powerdot}. These will be used if you didn't supply
-%other input for these keys in a particular template. If the default
-%value meets your needs, you don't have to specify it again in your
-%style.
-%\begin{example}
-% titlehook=Bl,titlepos,titlewidth=\slidewidth,
-% titlefont=\raggedright,texthook=lt,textpos,
-% textwidth=\slidewidth,textfont=\raggedright,
-% textheight=\slideheight,
-% tochook=lt,tocpos,tocwidth=.2\slidewidth,
-% tocfont=\tiny\raggedright,
-% stochook=lt,stocpos,stocwidth=.2\slidewidth,
-% stocfont=\tiny\raggedright,
-% ntochook=lt,ntocpos,ntocwidth=.2\slidewidth,
-% ntocfont=\tiny\raggedright,
-% tocfrsep=.5mm,tocsecsep=2ex,tocslidesep=0ex,
-% tocsecm,toctcolor=black,tochlcolor=black,tochltcolor=white,
-% tocsecindent=0pt,tocslideindent=0pt,
-% lfhook=lB,lfpos,lffont=\scriptsize,lftemp=\pd@@lf,
-% rfhook=rB,rfpos,rffont=\scriptsize,rftemp=\pd@@rf\ifx\pd@@rf\@empty
-% \else\ifx\theslide\@empty\else~--~\fi\fi\theslide,
-% iacolor=lightgray
-%\end{example}
-%
-%\subsection{Slide toc}
+%\subsection{Slide toc}\label{sec:slidetoc}
%The small table of contents that is placed on slides can be
%controlled by four macros and several options.
%
@@ -1708,50 +2001,68 @@ We hope not to have forgotten anyone.
%font and color in a |minipage|. Further, |\pd@tochighlight| also
%puts a box around the item.
%
-%Several aspects of this process can be controlled via the keys that
-%are available in the |\pddefinetemplate| command that will be
-%described in a moment. If these keys do not provide enough handles
-%to do what you want, you might need to have a look at these two
-%macros in the source and decide to rewrite them in your style as to
-%fit your needs.
+%Notice, that by default, both the separate table of contents entries
+%as well as the table of contents as a whole are typeset in
+%|minipage| environments by these macros, in case the table of
+%contents is vertical. The |-width| properties then determines the
+%width of the table of contents and, together with |tocsecindent| and
+%|tocslideindent| (see below) the width of the individual entries. If
+%it is horizontal, only the separate entries will be in |minipage|s
+%and the table of contents itself not and the |-width| properties
+%determine only the width of the individual entries (together with
+%|tocsecindent| and |tocslideindent|).
+%
+%Several aspects of the process of generating the table of contents
+%can be controlled via the keys that are available in the
+%|\pddefinetemplate| command that will be described below. If these
+%keys do not provide enough handles to do what you want, you might
+%need to have a look at the two macros in the source and decide to
+%rewrite them in your style as to fit your needs. An example can be
+%found in the \pf{fyma} style.
%
%\begin{description}
%\item\DescribeOption{tocfrsep}\option{tocfrsep}\\
%This length is the distance between the box around the content
%created by the |minipage| and the highlight frame box created by
-%|\pd@tochighlight|. Default: |0.5mm|.
+%|\pd@tochighlight|. Preset: |0.5mm|.
%\item\DescribeOption{tocsecsep}\option{tocsecsep}\\
-%The vertical distance inserted above a section (unless it is the
-%first element in the table of contents). Default: |2ex|
+%The distance inserted before a section (unless it is the
+%first element in the table of contents). Preset: |2ex|.
+%Notice that if the orientation of the table of contents is set to
+%vertical, this length creates a vertical skip, otherwise, it creates
+%a horizontal skip.
%\item\DescribeOption{tocslidesep}\option{tocslidesep}\\
-%The vertical distance inserted above other entries (unless it is the
-%first element in the table of contents). Default: |0ex|.
+%The distance inserted before other entries (unless it is the
+%first element in the table of contents). Preset: |0ex|. Like
+%|tocsecsep|, the effect of this length depends on the orientation of
+%the table of contents.
%\item\DescribeOption{tocsecindent}\option{tocsecindent}\\
-%The horizontal space left to a section entry. Default: |0pt|.
+%The horizontal space left to a section entry. Preset: |0pt|.
%\item\DescribeOption{tocslideindent}\option{tocslideindent}\\
%The horizontal space left to a slide entry. The horizontal skip will
%not be inserted left to slide entries that appear before the first
-%section. Default: |0pt|.
+%section. Preset: |0pt|.
%\item\DescribeOption{tocsecm}\option{tocsecm}\\
%This is inserted just before typesetting a section. This can be used
%to mark a section, for instance with a line as in the \pf{default}
-%style. Default: empty.
+%style. Preset: empty.
%\item\DescribeOption{toctcolor}\option{toctcolor}\\
%This is the text color used for non-highlighted elements in the
-%table of contents. Default: |black|.
+%table of contents. Preset: |black|.
%\item\DescribeOption{tochltcolor}\option{tochltcolor}\\
%This is the text color used for highlighted elements in the table of
-%contents. Default: |white|.
+%contents. Preset: |white|.
%\item\DescribeOption{tochlcolor}\option{tochlcolor}\\
%This is the color used for the frame behind highlighted elements.
-%Default: |black|.
+%Preset: |black|.
%\end{description}
%
%\subsection{Miscellaneous options}\label{sec:miscoptions}
-%There is one option that fall outside of the scope of the previous
-%section. It will be discussed here.
+%There are some options that fall outside of the scope of the previous
+%sections. These will be discussed here.
%
-%\DescribeOption{iacolor}
+%\begin{description}
+%\item\DescribeOption{iacolor}\option{iacolor}\\
%The |iacolor| option can be used to specify the color that is used
%for inactive things, produced for instance by |\onslide|, |\pause|
%(see section~\ref{sec:overlays}) and |\tableofcontents| (see
@@ -1760,9 +2071,62 @@ We hope not to have forgotten anyone.
%\begin{example}
% iacolor=black!20
%\end{example}
-%The default value for this key is |lightgray|.
+%The preset value for this key is |lightgray|.
+%\end{description}
%
-%\subsection{The background}
+%The following options control the digital clock (see
+%section~\ref{sec:classopts}). The clock is a form text field with
+%dynamic content, driven by a javascript via \pf{hyperref} text
+%fields. Some options for the clock work similarly as for, for
+%instance, the title component, but there are also special options.
+%\begin{description}
+%\item\DescribeOptions{clockhook,clockpos}\option{clockhook,clockpos}\\
+%These work in the same way as the |-hook| and |-pos| properties
+%discussed in section~\ref{sec:maincomps}. The preset value of
+%|clockhook| is |tr|.
+%\item\DescribeOptions{clockwidth,clockheight}\option{clockwidth,clockheight}\\
+%These control the width and height of the text field containing the
+%clock. Preset values come from \pf{hyperref} and are |3cm| and
+%|\baselineskip|, respectively.
+%\item\DescribeOption{clockcharsize}\option{clockcharsize}\\
+%The size of characters of the clock. Preset: |14pt|.
+%\item\DescribeOption{clockalign}\option{clockalign}\\
+%The alignment of the clock in the text field. |0| is left-aligned,
+%|1| is centered and |2| is right aligned. Preset is |2|.
+%\item\DescribeOption{clockcolor}\option{clockcolor}\\
+%This determines the text color of the clock. The value should be a
+%named color. The preset value is |black|.
+%\end{description}
+%
+%\subsection{Template presets}
+%Below, we have copied the preset setting for the keys described
+%above. These will be used if you didn't supply other input for these
+%keys in a particular template. If the preset value meets your
+%needs, you don't have to specify it again in your style.
+%\begin{example}
+% titlehook=Bl,titlepos=,titlewidth=\slidewidth,
+% titlefont=\raggedright,texthook=tl,textpos=,
+% textwidth=\slidewidth,textfont=\raggedright,
+% textheight=\slideheight,
+% tochook=tl,tocpos=,tocwidth=.2\slidewidth,
+% tocfont=\tiny\raggedright,
+% stochook=tl,stocpos=,stocwidth=.2\slidewidth,
+% stocfont=\tiny\raggedright,
+% ntochook=tl,ntocpos=,ntocwidth=.2\slidewidth,
+% ntocfont=\tiny\raggedright,
+% tocorient=v,stocorient=v,ntocorient=v,
+% tocfrsep=.5mm,tocsecsep=2ex,tocslidesep=0ex,
+% tocsecm=,toctcolor=black,tochlcolor=black,tochltcolor=white,
+% tocsecindent=0pt,tocslideindent=0pt,
+% lfhook=Bl,lfpos=,lffont=\scriptsize,lftemp=\pd@@lf,
+% rfhook=Br,rfpos=,rffont=\scriptsize,rftemp=\pd@@rf\ifx\pd@@rf\@empty
+% \else\ifx\theslide\@empty\else~--~\fi\fi\theslide,
+% iacolor=lightgray,
+% clockhook=tr,clockpos=,clockwidth=3cm,clockheight=\baselineskip,
+% clockcharsize=14pt,clockalign=2,clockcolor=black
+%\end{example}
+%
+%\subsection{The background}\label{sec:defbg}
%This leaves only one argument of the |\pddefinetemplate| macro
%undiscussed. This is the \meta{commands} argument. This argument can
%contain any code that you want to execute \textit{after} setting the
@@ -1860,7 +2224,7 @@ We hope not to have forgotten anyone.
%layout file |powerdot.layout| to the \LyX\ layout directory. You can
%find this file in the doc tree of your \LaTeX\ installation:
%\url{texmf/doc/latex/powerdot}. If you can't find it there, download
-%it from \url{CTAN:/macros/latex/contrib/powerdot/doc}. Once that is
+%it from \url{CTAN:/macros/latex/contrib/powerdot}. Once that is
%done, reconfigure \LyX\ (\texttt{Edit\LyXarrow Reconfigure} and
%restart \LyX\ afterwards). Now you can use the \pf{powerdot}
%document class as any other supported class. Go to
@@ -1869,7 +2233,7 @@ We hope not to have forgotten anyone.
%documentation, which is accessible from the |Help| menu.
%
%\subsection{How to use the layout}
-%\pf{powerdot} \LyX\ layout provides some environments\footnote{Don't
+%The \pf{powerdot} \LyX\ layout provides some environments\footnote{Don't
%confuse these with \LaTeX\ environments.} which can be used in \LyX.
%Some of these environments (for instance |Title| or |Itemize|) are
%natural to use since they exist also in the standard document
@@ -1943,8 +2307,35 @@ We hope not to have forgotten anyone.
% Slide Second slide title
% ...
%\end{example}
-%You could use this, for instance, to have verbatim material on
-%slides (see also section~\ref{sec:FAQ}).
+%
+%Options can be passed to slide environments by using
+%\texttt{Insert\LyXarrow Short title} in front of the slide title.
+%The following example uses the |direct| method (see
+%section~\ref{sec:verbatim}) in the short title argument (delimited by
+%square brackets) to allow for a |lstlisting| environment (defined by
+%the \pf{listings} package) within the slide content.
+%\begin{example}
+% Slide [method=direct]Example of LaTeX source code
+% Standard Here's the \HelloWorld command:
+% [ERT box:
+% \lstset{language=[LaTeX]TeX}
+% \begin{lstlisting}
+% \newcommand{\HelloWorld}{Hello World!}
+% \end{lstlisting}
+% ]
+% EndSlide
+%\end{example}
+%Note that you are not obliged to use a |verbatim| environment to
+%type the |\HelloWord| text into the \LyX\ window because \LyX\
+%directly supports standard verbatim.\footnote{\LyX\ translates
+%special characters into their corresponding \LaTeX\ command. For
+%instance, the backslash character is translated into
+%\cs{textbackslash{}}. Resulting, the font is not the same as in true
+%verbatim and you might want to change that via the
+%\texttt{Layout\LyXarrow Character} dialog.} Consequently, the use of
+%the slide processing methods |direct| and |file| is not necessary
+%when you need standard verbatim, but it is necessary when doing more
+%advanced things, like in the example above.
%
%\subsection{Support of syntax}
%This section lists options, commands and environments that are
@@ -1957,7 +2348,7 @@ We hope not to have forgotten anyone.
%should be specified in the |Preamble| pane of the
%\texttt{Layout\LyXarrow Document} dialog.
%
-%Table \vref{tab:lyxcommands} lists the \pf{powerdot} commands that
+%Table \ref{tab:lyxcommands} lists the \pf{powerdot} commands that
%are supported in \LyX.
%\begin{table}[htb]
%\centering
@@ -1976,7 +2367,7 @@ We hope not to have forgotten anyone.
%\end{tabular}
%\caption{Supported \pf{powerdot} commands in \LyX}\label{tab:lyxcommands}
%\end{table}
-%Table \vref{tab:lyxenvs} lists the \pf{powerdot} environments that,
+%Table \ref{tab:lyxenvs} lists the \pf{powerdot} environments that,
%besides the earlier discussed |slide|, |wideslide|, |note| and
%|emptyslide| environments, are supported in \LyX.
%\begin{table}[htb]
@@ -1992,9 +2383,9 @@ We hope not to have forgotten anyone.
%\end{tabular}
%\caption{Supported \pf{powerdot} environments in \LyX}\label{tab:lyxenvs}
%\end{table}
-%Table \vref{tab:lyxERT} lists commands that can only be done by using
+%Table \ref{tab:lyxERT} lists commands that can only be done by using
%an ERT box (via \texttt{Insert\LyXarrow TeX}).
-%\begin{table}[htb]
+%\begin{table}[ht]
%\centering
%\begin{tabular}{f}
%Command & Method in \LyX\\\hline
@@ -2009,7 +2400,7 @@ We hope not to have forgotten anyone.
%\caption{\pf{powerdot} commands needing an ERT box in \LyX}\label{tab:lyxERT}
%\end{table}
%Note that you may use the clipboard in order to repeat often used
-%commands like |\pause|. Finally, table \vref{tab:lyxadd} lists
+%commands like |\pause|. Finally, table \ref{tab:lyxadd} lists
%additional commands and environments that are supported by the layout.
%\begin{table}[htb]
%\centering
@@ -2073,9 +2464,10 @@ We hope not to have forgotten anyone.
%Note that you must begin the |LatexName| field with |lyxend|. The
%definition of the \LyX\ template has been inserted in between
%|Preamble| and |EndPreamble| which assures that the new \LyX\
-%environment will work. After modifying the layout file, don't forget
-%to restart \LyX. See for more information about creating \LyX\
-%environments, the documentation of \LyX\ in the |Help| menu.
+%environment will work in every presentation. After modifying the
+%layout file, don't forget to restart \LyX. See for more information
+%about creating \LyX\ environments, the documentation of \LyX\ in the
+%|Help| menu.
%
%\section{Questions}\label{sec:questions}
%\subsection{Frequently Asked Questions}\label{sec:FAQ}
@@ -2097,50 +2489,6 @@ We hope not to have forgotten anyone.
%error, corrected the typo and reran, but now get an error that
%doesn't go away.
%\answer Remove the |.bm| and |.toc| files and try again.
-%\question
-%My figure/table produces the error: \texttt{Not in outer par mode}.
-%\answer
-%You have asked \LaTeX\ to float the figure or table using something like
-%\begin{example}
-% \begin{figure}[htb]
-%\end{example}
-%\LaTeX\ has nowhere to float the figure or table to. Remove the
-%optional argument (here |[htb]|) and the figure or table will work.
-%\question How can I put verbatim text on slides?
-%\answer You can do this by using a temporary box to store the material
-%in or, for instance, the \pf{fancyvrb} package which has a special
-%environment for this. See two examples below.
-%\begin{minipage}[t]{.49\linewidth}
-%\begin{example}
-% \documentclass{powerdot}
-% \usepackage{listings}
-% \newsavebox\someverb
-% \begin{document}
-% \begin{lrbox}{\someverb}
-% \begin{lstlisting}
-% Some text.
-% \end{lstlisting}
-% \end{lrbox}
-% \begin{slide}{Listing}
-% \usebox\someverb
-% \end{slide}
-% \end{document}
-%\end{example}
-%\end{minipage}\hfill
-%\begin{minipage}[t]{.49\linewidth}
-%\begin{example}
-% \documentclass{powerdot}
-% \usepackage{fancyvrb}
-% \begin{document}
-% \begin{SaveVerbatim}{someverb}
-% Some text.
-% \end{SaveVerbatim}
-% \begin{slide}{Verbatim}
-% \BUseVerbatim{someverb}
-% \end{slide}
-% \end{document}
-%\end{example}
-%\end{minipage}
%\question |\pause| does not work in the |align|\footnote{There are
%several environments doing similar things as \texttt{align}. Another
%example is the \texttt{split} environment, but more (often from the
@@ -2165,6 +2513,34 @@ We hope not to have forgotten anyone.
% \end{slide}
% \end{document}
%\end{example}
+%\question Do I need to edit style files to change a style a bit?
+%\answer No, you do not need to edit any style file. You can change
+%any part of a certain style using the |\pddefinetemplate| and
+%|\pddefinepalettes| commands. Here is an example that removes the
+%right footer from the \pf{default} style, moves the left footer to
+%the center and adds another palette.
+%\begin{example}
+% \documentclass{powerdot}
+% \pddefinetemplate[slide]{slide}{
+% lfhook=Bc,lfpos={.5\slidewidth,.04\slideheight},
+% rfpos
+% }{}
+% \pddefinepalettes{mypalette}{
+% \definecolor{pdcolor1}{rgb}{.27,.31,.44}
+% \definecolor{pdcolor2}{rgb}{.85,.85,.92}
+% \definecolor{pdcolor3}{rgb}{.8,.75,.98}
+% }
+% \pdsetup{
+% lf=My presentation,
+% palette=mypalette
+% }
+% \begin{document}
+% \begin{slide}{Title}
+% \end{slide}
+% \end{document}
+%\end{example}
+%See section~\ref{sec:writestyle} for more information about these
+%two commands.
%\question Can I contribute to this project?
%\answer
%Certainly. If you find bugs\footnote{Make sure that you confirm that
@@ -2321,13 +2697,14 @@ We hope not to have forgotten anyone.
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
\ProvidesClass{powerdot}
- [2005/10/09 v1.2 powerdot presentation class (HA,CE)]
+ [2005/12/06 v1.3 powerdot presentation class (HA,CE)]
% \end{macrocode}
% Initializations.
% \begin{macrocode}
\newif\ifpd@overlay
\newif\ifpd@section
\newif\ifpd@ifsetup
+\newif\ifpd@display
\newcounter{note}
\newcounter{slide}
\newcounter{pd@pause}
@@ -2353,30 +2730,22 @@ We hope not to have forgotten anyone.
% Orientation.
% \begin{macrocode}
\define@choicekey*[pd]{class}{orient}[\pd@tempa\pd@orient]{%
- landscape,portrait}[landscape]{%
- \XKV@addtolist@x\pd@cursetup\pd@tempa
-}
+ landscape,portrait}{\XKV@addtolist@x\pd@cursetup\pd@tempa}
% \end{macrocode}
% Paper type.
% \begin{macrocode}
\define@choicekey*[pd]{class}{paper}[\pd@tempa\pd@paper]{%
- screen,a4paper,letterpaper}[screen]{%
- \XKV@addtolist@x\pd@cursetup\pd@tempa
-}
+ screen,a4paper,letterpaper}{\XKV@addtolist@x\pd@cursetup\pd@tempa}
% \end{macrocode}
% Display type.
% \begin{macrocode}
\define@choicekey*[pd]{class}{display}[\pd@tempa\pd@display]{%
- slides,notes,slidesnotes}[slides]{%
- \XKV@addtolist@x\pd@cursetup\pd@tempa
-}
+ slides,notes,slidesnotes}{\XKV@addtolist@x\pd@cursetup\pd@tempa}
% \end{macrocode}
% Mode.
% \begin{macrocode}
\define@choicekey*[pd]{class}{mode}[\pd@tempa\pd@mode]{%
- present,print,handout}[present]{%
- \XKV@addtolist@x\pd@cursetup\pd@tempa
-}
+ present,print,handout}{\XKV@addtolist@x\pd@cursetup\pd@tempa}
% \end{macrocode}
% Some boolean keys.
% \begin{macrocode}
@@ -2384,13 +2753,47 @@ We hope not to have forgotten anyone.
nopsheader,hlentries,hlsections,blackslide,nopagebreaks%
}[true]
% \end{macrocode}
+% Clock definitions.
+% \begin{macrocode}
+\define@boolkey[pd]{class}[pd@@]{clock}[true]{%
+ \ifpd@@clock
+ \AtBeginDocument{%
+% \end{macrocode}
+% Start a \pf{hyperref} form.
+% \begin{macrocode}
+ \@Form[]%
+% \end{macrocode}
+% Trick to insert rotation into text field if in landscape orientation.
+% \begin{macrocode}
+ \ifnum\pd@orient=\z@
+ \def\pd@clockrot{] /R 90\@gobble}%
+ \else
+ \let\pd@clockrot\@empty
+ \fi
+ }%
+% \end{macrocode}
+% Clock javascript.
+% \begin{macrocode}
+ \def\pd@startclock{%
+ function pdshowtime(){
+ var pdtime=new Date();
+ this.getField("pdclock.time").value=
+ util.printd("H:MM:ss",pdtime);
+ }
+ var tempa=app.setInterval("pdshowtime()",1000);
+ this.getField("pdstartclock").readonly=true;
+ this.getField("pdclock").readonly=true;
+ }%
+ \fi
+}
+% \end{macrocode}
% The size and style to be used.
% \begin{macrocode}
-\define@cmdkey[pd]{class}[pd@@]{size}[11pt]{%
+\define@cmdkey[pd]{class}[pd@@]{size}{%
\def\pd@tempa##1pt{##1}%
\edef\pd@@size{\expandafter\pd@tempa\pd@@size}%
}
-\define@cmdkey[pd]{class}[pd@@]{style}[default]{}
+\define@cmdkey[pd]{class}[pd@@]{style}{}
% \end{macrocode}
% Some usual article options.
% \begin{macrocode}
@@ -2400,7 +2803,8 @@ We hope not to have forgotten anyone.
% Some presets, used in case the user doesn't supply enough input.
% \begin{macrocode}
\presetkeys[pd]{class}{%
- size,style,orient,paper,display,hlentries,mode}{}
+ size=11pt,style=default,orient=landscape,paper=screen,%
+ display=slides,hlentries=true,mode=present}{}
% \end{macrocode}
% Process all options.
% \begin{macrocode}
@@ -2426,14 +2830,6 @@ We hope not to have forgotten anyone.
}
% \end{macrocode}
% \end{macro}
-% \begin{macro}{\@nameedef}
-% \marg{csname}\\
-% Similar as |\@namedef|, but uses |\edef| to define the command with
-% name \meta{csname}.
-% \begin{macrocode}
-\def\@nameedef#1{\expandafter\edef\csname#1\endcsname}
-% \end{macrocode}
-% \end{macro}
% Check paper for print and handout mode. No |screen| allowed.
% \begin{macrocode}
\ifnum\pd@mode>0
@@ -2456,6 +2852,7 @@ We hope not to have forgotten anyone.
% Check orientation for handout mode. No |landscape| allowed.
% \begin{macrocode}
\ifnum\pd@mode=2
+ \newbox\pd@textbox
\ifnum\pd@orient=\z@
% \end{macrocode}
% Remove erroneous input.
@@ -2545,14 +2942,10 @@ We hope not to have forgotten anyone.
\RequirePackage{pstricks}[2004/05/12]
\RequirePackage{xcolor}[2004/05/09]
% \end{macrocode}
+% For lists and verbatim reading of slide content.
% \begin{macrocode}
\RequirePackage{enumitem}[2004/07/19]
-% \end{macrocode}
-% Avoid floating tables and figures.
-% \begin{macrocode}
-\RequirePackage{float}
-\newfloat{table}{H}{lot}
-\newfloat{figure}{H}{lof}
+\RequirePackage{verbatim}
% \end{macrocode}
% Here are some basic properties of the slides.
% \begin{macrocode}
@@ -2620,12 +3013,9 @@ We hope not to have forgotten anyone.
\def\@pdfcreator{LaTeX with powerdot class}
\ifpd@@blackslide\def\@pdfstartpage{2}\fi
% \end{macrocode}
-% Some things to be done |\AtBeginDocument|. We make a
-% copy of |\default@color| for several things below. Then we insert
-% a black slide if requested.
+% We insert a black slide if requested.
% \begin{macrocode}
\AtBeginDocument{%
- \let\pd@color\XC@current@color
\ifpd@@blackslide
\begin{blackslide}[toc=,bm=,trans=Replace]{}%
\end{blackslide}%
@@ -2644,14 +3034,14 @@ We hope not to have forgotten anyone.
% used in both locations.
% The following keys just store their input to be positioned by the slide later.
% \begin{macrocode}
-\define@cmdkeys[pd]{global}[pd@@]{lf,rf}[]
+\define@cmdkeys[pd]{global}[pd@@]{lf,rf}
% \end{macrocode}
% Create an interface to change the typesetting of the page numbers.
% This follows the usual \LaTeX\ idea to change typesetting of numbers
% via |\thepage| etcetera.
% \begin{macrocode}
-\define@key[pd]{global}{theslide}[]{\def\theslide{#1}}
-\define@key[pd]{global}{thenote}[]{\def\thenote{#1}}
+\define@key[pd]{global}{theslide}{\def\theslide{#1}}
+\define@key[pd]{global}{thenote}{\def\thenote{#1}}
% \end{macrocode}
% Options to be used by \pf{enumitem}. These store input incrementally
% in macros used by \pf{enumitem} to store options. By allowing options
@@ -2693,24 +3083,79 @@ We hope not to have forgotten anyone.
% \begin{macrocode}
\define@cmdkey[pd]{glslide}[pd@@]{trans}{}
% \end{macrocode}
-% Initialize some of the keys that we just defined.
+% Palettes.
% \begin{macrocode}
-\setkeys[pd]{global,glslide}{%
- lf,rf,theslide=\arabic{slide}~/~\pageref*{lastslide},%
- thenote=note~\arabic{note}~of~slide~\arabic{slide},%
- trans=Replace%
+\define@cmdkey[pd]{glslide}[pd@@]{palette}{%
+% \end{macrocode}
+% Check whether the chosen palette exists. If yes, execute it, set
+% |\default@color| (for equation numbers etcetera) and copy the
+% current color for |\twocolumn|.
+% \begin{macrocode}
+ \ifnum\pd@mode<2
+ \XKV@ifundefined{pd@pe@\pd@@palette @colors}{%
+ \pd@error{palette `\pd@@palette' not defined}%
+ }{%
+ \@nameuse{pd@pe@\pd@@palette @colors}%
+ \color{pdcolor1}%
+ \let\default@color\current@color
+ \let\pd@color\XC@current@color
+ }%
+ \pd@countcolors
+ \fi
}
% \end{macrocode}
-% Disable global only keys |\AtBeginDocument|.
+% Slide processing method.
% \begin{macrocode}
-\AtBeginDocument{%
- \disable@keys[pd]{global}{lf,rf,list,counters,theslide,thenote}%
+\define@choicekey*[pd]{glslide}{method}[\pd@tempa\pd@method]{%
+ normal,file,direct}{%
+ \ifnum\pd@method=2
+ \ifx\pd@textbox\@undefined\newbox\pd@textbox\fi
+ \fi
+}
+% \end{macrocode}
+% Random dots. Load |random.tex| if necessary.
+% \begin{macrocode}
+\define@boolkey[pd]{glslide}[pd@@]{randomdots}[true]{%
+ \ifx\randomi\@undefined
+ \InputIfFileExists{random}{\newcount\pd@tempcnta}{%
+ \global\pd@@randomdotsfalse
+ \pd@warn{random.tex not found, random dots canceled}%
+ }%
+ \fi
+ \ifnum\pd@mode=\tw@\global\pd@@randomdotsfalse\fi
+}
+% \end{macrocode}
+% Keys for random dots and the logo.
+% \begin{macrocode}
+\define@cmdkeys[pd]{glslide}[pd@@]{%
+ dminsize,dmaxsize,dbright,dmindots,dmaxdots,dminwidth,dmaxwidth,%
+ dminheight,dmaxheight,dprop,logohook,logopos%
+}
+\define@key[pd]{glslide}{logocmd}{%
+ \ifx\pd@logobox\@undefined\newbox\pd@logobox\fi
+ \sbox\pd@logobox{#1}%
+}
+% \end{macrocode}
+% Initialize some of the keys that we just defined.
+% \begin{macrocode}
+\setkeys[pd]{glslide,global}{%
+ lf=,rf=,theslide=\arabic{slide}~/~\pageref*{lastslide},%
+ thenote=note~\arabic{note}~of~slide~\arabic{slide},%
+ trans=Replace,dminsize=5pt,dmaxsize=40pt,dminwidth=0pt,%
+ dmaxwidth=\slidewidth,dminheight=0pt,dbright=60,%
+ dmaxheight=\slideheight,dmindots=5,dmaxdots=40,dprop=,%
+ logohook=tl,logopos=,logocmd=,method=normal%
}
% \end{macrocode}
% \begin{macro}{\pdsetup}
-% The interface for users.
+% The interface for users. Disable global keys |\AtBeginDocument|.
% \begin{macrocode}
\def\pdsetup{\setkeys[pd]{global,glslide}}
+\AtBeginDocument{%
+ \disable@keys[pd]{global}{%
+ lf,rf,theslide,thenote,enumerate,itemize,list,counters%
+ }%
+}
% \end{macrocode}
% \end{macro}
% Local keys: |toc| and |bm|.
@@ -2796,7 +3241,9 @@ We hope not to have forgotten anyone.
tocsecindent,tocslideindent,%
lfhook,lfpos,lffont,lftemp,%
rfhook,rfpos,rffont,rftemp,%
- iacolor%
+ iacolor,%
+ clockhook,clockpos,clockwidth,clockheight,%
+ clockcharsize,clockalign,clockcolor%
}\pd@tempb{\expandafter\pd@tempa\expandafter{\pd@tempb}}
% \end{macrocode}
% The |ifsetup| key first amends missing input using |\pd@pdifsetup|.
@@ -2809,39 +3256,118 @@ We hope not to have forgotten anyone.
\pd@pdifs@tup\pd@@ifsetup\pd@ifsetuptrue\pd@ifsetupfalse
}
% \end{macrocode}
-% Default layout so that templates do not need to specify every key.
+% Choice keys for orientation of toc.
+% \begin{macrocode}
+\define@choicekey*[pd]{template}{tocorient}[\pd@tempa\pd@tocorient]{%
+ v,h}{}
+\define@choicekey*[pd]{template}{stocorient}[\pd@tempa\pd@stocorient]{%
+ v,h}{}
+\define@choicekey*[pd]{template}{ntocorient}[\pd@tempa\pd@ntocorient]{%
+ v,h}{}
+% \end{macrocode}
+% Presets so that templates do not need to specify every key.
% This also initializes some keys as to avoid errors in constructing
% the slide.
% \begin{macrocode}
\setkeys[pd]{template}{%
ifsetup,%
- titlehook=Bl,titlepos,titlewidth=\slidewidth,%
- titlefont=\raggedright,texthook=lt,textpos,%
+ titlehook=Bl,titlepos=,titlewidth=\slidewidth,%
+ titlefont=\raggedright,texthook=tl,textpos=,%
textwidth=\slidewidth,textfont=\raggedright,%
textheight=\slideheight,%
- tochook=lt,tocpos,tocwidth=.2\slidewidth,%
+ tochook=tl,tocpos=,tocwidth=.2\slidewidth,%
tocfont=\tiny\raggedright,%
- stochook=lt,stocpos,stocwidth=.2\slidewidth,%
+ stochook=tl,stocpos=,stocwidth=.2\slidewidth,%
stocfont=\tiny\raggedright,%
- ntochook=lt,ntocpos,ntocwidth=.2\slidewidth,%
+ ntochook=tl,ntocpos=,ntocwidth=.2\slidewidth,%
ntocfont=\tiny\raggedright,%
+ tocorient=v,stocorient=v,ntocorient=v,%
tocfrsep=.5mm,tocsecsep=2ex,tocslidesep=0ex,%
- tocsecm,toctcolor=black,tochlcolor=black,tochltcolor=white,%
+ tocsecm=,toctcolor=black,tochlcolor=black,tochltcolor=white,%
tocsecindent=0pt,tocslideindent=0pt,%
- lfhook=lB,lfpos,lffont=\scriptsize,lftemp=\pd@@lf,%
- rfhook=rB,rfpos,rffont=\scriptsize,rftemp=\pd@@rf\ifx\pd@@rf\@empty
+ lfhook=Bl,lfpos=,lffont=\scriptsize,lftemp=\pd@@lf,%
+ rfhook=Br,rfpos=,rffont=\scriptsize,rftemp=\pd@@rf\ifx\pd@@rf\@empty
\else\ifx\theslide\@empty\else~--~\fi\fi\theslide,%
- iacolor=lightgray%
+ iacolor=lightgray,%
+ clockhook=tr,clockpos=,clockwidth=3cm,clockheight=\baselineskip,%
+ clockcharsize=14pt,clockalign=2,clockcolor=black%
+}
+% \end{macrocode}
+% \begin{macro}{\pddefinepalettes}
+% \marg{name}\marg{commands}\\
+% Save the text color number and start scanning for palettes. |\pd@nopalettes|
+% contains the number of palettes that we have seen in total in the
+% style or preamble.
+% \begin{macrocode}
+\def\pddefinepalettes#1#2{%
+ \ifx\pd@nopalettes\@undefined\@tempcnta\z@\else
+ \@tempcnta\pd@nopalettes
+ \fi
+ \pd@pddefinepalettes{#1}{#2}%
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\pd@pddefinepalettes}
+% \marg{name}\marg{commands}\\
+% Save the current \meta{name} and \meta{commands} to numbered macros
+% to be used later again. If we find another brace |{| after these
+% arguments, repeat the process.
+% \begin{macrocode}
+\def\pd@pddefinepalettes#1#2{%
+ \advance\@tempcnta\@ne
+ \@namedef{pd@pe@\the\@tempcnta @name}{#1}%
+ \@namedef{pd@pe@#1@colors}{#2}%
+ \@ifnextchar\bgroup\pd@pddefinepalettes{%
+ \edef\pd@nopalettes{\the\@tempcnta}%
+ }%
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\pd@countcolors}
+% Count the number of colors in the palette. We do this only once.
+% \begin{macrocode}
+\def\pd@countcolors{%
+ \@tempcnta\@ne
+ \@whilesw\ifx\pd@nocolors\@undefined\fi{%
+ \XKV@ifundefined{\string\color@pdcolor\the\@tempcnta}{%
+ \advance\@tempcnta\m@ne
+ \edef\pd@nocolors{\the\@tempcnta}%
+ }{\advance\@tempcnta\@ne}%
+ }%
+}
+% \end{macrocode}
+% \end{macro}
+% If the style or preamble does not define palettes, do nothing. If
+% there are palettes, but the user didn't specify one, use the first.
+% \begin{macrocode}
+\AtBeginDocument{%
+ \ifx\pd@nopalettes\@undefined\else\ifx\pd@@palette\@undefined
+ \@nameuse{pd@pe@\@nameuse{pd@pe@1@name}@colors}%
+ \color{pdcolor1}%
+ \let\default@color\current@color
+ \let\pd@color\XC@current@color
+ \fi\fi
+% \end{macrocode}
+% Text color is black in handout mode.
+% \begin{macrocode}
+ \ifnum\pd@mode=2
+ \color{black}%
+ \def\pd@@iacolor{black}%
+ \let\default@color\current@color
+ \let\pd@color\XC@current@color
+ \else\pd@countcolors\fi
}
% \end{macrocode}
% \begin{macro}{\pddefinetemplate}
-% Define a template. This stores options and the background to macros.s
+% Define a template. This stores options and the background to macros.
% \begin{macrocode}
\def\pddefinetemplate{\@testopt\pd@pddefinetemplate{}}
% \end{macrocode}
% \end{macro}
% \begin{macro}{\pd@pddefinetemplate}
% \changes{v1.2}{2005/10/09}{Changed to \cs{pd@namelet} for changed \pf{xcolor}}
+% \changes{v1.3}{2005/12/06}{Made it possible to redefine basis templates and
+% convey the changes to templates based on this basis}
% \oarg{basis}{name}{options}{background}\\
% Store options and background and define the environment \meta{name}.
% \begin{macrocode}
@@ -2853,9 +3379,10 @@ We hope not to have forgotten anyone.
\@namedef{#2}{\pd@getargsandbody{#2}}%
% \end{macrocode}
% The end of the environment. We process the body at least once, maybe
-% more times, but that we will find out along the way.
+% more times, but that we will find out along the way. In case the
+% body is not eaten in advance, this macro starts an |lrbox|.
% \begin{macrocode}
- \@namedef{end#2}{\pd@slide}%
+ \@namedef{end#2}{\ifpd@display\pd@slide\fi}%
% \end{macrocode}
% If there is no basis, we just store the options and the background.
% \begin{macrocode}
@@ -2868,29 +3395,35 @@ We hope not to have forgotten anyone.
% \begin{macrocode}
\XKV@ifundefined{pd@template@#1@options}{%
\pd@error{template `#1' undefined}}{%
- \pd@namelet{pd@template@#2@options}{pd@template@#1@options}%
- \expandafter
+ \def\pd@tempa{#1}\def\pd@tempb{#2}%
+% \end{macrocode}
+% If \meta{basis} and \meta{name} are the same, expand options and
+% background to avoid infinite loops.
+% \begin{macrocode}
+ \ifx\pd@tempa\pd@tempb
+ \pd@namelet{pd@template@#2@options}{pd@template@#1@options}%
+ \expandafter
+ \XKV@addtomacro@n\csname pd@template@#2@options\endcsname
% \end{macrocode}
% Make sure to reset the |ifsetup| key so that options are for all
% possible setups again.
% \begin{macrocode}
- \XKV@addtomacro@n\csname pd@template@#2@options\endcsname
- {\setkeys[pd]{template}{ifsetup,#3}}%
- \pd@namelet{pd@template@#2@bg}{pd@template@#1@bg}\expandafter
- \XKV@addtomacro@n\csname pd@template@#2@bg\endcsname{#4}%
- }%
- \fi
-}
+ {\setkeys[pd]{template}{ifsetup,#3}}%
+ \pd@namelet{pd@template@#2@bg}{pd@template@#1@bg}\expandafter
+ \XKV@addtomacro@n\csname pd@template@#2@bg\endcsname{#4}%
+ \else
% \end{macrocode}
-% \end{macro}
-% \begin{macro}{\pd@namelet}
-% \marg{cs1}\marg{cs2}\\
-% Copy the replacement text of macro with name \meta{cs2} to the macro
-% with name \meta{cs1}. We use a private version as |\@namelet| has
-% many conflicting definitions is different packages.
+% Else, use existing macros options and background macros and add the
+% current settings.
% \begin{macrocode}
-\def\pd@namelet#1#2{%
- \expandafter\let\csname#1\expandafter\endcsname\csname#2\endcsname
+ \@namedef{pd@template@#2@bg}{\@nameuse{pd@template@#1@bg}#4}%
+ \@namedef{pd@template@#2@options}{%
+ \@nameuse{pd@template@#1@options}%
+ \setkeys[pd]{template}{ifsetup,#3}%
+ }%
+ \fi
+ }%
+ \fi
}
% \end{macrocode}
% \end{macro}
@@ -2900,7 +3433,10 @@ We hope not to have forgotten anyone.
% collect the body of the slide: we
% read every time up to |\end|, we check whether we find the |\end| that
% has the name of the current slide environment. If not, we add all
-% content and continue the search.
+% content and continue the search. If |method| is 1, we use \pf{verbatim}
+% to read the body and write it to a temporary file. If |method| is 2, we do not
+% eat the body at all, but redefine the end of the current environment
+% to finish the |lrbox| that we will start later on.
% \begin{macrocode}
\def\pd@getargsandbody#1{\@testopt{\pd@get@rgsandbody{#1}}{}}
% \end{macrocode}
@@ -2909,90 +3445,169 @@ We hope not to have forgotten anyone.
% \marg{name}\oarg{options}\marg{title}
% \begin{macrocode}
\def\pd@get@rgsandbody#1[#2]#3{%
+ \pd@get@rgs@ndbody{#2}{#3}%
% \end{macrocode}
-% Set user keys.
+% Here are three possible methods to process slides. The first will
+% eat the entire body while scanning for |\end{slide}|. This fixes
+% catcodes. The second writes the body to file. This allows for
+% verbatim and overlays, but may be slow. The third uses an |lrbox| to
+% typeset material directly. That allows for verbatim, but no
+% overlays. Notice that we always use the first method when the slide
+% should not be displayed.
% \begin{macrocode}
- \setkeys[pd]{glslide,slide}{#2}%
+ \ifcase\ifnum\pd@method>\z@\ifpd@display\@ne\fi\fi\z@
% \end{macrocode}
-% Save title.
+% Start eating the body.
% \begin{macrocode}
- \def\pd@t@tle{#3}%
+ \pd@body{}%
+ \def\pd@tempa{\pd@get@rgs@ndb@dy{#1}}%
+ \else
+ \ifnum\pd@method=\@ne
% \end{macrocode}
-% Initialize the token and start parsing.
+% Start verbatim reading and writing to file.
% \begin{macrocode}
- \pd@body{}%
- \pd@get@rgs@ndbody{#1}%
-}
+ \def\pd@tempa{%
+ \immediate\openout\@inputcheck\jobname.vrb\relax
+ \def\verbatim@processline{%
+ \immediate\write\@inputcheck{\the\verbatim@line}%
+ }%
+ \begingroup\let\do\@makeother\dospecials\catcode`\^^M\active
+ \verbatim@start
+ }%
% \end{macrocode}
-% \end{macro}
-% \begin{macro}{\pd@get@rgs@ndbody}
-% \marg{name}\meta{text}|\end|\marg{envir}\\
-% If \meta{envir} is equal to \meta{name}, we found the end of the
-% environment and stop parsing. Otherwise, we add material to the token
-% and continue.
+% Redefine the end macro to stop verbatim reading and closing the file.
+% Afterwards, execute the slide producing macro.
% \begin{macrocode}
-\long\def\pd@get@rgs@ndbody#1#2\end#3{%
- \def\pd@tempa{#1}%
- \def\pd@tempb{#3}%
- \ifx\pd@tempa\pd@tempb
- \pd@body\expandafter{\the\pd@body#2}%
- \def\pd@tempa{\end{#1}}%
- \else
- \pd@body\expandafter{\the\pd@body#2\end{#3}}%
- \def\pd@tempa{\pd@get@rgs@ndbody{#1}}%
+ \@namedef{end#1}{%
+ \endgroup\immediate\closeout\@inputcheck
+ \let\verbatim@processline\pd@orig@verbatim@processline
+ \pd@slide
+ }%
+ \else
+% \end{macrocode}
+% No overlays allowed with this method.
+% \begin{macrocode}
+ \pd@deloverlays
+% \end{macrocode}
+% Create the slide.
+% \begin{macrocode}
+ \let\pd@tempa\pd@sl@de
+% \end{macrocode}
+% Typeset content directly and store it in a box using |lrbox|. We
+% redefine the end to finish this box and position it on the page.
+% \begin{macrocode}
+ \@namedef{end#1}{%
+ \end{pd@minipage}\end{lrbox}%
+ \ifx\pd@@textpos\@empty\else
+ \rput[\pd@@texthook](\pd@@textpos){\usebox\pd@textbox}%
+ \fi
+ }%
+ \fi
\fi
\pd@tempa
}
% \end{macrocode}
% \end{macro}
-% \begin{macro}{\pd@slide}
+% \begin{macro}{\pd@get@rgs@ndbody}
+% \marg{options}\marg{title}\\
+% A common component in processing slides in \LaTeX\ or \LyX.
+% \begin{macrocode}
+\def\pd@get@rgs@ndbody#1#2{%
+% \end{macrocode}
+% Set user keys.
+% \begin{macrocode}
+ \setkeys[pd]{glslide,slide}{#1}%
+% \end{macrocode}
+% Save title.
+% \begin{macrocode}
+ \def\pd@t@tle{#2}%
+% \end{macrocode}
% Perform some initial checks to see whether we actually need to process
% this slide or not.
% \begin{macrocode}
-\def\pd@slide{%
+ \pd@displaytrue
\def\pd@tempa{note}%
- \let\pd@tempb\pd@sl@de
\ifcase\pd@display
- \ifx\@currenvir\pd@tempa\let\pd@tempb\relax\fi
+ \ifx\@currenvir\pd@tempa\relax\pd@displayfalse\fi
\or
\ifx\@currenvir\pd@tempa\else
\def\pd@tempa{titleslide}%
\ifx\@currenvir\pd@tempa\else
- \let\pd@tempb\relax
+ \pd@displayfalse
\stepcounter{slide}%
\fi
\fi
\fi
- \pd@tempb
}
% \end{macrocode}
% \end{macro}
-% \begin{macro}{\pd@sl@de}
+% \begin{macro}{\pd@get@rgs@ndb@dy}
+% \marg{name}\meta{text}|\end|\marg{envir}\\
+% If \meta{envir} is equal to \meta{name}, we found the end of the
+% environment and stop parsing. Otherwise, we add material to the token
+% and continue.
+% \begin{macrocode}
+\long\def\pd@get@rgs@ndb@dy#1#2\end#3{%
+ \def\pd@tempa{#1}%
+ \def\pd@tempb{#3}%
+ \ifx\pd@tempa\pd@tempb
+ \pd@body\expandafter{\the\pd@body#2}%
+ \def\pd@tempa{\end{#1}}%
+ \else
+ \pd@body\expandafter{\the\pd@body#2\end{#3}}%
+ \def\pd@tempa{\pd@get@rgs@ndb@dy{#1}}%
+ \fi
+ \pd@tempa
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\pd@slide}
% This macro processes the slide, possibly many times, depending on
% what we encounter on the first run.
% \begin{macrocode}
-\def\pd@sl@de{%
+\def\pd@slide{%
\pd@overlayfalse
\def\pd@nooverlays{1}%
\setcounter{pd@overlay}\@ne
\let\pd@labels\@empty
- \pd@savecounters
- \pd@sl@d@
+% \end{macrocode}
+% Save counter values so that these can be restored on overlays.
+% \begin{macrocode}
+ \XKV@for@o\pd@@counters\pd@tempa{%
+ \expandafter\xdef\csname pd@counter@\pd@tempa\endcsname{%
+ \expandafter\the\csname c@\pd@tempa\endcsname
+ }%
+ }%
+ \pd@sl@de
\@whilenum\c@pd@overlay<\pd@nooverlays\do{%
\pd@overlaytrue
- \pd@restorecounters
+% \end{macrocode}
+% Restore counters.
+% \begin{macrocode}
+ \XKV@for@o\pd@@counters\pd@tempa{%
+ \setcounter{\pd@tempa}{\csname pd@counter@\pd@tempa\endcsname}%
+ }%
\stepcounter{pd@overlay}%
- \pd@sl@d@
+% \end{macrocode}
+% Re-initialize the info for random dots.
+% \begin{macrocode}
+ \ifpd@@randomdots
+ \let\pd@trandim\pd@randim
+ \let\pd@tranpos\pd@ranpos
+ \let\pd@trancol\pd@rancol
+ \fi
+ \pd@sl@de
}%
}
% \end{macrocode}
% \end{macro}
-% \begin{macro}{\pd@sl@d@}
+% \begin{macro}{\pd@sl@de}
% \changes{v1.1}{2005/09/19}{Added missing \cs{pd@currenttype} initialization}
% \changes{v1.2}{2005/10/09}{Added \cs{@currentlabel} definition}
+% \changes{v1.3}{2005/12/06}{Template specific \texttt{textfont} properly sets \cs{default@color}}
% This is the main slide producing macro.
% \begin{macrocode}
-\def\pd@sl@d@{%
+\def\pd@sl@de{%
\stepcounter{slide}\newpage
\edef\@currentlabel{\the\c@slide}%
% \end{macrocode}
@@ -3008,7 +3623,110 @@ We hope not to have forgotten anyone.
% \end{macrocode}
% Insert background. Execute in a group to avoid local settings getting out.
% \begin{macrocode}
- {\@nameuse{pd@template@\@currenvir @bg}}%
+ \@nameuse{pd@template@\@currenvir @bg}%
+ \ifpd@@randomdots
+% \end{macrocode}
+% Code to create random dots. We draw random numbers first and store
+% them so that overlays will look the same.
+% \begin{macrocode}
+ \ifpd@overlay\else\ifnum\pd@nocolors>\z@
+% \end{macrocode}
+% Used to store info about the dots.
+% \begin{macrocode}
+ \let\pd@randim\@empty
+ \let\pd@ranpos\@empty
+ \let\pd@rancol\@empty
+% \end{macrocode}
+% Random number of dots.
+% \begin{macrocode}
+ \setrannum\pd@tempcnta\pd@@dmindots\pd@@dmaxdots
+ \edef\pd@nodots{\the\pd@tempcnta}%
+ \pd@tempcnta\z@
+ \@whilesw\ifnum\pd@tempcnta<\pd@nodots\fi{%
+ \advance\pd@tempcnta\@ne
+% \end{macrocode}
+% Random sizes, locations and colors.
+% \begin{macrocode}
+ \setrandim\@tempdima\pd@@dminsize\pd@@dmaxsize
+ \XKV@addtolist@x\pd@randim{\the\@tempdima}%
+ \setrandim\@tempdima\pd@@dminwidth\pd@@dmaxwidth
+ \setrandim\@tempdimb\pd@@dminheight\pd@@dmaxheight
+ \XKV@addtolist@x\pd@ranpos{\the\@tempdima,\the\@tempdimb}%
+ \setrannum\@tempcntb1\pd@nocolors
+ \XKV@addtolist@x\pd@rancol{\the\@tempcntb}%
+ }%
+ \let\pd@trandim\pd@randim
+ \let\pd@tranpos\pd@ranpos
+ \let\pd@trancol\pd@rancol
+ \else\let\pd@nodots\z@\fi\fi
+ \@tempcnta\z@
+% \end{macrocode}
+% Use the stored information to draw the random dots.
+% \begin{macrocode}
+ \@whilesw\ifnum\@tempcnta<\pd@nodots\fi{%
+ \advance\@tempcnta\@ne
+ \pd@pop\pd@trandim\pd@tempa\pd@pop\pd@tranpos\pd@tempb
+ \pd@pop\pd@tranpos\pd@tempc\pd@pop\pd@trancol\pd@tempd
+% \end{macrocode}
+% Brightness corrections by mixing with black or white.
+% \begin{macrocode}
+ \ifnum\pd@@dbright<\z@
+ \@tempcntb\pd@@dbright
+ \advance\@tempcntb100
+ \edef\pd@tempd{\pd@tempd!\the\@tempcntb!black}%
+ \else
+ \@tempcntb-\pd@@dbright
+ \advance\@tempcntb100
+ \edef\pd@tempd{\pd@tempd!\the\@tempcntb}%
+ \fi
+ {\ifx\pd@@dprop\@empty\else
+ \expandafter\psset\expandafter{\pd@@dprop}%
+ \fi
+ \psdot[dotsize=\pd@tempa,linecolor=pdcolor\pd@tempd]%
+ (\pd@tempb,\pd@tempc)}%
+ }%
+ \fi
+% \end{macrocode}
+% Insert the logo.
+% \begin{macrocode}
+ \ifx\pd@@logopos\@empty\else
+ \ifx\pd@logobox\@undefined\else
+ \rput[\pd@@logohook](\pd@@logopos){\usebox\pd@logobox}%
+ \fi
+ \fi
+% \end{macrocode}
+% Clock coding.
+% \begin{macrocode}
+ \ifpd@@clock
+ \ifnum\c@slide=\@ne
+% \end{macrocode}
+% Insert invisible function to start the clock.
+% \begin{macrocode}
+ \rput(0,-1){%
+ \TextField[format=\pd@startclock,name=pdstartclock,%
+ bordercolor={},backgroundcolor={},height=0bp,width=0bp]{}%
+ }%
+ \fi
+% \end{macrocode}
+% Extract the color specification, convert it to |rgb| and store it
+% to be used for the clock. This uses some \pf{xcolor} macros.
+% \begin{macrocode}
+ \def\pd@tempa##1,##2,##3\@nil{##1 ##2 ##3}%
+ \extractcolorspec\pd@@clockcolor\pd@tempb
+ \expandafter\convertcolorspec\pd@tempb{rgb}\pd@tempb
+ \edef\pd@tempa{\expandafter\pd@tempa\pd@tempb\@nil}%
+% \end{macrocode}
+% Insert the clock.
+% \begin{macrocode}
+ \ifx\pd@@clockpos\@empty\else
+ \rput[\pd@@clockhook](\pd@@clockpos){%
+ \TextField[name=pdclock.time,bordercolor=\pd@clockrot,%
+ backgroundcolor={},align=\pd@@clockalign,color=\pd@tempa,%
+ charsize=\pd@@clockcharsize,width=\pd@@clockwidth,%
+ height=\pd@@clockheight]{}%
+ }%
+ \fi
+ \fi
% \end{macrocode}
% Write transition effect to PDF.
% \begin{macrocode}
@@ -3067,27 +3785,34 @@ We hope not to have forgotten anyone.
}%
\fi
% \end{macrocode}
-% Position the table of contents, possibly split.
+% Position the table of contents, possibly split. No |minipage| when
+% making a horizontal toc.
% \begin{macrocode}
\ifx\pd@@tocpos\@empty\else
\rput[\pd@@tochook](\pd@@tocpos){%
- \begin{minipage}\pd@@tocwidth
- \let\pd@usedtocfont\pd@@tocfont\pd@puttoc0%
- \end{minipage}%
+ \ifnum\pd@tocorient=\z@\begin{minipage}\pd@@tocwidth\fi
+ \let\pd@usedtocfont\pd@@tocfont
+ \let\pd@usedtocorient\pd@tocorient
+ \pd@puttoc0%
+ \ifnum\pd@usedtocorient=\z@\end{minipage}\fi
}%
\fi
\ifx\pd@@stocpos\@empty\else
\rput[\pd@@stochook](\pd@@stocpos){%
- \begin{minipage}\pd@@stocwidth
- \let\pd@usedtocfont\pd@@stocfont\pd@puttoc1%
- \end{minipage}%
+ \ifnum\pd@stocorient=\z@\begin{minipage}\pd@@tocwidth\fi
+ \let\pd@usedtocfont\pd@@stocfont
+ \let\pd@usedtocorient\pd@stocorient
+ \pd@puttoc1%
+ \ifnum\pd@usedtocorient=\z@\end{minipage}\fi
}%
\fi
\ifx\pd@@ntocpos\@empty\else
\rput[\pd@@ntochook](\pd@@ntocpos){%
- \begin{minipage}\pd@@ntocwidth
- \let\pd@usedtocfont\pd@@ntocfont\pd@puttoc2%
- \end{minipage}%
+ \ifnum\pd@ntocorient=\z@\begin{minipage}\pd@@tocwidth\fi
+ \let\pd@usedtocfont\pd@@ntocfont
+ \let\pd@usedtocorient\pd@ntocorient
+ \pd@puttoc2%
+ \ifnum\pd@usedtocorient=\z@\end{minipage}\fi
}%
\fi
% \end{macrocode}
@@ -3099,77 +3824,41 @@ We hope not to have forgotten anyone.
\ifx\pd@@rfpos\@empty\else
\rput[\pd@@rfhook](\pd@@rfpos){\pd@@rffont\pd@@rftemp}%
\fi
+ \ifnum\pd@method<2
+ \ifx\pd@@textpos\@empty\else
% \end{macrocode}
-% Position the main text box and put the material in.
-% \begin{macrocode}
- \ifx\pd@@textpos\@empty\else
- \rput[\pd@@texthook](\pd@@textpos){%
- \begin{pd@minipage}%
- \pd@@textfont\the\pd@body
- \end{pd@minipage}%
- }%
- \fi
-}
-% \end{macrocode}
-% \end{macro}
-% \begin{macro}{\pd@minipage}
-% \begin{macro}{\endpd@minipage}
-% Adapted version of the |minipage| environment to do normal footnote
-% typesetting.
+% Position the main text box and put the material in, maybe coming
+% from eating the body into |\pd@body| or reading it from a file.
% \begin{macrocode}
-\def\pd@minipage{%
- \leavevmode
- \@pboxswfalse
- \setlength\@tempdima\pd@@textwidth
- \def\@mpargs{{t}{\pd@@textheight}[t]{\pd@@textwidth}}%
- \setbox\@tempboxa\vbox\bgroup
- \color@begingroup
- \hsize\@tempdima
- \textwidth\hsize
- \columnwidth\hsize
- \@parboxrestore
- \let\@footnotetext\@mpfootnotetext
- \let\@listdepth\@mplistdepth
- \@mplistdepth\z@
- \@minipagerestore
- \@setminipage
-}
-\def\endpd@minipage{%
- \par
- \unskip
- \ifvoid\@mpfootins\else
- \vfill
- \normalcolor
- \footnoterule
- \unvbox\@mpfootins
+ \rput[\pd@@texthook](\pd@@textpos){%
+ \pd@sl@d@
+ \ifnum\pd@method=\z@\the\pd@body\else
+ \input \jobname.vrb
+ \fi
+ \end{pd@minipage}%
+ }%
\fi
- \@minipagefalse
- \color@endgroup
- \egroup
- \expandafter\@iiiparbox\@mpargs{\unvbox\@tempboxa}%
-}
+ \let\pd@tempa\relax
+ \else
% \end{macrocode}
-% \end{macro}
-% \end{macro}
-% \begin{macro}{\pd@savecounters}
-% Store the value of counters before entering the first overlay.
+% For direct processing, start the |lrbox| to typeset and capture
+% content.
% \begin{macrocode}
-\def\pd@savecounters{%
- \XKV@for@o\pd@@counters\pd@tempa{%
- \expandafter\xdef\csname pd@counter@\pd@tempa\endcsname{%
- \expandafter\the\csname c@\pd@tempa\endcsname
- }%
- }%
+ \def\pd@tempa{\begin{lrbox}\pd@textbox\pd@sl@d@}%
+ \fi
+ \pd@tempa
}
% \end{macrocode}
% \end{macro}
-% \begin{macro}{\pd@restorecounters}
-% Reset counters on following overlays.
+% \begin{macro}{\pd@sl@d@}
+% A common component in |\pd@sl@de|.
% \begin{macrocode}
-\def\pd@restorecounters{%
- \XKV@for@o\pd@@counters\pd@tempa{%
- \setcounter{\pd@tempa}{\csname pd@counter@\pd@tempa\endcsname}%
- }%
+\def\pd@sl@d@{%
+ \begin{pd@minipage}%
+ \let\pd@tempa\color
+ \def\color##1{\pd@tempa{##1}\let\default@color\current@color}%
+ \pd@@textfont
+ \let\color\pd@tempa
}
% \end{macrocode}
% \end{macro}
@@ -3237,8 +3926,9 @@ We hope not to have forgotten anyone.
% see below.
% \begin{macrocode}
\let\pd@orig@maketitle\maketitle
-\def\maketitle{%
- \begin{titleslide}[toc=,bm=,trans=Replace]{}%
+\def\maketitle{\@testopt\pd@maketitle{}}
+\def\pd@maketitle[#1]{%
+ \begin{titleslide}[#1,toc=,bm=,trans=Replace]{}%
\let\footnote\thanks
\def\thefootnote{\@fnsymbol\c@footnote}%
{\pd@title{\pd@@titlefont\@title}\par}{%
@@ -3546,12 +4236,16 @@ We hope not to have forgotten anyone.
% \begin{macrocode}
\ifx\pd@tempa\relax\else
% \end{macrocode}
-% Some skip. Load the font settings so that skips like |.6ex| work
+% Some skip. Execute the font settings so that skips like |.6ex| work
% properly.
% \begin{macrocode}
\if@tempswa\@tempswafalse\else
\pd@usedtocfont
- \ifnum#1=\z@\vskip\pd@@tocslidesep\else\vskip\pd@@tocsecsep\fi
+ \ifnum\pd@usedtocorient=\z@
+ \ifnum#1=\z@\vskip\pd@@tocslidesep\else\vskip\pd@@tocsecsep\fi
+ \else
+ \ifnum#1=\z@\hskip\pd@@tocslidesep\else\hskip\pd@@tocsecsep\fi
+ \fi
\fi
% \end{macrocode}
% Add a section marker.
@@ -3585,7 +4279,7 @@ We hope not to have forgotten anyone.
\advance\@tempdimb-\pd@@tocsecindent
\hyperlink{slide.#2}{\pd@tempa{\pd@tocsection{#3}}}%
\fi
- \par
+ \ifnum\pd@usedtocorient=\z@\par\fi
\fi
}
% \end{macrocode}
@@ -3593,9 +4287,9 @@ We hope not to have forgotten anyone.
% The keys for the |\tableofcontents| macro.
% \begin{macrocode}
\define@choicekey[pd]{toc}{content}[\pd@tempa\pd@content]{%
- all,sections,currentsection,future,futuresections}[all]{}
-\define@choicekey[pd]{toc}{type}[\pd@tempa\pd@type]{0,1}[0]{}
-\presetkeys[pd]{toc}{content,type}{}
+ all,sections,currentsection,future,futuresections}{}
+\define@choicekey[pd]{toc}{type}[\pd@tempa\pd@type]{0,1}{}
+\presetkeys[pd]{toc}{content=all,type=0}{}
% \end{macrocode}
% \begin{macro}{\tableofcontents}
% Typesets overviews.
@@ -3721,9 +4415,9 @@ We hope not to have forgotten anyone.
% the user requests that template.
% \begin{macrocode}
\define@choicekey*[pd]{section}{tocsection}[\pd@tempa\pd@tempb]{%
- false,true,hidden}[true]{}
+ false,true,hidden}{}
\define@boolkey[pd]{section}[pd@@]{slide}[true]{}
-\define@cmdkey[pd]{section}[pd@@]{template}[slide]{%
+\define@cmdkey[pd]{section}[pd@@]{template}{%
\def\pd@tempa{slide}%
\ifx\pd@@template\pd@tempa
\let\pd@@template\pd@@sectemp
@@ -3734,12 +4428,12 @@ We hope not to have forgotten anyone.
\fi
\fi
}
-\presetkeys[pd]{section}{tocsection,slide,template}{}
+\presetkeys[pd]{section}{tocsection=true,slide=true,template=slide}{}
% \end{macrocode}
% Keys for style developers to overwrite user requests silently.
% \begin{macrocode}
-\define@cmdkeys[pd]{section}[pd@@]{sectemp,widesectemp}[slide]
-\setkeys[pd]{section}{sectemp,widesectemp}
+\define@cmdkeys[pd]{section}[pd@@]{sectemp,widesectemp}
+\setkeys[pd]{section}{sectemp=slide,widesectemp=slide}
\AtBeginDocument{\disable@keys[pd]{section}{sectemp,widesectemp}}
% \end{macrocode}
% \begin{macro}{\pd@orig@section}
@@ -3827,8 +4521,9 @@ We hope not to have forgotten anyone.
% move the cursor. The plus version put material in the inactive
% color.
% \begin{macrocode}
-\def\onslide{\XKV@ifstar{\pd@onslide1}{%
- \XKV@ifplus{\pd@onslide2}{\pd@onslide0}}%
+\def\onslide{%
+ \@ifnextchar-\pd@@nslide{\XKV@ifstar{\pd@onslide1}{%
+ \XKV@ifplus{\pd@onslide2}{\pd@onslide0}}}%
}
% \end{macrocode}
% \end{macro}
@@ -4153,12 +4848,24 @@ We hope not to have forgotten anyone.
}
% \end{macrocode}
% \end{macro}
+% \begin{macro}{\pd@deloverlays}
+% This macro disables overlays by redefining some internals.
+% \begin{macrocode}
+\def\pd@deloverlays{%
+ \def\pd@hide##1{}%
+ \def\pd@onslide##1##2{\@firstofone}%
+ \let\@trivlist\pd@orig@@trivlist
+ \let\endtrivlist\pd@orig@endtrivlist
+ \def\pd@item[##1]<##2>{\pd@orig@item[##1]\leavevmode\ignorespaces}%
+}
+% \end{macrocode}
+% \end{macro}
% We insert an extra key in the |enumitem| family to allow for changing
% the type of the list. 0 uses ps hiding, 1 uses inactive color when
% items are inactive.
% \begin{macrocode}
-\define@cmdkey{enumitem}[pd@@]{type}[0]{}
-\def\pd@@type{0}
+\define@cmdkey{enumitem}[pd@@]{type}{}
+\setkeys{enumitem}{type=0}
% \end{macrocode}
% \begin{macro}{\pd@pdftrans}
% Inserts a pdf transition effect. It allows custom transition effects
@@ -4187,7 +4894,7 @@ We hope not to have forgotten anyone.
\define@cmdkeys[pd]{twocolumn}[pd@@]{%
lineheight,lfrheight,rfrheight,lcolwidth,rcolwidth,%
topsep,bottomsep,indent,lineprop,lfrprop,rfrprop%
-}[]
+}
% \end{macrocode}
% We use two lengths as we need to do some computations with these
% key settings.
@@ -4199,20 +4906,16 @@ We hope not to have forgotten anyone.
% \begin{macrocode}
\presetkeys[pd]{twocolumn}{frsep=1.5mm,colsep=.06\linewidth,%
lcolwidth=.47\linewidth,rcolwidth=.47\linewidth,topsep=0cm,%
- bottomsep=0cm,indent=0cm,lineprop,lfrprop,rfrprop%
+ bottomsep=0cm,indent=0cm,lineprop=,lfrprop=,rfrprop=,%
+ lineheight=,lfrheight=,rfrheight=%
}{}
% \end{macrocode}
-% \begin{macro}{\pd@maxdim}
-% \marg{dim1}\marg{dim2}\\
-% Compute the maximum of two dimensions.
-% \begin{macrocode}
-\def\pd@maxdim#1#2{\ifdim#1>#2#1\else#2\fi}
-% \end{macrocode}
-% \end{macro}
% \begin{macro}{\twocolumn}
+% \begin{macro}{\pd@twocolumn}
% Construct two columns and put material in it.
% \begin{macrocode}
-\long\def\twocolumn#1#2#3{%
+\def\twocolumn{\@testopt\pd@twocolumn{}}
+\long\def\pd@twocolumn[#1]#2#3{%
\setkeys[pd]{twocolumn}{#1}%
\sbox\pd@tba{\begin{minipage}\pd@@lcolwidth#2\end{minipage}}%
\setlength\@tempdima{\the\ht\pd@tba}%
@@ -4221,27 +4924,27 @@ We hope not to have forgotten anyone.
\setlength\@tempdimb{\the\ht\pd@tbb}%
\addtolength\@tempdimb{\the\dp\pd@tbb}%
\setlength\@tempdimc{\pd@maxdim\@tempdima\@tempdimb}%
- \ifx\pd@@lfrheight\@undefined\else
+ \ifx\pd@@lfrheight\@empty\else
\setlength\@tempdimc{\pd@maxdim\pd@@lfrheight\@tempdimc}%
\fi
- \ifx\pd@@lineheight\@undefined\else
+ \ifx\pd@@lineheight\@empty\else
\setlength\@tempdimc{\pd@maxdim\pd@@lineheight\@tempdimc}%
\fi
- \ifx\pd@@rfrheight\@undefined\else
+ \ifx\pd@@rfrheight\@empty\else
\setlength\@tempdimc{\pd@maxdim\pd@@rfrheight\@tempdimc}%
\fi
\begin{pspicture}(-\pd@@indent,\pd@@topsep)(\linewidth,-\@tempdimc)%
\psset{linewidth=.25pt,linecolor=\pd@color}%
\setlength\@tempdima\pd@@lcolwidth
\addtolength\@tempdima\pd@frsep
- \ifx\pd@@lfrheight\@undefined\else
+ \ifx\pd@@lfrheight\@empty\else
\expandafter\psframe\expandafter[\pd@@lfrprop]%
(-\pd@frsep,\pd@frsep)(\@tempdima,-\pd@@lfrheight)%
\fi
\rput[tl](0,0){\usebox\pd@tba}%
\setlength\@tempdima\pd@@lcolwidth
\addtolength\@tempdima{.5\pd@colsep}%
- \ifx\pd@@lineheight\@undefined\else
+ \ifx\pd@@lineheight\@empty\else
\expandafter\psline\expandafter[\pd@@lineprop]%
(\@tempdima,\pd@frsep)(\@tempdima,-\pd@@lineheight)%
\fi
@@ -4251,7 +4954,7 @@ We hope not to have forgotten anyone.
\setlength\@tempdimb\@tempdima
\addtolength\@tempdimb\pd@@rcolwidth
\addtolength\@tempdimb{2\pd@frsep}%
- \ifx\pd@@rfrheight\@undefined\else
+ \ifx\pd@@rfrheight\@empty\else
\expandafter\psframe\expandafter[\pd@@rfrprop]%
(\@tempdima,\pd@frsep)(\@tempdimb,-\pd@@rfrheight)%
\fi
@@ -4260,6 +4963,22 @@ We hope not to have forgotten anyone.
}
% \end{macrocode}
% \end{macro}
+% \end{macro}
+% \begin{environment}{figure}
+% \begin{environment}{table}
+% Avoid floating |figure| and |table| environments.
+% \begin{macrocode}
+\renewenvironment{figure}[1][]{%
+ \def\@captype{figure}%
+ \par\begin{center}%
+}{\par\end{center}}
+\renewenvironment{table}[1][]{%
+ \def\@captype{table}%
+ \par\begin{center}%
+}{\par\end{center}}
+% \end{macrocode}
+% \end{environment}
+% \end{environment}
% \begin{environment}{thebibliography}
% Redefine the |thebibliography| environment. This is based on
% \pf{article}, but does not create marks or a section.
@@ -4304,23 +5023,149 @@ We hope not to have forgotten anyone.
% \end{macrocode}
% \end{macro}
% \begin{macro}{\pd@lyxget@rgsandbody}
-% \marg{template}\oarg{options}\marg{title}\meta{body}|\lyxend|\\
+% \marg{template}\oarg{options}\marg{title}\\
% This pretends to be an environment with name \meta{template}. The
% slide title and body are saved, keys are set and the slide is executed.
% This all happens in a local group to keep definitions (eg |toc| key)
-% local.
+% local. We again have three different methods to process the slide.
+% Now, the verbatim version is more complicated as we have to look
+% for |\lyxend| instead of |\end{slide}|.
% \begin{macrocode}
-\long\def\pd@lyxget@rgsandbody#1[#2]#3#4\lyxend{%
+\def\pd@lyxget@rgsandbody#1[#2]#3{%
\begingroup
- \def\@currenvir{#1}%
- \setkeys[pd]{glslide,slide}{#2}%
- \def\pd@t@tle{#3}%
- \pd@body{#4}%
- \pd@slide
+% \end{macrocode}
+% Initial settings and checks.
+% \begin{macrocode}
+ \def\@currenvir{#1}%
+ \pd@get@rgs@ndbody{#2}{#3}%
+ \ifcase\ifnum\pd@method>\z@\ifpd@display\@ne\fi\fi\z@
+% \end{macrocode}
+% Eat the body until |\lyxend|.
+% \begin{macrocode}
+ \let\pd@tempa\pd@lyxget@rgs@ndbody
+ \else
+ \ifnum\pd@method=\@ne
+ \def\pd@tempa{%
+% \end{macrocode}
+% Start writing to a temporary file and redefine |\verbatim@processline|
+% to scan lines for |\lyxend|. We only stop if |\lyxend| occurs on the
+% first character of the input line.
+% \begin{macrocode}
+ \immediate\openout\@inputcheck\jobname.vrb\relax
+ \def\verbatim@processline{%
+% \end{macrocode}
+% Check for |\lyxend|.
+% \begin{macrocode}
+ \pd@lyxget@rgs@ndb@dy
+ \ifin@
+% \end{macrocode}
+% If we found it, stop. |\pd@tempa| eats the next four tokens which
+% would otherwise make \pf{verbatim} continue with reading.
+% \begin{macrocode}
+ \def\pd@tempa########1########2########3########4{}%
+% \end{macrocode}
+% |\next| occurs in the \pf{verbatim} macros. We define it to close
+% the output file, execute the slide, write the remaining part of
+% the line with |\lyxend| to file and read it back in. We need to
+% do this as this content (probably |\lyxslide|) has been sanitized
+% while reading in verbatim mode. We could also use |\scantokens|
+% if we keep in mind that that, just as |\input|, introduces line
+% feeds and end-of-file characters in the input stream which the
+% \pf{verbatim} macros can't handle. Morten H\o gholm proposed the
+% following instead.
+%\begin{example}
+% \documentclass{article}
+% \begin{document}
+% \long\def\ReinsertTokens#1{%
+% \begingroup\endlinechar=-1\everyeof{}%
+% \scantokens{\def\next{\endgroup#1}}\next
+% }
+% \ReinsertTokens{\begin{verbatim}}
+% test
+% \end{verbatim}
+% \end{document}
+%\end{example}
+% We don't use that here as we don't want to force the use of
+% $\varepsilon$-\TeX\ at this moment. Instead, we read back exactly
+% one line via an input stream and execute that.
+% \begin{macrocode}
+ \def\next{%
+ \endgroup\immediate\closeout\@inputcheck
+ \let\verbatim@processline\pd@orig@verbatim@processline
+ \pd@slide\endgroup
+ \immediate\openout\@inputcheck\jobname.vrb\relax
+ \immediate\write\@inputcheck{\pd@lyxrem}%
+ \immediate\closeout\@inputcheck
+ \immediate\openin\@inputcheck\jobname.vrb\relax
+ \immediate\read\@inputcheck to\pd@tempa
+ \immediate\closein\@inputcheck\pd@tempa
+ }%
+ \else
+% \end{macrocode}
+% Write a line of the body to file.
+% \begin{macrocode}
+ \immediate\write\@inputcheck{\the\verbatim@line}%
+ \let\pd@tempa\relax
+ \fi
+ \pd@tempa
+ }%
+% \end{macrocode}
+% Start the verbatim reading.
+% \begin{macrocode}
+ \begingroup\let\do\@makeother\dospecials\catcode`\^^M\active
+ \verbatim@start
+ }%
+ \else
+% \end{macrocode}
+% This is the |direct| method, similar as before.
+% \begin{macrocode}
+ \pd@deloverlays
+ \let\pd@tempa\pd@sl@de
+ \def\lyxend{%
+ \end{pd@minipage}\end{lrbox}%
+ \ifx\pd@@textpos\@empty\else
+ \rput[\pd@@texthook](\pd@@textpos){\usebox\pd@textbox}%
+ \fi
+ \endgroup
+ }%
+ \fi
+ \fi
+ \pd@tempa
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\pd@lyxget@args@ndbody}
+% \meta{body}|\lyxend|\\
+% Collect material until |\lyxend|, save that in the token register
+% and start processing the slide, if necessary.
+% \begin{macrocode}
+\long\def\pd@lyxget@rgs@ndbody#1\lyxend{%
+ \pd@body{#1}%
+ \ifpd@display\pd@slide\fi
\endgroup
}
% \end{macrocode}
% \end{macro}
+% \begin{macrocode}
+\begingroup\lccode`\!`\\\lowercase{\endgroup
+% \end{macrocode}
+% \begin{macro}{\pd@lyxget@args@ndb@dy}
+% \begin{macro}{\pd@lyxget@args@ndb@dy}
+% These macros check if |\lyxend| occurs in the input line (in
+% sanitize version) and if so, if it occurs on the first character.
+% That allows for including |\lyxend| somewhere in the line, for
+% instance, in a verbatim text.
+% \begin{macrocode}
+\def\pd@lyxget@rgs@ndb@dy{%
+ \@expandtwoargs\in@{!lyxend}{\the\verbatim@line}%
+ \ifin@\expandafter\pd@lyxget@rgs@ndb@d@\the\verbatim@line\@nil\fi
+}
+\def\pd@lyxget@rgs@ndb@d@#1!lyxend#2\@nil{%
+ \ifx\@empty#1\@empty\gdef\pd@lyxrem{#2}\else\in@false\fi
+}}
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
% \begin{macro}{\lyxend}
% This macro acts mainly as delimiter and doesn't need to be defined
% but we do it anyway as to make it harmless when there is a superfluous
@@ -4392,29 +5237,9 @@ We hope not to have forgotten anyone.
}
% \end{macrocode}
% \end{macro}
+% No overlays in print of handout mode.
% \begin{macrocode}
-\else
-% \end{macrocode}
-% \begin{macro}{\pd@hide}
-% \begin{macro}{\pd@pdftrans}
-% \begin{macro}{\pd@onslide}
-% \begin{macro}{\pd@item}
-% In print or handout mode, all material will be displayed and no
-% transition effects are created.
-% \begin{macrocode}
- \def\pd@hide#1{}
- \let\pd@pdftrans\relax
- \def\pd@onslide#1#2{\@firstofone}
- \let\@trivlist\pd@orig@@trivlist
- \let\endtrivlist\pd@orig@endtrivlist
- \def\pd@item[#1]<#2>{\pd@orig@item[#1]\leavevmode\ignorespaces}
-% \end{macrocode}
-% \end{macro}
-% \end{macro}
-% \end{macro}
-% \end{macro}
-% \begin{macrocode}
-\fi
+\else\pd@deloverlays\let\pd@pdftrans\relax\fi
% \end{macrocode}
% For handout mode, we make some redefinitions.
% \begin{macrocode}
@@ -4435,16 +5260,29 @@ We hope not to have forgotten anyone.
% \end{macrocode}
% \end{macro}
% \end{macro}
-% \begin{macro}{\pd@sl@d@}
+% \begin{macro}{\pd@get@rgsandbody}
% \changes{v1.2}{2005/10/09}{Added \cs{@currentlabel} definition}
+% \changes{v1.3}{2005/12/06}{Made body text \cs{raggedright}}
% The new slide environment.
% \begin{macrocode}
-\def\pd@sl@de{%
+\def\pd@get@rgsandbody#1[#2]#3{%
+ \setkeys[pd]{glslide,slide}{#2}%
+ \def\pd@t@tle{#3}%
% \end{macrocode}
-% No bookmarks or targets for notes.
+% Determine to include this slide or not.
% \begin{macrocode}
\def\pd@tempa{note}%
- \ifx\@currenvir\pd@tempa\let\pd@tempb\relax\else
+ \let\pd@resa\@currenvir
+ \pd@displaytrue
+ \ifcase\pd@display
+ \ifx\pd@resa\pd@tempa\relax\pd@displayfalse\fi
+ \or
+ \ifx\pd@resa\pd@tempa\else\pd@displayfalse\fi
+ \fi
+% \end{macrocode}
+% No bookmarks or targets for notes.
+% \begin{macrocode}
+ \ifx\pd@resa\pd@tempa\else
\stepcounter{slide}%
\edef\@currentlabel{\the\c@slide}%
\let\pd@tempb\@empty
@@ -4452,55 +5290,61 @@ We hope not to have forgotten anyone.
\hyper@anchorstart{slide.\the\c@slide}\hyper@anchorend
\fi
% \end{macrocode}
-% The |minipage| is used to keep the slide box and the footers
-% together and avoid page breaks in between.
-% \begin{macrocode}
- \begin{minipage}\linewidth
-% \end{macrocode}
-% The slide frame.
+% The |lrbox| will typeset and capture content. This allows for
+% verbatim on slides.
% \begin{macrocode}
- \psframebox[framesep=7pt,linewidth=1pt]{%
+ \begin{lrbox}\pd@textbox
% \end{macrocode}
% $16=2\times7+2\times1$.
% \begin{macrocode}
\@tempdima\linewidth
\advance\@tempdima-16pt
\begin{minipage}\@tempdima
+ \subsection*\pd@t@tle
% \end{macrocode}
-% Slide title.
+% This |\pd@displaytrue| only acts locally to make sure that |\endslide|
+% is executed.
% \begin{macrocode}
- \subsection*{\pd@t@tle}%
+ \pd@displaytrue\raggedright
+}
% \end{macrocode}
-% Typeset the body.
+% \end{macro}
+% \begin{macro}{\pd@slide}
+% This creates the slide, if necessary.
% \begin{macrocode}
- \the\pd@body
- \end{minipage}%
- }%
- \par\smallskip
- \pd@@lf\hfill\ifx\pd@@rf\@empty\else\pd@@rf~--~\fi
- \ifx\pd@tempb\relax
+\def\pd@slide{%
+ \par\smallskip
+ \pd@@lf\hfill\ifx\pd@@rf\@empty\else\pd@@rf~--~\fi
+ \def\pd@tempa{note}%
+ \ifx\pd@resa\pd@tempa
% \end{macrocode}
% Determine if this is another note with the same slide.
% \begin{macrocode}
- \ifnum\c@slide=\pd@notet
- \stepcounter{note}%
- \else
- \setcounter{note}{1}%
- \fi
- \xdef\pd@notet{\the\c@slide}%
- \thenote
- \else\theslide\fi
- \end{minipage}%
- \par\bigskip
- \ifpd@@nopagebreaks\else\vfill\pd@newpage\fi
+ \ifnum\c@slide=\pd@notet
+ \stepcounter{note}%
+ \else
+ \setcounter{note}{1}%
+ \fi
+ \xdef\pd@notet{\the\c@slide}%
+ \thenote
+ \else\theslide\fi
+ \end{minipage}\end{lrbox}%
+% \end{macrocode}
+% If this slide should be visible, include it in a frame.
+% \begin{macrocode}
+ \ifpd@display
+ \psframebox[framesep=7pt,linewidth=1pt]{\usebox\pd@textbox}%
+ \par\bigskip
+ \ifpd@@nopagebreaks\else\vfill\pd@newpage\fi
+ \fi
}
% \end{macrocode}
% \end{macro}
-% \begin{macro}{\maketitle}
+% \begin{macro}{\pd@maketitle}
% Uses the original \pf{article} |\maketitle| and puts the table of
% contents below it.
% \begin{macrocode}
-\def\maketitle{%
+\def\pd@maketitle[#1]{%
\pd@orig@maketitle
\vskip50pt
\pd@puttoc0%
@@ -4567,6 +5411,107 @@ We hope not to have forgotten anyone.
% \begin{macrocode}
\fi
% \end{macrocode}
+% Here follow some miscellaneous utility macros.
+% \begin{macro}{\@nameedef}
+% \marg{csname}\\
+% Similar as |\@namedef|, but uses |\edef| to define the command with
+% name \meta{csname}.
+% \begin{macrocode}
+\def\@nameedef#1{\expandafter\edef\csname#1\endcsname}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\pd@namelet}
+% \marg{cs1}\marg{cs2}\\
+% Copy the replacement text of macro with name \meta{cs2} to the macro
+% with name \meta{cs1}. We use a private version as |\@namelet| has
+% many conflicting definitions is different packages.
+% \begin{macrocode}
+\def\pd@namelet#1#2{%
+ \expandafter\let\csname#1\expandafter\endcsname\csname#2\endcsname
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\pd@pop}
+% \begin{macro}{\pd@p@p}
+% \meta{list}\meta{cmd}
+% Remove the first element of a comma separated \meta{list} and store
+% that in \meta{cmd}.
+% \begin{macrocode}
+\def\pd@pop#1#2{%
+ \@expandtwoargs\in@{,}{#1}%
+ \ifin@\expandafter\pd@p@p#1\@nil#2#1\else\let#2#1\let#1\@empty\fi
+}
+\def\pd@p@p#1,#2\@nil#3#4{\def#3{#1}\def#4{#2}}
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+% \begin{macro}{\pd@maxdim}
+% \marg{dim1}\marg{dim2}\\
+% Compute the maximum of two dimensions.
+% \begin{macrocode}
+\def\pd@maxdim#1#2{\ifdim#1>#2#1\else#2\fi}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\pd@minipage}
+% \begin{macro}{\endpd@minipage}
+% Adapted version of the |minipage| environment to do normal footnote
+% typesetting.
+% \begin{macrocode}
+\def\pd@minipage{%
+ \leavevmode
+ \@pboxswfalse
+ \setlength\@tempdima\pd@@textwidth
+ \def\@mpargs{{t}{\pd@@textheight}[t]{\pd@@textwidth}}%
+ \setbox\@tempboxa\vbox\bgroup
+ \color@begingroup
+ \hsize\@tempdima
+ \textwidth\hsize
+ \columnwidth\hsize
+ \@parboxrestore
+ \let\@footnotetext\@mpfootnotetext
+ \let\@listdepth\@mplistdepth
+ \@mplistdepth\z@
+ \@minipagerestore
+ \@setminipage
+}
+\def\endpd@minipage{%
+ \par
+ \unskip
+ \ifvoid\@mpfootins\else
+ \vfill
+ \normalcolor
+ \footnoterule
+ \unvbox\@mpfootins
+ \fi
+ \@minipagefalse
+ \color@endgroup
+ \egroup
+ \expandafter\@iiiparbox\@mpargs{\unvbox\@tempboxa}%
+}
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+% \begin{macro}{\pd@orig@verbatim@processline}
+% Backup of |\verbatim@processline| for restoring after verbatim
+% reading of the body of a slide.
+% \begin{macrocode}
+\let\pd@orig@verbatim@processline\verbatim@processline
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\psds@ocircle}
+% \begin{macro}{\psds@osquare}
+% Two macros for open circle and open square dots by Herbert Vo\ss.
+% \begin{macrocode}
+\def\psds@ocircle{\pst@gdot{ 0 0 DS 0 360 arc stroke }}
+\def\psds@osquare{%
+ \pst@gdot{
+ DS .886 mul /r ED
+ r r moveto r r neg L r neg r neg L r neg r L
+ closepath stroke }%
+}
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
% Load style.
% \begin{macrocode}
\IfFileExists{powerdot-\pd@@style.sty}{
@@ -4614,10 +5559,6 @@ We hope not to have forgotten anyone.
\fi
\ifx\pd@tocslide\@undefined\let\pd@tocslide\@firstofone\fi
\ifx\pd@tocsection\@undefined\let\pd@tocsection\@firstofone\fi
-% \end{macrocode}
-% The main color in handout mode is always black.
-% \begin{macrocode}
-\ifnum\pd@mode=2\color{black}\def\pd@@iacolor{black}\fi
%</powerdot>
% \end{macrocode}
%
@@ -4626,11 +5567,32 @@ We hope not to have forgotten anyone.
%
%<*pddefault>
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
-\ProvidesPackage{powerdot-default}[2005/10/09 v1.2 default style (HA)]
+\ProvidesPackage{powerdot-default}[2005/12/06 v1.3 default style (HA)]
\RequirePackage{pifont}
-\definecolor{pddblue}{rgb}{.17,.31,.44}
-\definecolor{pdlblue}{rgb}{.75,.85,.92}
-\definecolor{pdllblue}{rgb}{.9,.95,.98}
+\definecolor{pdcolor1}{rgb}{.17,.31,.44}
+\definecolor{pdcolor2}{rgb}{.75,.85,.92}
+\definecolor{pdcolor3}{rgb}{.9,.95,.98}
+\pddefinepalettes{blue}{}{red}{
+ \colorlet{pdcolor1}{pdcolor1>wheel,150}
+ \colorlet{pdcolor2}{pdcolor2>wheel,150}
+ \colorlet{pdcolor3}{pdcolor3>wheel,150}
+}{green}{
+ \colorlet{pdcolor1}{pdcolor1>wheel,290}
+ \colorlet{pdcolor2}{pdcolor2>wheel,290}
+ \colorlet{pdcolor3}{pdcolor3>wheel,290}
+}{yellow}{
+ \colorlet{pdcolor1}{pdcolor1>wheel,-150}
+ \colorlet{pdcolor2}{pdcolor2>wheel,-150}
+ \colorlet{pdcolor3}{pdcolor3>wheel,-150}
+}{brown}{
+ \colorlet{pdcolor1}{pdcolor1>wheel,180}
+ \colorlet{pdcolor2}{pdcolor2>wheel,180}
+ \colorlet{pdcolor3}{pdcolor3>wheel,180}
+}{purple}{
+ \colorlet{pdcolor1}{pdcolor1>wheel,45}
+ \colorlet{pdcolor2}{pdcolor2>wheel,45}
+ \colorlet{pdcolor3}{pdcolor3>wheel,45}
+}
\newbox\pd@imagebox
\pdifsetup{landscape}{
\sbox\pd@imagebox{\includegraphics[trim=50 20 0 20,clip,%
@@ -4643,41 +5605,43 @@ We hope not to have forgotten anyone.
}
\pddefinetemplate{titleslide}{
titlefont=\large\bfseries\centering,
+ clockcolor=pdcolor1,clockpos={.99\slidewidth,\slideheight},
lfpos={.03\slidewidth,.04\slideheight},
rfpos={.97\slidewidth,.04\slideheight},
texthook=t,textpos={.5\slidewidth,.7\slideheight},
textwidth=.9\slidewidth,textfont=\centering,
textheight=.6\slideheight
}{%
- \psframe*[linecolor=pdllblue,linewidth=0pt]%
+ \psframe*[linecolor=pdcolor3,linewidth=0pt]%
(0,.8\slideheight)(\slidewidth,0)%
- \psline[linecolor=pddblue]%
+ \psline[linecolor=pdcolor1]%
(0,.8\slideheight)(\slidewidth,.8\slideheight)%
}
\pddefinetemplate{basic}{
titlepos={.2\slidewidth,.93\slideheight},
titlewidth=.75\slidewidth,textheight=.68\slideheight,
titlefont=\large\bfseries\raggedright,
+ clockcolor=pdcolor1,clockpos={.99\slidewidth,\slideheight},
lfpos={.03\slidewidth,.04\slideheight},
rfpos={.97\slidewidth,.04\slideheight},
tocslidesep=.6ex,
- toctcolor=pddblue,
- tochlcolor=pddblue,
- tochltcolor=pdllblue,
+ toctcolor=pdcolor1,
+ tochlcolor=pdcolor1,
+ tochltcolor=pdcolor3,
ifsetup=portrait,
- textpos={.05\slidewidth,.83\slideheight},
- textwidth=.9\slidewidth,
- tocsecsep=.6ex,
- stochook=tr,stocpos={.48\slidewidth,.09\slideheight},
- stocfont=\tiny\raggedleft,
- ntocpos={.52\slidewidth,.09\slideheight},
+ textpos={.05\slidewidth,.83\slideheight},
+ textwidth=.9\slidewidth,
+ tocsecsep=.6ex,
+ stochook=tr,stocpos={.48\slidewidth,.09\slideheight},
+ stocfont=\tiny\raggedleft,
+ ntocpos={.52\slidewidth,.09\slideheight},
ifsetup=landscape,
- textpos={.2\slidewidth,.83\slideheight},
- textwidth=.75\slidewidth
+ textpos={.2\slidewidth,.83\slideheight},
+ textwidth=.75\slidewidth
}{%
- \psframe*[linecolor=pdllblue,linewidth=0pt]%
+ \psframe*[linecolor=pdcolor3,linewidth=0pt]%
(0,\slideheight)(\slidewidth,.9\slideheight)%
- \psframe*[linecolor=pdlblue,linewidth=0pt]%
+ \psframe*[linecolor=pdcolor2,linewidth=0pt]%
(0,0)(\slidewidth,.1\slideheight)%
\rput[tl](0,\slideheight){\usebox\pd@imagebox}%
}
@@ -4687,23 +5651,23 @@ We hope not to have forgotten anyone.
}{}
\pddefinetemplate[basic]{slide}{
ifsetup=landscape,
- tocpos={.015\slidewidth,.83\slideheight},
- tocwidth=.14\slidewidth,
- tocsecm={\psline[linewidth=.5pt,linecolor=pddblue]%
- (-.05,-.05)(.143\slidewidth,-.05)}
+ tocpos={.015\slidewidth,.83\slideheight},
+ tocwidth=.14\slidewidth,
+ tocsecm={\psline[linewidth=.5pt,linecolor=pdcolor1]%
+ (-.05,-.05)(.143\slidewidth,-.05)}
}{%
\pdifsetup{landscape}{%
- \psframe[fillstyle=solid,fillcolor=pdllblue,linestyle=none,%
+ \psframe[fillstyle=solid,fillcolor=pdcolor3,linestyle=none,%
linewidth=0pt](0,.9\slideheight)(.17\slidewidth,.1\slideheight)%
}{}%
}
\pddefinetemplate[slide]{sectionslide}{
titlehook=c,titlefont=\Large\bfseries\centering,
ifsetup=landscape,
- titlepos={.575\slidewidth,.55\slideheight},
+ titlepos={.575\slidewidth,.55\slideheight},
ifsetup=portrait,
- titlewidth=.9\slidewidth,
- titlepos={.5\slidewidth,.55\slideheight}
+ titlewidth=.9\slidewidth,
+ titlepos={.5\slidewidth,.55\slideheight}
}{}
\pddefinetemplate[wideslide]{sectionwideslide}{
titlehook=c,titlefont=\Large\bfseries\centering,
@@ -4720,46 +5684,49 @@ We hope not to have forgotten anyone.
\pdsetup{
list={labelsep=1em,leftmargin=*,itemsep=0pt,topsep=5pt,parsep=0pt}
}
-\color{pddblue}
\def\rmdefault{cmss}
%</pddefault>
%
%<*pdtycja>
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
-\ProvidesPackage{powerdot-tycja}[2005/10/09 v1.2 tycja style (HA)]
+\ProvidesPackage{powerdot-tycja}[2005/12/06 v1.3 tycja style (HA)]
\RequirePackage{pifont}
\RequirePackage{pst-grad}
-\definecolor{pdblue}{rgb}{.09,.27,.47}
-\definecolor{pdyellow}{rgb}{1,.81,.42}
-\definecolor{pdlyellow}{rgb}{1,.97,.84}
+\pddefinepalettes{default}{
+ \definecolor{pdcolor1}{rgb}{.09,.27,.47}
+ \definecolor{pdcolor2}{rgb}{1,.81,.42}
+ \definecolor{pdcolor3}{rgb}{1,.97,.84}
+}
\pddefinetemplate{basic}{
lfpos={.03\slidewidth,.04\slideheight},
- lffont=\scriptsize\color{pdlyellow},
+ lffont=\scriptsize\color{pdcolor3},
rfpos={.97\slidewidth,.04\slideheight},
- rffont=\scriptsize\color{pdlyellow},
+ rffont=\scriptsize\color{pdcolor3},
+ clockcolor=pdcolor1,clockhook=tl,clockalign=0,
+ clockpos={0,\slideheight},
tocslidesep=.6ex,
ifsetup=landscape,
- textheight=.66\slideheight,
- toctcolor=pdblue,
- tochlcolor=pdblue,
- tochltcolor=pdlyellow,
- tocpos={.845\slidewidth,.81\slideheight},
- tocwidth=.14\slidewidth,
- tocsecm={\psline[linewidth=.5pt,linecolor=pdblue]%
- (-.05,-.05)(.143\slidewidth,-.05)},
+ textheight=.66\slideheight,
+ toctcolor=pdcolor1,
+ tochlcolor=pdcolor1,
+ tochltcolor=pdcolor3,
+ tocpos={.845\slidewidth,.81\slideheight},
+ tocwidth=.14\slidewidth,
+ tocsecm={\psline[linewidth=.5pt,linecolor=pdcolor1]%
+ (-.05,-.05)(.143\slidewidth,-.05)},
ifsetup=portrait,
- toctcolor=pdlyellow,
- tochlcolor=pdlyellow,
- tochltcolor=pdblue,
- tocsecsep=.6ex,
- textheight=.68\slideheight,
- stochook=tr,stocpos={.48\slidewidth,.09\slideheight},
- stocfont=\tiny\raggedleft,
- ntocpos={.52\slidewidth,.09\slideheight}
+ toctcolor=pdcolor3,
+ tochlcolor=pdcolor3,
+ tochltcolor=pdcolor1,
+ tocsecsep=.6ex,
+ textheight=.68\slideheight,
+ stochook=tr,stocpos={.48\slidewidth,.09\slideheight},
+ stocfont=\tiny\raggedleft,
+ ntocpos={.52\slidewidth,.09\slideheight}
}{%
- \psframe*[linecolor=pdlyellow](0,0)(\slidewidth,\slideheight)%
- \psframe*[linecolor=pdblue](0,0)(\slidewidth,.1\slideheight)%
- \psline[linecolor=pdblue]%
+ \psframe*[linecolor=pdcolor3](0,0)(\slidewidth,\slideheight)%
+ \psframe*[linecolor=pdcolor1](0,0)(\slidewidth,.1\slideheight)%
+ \psline[linecolor=pdcolor1]%
(0,.85\slideheight)(.1\slidewidth,.85\slideheight)%
(.1\slidewidth,.88\slideheight)(\slidewidth,.88\slideheight)%
}
@@ -4775,16 +5742,16 @@ We hope not to have forgotten anyone.
titlewidth=.76\slidewidth,titlefont=\large\bfseries\raggedleft,
textpos={.12\slidewidth,.81\slideheight},textwidth=.67\slidewidth,
ifsetup=portrait,
- titlepos={.9\slidewidth,.93\slideheight},titlewidth=.88\slidewidth,
- textwidth=.76\slidewidth
+ titlepos={.9\slidewidth,.93\slideheight},titlewidth=.88\slidewidth,
+ textwidth=.76\slidewidth
}{%
\pdifsetup{landscape}{%
- \psframe[linestyle=none,fillstyle=gradient,gradbegin=pdyellow,%
- gradend=pdlyellow,gradmidpoint=1,linewidth=0pt]%
+ \psframe[linestyle=none,fillstyle=gradient,gradbegin=pdcolor2,%
+ gradend=pdcolor3,gradmidpoint=1,linewidth=0pt]%
(\slidewidth,.1\slideheight)(.83\slidewidth,\slideheight)%
}{%
- \psframe[linestyle=none,fillstyle=gradient,gradbegin=pdyellow,%
- gradend=pdlyellow,gradmidpoint=1,linewidth=0pt]%
+ \psframe[linestyle=none,fillstyle=gradient,gradbegin=pdcolor2,%
+ gradend=pdcolor3,gradmidpoint=1,linewidth=0pt]%
(\slidewidth,.1\slideheight)(.92\slidewidth,\slideheight)%
}%
}
@@ -4793,33 +5760,33 @@ We hope not to have forgotten anyone.
titlewidth=.76\slidewidth,titlefont=\large\bfseries\raggedleft,
textpos={.12\slidewidth,.81\slideheight},textwidth=.84\slidewidth,
ifsetup=landscape,tocpos,ifsetup=portrait,
- titlepos={.9\slidewidth,.93\slideheight},titlewidth=.88\slidewidth,
+ titlepos={.9\slidewidth,.93\slideheight},titlewidth=.88\slidewidth,
}{%
\pdifsetup{landscape}{%
- \psframe[linestyle=none,fillstyle=gradient,gradbegin=pdyellow,%
- gradend=pdlyellow,gradmidpoint=1,linewidth=0pt]%
+ \psframe[linestyle=none,fillstyle=gradient,gradbegin=pdcolor2,%
+ gradend=pdcolor3,gradmidpoint=1,linewidth=0pt]%
(\slidewidth,.1\slideheight)(.83\slidewidth,\slideheight)%
- \psframe*[linecolor=pdlyellow]%
+ \psframe*[linecolor=pdcolor3]%
(.79\slidewidth,.88\slideheight)(\slidewidth,.1\slideheight)%
}{%
- \psframe[linestyle=none,fillstyle=gradient,gradbegin=pdyellow,%
- gradend=pdlyellow,gradmidpoint=1,linewidth=0pt]%
+ \psframe[linestyle=none,fillstyle=gradient,gradbegin=pdcolor2,%
+ gradend=pdcolor3,gradmidpoint=1,linewidth=0pt]%
(\slidewidth,.1\slideheight)(.92\slidewidth,\slideheight)%
- \psframe*[linecolor=pdlyellow]%
+ \psframe*[linecolor=pdcolor3]%
(.9\slidewidth,.88\slideheight)(\slidewidth,.1\slideheight)%
}%
- \psline[linecolor=pdblue]%
+ \psline[linecolor=pdcolor1]%
(0,.85\slideheight)(.1\slidewidth,.85\slideheight)%
(.1\slidewidth,.88\slideheight)(\slidewidth,.88\slideheight)%
}
\pddefinetemplate[slide]{sectionslide}{
titlehook=c,titlefont=\Large\bfseries\centering,
ifsetup=landscape,
- titlepos={.455\slidewidth,.55\slideheight},
- titlewidth=.67\slidewidth,
+ titlepos={.455\slidewidth,.55\slideheight},
+ titlewidth=.67\slidewidth,
ifsetup=portrait,
- titlepos={.5\slidewidth,.55\slideheight},
- titlewidth=.76\slidewidth
+ titlepos={.5\slidewidth,.55\slideheight},
+ titlewidth=.76\slidewidth
}{}
\pddefinetemplate[wideslide]{sectionwideslide}{
titlehook=c,titlefont=\Large\bfseries\centering,
@@ -4834,155 +5801,158 @@ We hope not to have forgotten anyone.
\pdsetup{
list={labelsep=1em,leftmargin=*,itemsep=0pt,topsep=5pt,parsep=0pt}
}
-\color{pdblue}
\def\rmdefault{cmss}
%</pdtycja>
%
%<*pdikeda>
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
-\ProvidesPackage{powerdot-ikeda}[2005/10/09 v1.2 ikeda style (CE,HA)]
+\ProvidesPackage{powerdot-ikeda}[2005/12/06 v1.3 ikeda style (CE,HA)]
\RequirePackage{calc}
\RequirePackage{pifont}
-\definecolor{pdplum}{rgb}{.435,.031,.165}
-\definecolor{pddarkblue}{rgb}{.051,.094,.29}
-\definecolor{pdgogreen}{rgb}{.051,.329,.29}
-\definecolor{pdoffwhite}{rgb}{.941,.98,1}
+\pddefinepalettes{default}{
+ \definecolor{pdcolor1}{rgb}{.941,.98,1}
+ \definecolor{pdcolor2}{rgb}{.435,.031,.165}
+ \definecolor{pdcolor3}{rgb}{.051,.094,.29}
+ \definecolor{pdcolor4}{rgb}{.051,.329,.29}
+}
\pddefinetemplate{titleslide}{
titlefont=\Large\bfseries\centering,
+ clockcolor=pdcolor1,clockpos={.99\slidewidth,\slideheight},
textpos={.13\slidewidth,.7\slideheight},
textwidth=.75\slidewidth,
textfont=\centering,
textheight=.56\slideheight
}{%
- \psframe*[linecolor=pdplum](0,\slideheight)(\slidewidth,0)%
- \psframe*[linecolor=pddarkblue]%
+ \psframe*[linecolor=pdcolor2](0,\slideheight)(\slidewidth,0)%
+ \psframe*[linecolor=pdcolor3]%
(.05\slidewidth,.95\slideheight)(.95\slidewidth,.05\slideheight)%
- \psline[linecolor=pdoffwhite,linewidth=.01]%
+ \psline[linecolor=pdcolor1,linewidth=.01]%
(.1\slidewidth,.1\slideheight)(.1\slidewidth,.9\slideheight)%
- \psline[linecolor=pdoffwhite,linewidth=.01]%
+ \psline[linecolor=pdcolor1,linewidth=.01]%
(.9\slidewidth,.1\slideheight)(.9\slidewidth,.9\slideheight)%
- \pspolygon[linestyle=none,fillstyle=vlines*,fillcolor=pdplum,%
- hatchcolor=pdoffwhite,hatchwidth=.1\pslinewidth,hatchsep=4pt]%
+ \pspolygon[linestyle=none,fillstyle=vlines*,fillcolor=pdcolor2,%
+ hatchcolor=pdcolor1,hatchwidth=.1\pslinewidth,hatchsep=4pt]%
(.1\slidewidth,.1\slideheight)(.25\slidewidth,.07\slideheight)%
(.5\slidewidth,.1\slideheight)(.75\slidewidth,.13\slideheight)%
(.9\slidewidth,.1\slideheight)%
- \pspolygon[linestyle=none,fillstyle=hlines*,fillcolor=pdplum,%
- hatchcolor=pdoffwhite,hatchwidth=.1\pslinewidth,hatchsep=4pt]%
+ \pspolygon[linestyle=none,fillstyle=hlines*,fillcolor=pdcolor2,%
+ hatchcolor=pdcolor1,hatchwidth=.1\pslinewidth,hatchsep=4pt]%
(.1\slidewidth,.9\slideheight)(.25\slidewidth,.93\slideheight)%
(.5\slidewidth,.9\slideheight)(.75\slidewidth,.87\slideheight)%
(.9\slidewidth,.9\slideheight)%
}
\pddefinetemplate{basic}{
titlehook=Bc,titlefont=\large\bfseries\centering,
+ clockcolor=pdcolor1,clockpos={.99\slidewidth,\slideheight},
tocslidesep=.6ex,
- toctcolor=pdoffwhite,
- tochlcolor=pddarkblue,
- tochltcolor=pdoffwhite,
+ toctcolor=pdcolor1,
+ tochlcolor=pdcolor3,
+ tochltcolor=pdcolor1,
ifsetup=portrait,
- tocsecsep=.6ex,
- textpos={.05\slidewidth,.83\slideheight},
- textwidth=.9\slidewidth,
- lfpos={.03\slidewidth,.025\slideheight},
- rfpos={.97\slidewidth,.025\slideheight},
- stochook=tr,stocpos={.47\slidewidth,.15\slideheight},
- stocfont=\tiny\raggedleft,
- ntocpos={.53\slidewidth,.15\slideheight},
+ tocsecsep=.6ex,
+ textpos={.05\slidewidth,.83\slideheight},
+ textwidth=.9\slidewidth,
+ lfpos={.03\slidewidth,.025\slideheight},
+ rfpos={.97\slidewidth,.025\slideheight},
+ stochook=tr,stocpos={.47\slidewidth,.15\slideheight},
+ stocfont=\tiny\raggedleft,
+ ntocpos={.53\slidewidth,.15\slideheight},
ifsetup=landscape,
- textpos={.2\slidewidth,.84\slideheight},
- textwidth=.75\slidewidth,
- lfpos={.19\slidewidth,.025\slideheight},
- rfpos={.97\slidewidth,.025\slideheight}
+ textpos={.2\slidewidth,.84\slideheight},
+ textwidth=.75\slidewidth,
+ lfpos={.19\slidewidth,.025\slideheight},
+ rfpos={.97\slidewidth,.025\slideheight}
}{%
- \psframe*[linecolor=pddarkblue](0,0)(\slidewidth,\slideheight)%
+ \psframe*[linecolor=pdcolor3](0,0)(\slidewidth,\slideheight)%
}
\pddefinetemplate[basic]{slide}{
ifsetup=landscape,
- titlewidth=.75\slidewidth,
- titlepos={.575\slidewidth,.92\slideheight},
- tocpos={.01\slidewidth,.83\slideheight},
- tocwidth=.14\slidewidth,
- tocsecm={\psline[linewidth=.5pt,linecolor=pddarkblue](-.05,-.05)(.143\slidewidth,-.05)},
- textheight=.72\slideheight,
+ titlewidth=.75\slidewidth,
+ titlepos={.575\slidewidth,.92\slideheight},
+ tocpos={.01\slidewidth,.83\slideheight},
+ tocwidth=.14\slidewidth,
+ tocsecm={\psline[linewidth=.5pt,linecolor=pdcolor3](-.05,-.05)(.143\slidewidth,-.05)},
+ textheight=.72\slideheight,
ifsetup=portrait,
- titlepos={.5\slidewidth,.88\slideheight},
- titlewidth=.95\slidewidth,
- textheight=.64\slideheight
-}{%
+ titlepos={.5\slidewidth,.88\slideheight},
+ titlewidth=.95\slidewidth,
+ textheight=.64\slideheight
+}{{%
\psset{linestyle=none}%
\pdifsetup{landscape}{%
- \psframe*[linecolor=pdplum](0,0)(.16\slidewidth,\slideheight)%
+ \psframe*[linecolor=pdcolor2](0,0)(.16\slidewidth,\slideheight)%
\setlength\@tempdima{.16\slidewidth-.4cm}%
\setlength\@tempdimb{.97\slideheight-.8cm}%
- \psframe*[linecolor=pddarkblue]%
+ \psframe*[linecolor=pdcolor3]%
(.16\slidewidth,.97\slideheight)(\@tempdima,\@tempdimb)%
\setlength\@tempdima{.16\slidewidth+.4cm}%
- \psframe*[linecolor=pdplum]%
+ \psframe*[linecolor=pdcolor2]%
(.16\slidewidth,.97\slideheight)(\@tempdima,\@tempdimb)%
- \pspolygon[fillstyle=solid,fillcolor=pddarkblue]%
+ \pspolygon[fillstyle=solid,fillcolor=pdcolor3]%
(0,.935\slideheight)(.02\slidewidth,.945\slideheight)%
(.065\slidewidth,.935\slideheight)(.11\slidewidth,.925\slideheight)%
(.13\slidewidth,.935\slideheight)%
- \pspolygon[fillstyle=hlines*,fillcolor=pdplum,%
- hatchcolor=pdoffwhite,hatchwidth=.1\pslinewidth,hatchsep=4pt]%
+ \pspolygon[fillstyle=hlines*,fillcolor=pdcolor2,%
+ hatchcolor=pdcolor1,hatchwidth=.1\pslinewidth,hatchsep=4pt]%
(.185\slidewidth,.09\slideheight)(.335\slidewidth,.06\slideheight)%
(.58\slidewidth,.09\slideheight)%
- \pspolygon[fillstyle=vlines*,fillcolor=pdplum,%
- hatchcolor=pdoffwhite,hatchwidth=.1\pslinewidth,hatchsep=4pt]%
+ \pspolygon[fillstyle=vlines*,fillcolor=pdcolor2,%
+ hatchcolor=pdcolor1,hatchwidth=.1\pslinewidth,hatchsep=4pt]%
(.58\slidewidth,.09\slideheight)(.825\slidewidth,.06\slideheight)%
(.975\slidewidth,.09\slideheight)%
}{%
- \pspolygon[fillstyle=vlines*,fillcolor=pdplum,%
- hatchcolor=pdoffwhite,hatchwidth=.1\pslinewidth,hatchsep=4pt]%
+ \pspolygon[fillstyle=vlines*,fillcolor=pdcolor2,%
+ hatchcolor=pdcolor1,hatchwidth=.1\pslinewidth,hatchsep=4pt]%
(.02\slidewidth,.95\slideheight)(.17\slidewidth,.98\slideheight)%
(.5\slidewidth,.95\slideheight)%
- \pspolygon[fillstyle=hlines*,fillcolor=pdplum,%
- hatchcolor=pdoffwhite,hatchwidth=.1\pslinewidth,hatchsep=4pt]%
+ \pspolygon[fillstyle=hlines*,fillcolor=pdcolor2,%
+ hatchcolor=pdcolor1,hatchwidth=.1\pslinewidth,hatchsep=4pt]%
(.5\slidewidth,.95\slideheight)(.82\slidewidth,.98\slideheight)%
(.98\slidewidth,.95\slideheight)%
\pd@ikedapbg
}%
-}
+}}
\pddefinetemplate[basic]{wideslide}{
lfpos={.03\slidewidth,.025\slideheight},
titlewidth=.95\slidewidth,
textwidth=.95\slidewidth,
ifsetup=landscape,
- titlepos={.5\slidewidth,.88\slideheight},
- textpos={.025\slidewidth,.84\slideheight},
- textheight=.72\slideheight,
+ titlepos={.5\slidewidth,.88\slideheight},
+ textpos={.025\slidewidth,.84\slideheight},
+ textheight=.72\slideheight,
ifsetup=portrait,
- titlepos={.5\slidewidth,.92\slideheight},
- textpos={.025\slidewidth,.87\slideheight},
- textheight=.68\slideheight
-}{%
+ titlepos={.5\slidewidth,.92\slideheight},
+ textpos={.025\slidewidth,.87\slideheight},
+ textheight=.68\slideheight
+}{{%
\psset{linestyle=none}%
\pdifsetup{landscape}{%
- \pspolygon[fillstyle=vlines*,fillcolor=pdplum,%
- hatchcolor=pdoffwhite,hatchwidth=.1\pslinewidth,hatchsep=4pt]%
+ \pspolygon[fillstyle=vlines*,fillcolor=pdcolor2,%
+ hatchcolor=pdcolor1,hatchwidth=.1\pslinewidth,hatchsep=4pt]%
(.02\slidewidth,.95\slideheight)(.17\slidewidth,.98\slideheight)%
(.5\slidewidth,.95\slideheight)%
- \pspolygon[fillstyle=hlines*,fillcolor=pdplum,%
- hatchcolor=pdoffwhite,hatchwidth=.1\pslinewidth,hatchsep=4pt]%
+ \pspolygon[fillstyle=hlines*,fillcolor=pdcolor2,%
+ hatchcolor=pdcolor1,hatchwidth=.1\pslinewidth,hatchsep=4pt]%
(.5\slidewidth,.95\slideheight)(.83\slidewidth,.98\slideheight)%
(.98\slidewidth,.95\slideheight)%
- \pspolygon[fillstyle=hlines*,fillcolor=pdplum,%
- hatchcolor=pdoffwhite,hatchwidth=.1\pslinewidth,hatchsep=4pt]%
+ \pspolygon[fillstyle=hlines*,fillcolor=pdcolor2,%
+ hatchcolor=pdcolor1,hatchwidth=.1\pslinewidth,hatchsep=4pt]%
(.02\slidewidth,.09\slideheight)(.17\slidewidth,.06\slideheight)%
(.5\slidewidth,.09\slideheight)%
- \pspolygon[fillstyle=vlines*,fillcolor=pdplum,%
- hatchcolor=pdoffwhite,hatchwidth=.1\pslinewidth,hatchsep=4pt]%
+ \pspolygon[fillstyle=vlines*,fillcolor=pdcolor2,%
+ hatchcolor=pdcolor1,hatchwidth=.1\pslinewidth,hatchsep=4pt]%
(.5\slidewidth,.09\slideheight)(.83\slidewidth,.06\slideheight)%
(.98\slidewidth,.09\slideheight)%
}\pd@ikedapbg
-}
+}}
\pddefinetemplate[slide]{sectionslide}{
titlehook=c,titlefont=\large\bfseries\centering,
ifsetup=landscape,
- titlepos={.575\slidewidth,.55\slideheight},
- titlewidth=.75\slidewidth,
+ titlepos={.575\slidewidth,.55\slideheight},
+ titlewidth=.75\slidewidth,
ifsetup=portrait,
- titlepos={.5\slidewidth,.55\slideheight},
- titlewidth=.9\slidewidth
+ titlepos={.5\slidewidth,.55\slideheight},
+ titlewidth=.9\slidewidth
}{}
\pddefinetemplate[wideslide]{sectionwideslide}{
titlehook=c,titlefont=\large\bfseries\centering,
@@ -4990,71 +5960,91 @@ We hope not to have forgotten anyone.
titlewidth=.9\slidewidth
}{}
\def\pd@ikedapbg{%
- \psframe*[linecolor=pdplum](0,0)(\slidewidth,.17\slideheight)%
- \pspolygon[fillstyle=vlines*,fillcolor=pdplum,%
- hatchcolor=pddarkblue,hatchwidth=.1\pslinewidth,hatchsep=1.6pt]%
+ \psframe*[linecolor=pdcolor2](0,0)(\slidewidth,.17\slideheight)%
+ \pspolygon[fillstyle=vlines*,fillcolor=pdcolor2,%
+ hatchcolor=pdcolor3,hatchwidth=.1\pslinewidth,hatchsep=1.6pt]%
(.05\slidewidth,.1\slideheight)(.08\slidewidth,.08\slideheight)%
(.14\slidewidth,.1\slideheight)(.20\slidewidth,.12\slideheight)%
(.23\slidewidth,.1\slideheight)%
- \pspolygon[fillstyle=hlines*,fillcolor=pdplum,%
- hatchcolor=pddarkblue,hatchwidth=.1\pslinewidth,hatchsep=1.6pt]%
+ \pspolygon[fillstyle=hlines*,fillcolor=pdcolor2,%
+ hatchcolor=pdcolor3,hatchwidth=.1\pslinewidth,hatchsep=1.6pt]%
(.77\slidewidth,.1\slideheight)(.80\slidewidth,.12\slideheight)%
(.86\slidewidth,.1\slideheight)(.92\slidewidth,.08\slideheight)%
(.95\slidewidth,.1\slideheight)%
}
\setkeys[pd]{section}{sectemp=sectionslide,widesectemp=sectionwideslide}
-\def\labelitemi{\color{pdplum}\footnotesize\ding{110}}
-\def\labelitemii{\color{pdgogreen}\small\ding{115}}
-\def\labelitemiii{\color{pdplum}\tiny\ding{110}}
-\def\labelitemiv{\color{pdgogreen}\tiny\ding{115}}
+\def\labelitemi{\color{pdcolor2}\footnotesize\ding{110}}
+\def\labelitemii{\color{pdcolor4}\small\ding{115}}
+\def\labelitemiii{\color{pdcolor2}\tiny\ding{110}}
+\def\labelitemiv{\color{pdcolor4}\tiny\ding{115}}
\pdsetup{
list={labelsep=1em,leftmargin=*,itemsep=0pt,topsep=5pt,parsep=0pt}
}
-\color{pdoffwhite}
\def\rmdefault{cmss}
%</pdikeda>
%
%<*pdfyma>
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
-\ProvidesPackage{powerdot-fyma}[2005/09/19 v1.1 fyma style (SA,HA)]
+\ProvidesPackage{powerdot-fyma}[2005/12/06 v1.2 fyma style (SA,HA)]
\RequirePackage{pst-grad}
-\definecolor{pddblue}{rgb}{.14,.34,.55}
-\definecolor{pdblue}{rgb}{.24,.45,.7}
-\definecolor{pdlblue}{rgb}{.88,.95,1}
+\definecolor{fymahltcolor}{rgb}{1,0,0}
+\pddefinepalettes{blue}{
+ \definecolor{pdcolor1}{rgb}{.14,.34,.55}
+ \definecolor{pdcolor2}{rgb}{.24,.45,.7}
+ \definecolor{pdcolor3}{rgb}{.88,.95,1}
+}{green}{
+ \definecolor{pdcolor1}{rgb}{.1,.45,.3}
+ \definecolor{pdcolor2}{rgb}{.24,.7,.45}
+ \definecolor{pdcolor3}{rgb}{.88,1,.9}
+}{gray}{
+ \definecolor{pdcolor1}{gray}{0.25}
+ \definecolor{pdcolor2}{gray}{0.55}
+ \definecolor{pdcolor3}{gray}{0.85}
+}{brown}{
+ \definecolor{pdcolor1}{rgb}{.52,.32,.12}
+ \definecolor{pdcolor2}{rgb}{.7,.45,.24}
+ \definecolor{pdcolor3}{rgb}{.97,.92,.92}
+}{orange}{
+ \definecolor{pdcolor1}{rgb}{.8,.23,.24}
+ \definecolor{pdcolor2}{rgb}{.95,.53,.44}
+ \definecolor{pdcolor3}{rgb}{1,.92,.87}
+ \definecolor{fymahltcolor}{rgb}{.23,.25,.5}
+}
\pddefinetemplate{basic}{
titlefont=\large\bfseries\raggedright,
+ clockpos={.96\slidewidth,.97\slideheight},clockcolor=pdcolor1,
tocslidesep=.6ex,
- toctcolor=pddblue,
- tochlcolor=pddblue,
- tochltcolor=red,
+ toctcolor=pdcolor1,
+ tochlcolor=pdcolor1,
+ tochltcolor=fymahltcolor,
ifsetup=portrait,
- textheight=.67\slideheight,
- titlepos={.06\slidewidth,.9\slideheight},
- titlewidth=.75\slidewidth,
- textpos={.09\slidewidth,.83\slideheight},
- textwidth=.85\slidewidth,
- tocsecsep=.6ex,
- stochook=tr,stocpos={.48\slidewidth,.12\slideheight},
- stocfont=\tiny\raggedleft,
- ntochook=tl,ntocpos={.52\slidewidth,.12\slideheight},
- lfpos={.06\slidewidth,.045\slideheight},
- rfpos={.94\slidewidth,.045\slideheight},
+ textheight=.67\slideheight,
+ titlepos={.06\slidewidth,.9\slideheight},
+ titlewidth=.75\slidewidth,
+ textpos={.09\slidewidth,.83\slideheight},
+ textwidth=.85\slidewidth,
+ tocsecsep=.6ex,
+ stochook=tr,stocpos={.48\slidewidth,.12\slideheight},
+ stocfont=\tiny\raggedleft,
+ ntochook=tl,ntocpos={.52\slidewidth,.12\slideheight},
+ lfpos={.06\slidewidth,.045\slideheight},
+ rfpos={.94\slidewidth,.045\slideheight},
ifsetup=landscape,
- titlepos={.205\slidewidth,.9\slideheight},
- titlewidth=.75\slidewidth,
- textheight=.72\slideheight,
- textpos={.23\slidewidth,.82\slideheight},
- textwidth=.72\slidewidth,
- lfpos={.04\slidewidth,.03\slideheight},
- rfpos={.96\slidewidth,.03\slideheight},
- tocpos={.04\slidewidth,.82\slideheight},
- tocwidth=.14\slidewidth,
- tocsecm={\psline[linewidth=.5pt,linecolor=pddblue]%
- (-.05,-.05)(.143\slidewidth,-.05)}
-}{%
- \psset{linewidth=.8pt,linecolor=pdblue}%
+ titlepos={.205\slidewidth,.9\slideheight},
+ titlewidth=.75\slidewidth,
+ textheight=.72\slideheight,
+ textpos={.23\slidewidth,.82\slideheight},
+ textwidth=.72\slidewidth,
+ lfpos={.04\slidewidth,.03\slideheight},
+ rfpos={.96\slidewidth,.03\slideheight},
+ tocpos={.04\slidewidth,.82\slideheight},
+ tocwidth=.14\slidewidth,
+ tocsecm={\psline[linewidth=.5pt,linecolor=pdcolor1]%
+ (-.05,-.05)(.143\slidewidth,-.05)}
+}{{%
+ \psset{linewidth=.8pt,linecolor=pdcolor2}%
\pdifsetup{landscape}{%
- \psframe[linestyle=none,fillstyle=gradient,gradbegin=pdlblue,%
+ \psframe[linestyle=none,fillstyle=gradient,gradbegin=pdcolor3,%
gradend=white,gradmidpoint=0,dimen=outer]%
(.03\slidewidth,.97\slideheight)(.97\slidewidth,.055\slideheight)%
\psline
@@ -5065,7 +6055,7 @@ We hope not to have forgotten anyone.
(.97\slidewidth,.07\slideheight)(.97\slidewidth,.045\slideheight)%
}{%
\psframe[linestyle=none,fillstyle=gradient,gradbegin=white,%
- gradend=pdlblue,gradmidpoint=.85,dimen=outer]%
+ gradend=pdcolor3,gradmidpoint=.85,dimen=outer]%
(.03\slidewidth,.97\slideheight)(.97\slidewidth,.03\slideheight)%
\psline
(.02\slidewidth,.03\slideheight)(.98\slidewidth,.03\slideheight)%
@@ -5080,7 +6070,7 @@ We hope not to have forgotten anyone.
(.03\slidewidth,.98\slideheight)(.03\slidewidth,.955\slideheight)%
\psline
(.97\slidewidth,.98\slideheight)(.97\slidewidth,.955\slideheight)%
-}
+}}
\pddefinetemplate[basic]{titleslide}{
texthook=t,textpos={.5\slidewidth,.7\slideheight},
textwidth=.9\slidewidth,textfont=\centering,
@@ -5089,28 +6079,28 @@ We hope not to have forgotten anyone.
}{}
\pddefinetemplate[basic]{slide}{}{%
\pdifsetup{landscape}{%
- \psframe[fillstyle=gradient,gradbegin=pdlblue,gradend=white,%
+ \psframe[fillstyle=gradient,gradbegin=pdcolor3,gradend=white,%
gradmidpoint=1,linestyle=none,dimen=outer,linewidth=.8pt]%
(.03\slidewidth,.97\slideheight)(.195\slidewidth,.055\slideheight)%
}{}%
}
\pddefinetemplate[basic]{wideslide}{
ifsetup=landscape,tocpos,
- titlepos={.055\slidewidth,.9\slideheight},
- titlewidth=.75\slidewidth,
- textpos={.07\slidewidth,.83\slideheight},
- textwidth=.83\slidewidth
+ titlepos={.055\slidewidth,.9\slideheight},
+ titlewidth=.75\slidewidth,
+ textpos={.07\slidewidth,.83\slideheight},
+ textwidth=.83\slidewidth
}{}
\pddefinetemplate[slide]{sectionslide}{
titlehook=c,titlefont=\Large\bfseries\centering,
ifsetup=landscape,
- titlepos={.59\slidewidth,.525\slideheight},
- titlewidth=.5\slidewidth,
+ titlepos={.59\slidewidth,.525\slideheight},
+ titlewidth=.5\slidewidth,
ifsetup=portrait,
- titlepos={.5\slidewidth,.525\slideheight},
- titlewidth=.68\slidewidth
-}{%
- \psset{linewidth=.8pt,linecolor=pdblue}%
+ titlepos={.5\slidewidth,.525\slideheight},
+ titlewidth=.68\slidewidth
+}{{%
+ \psset{linewidth=.8pt,linecolor=pdcolor2}%
\pdifsetup{landscape}{%
\psframe[fillstyle=solid,fillcolor=white,linestyle=none,dimen=outer]%
(.34\slidewidth,.65\slideheight)(.84\slidewidth,.4\slideheight)%
@@ -5138,13 +6128,13 @@ We hope not to have forgotten anyone.
(.84\slidewidth,.635\slideheight)(.84\slidewidth,.66\slideheight)%
\psline
(.84\slidewidth,.39\slideheight)(.84\slidewidth,.415\slideheight)%
-}
+}}
\pddefinetemplate[wideslide]{sectionwideslide}{%
titlehook=c,titlefont=\Large\bfseries\centering,
titlepos={.5\slidewidth,.525\slideheight},
titlewidth=.68\slidewidth
-}{%
- \psset{linewidth=.8pt,linecolor=pdblue}%
+}{{%
+ \psset{linewidth=.8pt,linecolor=pdcolor2}%
\psframe[fillstyle=solid,fillcolor=white,linestyle=none,dimen=outer]%
(.16\slidewidth,.65\slideheight)(.84\slidewidth,.4\slideheight)%
\psline
@@ -5159,11 +6149,11 @@ We hope not to have forgotten anyone.
(.84\slidewidth,.635\slideheight)(.84\slidewidth,.66\slideheight)%
\psline
(.84\slidewidth,.39\slideheight)(.84\slidewidth,.415\slideheight)%
-}
+}}
\def\pd@slidetitle#1{%
\settowidth\@tempdima{#1}%
\ifdim\@tempdima>\pd@@titlewidth\@tempdima\pd@@titlewidth\fi
- \psline[linewidth=.8pt,linecolor=pddblue]%
+ \psline[linewidth=.8pt,linecolor=pdcolor1]%
(0,-.15cm)(\@tempdima,-.15cm)%
\parbox[b]\pd@@titlewidth{#1}%
}
@@ -5181,7 +6171,6 @@ We hope not to have forgotten anyone.
\pdsetup{
list={labelsep=1em,leftmargin=*,itemsep=0pt,topsep=5pt,parsep=0pt}
}
-\color{pddblue}
\def\rmdefault{phv}
\def\sfdefault{phv}
\def\Hv@scale{.86}
@@ -5189,11 +6178,13 @@ We hope not to have forgotten anyone.
%
%<*pdsimple>
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
-\ProvidesPackage{powerdot-simple}[2005/09/19 v1.1 simple style (HA)]
+\ProvidesPackage{powerdot-simple}[2005/12/06 v1.2 simple style (HA)]
\RequirePackage{pifont}
\RequirePackage{amssymb}
+\pddefinepalettes{default}{\colorlet{pdcolor1}{black}}
\pddefinetemplate{titleslide}{
titlefont=\large\bfseries\raggedright,
+ clockpos={.99\slidewidth,\slideheight},
lfpos={.03\slidewidth,.04\slideheight},
rfpos={.97\slidewidth,.04\slideheight},
texthook=tl,textpos={.05\slidewidth,.83\slideheight},
@@ -5207,19 +6198,20 @@ We hope not to have forgotten anyone.
titlepos={.05\slidewidth,.93\slideheight},
titlewidth=.9\slidewidth,textheight=.66\slideheight,
titlefont=\large\bfseries\raggedright,
+ clockpos={.99\slidewidth,\slideheight},
lfpos={.03\slidewidth,.04\slideheight},
rfpos={.97\slidewidth,.04\slideheight},
tocslidesep=.6ex,textheight=.68\slideheight,
ifsetup=portrait,
- textpos={.05\slidewidth,.83\slideheight},
- textwidth=.9\slidewidth,
- tocsecsep=.6ex,
- stochook=tr,stocpos={.48\slidewidth,.09\slideheight},
- stocfont=\tiny\raggedleft,
- ntocpos={.52\slidewidth,.09\slideheight},
+ textpos={.05\slidewidth,.83\slideheight},
+ textwidth=.9\slidewidth,
+ tocsecsep=.6ex,
+ stochook=tr,stocpos={.48\slidewidth,.09\slideheight},
+ stocfont=\tiny\raggedleft,
+ ntocpos={.52\slidewidth,.09\slideheight},
ifsetup=landscape,
- textpos={.2\slidewidth,.83\slideheight},
- textwidth=.75\slidewidth
+ textpos={.2\slidewidth,.83\slideheight},
+ textwidth=.75\slidewidth
}{%
\psline[linewidth=.8pt](0,.9\slideheight)(\slidewidth,.9\slideheight)%
\psline[linewidth=.8pt](0,.1\slideheight)(\slidewidth,.1\slideheight)%
@@ -5230,10 +6222,10 @@ We hope not to have forgotten anyone.
}{}
\pddefinetemplate[basic]{slide}{
ifsetup=landscape,
- tocpos={.015\slidewidth,.83\slideheight},
- tocwidth=.14\slidewidth,
- tocsecm={\psline[linewidth=.5pt,linecolor=gray]%
- (-.05,-.05)(.143\slidewidth,-.05)}
+ tocpos={.015\slidewidth,.83\slideheight},
+ tocwidth=.14\slidewidth,
+ tocsecm={\psline[linewidth=.5pt,linecolor=gray]%
+ (-.05,-.05)(.143\slidewidth,-.05)}
}{%
\pdifsetup{landscape}{%
\psframe[fillstyle=solid,fillcolor=black!10,linestyle=none,%
@@ -5244,11 +6236,11 @@ We hope not to have forgotten anyone.
\pddefinetemplate[slide]{sectionslide}{
titlehook=c,titlefont=\Large\bfseries\centering,
ifsetup=landscape,
- titlepos={.575\slidewidth,.55\slideheight},
- titlewidth=.75\slidewidth,
+ titlepos={.575\slidewidth,.55\slideheight},
+ titlewidth=.75\slidewidth,
ifsetup=portrait,
- titlepos={.5\slidewidth,.55\slideheight},
- titlewidth=.9\slidewidth
+ titlepos={.5\slidewidth,.55\slideheight},
+ titlewidth=.9\slidewidth
}{}
\pddefinetemplate[wideslide]{sectionwideslide}{
titlehook=c,titlefont=\Large\bfseries\centering,
@@ -5279,53 +6271,56 @@ We hope not to have forgotten anyone.
\pdsetup{
list={labelsep=1em,leftmargin=*,itemsep=0pt,topsep=5pt,parsep=0pt}
}
-\color{black}
\def\rmdefault{cmss}
%</pdsimple>
%
%<*pdciment>
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
-\ProvidesPackage{powerdot-ciment}[2005/09/19 v1.1 ciment style (HA)]
+\ProvidesPackage{powerdot-ciment}[2005/12/06 v1.2 ciment style (HA)]
\RequirePackage{pifont}
-\definecolor{pdred}{rgb}{.7,.1,.1}
-\definecolor{pddgray}{rgb}{.2,.2,.2}
-\definecolor{pdlgray}{rgb}{.75,.75,.75}
+\pddefinepalettes{default}{
+ \colorlet{pdcolor1}{black}
+ \definecolor{pdcolor2}{rgb}{.7,.1,.1}
+ \definecolor{pdcolor3}{rgb}{.2,.2,.2}
+ \definecolor{pdcolor4}{rgb}{.75,.75,.75}
+}
\pddefinetemplate{basic}{
titlepos={.1\slidewidth,.93\slideheight},
titlewidth=.85\slidewidth,
- titlefont=\color{pdred}\large\bfseries\raggedright,
+ titlefont=\color{pdcolor2}\large\bfseries\raggedright,
+ clockpos={.99\slidewidth,\slideheight},
lfpos={.05\slidewidth,.04\slideheight},
- lffont=\color{pddgray}\scriptsize,
- rffont=\color{pddgray}\scriptsize,
+ lffont=\color{pdcolor3}\scriptsize,
+ rffont=\color{pdcolor3}\scriptsize,
rfpos={.95\slidewidth,.04\slideheight},
tocslidesep=.6ex,
toctcolor=black,
- tochlcolor=pdred,
+ tochlcolor=pdcolor2,
tochltcolor=white,
ifsetup=portrait,
- textpos={.05\slidewidth,.85\slideheight},
- textwidth=.9\slidewidth,textheight=.68\slideheight,
- tocsecsep=.6ex,
- stochook=tr,stocpos={.48\slidewidth,.13\slideheight},
- stocfont=\tiny\raggedleft,
- ntocpos={.52\slidewidth,.13\slideheight},
+ textpos={.05\slidewidth,.85\slideheight},
+ textwidth=.9\slidewidth,textheight=.68\slideheight,
+ tocsecsep=.6ex,
+ stochook=tr,stocpos={.48\slidewidth,.13\slideheight},
+ stocfont=\tiny\raggedleft,
+ ntocpos={.52\slidewidth,.13\slideheight},
ifsetup=landscape,
- textpos={.2\slidewidth,.85\slideheight},
- textwidth=.75\slidewidth,textheight=.7\slideheight
+ textpos={.2\slidewidth,.85\slideheight},
+ textwidth=.75\slidewidth,textheight=.7\slideheight
}{%
\psframe[linewidth=0pt,linestyle=none,fillstyle=hlines,%
- hatchwidth=.4pt,hatchangle=0,hatchcolor=pdlgray]%
+ hatchwidth=.4pt,hatchangle=0,hatchcolor=pdcolor4]%
(0,0)(\slidewidth,\slideheight)%
\pdifsetup{landscape}{%
- \psline[linecolor=pdred](.05\slidewidth,.09\slideheight)%
+ \psline[linecolor=pdcolor2](.05\slidewidth,.09\slideheight)%
(.95\slidewidth,.09\slideheight)%
}{%
- \psline[linecolor=pdred](.05\slidewidth,.15\slideheight)%
+ \psline[linecolor=pdcolor2](.05\slidewidth,.15\slideheight)%
(.95\slidewidth,.15\slideheight)%
}%
}
\pddefinetemplate[basic]{titleslide}{
- titlefont=\color{pdred}\large\bfseries\centering,
+ titlefont=\color{pdcolor2}\large\bfseries\centering,
texthook=t,textpos={.5\slidewidth,.7\slideheight},
textwidth=.9\slidewidth,textfont=\centering,
textheight=.6\slideheight,titlepos,
@@ -5337,35 +6332,35 @@ We hope not to have forgotten anyone.
}{}
\pddefinetemplate[basic]{slide}{
ifsetup=landscape,
- tocpos={.015\slidewidth,.83\slideheight},
- tocwidth=.14\slidewidth,
- tocsecm={\psline[linewidth=.5pt,linecolor=pdred]%
- (-.05,-.05)(.143\slidewidth,-.05)}
+ tocpos={.015\slidewidth,.83\slideheight},
+ tocwidth=.14\slidewidth,
+ tocsecm={\psline[linewidth=.5pt,linecolor=pdcolor2]%
+ (-.05,-.05)(.143\slidewidth,-.05)}
}{%
\pdifsetup{landscape}{%
- \psframe[fillstyle=solid,fillcolor=pdlgray,linestyle=none,%
+ \psframe[fillstyle=solid,fillcolor=pdcolor4,linestyle=none,%
linewidth=0pt](0,.85\slideheight)(.17\slidewidth,.15\slideheight)%
}{}%
}
\pddefinetemplate[slide]{sectionslide}{
- titlehook=c,titlefont=\color{pdred}\Large\bfseries\centering,
+ titlehook=c,titlefont=\color{pdcolor2}\Large\bfseries\centering,
ifsetup=landscape,
- titlepos={.575\slidewidth,.55\slideheight},
- titlewidth=.75\slidewidth,
+ titlepos={.575\slidewidth,.55\slideheight},
+ titlewidth=.75\slidewidth,
ifsetup=portrait,
- titlepos={.5\slidewidth,.55\slideheight},
- titlewidth=.9\slidewidth
+ titlepos={.5\slidewidth,.55\slideheight},
+ titlewidth=.9\slidewidth
}{}
\pddefinetemplate[wideslide]{sectionwideslide}{
- titlehook=c,titlefont=\color{pdred}\Large\bfseries\centering,
+ titlehook=c,titlefont=\color{pdcolor2}\Large\bfseries\centering,
titlepos={.5\slidewidth,.55\slideheight},
titlewidth=.9\slidewidth
}{}
\def\pd@slidetitle#1{%
- \psline[linecolor=pdred](0,-.15cm)(.85\slidewidth,-.15cm)%
+ \psline[linecolor=pdcolor2](0,-.15cm)(.85\slidewidth,-.15cm)%
\settowidth\@tempdima{#1}%
\ifdim\@tempdima>\pd@@titlewidth\@tempdima\pd@@titlewidth\fi
- \psline[linecolor=pdred,linewidth=2.5pt]%
+ \psline[linecolor=pdcolor2,linewidth=2.5pt]%
(0,-.15cm)(\@tempdima,-.15cm)%
\parbox[b]\pd@@titlewidth{#1}%
}
@@ -5378,53 +6373,56 @@ We hope not to have forgotten anyone.
\pdsetup{
list={labelsep=1em,leftmargin=*,itemsep=0pt,topsep=5pt,parsep=0pt}
}
-\color{black}
\def\rmdefault{cmss}
%</pdciment>
%
%<*pdelcolors>
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
-\ProvidesPackage{powerdot-elcolors}[2005/09/19 v1.1 elcolors style (HA)]
+\ProvidesPackage{powerdot-elcolors}[2005/12/06 v1.2 elcolors style (HA)]
\RequirePackage{pifont}
-\colorlet{pdyellow}{yellow!10}
-\colorlet{pdred}{red!10}
-\colorlet{pdblue}{blue!10}
-\definecolor{pddblue}{rgb}{.17,.31,.44}
-\colorlet{pdmixyr}{rgb,2:pdyellow,-1;pdred,-1}
-\colorlet{pdmixyb}{rgb,2:pdyellow,-1;pdblue,-1}
+\pddefinepalettes{default}{
+ \definecolor{pdcolor1}{rgb}{.17,.31,.44}
+ \colorlet{pdcolor2}{yellow!10}
+ \colorlet{pdcolor3}{red!10}
+ \colorlet{pdcolor4}{blue!10}
+ \colorlet{pdcolor5}{rgb,2:pdcolor2,1;pdcolor3,1}
+ \colorlet{pdcolor6}{rgb,2:pdcolor2,1;pdcolor4,1}
+}
\pddefinetemplate{basic}{
titlepos={.95\slidewidth,.93\slideheight},titlehook=Br,
titlewidth=.75\slidewidth,textheight=.68\slideheight,
titlefont=\large\bfseries\raggedleft,
+ clockcolor=pdcolor1,clockhook=tl,clockalign=0,
+ clockpos={0,\slideheight},
lfpos={.03\slidewidth,.04\slideheight},
rfpos={.97\slidewidth,.04\slideheight},
tocslidesep=.6ex,
- toctcolor=pddblue,
- tochlcolor=pddblue,
- tochltcolor=pdblue,
+ toctcolor=pdcolor1,
+ tochlcolor=pdcolor1,
+ tochltcolor=pdcolor4,
ifsetup=portrait,
- textpos={.05\slidewidth,.83\slideheight},
- textwidth=.9\slidewidth,
- tocsecsep=.6ex,
- stochook=tr,stocpos={.42\slidewidth,.13\slideheight},
- stocfont=\tiny\raggedleft,
- ntocpos={.46\slidewidth,.13\slideheight},
+ textpos={.05\slidewidth,.83\slideheight},
+ textwidth=.9\slidewidth,
+ tocsecsep=.6ex,
+ stochook=tr,stocpos={.42\slidewidth,.13\slideheight},
+ stocfont=\tiny\raggedleft,
+ ntocpos={.46\slidewidth,.13\slideheight},
ifsetup=landscape,
- textpos={.2\slidewidth,.83\slideheight},
- textwidth=.68\slidewidth
-}{%
+ textpos={.2\slidewidth,.83\slideheight},
+ textwidth=.68\slidewidth
+}{{%
\psset{linewidth=0pt}%
- \psframe*[linecolor=pdred]%
+ \psframe*[linecolor=pdcolor3]%
(0,0)(.44\slidewidth,.14\slideheight)%
- \psframe*[linecolor=pdred]%
+ \psframe*[linecolor=pdcolor3]%
(\slidewidth,\slideheight)(.56\slidewidth,.86\slideheight)%
- \psframe*[linecolor=pdyellow]%
+ \psframe*[linecolor=pdcolor2]%
(.09\slidewidth,.09\slideheight)(.91\slidewidth,.91\slideheight)%
- \psframe*[linecolor=pdmixyr]%
+ \psframe*[linecolor=pdcolor5]%
(.09\slidewidth,.09\slideheight)(.44\slidewidth,.14\slideheight)%
- \psframe*[linecolor=pdmixyr]%
+ \psframe*[linecolor=pdcolor5]%
(.91\slidewidth,.91\slideheight)(.56\slidewidth,.86\slideheight)%
-}
+}}
\pddefinetemplate[basic]{titleslide}{
titlefont=\large\bfseries\centering,
lfpos={.03\slidewidth,.04\slideheight},
@@ -5443,23 +6441,23 @@ We hope not to have forgotten anyone.
\pddefinetemplate[basic]{slide}{
tocpos={.015\slidewidth,.83\slideheight},
tocwidth=.14\slidewidth,
- tocsecm={\psline[linewidth=.5pt,linecolor=pddblue]%
+ tocsecm={\psline[linewidth=.5pt,linecolor=pdcolor1]%
(-.05,-.05)(.143\slidewidth,-.05)}
}{%
- \psframe*[linecolor=pdblue,linewidth=0pt]%
+ \psframe*[linecolor=pdcolor4,linewidth=0pt]%
(0,\slideheight)(.17\slidewidth,.2\slideheight)%
- \psframe*[linecolor=pdmixyb,linewidth=0pt]%
+ \psframe*[linecolor=pdcolor6,linewidth=0pt]%
(.09\slidewidth,.91\slideheight)(.17\slidewidth,.2\slideheight)%
}
}
\pddefinetemplate[slide]{sectionslide}{
titlehook=c,titlefont=\Large\bfseries\centering,
ifsetup=landscape,
- titlepos={.54\slidewidth,.55\slideheight},
- titlewidth=.68\slidewidth,
+ titlepos={.54\slidewidth,.55\slideheight},
+ titlewidth=.68\slidewidth,
ifsetup=portrait,
- titlepos={.5\slidewidth,.55\slideheight},
- titlewidth=.76\slidewidth
+ titlepos={.5\slidewidth,.55\slideheight},
+ titlewidth=.76\slidewidth
}{}
\pddefinetemplate[wideslide]{sectionwideslide}{
titlehook=c,titlefont=\Large\bfseries\centering,
@@ -5474,22 +6472,24 @@ We hope not to have forgotten anyone.
\pdsetup{
list={labelsep=1em,leftmargin=*,itemsep=0pt,topsep=5pt,parsep=0pt}
}
-\color{pddblue}
\def\rmdefault{cmss}
%</pdelcolors>
%
%<*pdaggie>
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
-\ProvidesPackage{powerdot-aggie}[2005/10/09 v1.1 aggie style (JS,HA)]
+\ProvidesPackage{powerdot-aggie}[2005/12/06 v1.2 aggie style (JS,HA)]
\RequirePackage{times}
\RequirePackage{pifont}
\RequirePackage{pst-grad}
-\definecolor{pdmaroon}{rgb}{.51,.13,.16}
-\definecolor{pdlparchment}{rgb}{.96,.94,.89}
-\definecolor{pddparchment}{rgb}{.89,.85,.69}
-\definecolor{pddblue}{rgb}{.17,.31,.44}
+\pddefinepalettes{default}{
+ \definecolor{pdcolor1}{rgb}{.17,.31,.44}
+ \definecolor{pdcolor2}{rgb}{.51,.13,.16}
+ \definecolor{pdcolor3}{rgb}{.96,.94,.89}
+ \definecolor{pdcolor4}{rgb}{.89,.85,.69}
+}
\pddefinetemplate{titleslide}{
- titlefont=\Large\bfseries\color{pdmaroon}\centering,
+ titlefont=\Large\bfseries\color{pdcolor2}\centering,
+ clockcolor=pdcolor1,clockpos={.99\slidewidth,\slideheight},
lfpos={.03\slidewidth,.04\slideheight},
rfpos={.97\slidewidth,.04\slideheight},
lffont=\tiny,
@@ -5498,120 +6498,121 @@ We hope not to have forgotten anyone.
textwidth=.9\slidewidth,textfont=\centering,
textheight=.5\slideheight,
ifsetup=portrait,
- textheight=.55\slideheight,
- lfpos={.03\slidewidth,.03\slideheight},
- rfpos={.97\slidewidth,.03\slideheight},
+ textheight=.55\slideheight,
+ lfpos={.03\slidewidth,.03\slideheight},
+ rfpos={.97\slidewidth,.03\slideheight}
}{%
- \psframe*[linecolor=pdlparchment,linewidth=0pt]%
+ \psframe*[linecolor=pdcolor3,linewidth=0pt]%
(0,.85\slideheight)(\slidewidth,0)%
- \psline[linecolor=pdmaroon]%
+ \psline[linecolor=pdcolor2]%
(0,.85\slideheight)(\slidewidth,.85\slideheight)%
- \psellipse[linestyle=solid,linecolor=pdmaroon,fillstyle=solid,%
- fillcolor=pddparchment](0.5\slidewidth,0)(0.7\slidewidth,0.1\slidewidth)%
+ \psellipse[linestyle=solid,linecolor=pdcolor2,fillstyle=solid,%
+ fillcolor=pdcolor4](.5\slidewidth,0)(.7\slidewidth,.1\slidewidth)%
}
\pddefinetemplate{basic}{
titlepos={.2\slidewidth,.93\slideheight},
titlewidth=.75\slidewidth,textheight=.66\slideheight,
- titlefont=\Large\sl\bfseries\color{pdmaroon}\raggedright,
+ titlefont=\Large\sl\bfseries\color{pdcolor2}\raggedright,
lfpos={.03\slidewidth,.04\slideheight},
rfpos={.97\slidewidth,.04\slideheight},
+ clockcolor=pdcolor1,clockpos={.99\slidewidth,\slideheight},
lffont=\tiny,
rffont=\tiny,
tocslidesep=.8ex,
textheight=.74\slideheight,
- toctcolor=pddblue,
- tochlcolor=pdmaroon,
+ toctcolor=pdcolor1,
+ tochlcolor=pdcolor2,
tochltcolor=white,
ifsetup=portrait,
- lfpos={.03\slidewidth,.03\slideheight},
- rfpos={.97\slidewidth,.03\slideheight},
- textpos={.05\slidewidth,.83\slideheight},
- textwidth=.9\slidewidth,
- tocsecsep=.8ex,
- stochook=tr,stocpos={.48\slidewidth,.09\slideheight},
- stocfont=\tiny\raggedleft,
- ntocpos={.52\slidewidth,.09\slideheight},
+ lfpos={.03\slidewidth,.03\slideheight},
+ rfpos={.97\slidewidth,.03\slideheight},
+ textpos={.05\slidewidth,.83\slideheight},
+ textwidth=.9\slidewidth,
+ tocsecsep=.8ex,
+ stochook=tr,stocpos={.48\slidewidth,.09\slideheight},
+ stocfont=\tiny\raggedleft,
+ ntocpos={.52\slidewidth,.09\slideheight},
ifsetup=landscape,
- textpos={.2\slidewidth,.83\slideheight},
- textwidth=.75\slidewidth
+ textpos={.2\slidewidth,.83\slideheight},
+ textwidth=.75\slidewidth
}{%
}
\pddefinetemplate[basic]{wideslide}{
textpos={.05\slidewidth,.83\slideheight},
textwidth=.9\slidewidth,
- ifsetup=portrait,
- textheight=0.7\slideheight
+ ifsetup=portrait,textheight=.7\slideheight
}{%
- \psframe[linestyle=none,fillstyle=gradient,gradbegin=pdlparchment,%
+ \psframe[linestyle=none,fillstyle=gradient,gradbegin=pdcolor3,%
gradend=white,gradmidpoint=1,gradangle=90,linewidth=0pt]%
(0,\slideheight)(\slidewidth,.9\slideheight)%
\pd@aggiebg
}
\pddefinetemplate[basic]{slide}{
ifsetup=landscape,
- tocpos={.015\slidewidth,.83\slideheight},
- tocwidth=.14\slidewidth,
- tocsecm={\psline[linewidth=.5pt,linecolor=pdmaroon]%
- (-.05,-.05)(.143\slidewidth,-.05)},
- ifsetup=portrait,
- textheight=0.7\slideheight
+ tocpos={.015\slidewidth,.83\slideheight},
+ tocwidth=.14\slidewidth,
+ tocsecm={\psline[linewidth=.5pt,linecolor=pdcolor2]%
+ (-.05,-.05)(.143\slidewidth,-.05)},
+ ifsetup=portrait,textheight=.7\slideheight
}{%
- \psframe[fillstyle=gradient,gradbegin=pdlparchment,gradend=white,%
+ \psframe[fillstyle=gradient,gradbegin=pdcolor3,gradend=white,%
gradmidpoint=0,linestyle=none,linewidth=0pt]%
(0,.9\slideheight)(.25\slidewidth,.075\slideheight)%
\psellipse*[linecolor=white](.25\slidewidth,.6\slideheight)%
- (0.075\slidewidth,0.7\slideheight)%
+ (.075\slidewidth,.7\slideheight)%
\pd@aggiebg
}
\pddefinetemplate[slide]{sectionslide}{
- titlehook=c,titlefont=\Large\bfseries\color{pdmaroon}\centering,
+ titlehook=c,titlefont=\Large\bfseries\color{pdcolor2}\centering,
ifsetup=landscape,
- titlepos={.575\slidewidth,.55\slideheight},
- titlewidth=.75\slidewidth,
+ titlepos={.575\slidewidth,.55\slideheight},
+ titlewidth=.75\slidewidth,
ifsetup=portrait,
- titlepos={.5\slidewidth,.55\slideheight},
- titlewidth=.9\slidewidth
+ titlepos={.5\slidewidth,.55\slideheight},
+ titlewidth=.9\slidewidth
}{}
\pddefinetemplate[wideslide]{sectionwideslide}{
- titlehook=c,titlefont=\Large\bfseries\color{pdmaroon}\centering,
+ titlehook=c,titlefont=\Large\bfseries\color{pdcolor2}\centering,
titlepos={.5\slidewidth,.55\slideheight},
titlewidth=.9\slidewidth
}{}
\def\pd@aggiebg{%
\pdifsetup{landscape}{%
- \psframe*[linecolor=pddparchment](0,0)(\slidewidth,.075\slideheight)%
- \psline[linecolor=pdmaroon,linewidth=.5pt]%
+ \psframe*[linecolor=pdcolor4](0,0)(\slidewidth,.075\slideheight)%
+ \psline[linecolor=pdcolor2,linewidth=.5pt]%
(0,.075\slideheight)(\slidewidth,.075\slideheight)%
}{%
- \psframe*[linecolor=pddparchment](0,0)(\slidewidth,.1\slideheight)%
- \psline[linecolor=pdmaroon,linewidth=.5pt]%
+ \psframe*[linecolor=pdcolor4](0,0)(\slidewidth,.1\slideheight)%
+ \psline[linecolor=pdcolor2,linewidth=.5pt]%
(0,.1\slideheight)(\slidewidth,.1\slideheight)%
}%
}
\setkeys[pd]{section}{sectemp=sectionslide,widesectemp=sectionwideslide}
\def\pd@tocslide#1{\ding{118}\,#1}
-\def\labelitemi{\color{pdmaroon}\footnotesize\ding{108}}
-\def\labelitemii{\color{pdmaroon}\small\ding{70}}
-\def\labelitemiii{\color{pdmaroon}\tiny\ding{110}}
-\def\labelitemiv{\color{pdmaroon}\tiny\ding{117}}
+\def\labelitemi{\color{pdcolor2}\footnotesize\ding{108}}
+\def\labelitemii{\color{pdcolor2}\small\ding{70}}
+\def\labelitemiii{\color{pdcolor2}\tiny\ding{110}}
+\def\labelitemiv{\color{pdcolor2}\tiny\ding{117}}
\pdsetup{
list={labelsep=1em,leftmargin=*,itemsep=0pt,topsep=5pt,parsep=0pt}
}
-\color{pddblue}
\renewcommand\familydefault{\sfdefault}
%</pdaggie>
%
%<*pdhusky>
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
-\ProvidesPackage{powerdot-husky}[2005/10/09 v1.1 husky style (JS,HA)]
+\ProvidesPackage{powerdot-husky}[2005/12/06 v1.2 husky style (JS,HA)]
\RequirePackage{times}
\RequirePackage{pifont}
\RequirePackage{pst-grad}
-\definecolor{pdtxtred}{rgb}{.75,0,0}
-\definecolor{pdbggray}{rgb}{.92,.92,.92}
-\definecolor{pddblue}{rgb}{.03,0,.29}
+\pddefinepalettes{default}{
+ \definecolor{pdcolor1}{rgb}{.03,0,.29}
+ \definecolor{pdcolor2}{rgb}{.75,0,0}
+ \definecolor{pdcolor3}{rgb}{.92,.92,.92}
+}
\pddefinetemplate{titleslide}{
- titlefont=\Large\rmfamily\bfseries\color{pdtxtred}\centering,
+ titlefont=\Large\rmfamily\bfseries\color{pdcolor2}\centering,
+ clockcolor=pdcolor1,clockpos={.99\slidewidth,\slideheight},
lfpos={.03\slidewidth,.04\slideheight},
rfpos={.97\slidewidth,.04\slideheight},
lffont=\tiny\color{white},
@@ -5620,98 +6621,101 @@ We hope not to have forgotten anyone.
textwidth=.9\slidewidth,textfont=\centering,
textheight=.66\slideheight,
ifsetup=portrait,
- textheight=.63\slideheight,
- lfpos={.03\slidewidth,.03\slideheight},
- rfpos={.97\slidewidth,.03\slideheight},
-}{%
- \pspolygon*[linestyle=none,linecolor=pdbggray](\slidewidth,.385\slideheight)%
+ textheight=.63\slideheight,
+ lfpos={.03\slidewidth,.03\slideheight},
+ rfpos={.97\slidewidth,.03\slideheight},
+}{{%
+ \psset{linestyle=none,linecolor=pdcolor3}%
+ \pspolygon*(\slidewidth,.385\slideheight)%
(.6\slidewidth,\slideheight)(.85\slidewidth,\slideheight)%
(\slidewidth,.57\slideheight)%
- \pspolygon*[linestyle=none,linecolor=pdbggray](\slidewidth,.25\slideheight)%
+ \pspolygon*(\slidewidth,.25\slideheight)%
(.15\slidewidth,\slideheight)(.5\slidewidth,\slideheight)%
(\slidewidth,.35\slideheight)%
- \pspolygon*[linestyle=none,linecolor=pdbggray](\slidewidth,.15\slideheight)%
+ \pspolygon*(\slidewidth,.15\slideheight)%
(0,.65\slideheight)(0,\slideheight)(.01\slidewidth,\slideheight)%
(\slidewidth,.225\slideheight)%
- \pspolygon*[linestyle=none,linecolor=pdbggray](\slidewidth,.07\slideheight)%
+ \pspolygon*(\slidewidth,.07\slideheight)%
(0,.25\slideheight)(0,.535\slideheight)%
(\slidewidth,.13\slideheight)%
- \psframe[linestyle=none,fillstyle=gradient,gradbegin=pdtxtred,%
+ \psframe[fillstyle=gradient,gradbegin=pdcolor2,%
gradend=white,gradmidpoint=1,gradangle=90](0,.9\slideheight)%
(\slidewidth,.9\slideheight)%
- \psframe[linestyle=none,fillstyle=gradient,gradbegin=pdtxtred,%
+ \psframe[fillstyle=gradient,gradbegin=pdcolor2,%
gradend=white,gradmidpoint=1,gradangle=90](0,.893\slideheight)%
(\slidewidth,.893\slideheight)%
\pd@huskybg
-}
+}}
\pddefinetemplate{basic}{
titlepos={.2\slidewidth,.93\slideheight},
titlewidth=.75\slidewidth,textheight=.66\slideheight,
- titlefont=\Large\rmfamily\slshape\bfseries\color{pdtxtred}\raggedright,
+ titlefont=\Large\rmfamily\slshape\bfseries\color{pdcolor2}\raggedright,
+ clockcolor=pdcolor1,clockpos={.99\slidewidth,\slideheight},
lfpos={.03\slidewidth,.04\slideheight},
rfpos={.97\slidewidth,.04\slideheight},
lffont=\tiny\color{white},
rffont=\tiny\color{white},
tocslidesep=.8ex,
toctcolor=black,
- tochlcolor=pdtxtred,
+ tochlcolor=pdcolor2,
tochltcolor=white,
ifsetup=portrait,
- toctcolor=white,
- tochlcolor=black,
- titlepos={.05\slidewidth,.93\slideheight},
- lfpos={.03\slidewidth,.03\slideheight},
- rfpos={.97\slidewidth,.03\slideheight},
- textpos={.05\slidewidth,.85\slideheight},
- textheight=.73\slideheight,
- textwidth=.9\slidewidth,
- tocsecsep=.8ex,
- stochook=tr,stocpos={.48\slidewidth,.09\slideheight},
- stocfont=\tiny\raggedleft,
- ntochook=tl,ntocpos={.52\slidewidth,.09\slideheight},
- ntocfont=\tiny\raggedright,
+ toctcolor=white,
+ tochlcolor=black,
+ titlepos={.05\slidewidth,.93\slideheight},
+ lfpos={.03\slidewidth,.03\slideheight},
+ rfpos={.97\slidewidth,.03\slideheight},
+ textpos={.05\slidewidth,.85\slideheight},
+ textheight=.73\slideheight,
+ textwidth=.9\slidewidth,
+ tocsecsep=.8ex,
+ stochook=tr,stocpos={.48\slidewidth,.09\slideheight},
+ stocfont=\tiny\raggedleft,
+ ntochook=tl,ntocpos={.52\slidewidth,.09\slideheight},
+ ntocfont=\tiny\raggedright,
ifsetup=landscape,
- textpos={.2\slidewidth,.83\slideheight},
- textwidth=.75\slidewidth,
- textheight=.74\slideheight,
-}{%
- \pspolygon*[linestyle=none,linecolor=pdbggray](\slidewidth,.385\slideheight)%
+ textpos={.2\slidewidth,.83\slideheight},
+ textwidth=.75\slidewidth,
+ textheight=.74\slideheight,
+}{{%
+ \psset{linestyle=none,linecolor=pdcolor3}%
+ \pspolygon*(\slidewidth,.385\slideheight)%
(.6\slidewidth,\slideheight)(.85\slidewidth,\slideheight)%
(\slidewidth,.57\slideheight)%
- \pspolygon*[linestyle=none,linecolor=pdbggray](\slidewidth,.25\slideheight)%
+ \pspolygon*(\slidewidth,.25\slideheight)%
(.15\slidewidth,\slideheight)(.5\slidewidth,\slideheight)%
(\slidewidth,.35\slideheight)%
- \pspolygon*[linestyle=none,linecolor=pdbggray](\slidewidth,0.15\slideheight)%
+ \pspolygon*(\slidewidth,.15\slideheight)%
(0,.65\slideheight)(0,\slideheight)(.01\slidewidth,\slideheight)%
(\slidewidth,.225\slideheight)%
- \pspolygon*[linestyle=none,linecolor=pdbggray](\slidewidth,.07\slideheight)%
+ \pspolygon*(\slidewidth,.07\slideheight)%
(0,.25\slideheight)(0,.535\slideheight)%
(\slidewidth,.13\slideheight)%
- \psframe[linestyle=none,fillstyle=gradient,gradbegin=pdtxtred,%
+ \psframe[linestyle=none,fillstyle=gradient,gradbegin=pdcolor2,%
gradend=white,gradmidpoint=1,gradangle=90](0,.9\slideheight)%
(\slidewidth,.9\slideheight)%
- \psframe[linestyle=none,fillstyle=gradient,gradbegin=pdtxtred,%
+ \psframe[linestyle=none,fillstyle=gradient,gradbegin=pdcolor2,%
gradend=white,gradmidpoint=1,gradangle=90](0,.893\slideheight)%
(\slidewidth,.893\slideheight)%
\pd@huskybg
-}
+}}
\pddefinetemplate[basic]{wideslide}{
textwidth=.9\slidewidth,
ifsetup=landscape,
- textpos={.05\slidewidth,.83\slideheight},
- titlepos={.05\slidewidth,.93\slideheight}
+ textpos={.05\slidewidth,.83\slideheight},
+ titlepos={.05\slidewidth,.93\slideheight}
}{%
}
\pddefinetemplate[basic]{slide}{
ifsetup=landscape,
- tocpos={.015\slidewidth,.83\slideheight},
- tocwidth=.14\slidewidth,
- tocsecm={\psline[linewidth=.5pt,linecolor=pdtxtred]%
- (-.05,-.05)(.143\slidewidth,-.05)},
+ tocpos={.015\slidewidth,.83\slideheight},
+ tocwidth=.14\slidewidth,
+ tocsecm={\psline[linewidth=.5pt,linecolor=pdcolor2]%
+ (-.05,-.05)(.143\slidewidth,-.05)},
}{%
\pdifsetup{landscape}{%
\psframe[linestyle=none,fillstyle=gradient,gradbegin=white,%
- gradend=black,gradmidpoint=0.5](.175\slidewidth,.12\slideheight)%
+ gradend=black,gradmidpoint=.5](.175\slidewidth,.12\slideheight)%
(.18\slidewidth,.95\slideheight)%
}{%
\psframe[linestyle=none,fillstyle=gradient,gradbegin=white,%
@@ -5721,28 +6725,28 @@ We hope not to have forgotten anyone.
}
\pddefinetemplate[slide]{sectionslide}{
titlehook=c,
- titlefont=\LARGE\rmfamily\slshape\bfseries\color{pdtxtred}\centering,
+ titlefont=\LARGE\rmfamily\slshape\bfseries\color{pdcolor2}\centering,
ifsetup=landscape,
- titlepos={.575\slidewidth,.55\slideheight},
- titlewidth=.75\slidewidth,
+ titlepos={.575\slidewidth,.55\slideheight},
+ titlewidth=.75\slidewidth,
ifsetup=portrait,
- titlepos={.5\slidewidth,.55\slideheight},
- titlewidth=.9\slidewidth
+ titlepos={.5\slidewidth,.55\slideheight},
+ titlewidth=.9\slidewidth
}{}
\pddefinetemplate[wideslide]{sectionwideslide}{
titlehook=c,
- titlefont=\LARGE\rmfamily\slshape\bfseries\color{pdtxtred}\centering,
+ titlefont=\LARGE\rmfamily\slshape\bfseries\color{pdcolor2}\centering,
titlepos={.5\slidewidth,.55\slideheight},
titlewidth=.9\slidewidth
}{}
\def\pd@huskybg{%
\pdifsetup{landscape}{%
- \psframe*[linecolor=pdtxtred,linewidth=0pt]%
+ \psframe*[linecolor=pdcolor2,linewidth=0pt]%
(0,0)(\slidewidth,.075\slideheight)%
\psline[linecolor=black,linewidth=1pt]%
(0,.075\slideheight)(\slidewidth,.075\slideheight)%
}{%
- \psframe*[linecolor=pdtxtred,linewidth=0pt]%
+ \psframe*[linecolor=pdcolor2,linewidth=0pt]%
(0,0)(\slidewidth,.1\slideheight)%
\psline[linecolor=black,linewidth=1pt]%
(0,.1\slideheight)(\slidewidth,.1\slideheight)%
@@ -5750,70 +6754,93 @@ We hope not to have forgotten anyone.
}
\setkeys[pd]{section}{sectemp=sectionslide,widesectemp=sectionwideslide}
\def\pd@tocslide#1{\ding{118}\,#1}
-\def\labelitemi{\color{pdtxtred}\footnotesize\ding{108}}
-\def\labelitemii{\color{pdtxtred}\small\ding{70}}
-\def\labelitemiii{\color{pdtxtred}\tiny\ding{110}}
-\def\labelitemiv{\color{pdtxtred}\tiny\ding{117}}
+\def\labelitemi{\color{pdcolor2}\footnotesize\ding{108}}
+\def\labelitemii{\color{pdcolor2}\small\ding{70}}
+\def\labelitemiii{\color{pdcolor2}\tiny\ding{110}}
+\def\labelitemiv{\color{pdcolor2}\tiny\ding{117}}
\pdsetup{
list={labelsep=1em,leftmargin=*,itemsep=0pt,topsep=5pt,parsep=0pt}
}
-\color{pddblue}
\renewcommand\familydefault{\sfdefault}
%</pdhusky>
%
%<*pdsailor>
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
-\ProvidesPackage{powerdot-sailor}[2005/10/09 v1.1 sailor style (MH,HA)]
+\ProvidesPackage{powerdot-sailor}[2005/12/06 v1.2 sailor style (MH,HA)]
\RequirePackage{calc}
\RequirePackage{amssymb}
\RequirePackage{pst-grad}
-\definecolor{pddblue}{rgb}{.141,.188,.235}
-\definecolor{pdblue}{rgb}{.298,.392,.49}
-\definecolor{pdlblue}{rgb}{.522,.592,.647}
-\definecolor{pdgray}{rgb}{.8627,.8941,.9255}
+\pddefinepalettes{Sea}{% Sea sailor (default)
+ \definecolor{pdcolor1}{rgb}{.141,.188,.235} % Dark blue #24303C
+ \definecolor{pdcolor2}{rgb}{.298,.392,.490} % Medium blue #4C647D
+ \definecolor{pdcolor3}{rgb}{.522,.592,.647} % Light blue #8597A5
+ \definecolor{pdcolor4}{rgb}{.8627,.8941,.9255} % Lighter blue #DCE4EC
+}{River}{% River variant
+ \definecolor{pdcolor1}{rgb}{.141,.235,.192} % Dark green #243C31
+ \definecolor{pdcolor2}{rgb}{.298,.490,.404} % Medium green #4C7D67
+ \definecolor{pdcolor3}{rgb}{.522,.647,.592} % Light green #85A597
+ \definecolor{pdcolor4}{rgb}{.8627,.9255,.8980} % Lighter green #DCECE5
+}{Wine}{% Wine variant
+ \definecolor{pdcolor1}{rgb}{.235,.141,.161} % Dark red #3C2429
+ \definecolor{pdcolor2}{rgb}{.490,.298,.337} % Medium red #7D4C56
+ \definecolor{pdcolor3}{rgb}{.647,.522,.545} % Light red #A5858B
+ \definecolor{pdcolor4}{rgb}{.9255,.8627,.8745} % Lighter red #ECDCDF
+}{Chocolate}{% Chocolate variant
+ \definecolor{pdcolor1}{rgb}{.235,.212,.141} % Dark brown #3C3624
+ \definecolor{pdcolor2}{rgb}{.490,.443,.298} % Medium brown #7D714C
+ \definecolor{pdcolor3}{rgb}{.647,.616,.522} % Light brown #A59D85
+ \definecolor{pdcolor4}{rgb}{.9255,.9098,.8627} % Lighter brown #ECE8DC
+}{Cocktail}{% Cocktail variant
+ \definecolor{pdcolor1}{rgb}{.180,.141,.235} % Dark violet #2E243C
+ \definecolor{pdcolor2}{rgb}{.380,.298,.490} % Medium violet #614C7D
+ \definecolor{pdcolor3}{rgb}{.576,.522,.647} % Light violet #9385A5
+ \definecolor{pdcolor4}{rgb}{.8902,.8627,.9255} % Lighter violet #E3DCEC
+}
\pddefinetemplate{basic}{%
texthook=tl,
titlefont=\Large\bfseries\color{white}\raggedleft,
- iacolor=pdlblue,
- toctcolor=pdlblue,
+ clockhook=tl,clockpos={0,\slideheight},clockalign=0,
+ iacolor=pdcolor3,
+ toctcolor=pdcolor3,
tochlcolor=white,
- tochltcolor=pddblue,
+ tochltcolor=pdcolor1,
ifsetup=landscape,
- lfpos={.02\slidewidth,.02\slideheight},
- rfpos={.98\slidewidth,.02\slideheight},
- tocsecsep=2.5ex,
- tocslidesep=1.2ex,
- tocslideindent=1ex,
- tocpos={.01\slidewidth,.8\slideheight},
- tocwidth=.14\slidewidth,
- tocsecm={\psline[linewidth=.5pt,linecolor=pddblue]%
- (-.05,-.05)(.14\slidewidth,-.05)},
+ lfpos={.02\slidewidth,.02\slideheight},
+ rfpos={.98\slidewidth,.02\slideheight},
+ tocsecsep=2.5ex,
+ tocslidesep=1.2ex,
+ tocslideindent=1ex,
+ tocpos={.01\slidewidth,.8\slideheight},
+ tocwidth=.14\slidewidth,
+ tocsecm={\psline[linewidth=.5pt,linecolor=pdcolor1]%
+ (-.05,-.05)(.14\slidewidth,-.05)},
ifsetup=portrait,
- lfpos={.02\slidewidth,.015\slideheight},
- rfpos={.98\slidewidth,.015\slideheight},
- tocsecsep=.1ex,
- tocslidesep=.1ex,
- stochook=tr,
- stocpos={.49\slidewidth,.09\slideheight},
- stocfont=\tiny\raggedleft,
- stocwidth=.48\slidewidth,
- ntocpos={.51\slidewidth,.09\slideheight},
- ntocwidth=.48\slidewidth,
+ lfpos={.02\slidewidth,.015\slideheight},
+ rfpos={.98\slidewidth,.015\slideheight},
+ tocsecsep=.1ex,
+ tocslidesep=.1ex,
+ stochook=tr,
+ stocpos={.49\slidewidth,.09\slideheight},
+ stocfont=\tiny\raggedleft,
+ stocwidth=.48\slidewidth,
+ ntocpos={.51\slidewidth,.09\slideheight},
+ ntocwidth=.48\slidewidth,
}{}
\pddefinetemplate[basic]{topframe}{%
titlehook=r,
+ clockcolor=white,
ifsetup=landscape,
- titlewidth=.9\slidewidth,
- titlepos={.95\slidewidth,.92\slideheight},
- textheight=.74\slideheight,
- textpos={.2\slidewidth,.8\slideheight},
- textwidth=.77\slidewidth,
+ titlewidth=.9\slidewidth,
+ titlepos={.95\slidewidth,.92\slideheight},
+ textheight=.74\slideheight,
+ textpos={.2\slidewidth,.8\slideheight},
+ textwidth=.77\slidewidth,
ifsetup=portrait,
- titlewidth=.94\slidewidth,
- titlepos={.98\slidewidth,.95\slideheight},
- textheight=.75\slideheight,
- textpos={.03\slidewidth,.87\slideheight},
- textwidth=.94\slidewidth
+ titlewidth=.94\slidewidth,
+ titlepos={.98\slidewidth,.95\slideheight},
+ textheight=.75\slideheight,
+ textpos={.03\slidewidth,.87\slideheight},
+ textwidth=.94\slidewidth
}{%
\pdifsetup{landscape}{%
\pd@sailorroundedtopframe{.15\slideheight}%
@@ -5825,12 +6852,13 @@ We hope not to have forgotten anyone.
texthook=rt,
textpos={.95\slidewidth,.77\slideheight},
textwidth=.9\slidewidth,
- textfont=\color{pddblue}\raggedleft\tabcolsep0pt,
+ textfont=\color{pdcolor1}\raggedleft\tabcolsep0pt,
textheight=.72\slideheight,
titlefont=\Large\bfseries\color{white},
+ clockcolor=pdcolor1,
tocpos,ntocpos,stocpos
-}{%
- \psset{linecolor=pddblue}%
+}{{%
+ \psset{linecolor=pdcolor1}%
\pdifsetup{landscape}{%
\pd@sailorroundedframe{\slidewidth}{.25\slidewidth}{.7\slideheight}%
{.17\slideheight}%
@@ -5839,45 +6867,45 @@ We hope not to have forgotten anyone.
{.12\slideheight}%
}%
\pd@sailorgrad\slidewidth{.5\slideheight}%
- \psset{linecolor=pdlblue}%
+ \psset{linecolor=pdcolor3}%
\psarc*(0,.2\slideheight){3pt}{270}{90}%
\multips(.08\slidewidth,.2\slideheight)(.08\slidewidth,0){9}{%
\qdisk(0,0){3pt}%
}%
-}
-\pddefinetemplate[topframe]{slide}{}{%
+}}
+\pddefinetemplate[topframe]{slide}{}{{%
\pdifsetup{landscape}{%
\pd@sailorgrad{.16\slidewidth}{.5\slideheight}%
- \psset{linecolor=pdlblue}%
+ \psset{linecolor=pdcolor3}%
\multips(.16\slidewidth,0.75pt)(0,.01\slideheight){82}{%
\qdisk(0,0){.75pt}%
}%
}\pd@sailortocbg
-}
+}}
\pddefinetemplate[topframe]{wideslide}{%
tocpos,ifsetup=landscape,
- textpos={.03\slidewidth,.8\slideheight},
- textwidth=.94\slidewidth
+ textpos={.03\slidewidth,.8\slideheight},
+ textwidth=.94\slidewidth
}{%
\pdifsetup{portrait}\pd@sailortocbg{}%
}
\pddefinetemplate[slide]{sectionslide}{%
- titlefont=\Large\bfseries\color{pddblue}\centering,
+ titlefont=\Large\bfseries\color{pdcolor1}\centering,
titlehook=c,
titlewidth=.55\slidewidth,
ifsetup=landscape,
- titlepos={.58\slidewidth,.55\slideheight},
+ titlepos={.58\slidewidth,.55\slideheight},
ifsetup=portrait,
- titlepos={.5\slidewidth,.55\slideheight},
+ titlepos={.5\slidewidth,.55\slideheight},
}{}
\pddefinetemplate[basic]{sectionwideslide}{%
tocpos,stocpos,ntocpos,
titlehook=c,titlewidth=.75\slidewidth,
titlepos={.4\slidewidth,.695\slideheight},
titlefont=\Large\bfseries\color{white}\centering
-}{%
+}{{%
\pd@sailorgrad\slidewidth{.5\slideheight}%
- \psset{linecolor=pddblue}%
+ \psset{linecolor=pdcolor1}%
\pdifsetup{landscape}{%
\pd@sailorroundedframe{0pt}{.75\slidewidth}{.7\slideheight}%
{.1\slideheight}%
@@ -5885,43 +6913,43 @@ We hope not to have forgotten anyone.
\pd@sailorroundedframe{0pt}{.75\slidewidth}{.7\slideheight}%
{.07\slideheight}%
}%
- \psset{linecolor=pdlblue}%
+ \psset{linecolor=pdcolor3}%
\psarc*(\slidewidth,.2\slideheight){3pt}{90}{270}%
\multips(.92\slidewidth,.2\slideheight)(-.08\slidewidth,0){9}{%
\qdisk(0,0){3pt}%
}%
-}
-\def\pd@sailorroundedtopframe#1{%
+}}
+\def\pd@sailorroundedtopframe#1{{%
\setlength\@tempdima{\slideheight-#1}%
- \psset{linewidth=0pt,fillcolor=pdblue,fillstyle=solid,linecolor=pdblue}%
+ \psset{linewidth=0pt,fillcolor=pdcolor2,fillstyle=solid,linecolor=pdcolor2}%
\psframe(#1,\slideheight)(\slidewidth,\@tempdima)%
\pswedge*(#1,\slideheight){#1}{180}{275}%
- \psset{linecolor=pddblue,linewidth=.8pt}%
+ \psset{linecolor=pdcolor1,linewidth=.8pt}%
\psline(\slidewidth,\@tempdima)(#1,\@tempdima)%
\psarc[fillstyle=none](#1,\slideheight){#1}{180}{270}%
-}
-\def\pd@sailorroundedframe#1#2#3#4{%
+}}
+\def\pd@sailorroundedframe#1#2#3#4{{%
\setlength\@tempdima{#3+#4}%
\setlength\@tempdimb{#3-#4}%
- \psset{linewidth=0pt,linecolor=pdblue,fillcolor=pdblue,fillstyle=solid}%
+ \psset{linewidth=0pt,linecolor=pdcolor2,fillcolor=pdcolor2,fillstyle=solid}%
\psframe(#1,\@tempdima)(#2,\@tempdimb)%
\ifdim#1>#2\pswedge*(#2,#3){#4}{85}{275}\else\pswedge*(#2,#3){#4}{265}{95}\fi
- \psset{linecolor=pddblue,linewidth=.8pt}%
+ \psset{linecolor=pdcolor1,linewidth=.8pt}%
\psline(#1,\@tempdima)(#2,\@tempdima)%
\ifdim#1>#2\psarc(#2,#3){#4}{90}{270}\else\psarc(#2,#3){#4}{270}{90}\fi
\psline(#1,\@tempdimb)(#2,\@tempdimb)%
-}
+}}
\def\pd@sailorgrad#1#2{%
\psframe[linestyle=none,linewidth=0pt,fillstyle=gradient,%
- gradbegin=pdgray,gradend=white,gradmidpoint=0](0,0)(#1,#2)%
+ gradbegin=pdcolor4,gradend=white,gradmidpoint=0](0,0)(#1,#2)%
}
-\def\pd@sailortocbg{%
- \psset{linecolor=pdlblue}%
+\def\pd@sailortocbg{{%
+ \psset{linecolor=pdcolor3}%
\pd@sailorgrad\slidewidth{.1\slideheight}%
\multips(1.5pt,.1\slideheight)(.01\slidewidth,0){100}{%
\qdisk(0,0){.75pt}%
}%
-}
+}}
\setkeys[pd]{section}{sectemp=sectionslide,widesectemp=sectionwideslide}
\def\pd@title#1{%
\parbox[c][.15\textheight]{.75\slidewidth}{\raggedleft#1}%
@@ -5933,12 +6961,11 @@ We hope not to have forgotten anyone.
\pd@usedtocfont\color\pd@@tochltcolor#1%
\end{minipage}%
}
-\def\labelitemi{\footnotesize\color{pdblue}\ensuremath\blacksquare}
-\def\labelitemii{\footnotesize\color{pddblue}\ensuremath\square}
-\def\labelitemiii{\tiny\color{pdblue}\ensuremath\blacksquare}
-\def\labelitemiv{\tiny\color{pddblue}\ensuremath\square}
+\def\labelitemi{\footnotesize\color{pdcolor2}\ensuremath\blacksquare}
+\def\labelitemii{\footnotesize\color{pdcolor1}\ensuremath\square}
+\def\labelitemiii{\tiny\color{pdcolor2}\ensuremath\blacksquare}
+\def\labelitemiv{\tiny\color{pdcolor1}\ensuremath\square}
\pdsetup{list={labelsep=1em,leftmargin=*,itemsep=0pt,topsep=5pt,parsep=0pt}}
-\color{pddblue}
\def\rmdefault{phv}
\def\sfdefault{phv}
\def\Hv@scale{.85}
@@ -5946,76 +6973,79 @@ We hope not to have forgotten anyone.
%
%<*pdupen>
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
-\ProvidesPackage{powerdot-upen}[2005/10/09 v1.1 upen style (PRU,HA)]
+\ProvidesPackage{powerdot-upen}[2005/12/06 v1.2 upen style (PRU,HA)]
\RequirePackage{calc}
\RequirePackage{pifont}
\RequirePackage{pst-grad}
-\definecolor{pddblue}{rgb}{0,.01,.37}
-\definecolor{pdblue}{rgb}{.01,.06,.65}
-\definecolor{pdlblue}{rgb}{.88,.95,1}
-\definecolor{pdgyellow}{rgb}{.98,.78,.18}
+\pddefinepalettes{default}{
+ \colorlet{pdcolor1}{white}
+ \definecolor{pdcolor2}{rgb}{0,.01,.37}
+ \definecolor{pdcolor3}{rgb}{.01,.06,.65}
+ \definecolor{pdcolor4}{rgb}{.98,.78,.18}
+}
\pddefinetemplate{basic}{
- titlefont=\large\bfseries\color{pdgyellow},
+ titlefont=\large\bfseries\color{pdcolor4},
+ clockcolor=pdcolor4,clockpos={.99\slidewidth,\slideheight},
tocslidesep=.6ex,
toctcolor=white,
- tochlcolor=pddblue,
- tochltcolor=pdgyellow,
+ tochlcolor=pdcolor2,
+ tochltcolor=pdcolor4,
ifsetup=portrait,
- textheight=.64\slideheight,
- titlepos={.12\slidewidth,.87\slideheight},
- titlewidth=.83\slidewidth,
- textpos={.12\slidewidth,.78\slideheight},
- textwidth=.83\slidewidth,
- tocsecsep=.6ex,
- stochook=tr,stocpos={.47\slidewidth,.12\slideheight},
- stocfont=\tiny\raggedleft,
- ntochook=tl,ntocpos={.52\slidewidth,.12\slideheight},
- lfpos={.05\slidewidth,.045\slideheight},
- rfpos={.95\slidewidth,.045\slideheight},
+ textheight=.64\slideheight,
+ titlepos={.12\slidewidth,.87\slideheight},
+ titlewidth=.83\slidewidth,
+ textpos={.12\slidewidth,.78\slideheight},
+ textwidth=.83\slidewidth,
+ tocsecsep=.6ex,
+ stochook=tr,stocpos={.47\slidewidth,.12\slideheight},
+ stocfont=\tiny\raggedleft,
+ ntochook=tl,ntocpos={.52\slidewidth,.12\slideheight},
+ lfpos={.05\slidewidth,.045\slideheight},
+ rfpos={.95\slidewidth,.045\slideheight},
ifsetup=landscape,
- titlepos={.175\slidewidth,.87\slideheight},
- titlewidth=.775\slidewidth,
- textheight=.7\slideheight,
- textpos={.175\slidewidth,.77\slideheight},
- textwidth=.775\slidewidth,
- lfpos={.05\slidewidth,.03\slideheight},
- rfpos={.95\slidewidth,.03\slideheight},
- tocpos={.02\slidewidth,.77\slideheight},
- tocwidth=.13\slidewidth,
- tocsecm={\psline[linewidth=.5pt,linecolor=pdgyellow]%
- (-.05,-.05)(.12\slidewidth,-.05)}
+ titlepos={.175\slidewidth,.87\slideheight},
+ titlewidth=.775\slidewidth,
+ textheight=.7\slideheight,
+ textpos={.175\slidewidth,.77\slideheight},
+ textwidth=.775\slidewidth,
+ lfpos={.05\slidewidth,.03\slideheight},
+ rfpos={.95\slidewidth,.03\slideheight},
+ tocpos={.02\slidewidth,.77\slideheight},
+ tocwidth=.13\slidewidth,
+ tocsecm={\psline[linewidth=.5pt,linecolor=pdcolor4]%
+ (-.05,-.05)(.12\slidewidth,-.05)}
}{%
\pdifsetup{landscape}{%
- \psframe[linestyle=none,fillstyle=gradient,gradbegin=pddblue,%
- gradend=pdblue,gradangle=-90,gradmidpoint=0,linewidth=0pt]%
+ \psframe[linestyle=none,fillstyle=gradient,gradbegin=pdcolor2,%
+ gradend=pdcolor3,gradangle=-90,gradmidpoint=0,linewidth=0pt]%
(0,.8\slideheight)(\slidewidth,0)%
- \psframe[linestyle=none,fillstyle=gradient,gradbegin=pddblue,%
- gradend=pddblue,gradmidpoint=0,dimen=outer,linewidth=0pt]%
+ \psframe[linestyle=none,fillstyle=gradient,gradbegin=pdcolor2,%
+ gradend=pdcolor2,gradmidpoint=0,dimen=outer,linewidth=0pt]%
(0,.8\slideheight)(\slidewidth,\slideheight)%
}{%
- \psframe[linestyle=none,fillstyle=gradient,gradbegin=pdblue,%
- gradend=pddblue,gradmidpoint=0,dimen=outer]%
+ \psframe[linestyle=none,fillstyle=gradient,gradbegin=pdcolor3,%
+ gradend=pdcolor2,gradmidpoint=0,dimen=outer]%
(-.01\slidewidth,1.1\slideheight)(1.05\slidewidth,-.01\slideheight)%
}%
}
\pddefinetemplate[basic]{titleslide}{
texthook=t,textpos={.5\slidewidth,.7\slideheight},
- textwidth=.9\slidewidth,textfont=\centering\color{pdgyellow},
+ textwidth=.9\slidewidth,textfont=\centering\color{pdcolor4},
textheight=.63\slideheight,
titlefont=\Large\bfseries\centering,tocpos,ntocpos,stocpos
}{%
\setlength\@tempdima{.8\slideheight+.5pt}%
- \psframe[fillstyle=gradient,gradbegin=pdblue,gradend=pdgyellow,%
+ \psframe[fillstyle=gradient,gradbegin=pdcolor3,gradend=pdcolor4,%
gradangle=90,gradmidpoint=.5,linestyle=none,dimen=outer,linewidth=0pt]%
(0,.8\slideheight)(\slidewidth,\@tempdima)%
\setlength\@tempdima{.2\slideheight+.5pt}%
- \psframe[fillstyle=gradient,gradbegin=pdblue,gradend=pdgyellow,%
+ \psframe[fillstyle=gradient,gradbegin=pdcolor3,gradend=pdcolor4,%
gradangle=90,gradmidpoint=.5,linestyle=none,dimen=outer,linewidth=0pt]%
(0,.2\slideheight)(\slidewidth,\@tempdima)%
}
\pddefinetemplate[basic]{slide}{}{%
\pdifsetup{landscape}{%
- \psframe[fillstyle=gradient,gradbegin=pddblue,gradend=pdblue,%
+ \psframe[fillstyle=gradient,gradbegin=pdcolor2,gradend=pdcolor3,%
gradmidpoint=1,linestyle=none,dimen=outer,linewidth=0pt]%
(0,\slideheight)(.15\slidewidth,0)%
\pd@upenbg{.15\slidewidth}{.05\slidewidth}%
@@ -6030,48 +7060,48 @@ We hope not to have forgotten anyone.
}{%
\setlength\@tempdima{.8\slideheight-.5pt}%
\pdifsetup{landscape}{%
- \psframe[fillstyle=gradient,gradbegin=pddblue,gradend=white,linewidth=0pt,%
+ \psframe[fillstyle=gradient,gradbegin=pdcolor2,gradend=white,linewidth=0pt,%
gradangle=90,gradmidpoint=.2,linestyle=none,dimen=outer]%
(.05\slidewidth,.8\slideheight)(.5\slidewidth,\@tempdima)%
}{%
- \psframe[fillstyle=gradient,gradbegin=pddblue,gradend=white,linewidth=0pt,%
+ \psframe[fillstyle=gradient,gradbegin=pdcolor2,gradend=white,linewidth=0pt,%
gradangle=90,gradmidpoint=.2,linestyle=none,dimen=outer]%
(0,.8\slideheight)(.45\slidewidth,\@tempdima)%
}%
}
\pddefinetemplate[slide]{sectionslide}{
titlewidth=.45\slidewidth,titlehook=c,
- titlefont=\Large\bfseries\centering\color{pdgyellow},
+ titlefont=\Large\bfseries\centering\color{pdcolor4},
ifsetup=landscape,
- titlepos={.59\slidewidth,.53\slideheight},
+ titlepos={.59\slidewidth,.53\slideheight},
ifsetup=portrait,
- titlepos={.5\slidewidth,.53\slideheight}
-}{%
- \psset{linewidth=.8pt,linecolor=pdblue}%
+ titlepos={.5\slidewidth,.53\slideheight}
+}{{%
+ \psset{linewidth=.8pt,linecolor=pdcolor3}%
\pdifsetup{landscape}{%
- \psframe[fillstyle=solid,fillcolor=pddblue,linestyle=none]%
+ \psframe[fillstyle=solid,fillcolor=pdcolor2,linestyle=none]%
(.34\slidewidth,.65\slideheight)(.84\slidewidth,.4\slideheight)%
}{%
- \psframe[fillstyle=solid,fillcolor=pddblue,linestyle=none]%
+ \psframe[fillstyle=solid,fillcolor=pdcolor2,linestyle=none]%
(.16\slidewidth,.65\slideheight)(.84\slidewidth,.4\slideheight)%
}%
-}
+}}
\pddefinetemplate[wideslide]{sectionwideslide}{%
titlewidth=.62\slidewidth,titlehook=c,
- titlefont=\Large\bfseries\centering\color{pdgyellow},
+ titlefont=\Large\bfseries\centering\color{pdcolor4},
titlepos={.5\slidewidth,.53\slideheight}
}{%
- \psframe*[linecolor=pddblue]%
+ \psframe*[linecolor=pdcolor2]%
(.16\slidewidth,.65\slideheight)(.84\slidewidth,.4\slideheight)%
}
\def\pd@upenbg#1#2{%
\setlength\@tempdima{#1+.5pt}%
- \psframe[fillstyle=gradient,gradbegin=pddblue,gradend=white,%
+ \psframe[fillstyle=gradient,gradbegin=pdcolor2,gradend=white,%
gradmidpoint=.4,linestyle=none,dimen=outer,linewidth=0pt]%
(#1,.5\slideheight)(\@tempdima,\slideheight)%
\setlength\@tempdima{.45\slidewidth+#2}%
\setlength\@tempdimb{.8\slideheight-.5pt}%
- \psframe[fillstyle=gradient,gradbegin=pddblue,gradend=white,linewidth=0pt,%
+ \psframe[fillstyle=gradient,gradbegin=pdcolor2,gradend=white,linewidth=0pt,%
gradangle=90,gradmidpoint=.2,linestyle=none,dimen=outer]%
(#2,.8\slideheight)(\@tempdima,\@tempdimb)%
}
@@ -6083,13 +7113,12 @@ We hope not to have forgotten anyone.
}
\pdifsetup{landscape}{\def\pd@tocentry#1{{\tiny\ensuremath\bullet}\ #1}}{}
\def\labelitemi{\footnotesize\ding{110}}
-\def\labelitemii{\color{pdgyellow}\small ---}
+\def\labelitemii{\color{pdcolor4}\small ---}
\def\labelitemiii{\color{red}\scriptsize\ding{115}}
\def\labelitemiv{\color{yellow}\tiny\ensuremath\circ}
\pdsetup{
list={labelsep=1em,leftmargin=*,itemsep=0pt,topsep=5pt,parsep=0pt}
}
-\color{white}
\def\rmdefault{phv}
\def\sfdefault{phv}
\def\Hv@scale{.85}
@@ -6097,32 +7126,36 @@ We hope not to have forgotten anyone.
%
%<*pdbframe>
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
-\ProvidesPackage{powerdot-bframe}[2005/10/09 v1.0 bframe style (PRU,HA)]
+\ProvidesPackage{powerdot-bframe}[2005/12/06 v1.1 bframe style (PRU,HA)]
\RequirePackage{pifont}
\RequirePackage{pst-blur}
-\definecolor{pdred}{rgb}{.7,.1,.1}
-\definecolor{pddblue}{rgb}{.01,.05,.56}
+\pddefinepalettes{default}{
+ \colorlet{pdcolor1}{white}
+ \definecolor{pdcolor2}{rgb}{.7,.1,.1}
+ \definecolor{pdcolor3}{rgb}{.01,.05,.56}
+}
\pddefinetemplate{basic}{
titlehook=B,titlefont=\large\bfseries\centering,
+ clockcolor=pdcolor3,clockpos={.99\slidewidth,\slideheight},
lfpos={.05\slidewidth,.04\slideheight},
rfpos={.95\slidewidth,.04\slideheight},
tocslidesep=.6ex,
toctcolor=white,
- tochlcolor=pdred,
+ tochlcolor=pdcolor2,
ifsetup=portrait,
- titlepos={.5\slidewidth,.91\slideheight},
- titlewidth=.9\slidewidth,
- textpos={.05\slidewidth,.85\slideheight},
- textwidth=.9\slidewidth,textheight=.69\slideheight,
- tocsecsep=.6ex,
- stochook=tr,stocpos={.48\slidewidth,.13\slideheight},
- stocfont=\tiny\raggedleft,
- ntocpos={.52\slidewidth,.13\slideheight},
+ titlepos={.5\slidewidth,.91\slideheight},
+ titlewidth=.9\slidewidth,
+ textpos={.05\slidewidth,.85\slideheight},
+ textwidth=.9\slidewidth,textheight=.69\slideheight,
+ tocsecsep=.6ex,
+ stochook=tr,stocpos={.48\slidewidth,.13\slideheight},
+ stocfont=\tiny\raggedleft,
+ ntocpos={.52\slidewidth,.13\slideheight},
ifsetup=landscape,
- titlepos={.58\slidewidth,.91\slideheight},
- titlewidth=.75\slidewidth,
- textpos={.2\slidewidth,.85\slideheight},
- textwidth=.75\slidewidth,textheight=.69\slideheight
+ titlepos={.58\slidewidth,.91\slideheight},
+ titlewidth=.75\slidewidth,
+ textpos={.2\slidewidth,.85\slideheight},
+ textwidth=.75\slidewidth,textheight=.69\slideheight
}{}
\pddefinetemplate[basic]{titleslide}{
texthook=t,textpos={.5\slidewidth,.75\slideheight},
@@ -6137,12 +7170,12 @@ We hope not to have forgotten anyone.
}\pd@bframebg
\pddefinetemplate[basic]{slide}{
ifsetup=landscape,
- tocpos={.015\slidewidth,.83\slideheight},
- tocwidth=.14\slidewidth,
- tocsecm={\psline[linewidth=.5pt,linecolor=pdred]%
- (-.05,-.05)(.143\slidewidth,-.05)}
-}{%
- \psset{linecolor=pddblue,shadow=true,blur=true,shadowcolor=gray!60}%
+ tocpos={.015\slidewidth,.83\slideheight},
+ tocwidth=.14\slidewidth,
+ tocsecm={\psline[linewidth=.5pt,linecolor=pdcolor2]%
+ (-.05,-.05)(.143\slidewidth,-.05)}
+}{{%
+ \psset{linecolor=pdcolor3,shadow=true,blur=true,shadowcolor=gray!60}%
\pdifsetup{landscape}{%
\psframe*[framearc=.3](0,.87\slideheight)(.17\slidewidth,.15\slideheight)%
\psframe*[framearc=.1](.18\slidewidth,.87\slideheight)(.98\slidewidth,.15\slideheight)%
@@ -6151,33 +7184,33 @@ We hope not to have forgotten anyone.
\psframe*[framearc=.3](.02\slidewidth,.01\slideheight)(.98\slidewidth,.14\slideheight)%
\psframe*[framearc=.1](.02\slidewidth,.87\slideheight)(.98\slidewidth,.15\slideheight)%
}%
-}
+}}
\pddefinetemplate[slide]{sectionslide}{
titlehook=c,titlefont=\Large\bfseries\centering,
ifsetup=landscape,
- titlepos={.575\slidewidth,.55\slideheight},
+ titlepos={.575\slidewidth,.55\slideheight},
ifsetup=portrait,
- titlepos={.5\slidewidth,.55\slideheight},
+ titlepos={.5\slidewidth,.55\slideheight},
}{}
\pddefinetemplate[wideslide]{sectionwideslide}{
titlehook=c,titlefont=\color{white}\Large\bfseries\centering,
titlepos={.5\slidewidth,.55\slideheight},
titlewidth=.9\slidewidth
}{}
-\def\pd@bframebg{%
+\def\pd@bframebg{{%
\pdifsetup{landscape}{%
\def\pd@tempa{.08\slideheight}%
}{%
\def\pd@tempa{.14\slideheight}%
}%
- \psset{linecolor=pddblue,shadow=true,blur=true,shadowcolor=gray!60}%
+ \psset{linecolor=pdcolor3,shadow=true,blur=true,shadowcolor=gray!60}%
\psframe*[framearc=.3](.02\slidewidth,.01\slideheight)(.98\slidewidth,\pd@tempa)%
\psframe*[framearc=.1](.02\slidewidth,.87\slideheight)(.98\slidewidth,.15\slideheight)%
-}
+}}
\def\pd@slidetitle#1{%
\settowidth\@tempdima{#1}%
\ifdim\@tempdima>\pd@@titlewidth\@tempdima\pd@@titlewidth\fi
- \rput[B](0,0){\psframebox*[framearc=.3,fillcolor=pddblue,%
+ \rput[B](0,0){\psframebox*[framearc=.3,fillcolor=pdcolor3,%
shadow=true,blur=true,shadowcolor=gray!60]{%
\parbox[b]\@tempdima{#1}%
}%
@@ -6187,7 +7220,7 @@ We hope not to have forgotten anyone.
{\let\thanks\@gobble\let\footnote\@gobble\settowidth\@tempdima{#1}}%
\ifdim\@tempdima>\pd@@titlewidth\@tempdima\pd@@titlewidth\fi
\advance\@tempdima-6pt
- \psframebox*[framearc=.3,fillcolor=pdred]{\parbox[b]\@tempdima{#1}}%
+ \psframebox*[framearc=.3,fillcolor=pdcolor2]{\parbox[b]\@tempdima{#1}}%
}
\setkeys[pd]{section}{sectemp=sectionslide,widesectemp=sectionwideslide}
\pdifsetup{landscape}{\def\pd@tocslide#1{{\tiny\color{yellow}\ding{117}} #1}}{}
@@ -6198,10 +7231,635 @@ We hope not to have forgotten anyone.
\pdsetup{
list={labelsep=1em,leftmargin=*,itemsep=0pt,topsep=5pt,parsep=0pt}
}
-\color{white}
\def\rmdefault{put}
%</pdbframe>
%
+%<*pdhoratio>
+\NeedsTeXFormat{LaTeX2e}[1995/12/01]
+\ProvidesPackage{powerdot-horatio}[2005/12/06 v1.0 horatio style (ML,HA)]
+\RequirePackage{pifont}
+\pddefinepalettes{default}{
+ \definecolor{pdcolor1}{HTML}{004477}
+ \definecolor{pdcolor2}{HTML}{5588ae}
+}
+\pddefinetemplate{basic}{
+ titlehook=Bl,
+ titlepos={.2\slidewidth,.91\slideheight},
+ titlewidth=.77\slidewidth,
+ titlefont=\color{white}\large\bfseries\raggedright,
+ clockcolor=white,clockpos={.99\slidewidth,\slideheight},
+ lfpos={.2\slidewidth,.04\slideheight},
+ lffont=\tiny\color{white},
+ rfpos={.97\slidewidth,.04\slideheight},
+ rffont=\tiny\color{white},
+ tocslidesep=.6ex,
+ textheight=.68\slideheight,
+ ifsetup=landscape,
+ toctcolor=pdcolor1,
+ tochlcolor=pdcolor1,
+ tochltcolor=white,
+ tocpos={.01\slidewidth,.81\slideheight},
+ tocwidth=.14\slidewidth,
+ tocsecm={\psline[linewidth=.5pt,linecolor=pdcolor1]%
+ (-.05,-.05)(.143\slidewidth,-.05)},
+ ifsetup=portrait,
+ toctcolor=white,
+ tochlcolor=white,
+ tochltcolor=pdcolor1,
+ tocsecsep=.6ex,
+ stochook=tr,stocpos={.55\slidewidth,.09\slideheight},
+ stocfont=\tiny\raggedleft,
+ ntocpos={.57\slidewidth,.09\slideheight}
+}{{%
+ \psset{linecolor=pdcolor1}%
+ \psframe*(0,0)(\slidewidth,.1\slideheight)%
+ \psframe*(0,.85\slideheight)(\slidewidth,\slideheight)%
+ \psset{linecolor=pdcolor2,linewidth=1pt}%
+ \psline(.17\slidewidth,0)(.17\slidewidth,.1\slideheight)%
+ \psline(.17\slidewidth,.85\slideheight)(.17\slidewidth,\slideheight)%
+}}
+\pddefinetemplate[basic]{titleslide}{
+ titlefont=\large\bfseries\centering,
+ texthook=t,
+ textpos={.5\slidewidth,.7\slideheight},
+ textwidth=.75\slidewidth,
+ textfont=\centering,
+ textheight=.57\slideheight,
+ ifsetup=landscape,tocpos,ifsetup=portrait,stocpos,ntocpos
+}{}
+\pddefinetemplate[basic]{slide}{
+ textpos={.2\slidewidth,.81\slideheight},
+ textwidth=.77\slidewidth,
+ ifsetup=portrait,
+ textpos={.05\slidewidth,.81\slideheight},
+ textwidth=.9\slidewidth
+}{%
+ \pdifsetup{landscape}{%
+ \psline[linewidth=1pt,linecolor=pdcolor2]%
+ (.17\slidewidth,0)(.17\slidewidth,\slideheight)%
+ }{}%
+}
+\pddefinetemplate[basic]{wideslide}{
+ textpos={.03\slidewidth,.81\slideheight},
+ textwidth=.94\slidewidth,
+ ifsetup=landscape,tocpos,ifsetup=portrait,
+ textpos={.05\slidewidth,.81\slideheight},
+ textwidth=.9\slidewidth
+}{}
+\pddefinetemplate[slide]{sectionslide}{
+ titlehook=c,titlefont=\Large\bfseries\centering,
+ ifsetup=landscape,
+ titlepos={.6\slidewidth,.55\slideheight},
+ titlewidth=.7\slidewidth,
+ ifsetup=portrait,
+ titlepos={.5\slidewidth,.55\slideheight},
+ titlewidth=.75\slidewidth
+}{}
+\pddefinetemplate[wideslide]{sectionwideslide}{
+ titlehook=c,titlefont=\Large\bfseries\centering,
+ titlepos={.5\slidewidth,.55\slideheight},
+ titlewidth=.75\slidewidth
+}{}
+\setkeys[pd]{section}{sectemp=sectionslide,widesectemp=sectionwideslide}
+\def\labelitemi{\small\ding{'64}}
+\def\labelitemii{\small\ding{'70}}
+\def\labelitemiii{\small\ding{'63}}
+\def\labelitemiv{\small\ding{'67}}
+\pdsetup{
+ list={labelsep=1em,leftmargin=*,itemsep=0pt,topsep=5pt,parsep=0pt}
+}
+\def\rmdefault{cmss}
+%</pdhoratio>
+%
+%<*pdpaintings>
+\NeedsTeXFormat{LaTeX2e}[1995/12/01]
+\ProvidesPackage{powerdot-paintings}[2005/12/06 v1.0 paintings (TDK,HA)]
+\RequirePackage{times}
+\RequirePackage{pifont}
+\pddefinepalettes{Syndics}{% Rembrandt van Rijn: "The Syndics" - 1662
+ \definecolor{pdcolor1}{rgb}{.06,.06,.06} % Black hat
+ \definecolor{pdcolor2}{rgb}{.97,.97,.94} % Collar of rising man
+ \definecolor{pdcolor3}{rgb}{.22,.09,.09} % Tablecloth lower right
+ \definecolor{pdcolor4}{rgb}{.97,.97,.91} % Book page
+ \definecolor{pdcolor5}{rgb}{.58,.19,.13} % Tablecloth lower left
+ \definecolor{pdcolor6}{rgb}{.42,.2,.22} % Back wall
+ \definecolor{pdcolor7}{rgb}{.84,.71,.55} % Forehead of man in background
+}{Skater}{% Gilbert Stuart: "The Skater (Portrait of William Grant)" - 1782
+ \definecolor{pdcolor1}{rgb}{.09,.06,.09} % Hat
+ \definecolor{pdcolor2}{rgb}{1,.97,.94} % White collar
+ \definecolor{pdcolor3}{rgb}{.26,.22,.19} % Ice
+ \definecolor{pdcolor4}{rgb}{.94,.91,.87} % Sky
+ \definecolor{pdcolor5}{rgb}{.78,.52,.45} % Right cheek
+ \definecolor{pdcolor6}{rgb}{.45,.39,.26} % Ground under small figures
+ \definecolor{pdcolor7}{rgb}{.71,.71,.68} % Frozen lake at left
+}{GoldenGate}{% Giotto: "Meeting of Joachim and Anne at the Golden Gate" - 1305-10
+ \definecolor{pdcolor1}{rgb}{.13,.09,.13} % Dress of woman in black
+ \definecolor{pdcolor2}{rgb}{.94,.94,.91} % Bridge
+ \definecolor{pdcolor3}{rgb}{.06,.09,.22} % Blue sky
+ \definecolor{pdcolor4}{rgb}{.94,.91,.87} % Dress of woman with shawl
+ \definecolor{pdcolor5}{rgb}{.52,.26,.26} % Joachim's robe
+ \definecolor{pdcolor6}{rgb}{.65,.35,.16} % Anne's robe
+ \definecolor{pdcolor7}{rgb}{.91,.84,.42} % Joachim's halo
+}{Lamentation}{% Giotto: "Lamentation of Christ" - 1305-10
+ \definecolor{pdcolor1}{rgb}{.16,.09,.06} % Dark hair of man
+ \definecolor{pdcolor2}{rgb}{.91,.91,.94} % White robe at lower left
+ \definecolor{pdcolor3}{rgb}{.19,.22,.29} % Cloak of Christ
+ \definecolor{pdcolor4}{rgb}{.94,.94,.91} % Skin of Christ
+ \definecolor{pdcolor5}{rgb}{.55,.26,.22} % Mary Magdalene dress
+ \definecolor{pdcolor6}{rgb}{.19,.26,.52} % Sky
+ \definecolor{pdcolor7}{rgb}{.84,.74,.71} % Mary Magdalene sleeve
+}{HolyWood}{% Piero della Francesca: "Discovery of the Holy Wood" - ca. 1455
+ \definecolor{pdcolor1}{rgb}{.19,.21,.19} % Horse's ear
+ \definecolor{pdcolor2}{rgb}{.97,.97,.94} % Attendant's neck
+ \definecolor{pdcolor3}{rgb}{.29,.13,.13} % Attendant's russet dress
+ \definecolor{pdcolor4}{rgb}{.94,.94,.91} % Horse's rear
+ \definecolor{pdcolor5}{rgb}{.22,.35,.55} % Queen of Sheba's dress
+ \definecolor{pdcolor6}{rgb}{.74,.48,.42} % Dusky rose dress
+ \definecolor{pdcolor7}{rgb}{.84,.71,.61} % Queen of Sheba's hand
+}{Europa}{% Titian: "The Rape of Europa" - 1559-62
+ \definecolor{pdcolor1}{rgb}{.09,.06,.03} % Bull's eye
+ \definecolor{pdcolor2}{rgb}{1,.97,.84} % Europa's bodice
+ \definecolor{pdcolor3}{rgb}{.16,.13,.09} % Sea
+ \definecolor{pdcolor4}{rgb}{1,.97,.84} % Europa's breast
+ \definecolor{pdcolor5}{rgb}{.58,.26,.13} % Flying cape
+ \definecolor{pdcolor6}{rgb}{.32,.29,.39} % Deep blue sky
+ \definecolor{pdcolor7}{rgb}{.84,.78,.52} % Bull's right front leg
+}{Moitessier}{% Jean Auguste Dominque Ingres: "Madame Moitessier, Standing" - 1851
+ \definecolor{pdcolor1}{rgb}{.06,.03,.03} % Black dress
+ \definecolor{pdcolor2}{rgb}{.87,.84,.78} % Accessories at lower left
+ \definecolor{pdcolor3}{rgb}{.22,.03,.06} % Deep red wall
+ \definecolor{pdcolor4}{rgb}{1,.97,.91} % Accessories at lower left
+ \definecolor{pdcolor5}{rgb}{.78,.35,.32} % Flower in hair
+ \definecolor{pdcolor6}{rgb}{.58,.55,.71} % Blue jewel on left wrist
+ \definecolor{pdcolor7}{rgb}{1,.78,.65} % Left forearm
+}{MayThird}{% Francisco Goya: "Third of May, 1808" - 1814
+ \definecolor{pdcolor1}{rgb}{0,0,0} % Black sky
+ \definecolor{pdcolor2}{rgb}{.97,.97,.94} % Shirt of victim
+ \definecolor{pdcolor3}{rgb}{.29,.19,.13} % Face of victim
+ \definecolor{pdcolor4}{rgb}{.97,.97,.97} % Left side of lantern
+ \definecolor{pdcolor5}{rgb}{.55,.26,.22} % Blood of man in foreground
+ \definecolor{pdcolor6}{rgb}{.68,.48,.16} % Trousers of victim
+ \definecolor{pdcolor7}{rgb}{.68,.65,.58} % Coattails of foreground soldier
+}{PearlEarring}{% Johannes Vermeer: "Girl with a Pearl Earring" - 1665
+ \definecolor{pdcolor1}{rgb}{.06,.06,.06} % Pupil of eye
+ \definecolor{pdcolor2}{rgb}{.97,.97,.91} % Sclera of left eye
+ \definecolor{pdcolor3}{rgb}{.26,.29,.42} % Blue head scarf
+ \definecolor{pdcolor4}{rgb}{1,1,.9} % Reflection off earring
+ \definecolor{pdcolor5}{rgb}{.71,.61,.39} % Beige head scarf
+ \definecolor{pdcolor6}{rgb}{.65,.35,.29} % Lower lip
+ \definecolor{pdcolor7}{rgb}{.68,.71,.78} % Light blue over forehead
+}{Charon}{% Michelangelo: "Charon" (Detail from "The Last Judgment" - 1534-41
+ \definecolor{pdcolor1}{rgb}{.91,.91,.87} % Sclera of right eye
+ \definecolor{pdcolor2}{rgb}{.13,.13,.13} % Pupil of right eye
+ \definecolor{pdcolor3}{rgb}{.39,.39,.48} % Left ear
+ \definecolor{pdcolor4}{rgb}{.91,.91,.94} % Right forehead
+ \definecolor{pdcolor5}{rgb}{.65,.71,.84} % Sky at upper right
+ \definecolor{pdcolor6}{rgb}{.81,.78,.65} % Right eyebrow
+ \definecolor{pdcolor7}{rgb}{.42,.35,.39} % Moustache
+}
+\pddefinetemplate{titleslide}{
+ titlefont=\LARGE\sl\color{pdcolor4}\centering,
+ clockcolor=pdcolor4,clockpos={.99\slidewidth,\slideheight},
+ texthook=t,
+ textpos={.5\slidewidth,.65\slideheight},
+ textwidth=.8\slidewidth,
+ textfont=\large\color{pdcolor4}\centering,
+ textheight=.5\slideheight
+}{%
+ \psframe*[linecolor=pdcolor3](0,\slideheight)(\slidewidth,0)%
+}
+\pddefinetemplate{slide}{
+ titlepos={.05\slidewidth,.93\slideheight},
+ titlewidth=.9\slidewidth,
+ titlefont=\bfseries\color{pdcolor4}\raggedright,
+ clockcolor=pdcolor4,clockpos={.99\slidewidth,\slideheight},
+ textpos={.05\slidewidth,.85\slideheight},
+ textwidth=.9\slidewidth,
+ rfpos={.985\slidewidth,.015\slideheight},
+ rftemp=\pd@@rf,
+ lfpos={.015\slidewidth,.015\slideheight},
+ textheight=.8\slideheight
+}{%
+ \psframe*[linecolor=pdcolor2](0,0)(\slidewidth,.89\slideheight)%
+ \psframe*[linecolor=pdcolor3](0,\slideheight)(\slidewidth,.89\slideheight)%
+}
+\pddefinetemplate[slide]{wideslide}{}{}
+\pddefinetemplate[titleslide]{sectionslide}{
+ titlehook=c,titlefont=\LARGE\color{pdcolor4}\centering,
+ titlepos={.5\slidewidth,.55\slideheight},
+ titlewidth=.8\slidewidth
+}{}
+\setkeys[pd]{section}{
+ sectemp=sectionslide,widesectemp=sectionslide
+}
+\def\labelitemi{\color{pdcolor3}\ensuremath\bullet}
+\def\labelitemii{\color{pdcolor5}\ensuremath\bullet}
+\def\labelitemiii{\color{pdcolor6}\ensuremath\bullet}
+\def\labelitemiv{\color{pdcolor1}\ensuremath\bullet}
+\pdsetup{
+ list={labelsep=1em,leftmargin=*,itemsep=0pt,topsep=5pt,parsep=0pt},
+ dmaxheight=.85\slideheight
+}
+\def\familydefault{\sfdefault}
+%</pdpaintings>
+%
+%<*pdklope>
+\NeedsTeXFormat{LaTeX2e}[1995/12/01]
+\ProvidesPackage{powerdot-klope}[2005/12/06 v1.0 klope style (CE,HA)]
+\RequirePackage{pifont}
+\RequirePackage{pst-slpe}
+\pddefinepalettes{Spring}{
+ \definecolor{pdcolor1}{rgb}{.475,.376,.271} % cedar
+ \definecolor{pdcolor2}{rgb}{.682,.749,.376} % moss
+ \definecolor{pdcolor3}{rgb}{1,.949,.749} % sand
+ \definecolor{pdcolor4}{rgb}{.749,.675,.376} % driftwood
+ \colorlet{myiacolor}{pdcolor4}
+ \colorlet{sectitlecolor}{pdcolor2}
+ \colorlet{stitlecolor}{pdcolor3}
+ \colorlet{lgsquare}{pdcolor1}
+ \colorlet{smsquare}{pdcolor4}
+ \colorlet{slidebg}{pdcolor3}
+ \colorlet{slidehbg}{pdcolor2}
+ \colorlet{mytoctcolor}{pdcolor1}
+ \colorlet{mytochltcolor}{pdcolor3}
+ \def\pd@klopebg{%
+ \psframe[linestyle=none,fillstyle=slope,slopebegin=pdcolor3,%
+ slopeend=pdcolor2,slopeangle=270](0,0)(\slidewidth,\slideheight)%
+ }
+}{PastelFlower}{
+ \definecolor{pdcolor1}{rgb}{.349,.5,.5} % sea green
+ \definecolor{pdcolor2}{rgb}{.8,.706,.561} % brown
+ \definecolor{pdcolor3}{rgb}{.812,.902,.902} % sky blue
+ \definecolor{pdcolor4}{rgb}{.8,.561,.561} % rose
+ \colorlet{myiacolor}{pdcolor4}
+ \colorlet{sectitlecolor}{pdcolor4}
+ \colorlet{stitlecolor}{pdcolor3}
+ \colorlet{lgsquare}{pdcolor1}
+ \colorlet{smsquare}{pdcolor4}
+ \colorlet{slidebg}{pdcolor3}
+ \colorlet{slidehbg}{pdcolor2}
+ \colorlet{mytoctcolor}{pdcolor1}
+ \colorlet{mytochltcolor}{pdcolor3}
+ \def\pd@klopebg{%
+ \psframe[linestyle=none,fillstyle=slope,slopebegin=pdcolor3,%
+ slopeend=pdcolor2,slopeangle=270](0,0)(\slidewidth,\slideheight)%
+ }
+}{BlueWater}{
+ \definecolor{pdcolor1}{rgb}{.902,.957,1} % lightblue
+ \definecolor{pdcolor2}{rgb}{.376,.588,.749} % medblue
+ \definecolor{pdcolor3}{rgb}{.749,.635,.376} % lighttan
+ \definecolor{pdcolor4}{rgb}{1,.8,.749} % pink
+ \colorlet{myiacolor}{pdcolor3}
+ \colorlet{sectitlecolor}{pdcolor1}
+ \colorlet{stitlecolor}{pdcolor2}
+ \colorlet{lgsquare}{pdcolor3}
+ \colorlet{smsquare}{pdcolor4}
+ \colorlet{slidebg}{pdcolor2}
+ \colorlet{slidehbg}{pdcolor1}
+ \colorlet{mytoctcolor}{pdcolor3}
+ \colorlet{mytochltcolor}{pdcolor2}
+ \def\pd@klopebg{%
+ \psframe*[linecolor=pdcolor2](0,0)(\slidewidth,\slideheight)%
+ }
+}{BlackWhite}{
+ \definecolor{pdcolor1}{rgb}{0,0,0} % white
+ \definecolor{pdcolor2}{rgb}{1,1,1} % black
+ \definecolor{pdcolor3}{rgb}{.5,.5,.5} % gray
+ \colorlet{myiacolor}{pdcolor3}
+ \colorlet{sectitlecolor}{pdcolor1}
+ \colorlet{stitlecolor}{pdcolor1}
+ \colorlet{lgsquare}{pdcolor1}
+ \colorlet{smsquare}{pdcolor3}
+ \colorlet{slidebg}{pdcolor2}
+ \colorlet{slidehbg}{pdcolor2}
+ \colorlet{mytoctcolor}{pdcolor3}
+ \colorlet{mytochltcolor}{pdcolor1}
+ \def\pd@klopebg{%
+ \psframe*[linecolor=pdcolor2](0,0)(\slidewidth,\slideheight)%
+ }
+}
+\pddefinetemplate{titleslide}{
+ textpos={.15\slidewidth,.75\slideheight},
+ textwidth=.7\slidewidth,
+ titlefont=\bfseries\LARGE\centering,
+ textfont=\centering,
+ textheight=.67\slideheight,
+ clockhook=t,clockpos={.5\slidewidth,.045\slideheight},
+ clockalign=1,clockcolor=pdcolor1
+}{{%
+ \psset{linewidth=0pt}\pd@klopebg
+ \pd@klopesq+-01\pd@klopesq++00\pd@klopesq-+10\pd@klopesq--11%
+}}
+\pddefinetemplate{slide}{
+ titlepos={.15\slidewidth,.93\slideheight},
+ titlewidth=.7\slidewidth,
+ titlefont=\bfseries\Large\color{stitlecolor}\centering,
+ stochook=t,
+ stocpos={.5\slidewidth,.89\slideheight},
+ stocwidth=.7\slidewidth,stocorient=h,
+ toctcolor=mytoctcolor,
+ tochltcolor=mytochltcolor,
+ tocsecsep=4pt,
+ textpos={.05\slidewidth,.8\slideheight},
+ textwidth=.9\slidewidth,
+ textheight=.72\slideheight,
+ lfpos={.015\slidewidth,.015\slideheight},
+ lffont=\tiny,
+ rfpos={.985\slidewidth,.015\slideheight},
+ rffont=\tiny,
+ iacolor=myiacolor,
+ clockhook=t,clockpos={.5\slidewidth,.045\slideheight},
+ clockalign=1,clockcolor=pdcolor1
+}{{%
+ \psset{linewidth=0pt}%
+ \psframe*[linecolor=slidebg](0,0)(\slidewidth,\slideheight)%
+ \psframe*[linecolor=slidehbg](0,.85\slideheight)(\slidewidth,\slideheight)%
+ \pd@klopesq+-01\pd@klopesq--11%
+ \psset{linewidth=.1pt}%
+ \psline[linecolor=pdcolor1](0,.05\slideheight)(\slidewidth,.05\slideheight)%
+ \psline[linecolor=slidehbg](0,.055\slideheight)(\slidewidth,.055\slideheight)%
+}}
+\pddefinetemplate[slide]{wideslide}{}{}
+\pddefinetemplate[slide]{sectionslide}{
+ titlepos={.15\slidewidth,.55\slideheight},
+ titlefont=\bfseries\LARGE\color{sectitlecolor}\centering,
+ textpos,lfpos,rfpos
+}{{%
+ \psframe*[linecolor=slidebg](0,0)(\slidewidth,.5\slideheight)%
+ \pd@klopesq++00\pd@klopesq-+10%
+}}
+\def\pd@klopesq#1#2#3#4{%
+ \@tempdima#3\slidewidth\@tempdimb#4\slideheight
+ \advance\@tempdima#1.3cm\advance\@tempdimb#2.3cm
+ \edef\pd@tempa{\the\@tempdima}\edef\pd@tempb{\the\@tempdimb}%
+ \advance\@tempdima#1.8cm\advance\@tempdimb#2.8cm
+ \psframe*[linecolor=lgsquare](\pd@tempa,\pd@tempb)%
+ (\@tempdima,\@tempdimb)%
+ \@tempdima\pd@tempa\@tempdimb\pd@tempb
+ \advance\@tempdima#1.3cm\advance\@tempdimb#2.3cm
+ \edef\pd@tempa{\the\@tempdima}\edef\pd@tempb{\the\@tempdimb}%
+ \advance\@tempdima#1.7cm\advance\@tempdimb#2.7cm
+ \psframe*[linecolor=smsquare](\pd@tempa,\pd@tempb)%
+ (\@tempdima,\@tempdimb)%
+}
+\def\pd@tocdisplay#1{\pd@usedtocfont\color\pd@@toctcolor#1}
+\def\pd@tochighlight#1{\pd@usedtocfont\color\pd@@tochltcolor#1}
+\setkeys[pd]{section}{sectemp=sectionslide,widesectemp=sectionslide}
+\def\labelitemi{\footnotesize\ding{110}}
+\def\labelitemii{\small\ding{117}}
+\def\labelitemiii{\tiny\ding{110}}
+\def\labelitemiv{\tiny\ding{117}}
+\pdsetup{
+ list={labelsep=1em,leftmargin=*,itemsep=0pt,topsep=5pt,parsep=0pt}
+}
+\def\rmdefault{cmss}
+%</pdklope>
+%
+%<*pdjefka>
+\NeedsTeXFormat{LaTeX2e}[1995/12/01]
+\ProvidesPackage{powerdot-jefka}[2005/12/06 v1.0 jefka style (CE,HA)]
+\RequirePackage{pifont}
+\pddefinepalettes{brown}{
+ \definecolor{pdcolor1}{RGB}{121,96,69}
+ \definecolor{pdcolor2}{rgb}{1,.949,.749}
+ \definecolor{pdcolor3}{RGB}{190,163,117}
+}{seagreen}{
+ \definecolor{pdcolor1}{HTML}{FFE680}
+ \definecolor{pdcolor2}{rgb}{.349,.5,.5}
+ \definecolor{pdcolor3}{HTML}{FFC080}
+}{blue}{
+ \definecolor{pdcolor1}{rgb}{.902,.957,1}
+ \definecolor{pdcolor2}{HTML}{00487D}
+ \definecolor{pdcolor3}{rgb}{.749,.635,.376}
+}{white}{
+ \definecolor{pdcolor1}{rgb}{0,0,0}
+ \definecolor{pdcolor2}{rgb}{1,1,1}
+ \definecolor{pdcolor3}{rgb}{.5,.5,.5}
+}
+\pddefinetemplate{titleslide}{
+ textpos={.15\slidewidth,.75\slideheight},
+ textwidth=.7\slidewidth,
+ titlefont=\bfseries\LARGE\centering,
+ textfont=\centering,
+ textheight=.67\slideheight,
+ clockhook=t,clockpos={.5\slidewidth,.045\slideheight},
+ clockalign=1,clockcolor=pdcolor1
+}{%
+ \psframe*[linewidth=0pt,linecolor=pdcolor2]%
+ (0,0)(\slidewidth,\slideheight)%
+}
+\pddefinetemplate{slide}{
+ rfpos={.985\slidewidth,.015\slideheight},
+ rffont=\tiny,
+ iacolor=pdcolor3,
+ clockhook=t,clockpos={.5\slidewidth,.045\slideheight},
+ clockalign=1,clockcolor=pdcolor1,
+ titlewidth=.7\slidewidth,
+ titlefont=\bfseries\LARGE\color{pdcolor1},
+ textwidth=.9\slidewidth,
+ titlepos={.05\slidewidth,.93\slideheight},
+ textpos={.05\slidewidth,.87\slideheight},
+ textheight=.76\slideheight
+}{{%
+ \psset{linewidth=0pt}%
+ \psframe*[linecolor=pdcolor2](0,0)(\slidewidth,\slideheight)%
+ \pspolygon*[linecolor=pdcolor1]%
+ (0,0)(.1\slidewidth,0)(0,.1\slideheight)
+ \pspolygon*[linecolor=pdcolor1](\slidewidth,\slideheight)%
+ (.9\slidewidth,\slideheight)(\slidewidth,.9\slideheight)%
+}}
+\pddefinetemplate[slide]{sectionslide}{
+ titlehook=t,titlepos={.5\slidewidth,.55\slideheight},
+ titlefont=\bfseries\LARGE\color{pdcolor1}\centering
+}{}
+\pddefinetemplate[slide]{wideslide}{}{}
+\setkeys[pd]{section}{sectemp=sectionslide,widesectemp=sectionslide}
+\def\labelitemi{\footnotesize\ding{110}}
+\def\labelitemii{\small\ding{117}}
+\def\labelitemiii{\tiny\ding{110}}
+\def\labelitemiv{\tiny\ding{117}}
+\pdsetup{
+ list={labelsep=1em,leftmargin=*,itemsep=0pt,topsep=5pt,parsep=0pt}
+}
+\def\rmdefault{cmss}
+%</pdjefka>
+%
+%<*pdpazik>
+\NeedsTeXFormat{LaTeX2e}[1995/12/01]
+\ProvidesPackage{powerdot-pazik}[2005/12/06 v1.0 pazik style (CE,HA)]
+\RequirePackage{pifont}
+\RequirePackage{pst-char}
+\RequirePackage{pst-grad}
+\RequirePackage{type1cm}
+\DeclareFixedFont\pd@psmath{OML}{cmm}{m}{it}{2cm}
+\DeclareFixedFont\pd@psroman{OT1}{cmr}{m}{n}{2cm}
+\pddefinepalettes{red}{
+ \definecolor{pdcolor1}{RGB}{225,187,100} % gold
+ \definecolor{pdcolor2}{RGB}{111,24,17} % brick red
+ \definecolor{pdcolor3}{RGB}{0,0,0} % black
+ \colorlet{mytoctcolor}{pdcolor1}
+ \colorlet{mytochlcolor}{pdcolor2!90}
+ \colorlet{mytitlecolor}{pdcolor1}
+ \colorlet{myiacolor}{pdcolor1!65!pdcolor3}
+ \def\pd@pazik@i{\pd@psmath\char25}
+ \def\pd@pazik@ii{\pd@psroman e}
+ \def\pd@pazik@iii{\pd@psroman i}
+ \def\pd@pazik@iv{\pd@psmath\char16}
+}{brown}{
+ \definecolor{pdcolor1}{RGB}{22,80,100} % blue
+ \definecolor{pdcolor2}{rgb}{.749,.635,.376} % tan
+ \definecolor{pdcolor3}{RGB}{0,0,0} % black
+ \colorlet{mytoctcolor}{pdcolor2}
+ \colorlet{mytochlcolor}{pdcolor1}
+ \colorlet{mytitlecolor}{pdcolor2}
+ \colorlet{myiacolor}{pdcolor1!70}
+ \def\pd@pazik@i{\pd@psmath h}
+ \def\pd@pazik@ii{\pd@psmath e}
+ \def\pd@pazik@iii{\pd@psmath c}
+ \def\pd@pazik@iv{\pd@psmath\char11}
+}
+\pddefinetemplate{titleslide}{
+ textpos={.15\slidewidth,.75\slideheight},
+ textwidth=.7\slidewidth,
+ titlefont=\bfseries\LARGE\centering,
+ textfont=\centering,
+ ifsetup=landscape,
+ textheight=.67\slideheight,
+ ifsetup=portrait,
+ textheight=.55\slideheight
+}{{%
+ \psframe*[linestyle=none,linecolor=pdcolor2!90]%
+ (0,0)(\slidewidth,\slideheight)%
+ \psset{linestyle=none,fillstyle=gradient,gradbegin=pdcolor2!90,%
+ gradend=pdcolor3,gradmidpoint=0,linewidth=0pt}%
+ \pdifsetup{landscape}{%
+ \psframe[gradangle=90](0\slidewidth,0\slideheight)%
+ (.15\slidewidth,\slideheight)%
+ \pd@pazik@lbg
+ }{%
+ \psframe[gradangle=180](0\slidewidth,0\slideheight)%
+ (\slidewidth,.2\slideheight)%
+ \pd@pazik@pbg
+ }%
+}}
+\pddefinetemplate{basic}{%
+ titlefont=\bfseries\LARGE\color{mytitlecolor},
+ rfpos={.98\slidewidth,.015\slideheight},
+ rffont=\tiny,lffont=\tiny,
+ iacolor=myiacolor,
+ clockhook=t,
+ clockalign=1,
+ clockcolor=pdcolor1,
+ toctcolor=mytoctcolor,
+ tochltcolor=mytoctcolor,
+ tochlcolor=mytochlcolor,
+ tocfont=\tiny\raggedright,
+ ifsetup=landscape,
+ textheight=.82\slideheight,
+ titlepos={.02\slidewidth,.94\slideheight},
+ titlewidth=.96\slidewidth,
+ ifsetup=portrait,
+ lfpos={.02\slidewidth,.015\slideheight},
+ clockpos={.5\slidewidth,.035\slideheight},
+ titlepos={.02\slidewidth,.945\slideheight},
+ titlewidth=.96\slidewidth,
+ textpos={.02\slidewidth,.87\slideheight},
+ textwidth=.96\slidewidth,
+}{{%
+ \psframe*[linestyle=none,linecolor=pdcolor2!90]%
+ (0,0)(\slidewidth,\slideheight)%
+ \psset{linestyle=none,fillstyle=gradient,gradbegin=pdcolor2!90,%
+ gradend=pdcolor3,gradmidpoint=0,gradangle=90,linewidth=0pt}%
+ \pdifsetup{landscape}{%
+ \psframe(.145\slidewidth,\slideheight)(\slidewidth,.9\slideheight)%
+ \pd@pazik@lbg
+ }{%
+ \psframe(0,\slideheight)(\slidewidth,.9\slideheight)%
+ \pd@pazik@pbg
+ }%
+}}
+\pddefinetemplate[basic]{slide}{
+ ifsetup=landscape,
+ lfpos={.17\slidewidth,.015\slideheight},
+ clockpos={.07\slidewidth,.045\slideheight},
+ textpos={.17\slidewidth,.87\slideheight},
+ textwidth=.81\slidewidth,
+ tocwidth=.12\slidewidth,
+ tocslidesep=.3em,tocslideindent=.2em,
+ tocsecm={\psline[linewidth=.2pt,linecolor=pdcolor1]%
+ (-.05,-.05)(.12\slidewidth,-.05)},
+ tocpos={.015\slidewidth,.86\slideheight},
+ ifsetup=portrait,
+ textheight=.65\slideheight,tocsecsep=.2em,
+ stochook=tr,stocpos={.44\slidewidth,.18\slideheight},
+ stocfont=\tiny\raggedleft,
+ tocslidesep=.2em,
+ ntocpos={.56\slidewidth,.18\slideheight},
+ ntocfont=\tiny\raggedright
+}{%
+ \pdifsetup{landscape}{%
+ \psframe*[linestyle=none,linecolor=pdcolor3]%
+ (0,0)(.15\slidewidth,\slideheight)%
+ }{%
+ \psframe*[linestyle=none,linecolor=pdcolor3]%
+ (0,0)(\slidewidth,.2\slideheight)%
+ }%
+}
+\pddefinetemplate[basic]{wideslide}{%
+ ifsetup=landscape,
+ tocpos,textpos={.02\slidewidth,.87\slideheight},
+ textwidth=.96\slidewidth,
+ lfpos={.02\slidewidth,.015\slideheight},
+ clockpos={.5\slidewidth,.045\slideheight},
+ ifsetup=portrait,
+ textheight=.78\slideheight,
+}{%
+ \pdifsetup{landscape}{%
+ \psframe*[linestyle=none,linecolor=pdcolor3]%
+ (0,\slideheight)(.15\slidewidth,.9\slideheight)%
+ }{}%
+}
+\pddefinetemplate[slide]{sectionslide}{%
+ titlehook=c,
+ titlefont=\bfseries\LARGE\centering,
+ titlewidth=.9\slidewidth,
+ ifsetup=landscape,
+ titlepos={.585\slidewidth,.6\slideheight},
+ ifsetup=portrait,
+ titlepos={.5\slidewidth,.6\slideheight}
+}{%
+}
+\pddefinetemplate[wideslide]{sectionwideslide}{%
+ titlehook=c,
+ titlefont=\bfseries\LARGE\centering,
+ titlepos={.5\slidewidth,.6\slideheight},
+ titlewidth=.9\slidewidth
+}{}
+\def\pd@pazik@lbg{%
+ \psset{fillstyle=solid,fillcolor=pdcolor2}%
+ \rput{-10}(.35\slidewidth,.6\slideheight){\pscharpath{\pd@pazik@i}}%
+ \rput{15}(.4\slidewidth,.3\slideheight){\pscharpath{\pd@pazik@ii}}%
+ \rput{-20}(.8\slidewidth,.2\slideheight){\pscharpath{\pd@pazik@iii}}%
+ \rput{30}(.7\slidewidth,.7\slideheight){\pscharpath{\pd@pazik@iv}}%
+}
+\def\pd@pazik@pbg{%
+ \psset{fillstyle=solid,fillcolor=pdcolor2}%
+ \rput{-10}(.23\slidewidth,.78\slideheight){\pscharpath{\pd@pazik@i}}%
+ \rput{15}(.35\slidewidth,.4\slideheight){\pscharpath{\pd@pazik@ii}}%
+ \rput{-20}(.8\slidewidth,.3\slideheight){\pscharpath{\pd@pazik@iii}}%
+ \rput{30}(.7\slidewidth,.7\slideheight){\pscharpath{\pd@pazik@iv}}%
+}
+\setkeys[pd]{section}{sectemp=sectionslide,widesectemp=sectionwideslide}
+\def\labelitemi{\footnotesize\ding{110}}
+\def\labelitemii{\small\ding{117}}
+\def\labelitemiii{\tiny\ding{110}}
+\def\labelitemiv{\tiny\ding{117}}
+\pdsetup{
+ list={labelsep=1em,leftmargin=*,itemsep=0pt,topsep=5pt,parsep=0pt}
+}
+\def\rmdefault{cmss}
+%</pdpazik>
+%
%<*pdstyletest>
%%
%% For testing, enter your style below.
@@ -6214,12 +7872,14 @@ We hope not to have forgotten anyone.
orient=landscape,
%% orient=portrait,
size=11pt,
-%% hlsections
+%% hlsections,
+ clock
]{powerdot}
\pdsetup{
lf=left footer,
- rf=right footer
+ rf=right footer,
+ randomdots,dprop={dotstyle=ocircle}
}
%% For testing text height.
@@ -6246,6 +7906,11 @@ to position this footnote.}}
id, vulputate a, magna. Donec vehicula augue eu neque. Pellentesque
habitant morbi tristique senectus et netus et malesuada fames ac
turpis egestas. Mauris ut leo. Cras viverra metus rhoncus sem.
+
+ Notice the color of the equation number!
+ \begin{equation}
+ (a+b)^n=\sum_{k=0}^n{n\choose k}a^{n-k}b^k
+ \end{equation}
\end{slide}
\begin{slide}{Test itemize}
@@ -6299,6 +7964,11 @@ to position this footnote.}}
habitant morbi tristique senectus et netus et malesuada fames ac
turpis egestas. Mauris ut leo. Cras viverra metus rhoncus
sem.\footnote{Adjust textheight to position this footnote.}
+
+ Notice the color of the equation number!
+ \begin{equation}
+ (a+b)^n=\sum_{k=0}^n{n\choose k}a^{n-k}b^k
+ \end{equation}
\end{wideslide}
\begin{wideslide}{The rule has height \texttt{textheight}}
@@ -6475,6 +8145,164 @@ to position this footnote.}}
\end{document}
%</pdexample2>
%
+%<*pdexample3>
+\documentclass[style=klope,clock,hlsections]{powerdot}
+
+\usepackage{amsmath}
+\usepackage{pst-node}
+\usepackage{listings}
+
+\lstnewenvironment{example}[1][]{%
+ \lstset{basicstyle=\footnotesize\ttfamily,columns=flexible,%
+ frame=single,backgroundcolor=\color{yellow!20},%
+ xleftmargin=\fboxsep,xrightmargin=\fboxsep,gobble=1%
+ }\lstset{#1}}{}
+\lstnewenvironment{examplesmall}[1][]{%
+ \lstset{basicstyle=\tiny\ttfamily,columns=flexible,%
+ frame=single,backgroundcolor=\color{yellow!20},%
+ xleftmargin=\fboxsep,xrightmargin=\fboxsep,gobble=2%
+ }\lstset{#1}}{}
+
+\title{powerdot example 3 --- verbatim and random dots}
+\author{Hendri Adriaens\and Christopher Ellison}
+
+\pdsetup{
+ lf=Example 3,
+ rf=for powerdot,
+ palette=Spring,
+ randomdots,
+ dprop={dotstyle=ocircle,linewidth=.25pt},
+ dmindots=5,dmaxdots=5,
+ dminsize=600pt,dmaxsize=700pt,
+ dbright=50,
+ logohook=c,
+ logopos={.505\slidewidth,.08\slideheight},
+ logocmd={\includegraphics[scale=.05]{powerdot-default.ps}}
+}
+
+\begin{document}
+
+\maketitle
+
+\begin{slide}{Overview}
+ \begin{enumerate}[type=1]
+ \item This file demonstrates \pause
+ \begin{itemize}
+ \item some uses of \texttt{verbatim} \pause
+ \end{itemize}
+ \item and \pause
+ \begin{itemize}
+ \item some uses of randomdots
+ \end{itemize}
+ \end{enumerate}
+\end{slide}
+
+\section{section}
+
+\begin{slide}[palette=PastelFlower,method=direct,
+ dprop={dotstyle=*},
+ dminsize=5pt,dmaxsize=10pt,
+ dmindots=5,dmaxdots=10]{Name that quote}
+ G\"odel, Escher, Bach: an Eternal Golden Braid \pause
+
+ \verb|G\"odel, Escher, Bach: an Eternal Golden Braid| \pause
+
+ \begin{quote}
+ The two of you may find it amusing to listen
+ to such totally meaningless cacophony, but I assure you it is not at
+ all pleasant for a sensitive composer to be subjected to such
+ excruciating, empty dissonances and meaningless rhythms. Achilles,
+ I thought you had a good feeling for music. Could it be that your
+ previous pieces had merit merely by coincidence?
+ \end{quote}
+\end{slide}
+
+\begin{slide}[palette=BlueWater,
+ dprop={dotstyle=osquare,linewidth=.2pt},
+ dminsize=4pt,dmaxsize=10pt,
+ dmindots=5,dmaxdots=10]{Itemize}
+ \begin{itemize}
+ \item<1> here
+ \item<2> we
+ \item<3> go
+ \end{itemize}
+\end{slide}
+
+\begin{slide}[toc=What day is it?,bm=What day is it?,method=direct,
+ dprop={dotstyle=*},dminsize=4pt,dmaxsize=20pt,
+ dmindots=30,dmaxdots=30]{What day is it?\hfill A test}
+\begin{example}
+ <?php
+ if ($day == "monday")
+ {
+ $callInSick = true;
+ }
+ else
+ {
+ $callInSick = false;
+ }
+ ?>
+\end{example}
+\end{slide}
+
+\section[slide=false]{The \texttt{direct} and \texttt{file} methods}
+
+\begin{slide}[method=direct,randomdots=false]{Quadratic}
+ With \verb|method=direct|, there are no overlays.\pause
+
+ But you can still use display verbatim text.
+
+ \[
+ x \pause = \pause \frac{-b \pm \sqrt{b^2 - 4ac}}{2a} \pause
+ \]
+
+ Attempting \pause a \pause pause\ldots\pause
+
+ \verb|Plot[3x,{x,0,10}]|
+\end{slide}
+
+\begin{slide}[method=file,randomdots=false]{Quadratic}
+ With \verb|method=file|, \pause you can display verbatim text and have overlays.\pause
+
+ \[
+ x \pause = \pause \frac{-b \pm \sqrt{b^2 - 4ac}}{2a} \pause
+ \]
+
+ Attempting \pause a \pause pause\ldots\pause
+
+ \verb|Plot[3x,{x,0,10}]|
+\end{slide}
+
+\section[slide=false]{Nodes}
+
+\begin{slide}[method=file,randomdots=false]{Taylor}
+\begin{lstlisting}[escapechar=|,mathescape]
+ e^x |\pause| = 1 + |\pause|x + |\pause|x^2/2! + |\color{red}{\ldots}| |\pause|
+ e^x |\pause| = 1 + |\pause|x + |\pause|$\rnode{A}{\frac{x^2}{2!}}$ + |\color{red}{\ldots}|
+\end{lstlisting}
+\pause\vspace{.1in}
+Notice, \rnode{B}{this} fraction is in \verb|mathmode|.
+\onslide*{11-}{\ncarc[linecolor=blue,arcangle=-5]{->}{B}{A}}\pause \vspace{.1in}
+
+The above (as its own slide) was coded as follows:
+\begin{examplesmall}[escapechar=@]
+ \begin{slide}[method=file]{Taylor}
+ \begin{lstlisting}[escapechar=|,mathescape]
+ e^x |\pause| = 1 + |\pause|x + |\pause|x^2/2! + |\color{red}{\ldots}| |\pause|
+ e^x |\pause| = 1 + |\pause|x + |\pause|$\rnode{A}{\frac{x^2}{2!}}$ + |\color{red}{\ldots}|
+ \end{lstlisting}
+
+ \pause\vspace{.1in}
+
+ Notice, \rnode{B}{this} fraction is in \verb|mathmode|.
+ \onslide*{11-}{\ncarc[linecolor=blue,arcangle=-5]{->}{B}{A}}\pause \vspace{.1in}
+ @\char`\\@end{slide}
+\end{examplesmall}
+\end{slide}
+
+\end{document}
+%</pdexample3>
+%
%<*preamble>
\usepackage{url}
\usepackage{fourier}
@@ -6485,8 +8313,9 @@ to position this footnote.}}
\usepackage{listings}
\usepackage{array}
\usepackage{xkeyval}
-\usepackage{varioref}
\usepackage[section]{placeins}
+\addtolength\textheight{2cm}
+\addtolength\topmargin{-1cm}
\lstnewenvironment{command}{%
\lstset{columns=flexible,frame=single,backgroundcolor=\color{blue!20},%
xleftmargin=\fboxsep,xrightmargin=\fboxsep,escapeinside=`',gobble=1}}{}
@@ -6499,9 +8328,8 @@ to position this footnote.}}
% moretexcs=[2]{onslide,pause,pdsetup,maketitle,tableofcontents},%
% texcsstyle=[2]\color{red}%
}\lstset{#1}}{}
-\def\option#1{\fcolorbox{black}{red!20}{\texttt{#1}}\vspace*{.2cm}}
\def\mktitledecor{%
- \rput[tl]{90}(-5.5,-25.51){%
+ \rput[tl]{90}(-5.5,-26.51){%
\psline[linewidth=1pt](0,1.5)(\paperheight,1.5)%
\rput[lB](.075\paperheight,.5){\pscharpath[linecolor=blue!50,%
fillcolor=yellow!20,fillstyle=solid,linewidth=.5pt]%
@@ -6515,6 +8343,12 @@ to position this footnote.}}
}%
}
\makeatletter
+\def\option#1{%
+ \XKV@for@n{#1}\pd@tempa{%
+ \fcolorbox{black}{red!20}{\texttt\pd@tempa}\quad
+ }%
+ \vspace*{.2cm}%
+}
\def\tableofcontents{\@starttoc{toc}}
\renewenvironment{theglossary}{%
\section*{Version history}%
@@ -6584,6 +8418,7 @@ to position this footnote.}}
\def\LyXarrow{\leavevmode\,$\triangleright$\,\allowbreak}
\let\pf\textsf
\def\equals{=}
+\setcounter{tocdepth}{2}
\newcolumntype{d}{c|l}
\newcolumntype{e}{c|c|c|c}
\newcolumntype{f}{l|p{8cm}}
@@ -6694,12 +8529,6 @@ to position this footnote.}}
howpublished = {\url{CTAN:/macros/latex/contrib/geometry}}
}
-@MISC{float,
- author = {Anselm Lingnau},
- title = {\pf{float} package},
- howpublished = {\url{CTAN:/macros/latex/contrib/float}}
-}
-
@MISC{xcolor,
author = {Uwe Kern},
title = {\pf{xcolor} package},
@@ -6712,6 +8541,12 @@ to position this footnote.}}
howpublished = {\url{CTAN:/macros/latex/required/graphics}}
}
+@MISC{random,
+ author = {Donald Arseneau},
+ title = {\texttt{random.tex}},
+ howpublished = {\url{CTAN:/macros/generic/misc}}
+}
+
@MISC{CTAN,
author = {CTAN crew},
title = {{The Comprehensive TeX Archive Network}},