diff options
author | Karl Berry <karl@freefriends.org> | 2006-01-12 23:50:52 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-01-12 23:50:52 +0000 |
commit | 8ad39111f593c3737a8e215819ff11bb34fe09e5 (patch) | |
tree | 3fa368b8830ee60e2b09fed2adb67c2f68acd9f8 /Master/texmf-dist/tex/latex/HA-prosper/HA-prosper.sty | |
parent | 6233fddcae5993fe4319a234e465f780402e8891 (diff) |
HA-prosper
git-svn-id: svn://tug.org/texlive/trunk@633 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/HA-prosper/HA-prosper.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/HA-prosper/HA-prosper.sty | 1083 |
1 files changed, 1083 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/HA-prosper/HA-prosper.sty b/Master/texmf-dist/tex/latex/HA-prosper/HA-prosper.sty new file mode 100644 index 00000000000..087c8704291 --- /dev/null +++ b/Master/texmf-dist/tex/latex/HA-prosper/HA-prosper.sty @@ -0,0 +1,1083 @@ +%% +%% This is file `HA-prosper.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% HA-prosper.dtx (with options: `program') +%% +%% ------------------------------------------ +%% Copyright (C) 2003-2004 by Hendri Adriaens +%% ------------------------------------------ +%% +%% This file may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either version 1.2 +%% of this license or (at your option) any later version. +%% The latest version of this license is in: +%% +%% http://www.latex-project.org/lppl.txt +%% +%% and version 1.2 or later is part of all distributions of LaTeX +%% version 1999/12/01 or later. +%% +\NeedsTeXFormat{LaTeX2e}[1995/12/01] +\def\HAP@Version{v4.21} +\ProvidesPackage{HA-prosper}[2004/08/20 \HAP@Version\space Patch for prosper] +\typeout{(c) 2003-2004 Hendri Adriaens, Tilburg, the Netherlands} +\typeout{ } +\let\HAP@orig@setkeys\setkeys +\RequirePackage{xkeyval} +\let\xsetkeys\setkeys +\RequirePackage{xcomment} +\RequirePackage{verbatim} +\def\PPRPRV@ReqVersion{v. 0.13} +\@ifclassloaded{ppr-prv}{% + \ifx\PPRPRV@ReqVersion\PPRPRV@Version\else + \PackageError{HA-prosper}{HA-prosper \HAP@Version\space and + ppr-prv \PPRPRV@Version\space are incompatible}% + {Read the documentation of HA-prosper.}% + \fi}{} +\newif\ifHAP@notes +\newif\ifHAP@notesonly +\newif\ifHAP@slidesonly +\DeclareOptionX{notes}{\HAP@slidesonlyfalse\HAP@notestrue\HAP@notesonlyfalse} +\DeclareOptionX{notesonly}{\HAP@notesonlytrue\HAP@slidesonlyfalse\HAP@notesfalse} +\DeclareOptionX{slidesonly}{\HAP@slidesonlytrue\HAP@notesonlyfalse\HAP@notesfalse} +\newif\ifHAP@toc +\DeclareOptionX{toc}{\HAP@toctrue} +\newif\ifHAP@highlight +\DeclareOptionX{highlight}{\HAP@highlighttrue} +\newif\ifHAP@hlsections +\DeclareOptionX{hlsections}{\HAP@hlsectionstrue} +\newif\ifHAP@portrait +\DeclareOptionX{portrait}{\HAP@portraittrue} +\newif\ifHAP@blackslide +\DeclareOptionX{blackslide}{\HAP@blackslidetrue} +\newif\ifHAP@sounds +\DeclareOptionX{sounds}{\HAP@soundstrue} +\def\HAP@Style@chosen{HA} +\DeclareOptionX*{\let\HAP@Style@chosen\CurrentOption} +\ExecuteOptionsX{slidesonly} +\ProcessOptionsX +\let\setkeys\HAP@orig@setkeys +\newbox\HAP@tba +\newbox\HAP@tbb +\newlength\HAP@tla +\newlength\HAP@tlb +\newlength\HAP@tlc +\newlength\HAP@tld +\newcounter{HAP@tca} +\ifHAP@portrait + \slidewidth=150mm + \slideheight=222mm +\else + \slidewidth=222mm + \slideheight=150mm +\fi +\renewcommand{\NewSlideStyle}[4][11cm]{% + \setlength{\slideWidth}{#1}% + \global\pslongbox{posit@Box}{\rput[#2](#3)}% + \newslideframe{the#4}{\csname #4\endcsname{##1}}% + \slidepagestyle{GenericPageStyle}% + \slideframe{the#4}% + \gdef\HAP@current@anchor{#2}% + \gdef\HAP@current@pos{#3}% +} +\def\protected@write#1#2#3{% + \begingroup + #2% + \let\protect\noexpand + \immediate\normal@write#1{#3}% + \endgroup + \if@nobreak\ifvmode\nobreak\fi\fi +} +\newcounter{HAP@notes@slide} +\newcounter{HAP@notes@true} +\newcounter{HAP@notes@temp} +\def\HAP@notes@frame#1{#1} +\ifHAP@portrait + \def\HAP@notes@template{\NewSlideStyle[8.8cm]{tl}{-0.6,4}{HAP@notes@frame}} +\else + \def\HAP@notes@template{\NewSlideStyle[8.8cm]{tl}{1.2,4}{HAP@notes@frame}} +\fi +\ifHAP@notes + \newwrite\HAP@notesout\openout\HAP@notesout\jobname.not\relax +\fi +\ifHAP@notesonly + \begingroup\InputIfFileExists{\jobname.not}{}{}\endgroup + \xcomment{notes} +\fi +\def\notes#1{% + \ifHAP@slidesonly\comment\else + \ifnum\value{slide}=\value{HAP@notes@temp} + \stepcounter{HAP@notes@slide}% + \else + \setcounter{HAP@notes@slide}{1}% + \fi + \setcounter{HAP@notes@temp}{\value{slide}}% + \stepcounter{HAP@notes@true}% + \ifHAP@notesonly\else + \protected@write\HAP@notesout{}{\string\newlabel{notes@\number\c@HAP@notes@true}% + {{}{\number\c@HAP@notes@temp-\number\c@HAP@notes@slide}{\relax }{}{}}}% + \fi + \xdef\HAP@temp@anchor{\HAP@current@anchor}% + \xdef\HAP@temp@pos{\HAP@current@pos}% + \HAP@notes@template\HAP@portraittrue + \begin{slide}[toc=,bm=,trans=Replace]{HAP@notitle}\black + \rput[tl](0,1.5){\fontTitle{\black#1}}% + \ifHAP@notesonly + \rput[tc](4.4,-10.5){\realpageref{notes@\number\c@HAP@notes@true}}% + \else + \rput[tc](4.4,-10.5){\number\c@HAP@notes@temp-\number\c@HAP@notes@slide}% + \fi + \fi +} +\def\endnotes{% + \ifHAP@slidesonly\endcomment\else + \end{slide}% + \global\pslongbox{posit@Box}{\rput[\HAP@temp@anchor](\HAP@temp@pos)}% + \gdef\HAP@current@anchor{\HAP@temp@anchor}% + \gdef\HAP@current@pos{\HAP@temp@pos}% + \addtocounter{slide}{-1}% + \fi +} +\def\HAP@bs@frame#1{% + \psframe[fillstyle=solid,fillcolor=black](-3,-3)(13,13)% + {#1}% +} +\ifHAP@portrait + \def\HAP@bs@template{\NewSlideStyle[10cm]{tl}{-1.25,5.9}{HAP@bs@frame}} +\else + \def\HAP@bs@template{\NewSlideStyle[10cm]{tl}{-1.87,5.2}{HAP@bs@frame}} +\fi +\ifHAP@blackslide + \ifx\PPRPRV@Version\@undefined + \def\@pdfstartpage{2}% + \AtBeginDocument{% + \HAP@bs@template + \begin{slide}[trans=Replace,toc=,bm=]{HAP@notitle}% + {\black\hypertarget{blackslide}{\Acrobatmenu{GoBack}% + {\setlength{\fboxsep}{.5cm}\fbox{GoBack}}}}% + \end{slide}% + \addtocounter{slide}{-1}% + \HAPR@normalSlide + } + \fi +\fi +\def\HAP@writebm#1#2#3#4#5{% + \protected@write\HAP@bmout{}{% + \string\HAPbookmark{#1}{#2}{#3}{#4}{#5}}% +} +\def\HAP@checkbmnumber#1{% + \expandafter\ifx\csname HAP_#1\endcsname\relax + 0% + \else + \csname HAP_#1\endcsname + \fi +} +\newcounter{HAP@temp@sc} +\def\HAP@calcbmnumber#1{% + \setcounter{HAP@temp@sc}{\HAP@checkbmnumber{#1}}% + \stepcounter{HAP@temp@sc}% + \expandafter\xdef\csname HAP_#1\endcsname{\number\c@HAP@temp@sc}% +} +\def\HAPbookmark#1#2#3#4#5{\HAP@calcbmnumber{#5}}% +\InputIfFileExists{\jobname.bm}{}{}% +\def\HAPbookmark#1#2#3#4#5{% + \pdfstringdef\HAP@temp@bm{#3}% + \pdfmark{pdfmark=/OUT, + Raw={/Count #1\HAP@checkbmnumber{#2} + /Page #4 /View [/XYZ null null null] + /Title (\HAP@temp@bm)}% + }% +}% +\InputIfFileExists{\jobname.bm}{}{}% +\newwrite\HAP@bmout\immediate\openout\HAP@bmout\jobname.bm\relax +\def\SlideSound#1{% + \ifHAP@sounds + \IfFileExists{.///#1}{}{% + \PackageError{HA-prosper}{The sound file is not in the + current directory. You can go ahead, but any PDF viewer + will complain that the file is missing!}\@ehc + }% + \pdfmark{pdfmark=/ANN, + Raw={/Rect [0 0 0 0] /Subtype /Movie + /Title (SlideSound) /Movie << /F (#1) >>}% + }% + \pdfmark{pdfmark=/PUT, + Raw={{ThisPage} << /AA << /O << /S /Movie + /T (SlideSound) /Operation /Play >> >> >>}% + }% + \fi +} +\newcounter{HAP@sc@toc} +\newcounter{HAP@sc@pres} +\newcounter{HAP@sc@slides} +\def\tsection{\@ifstar + {\@ifnextchar[{\HAP@@tsection{0}{2}}{\HAP@@tsection{0}{2}[]}}% + {\@ifnextchar[{\HAP@@tsection{0}{1}}{\HAP@@tsection{0}{1}[]}}% +} +\def\HAP@@tsection#1#2[#3]#4{% + \def\HAP@tempa{#3}% + \ifx\HAP@tempa\@empty + \def\HAP@tempa{#4}% + \fi + \stepcounter{HAP@sc@pres}% + \setcounter{HAP@sc@slides}{0}% + \stepcounter{trueSlideCounter}% + \HAP@contentsline{#2}{#4}{\number\c@trueSlideCounter}{\number\c@HAP@sc@pres}% + \HAP@writebm{}{section.\number\c@HAP@sc@pres}{\HAP@tempa}% + {\number\c@trueSlideCounter}{}% + \addtocounter{trueSlideCounter}{-1}% +} +\define@key{HAP@keys@slide}{template}{\def\HAP@templatekey{#1}} +\def\part{\@ifnextchar[{\HAP@part{0}}{\HAP@part{0}[]}} +\def\tsectionandpart{\@ifstar + {\@ifnextchar[{\HAP@part{2}}{\HAP@part{2}[]}}% + {\@ifnextchar[{\HAP@part{1}}{\HAP@part{1}[]}}% +} +\def\HAP@part#1[#2]#3{% + \begingroup + \xsetkeys{HAP@keys@slide,HAP@keys@slidespec}{#2}% + \ifnum#1=\z@ + \ifx\HAP@bmkey\@empty + \begin{\HAP@templatekey}[toc=#3,#2,bm=#3]{HAP@notitle}% + \else + \begin{\HAP@templatekey}[bm=#3,toc=#3,#2]{HAP@notitle}% + \fi + \else + \ifcase + \ifx\HAP@tockey\@undefined\@ne\fi + \ifx\HAP@tockey\@empty\@ne\fi + \z@ + \ifcase + \ifx\HAP@bmkey\@undefined\@ne\fi + \ifx\HAP@bmkey\@empty\@ne\fi + \z@ + \HAP@@tsection{1}{#1}[\HAP@bmkey]{\HAP@tockey}% + \else + \HAP@@tsection{1}{#1}[#3]{\HAP@tockey}% + \fi + \else + \ifcase + \ifx\HAP@bmkey\@undefined\@ne\fi + \ifx\HAP@bmkey\@empty\@ne\fi + \z@ + \HAP@@tsection{1}{#1}[\HAP@bmkey]{#3}% + \else + \HAP@@tsection{1}{#1}[#3]{#3}% + \fi + \fi + \begin{\HAP@templatekey}[#2,toc=,bm=]{HAP@notitle}% + \fi + \vspace*{1.5cm}% + \begin{center}% + \fontTitle{#3}% + \end{center}% + \end{\HAP@templatekey}% + \endgroup +} +\let\HAP@tocentryb\@undefined +\newif\ifHAP@firstTocEntry +\AtEndDocument{% + \ifHAP@toc + \expandafter\newwrite\csname tf@toc\endcsname + \immediate\openout\csname tf@toc\endcsname\jobname.toc\relax + \ifHAP@highlight\ifHAP@notesonly\else + \stepcounter{trueSlideCounter}% + \protected@write\@auxout{}{% + \string\@writefile{toc}{% + \string\pcontentsline{\HAP@tocentrya}{\HAP@tocentryb}% + {\HAP@tocentryc}{\number\c@trueSlideCounter}{\HAP@tocentryd}}% + }% + \fi\fi\fi +} +\def\pcontentsline#1#2#3#4#5{% + \ifnum#1=\z@ + \ifnum\HAP@toctype=\@ne\else + \HAP@pcontentsline{#1}{#2}{#3}{#4}{#5}% + \fi + \else + \ifnum\HAP@toctype=\tw@ + \setcounter{HAP@sc@toc}{#5}% + \else + \HAP@pcontentsline{#1}{#2}{#3}{#4}{#5}% + \fi + \fi +} +\def\HAP@pcontentsline#1#2#3#4#5{% + \ifnum#1=\z@ + \ifnum\HAP@toctype=\tw@ + \def\HAP@toctext{\HAP@tlineonly{#2}}% + \else + \def\HAP@toctext{\HAP@tline{#2}}% + \fi + \else + \setcounter{HAP@sc@toc}{#5}% + \ifnum\HAP@toctype=\@ne + \def\HAP@toctext{\HAP@tsectiononly{#2}}% + \else + \def\HAP@toctext{\HAP@tsection{#2}}% + \fi + \fi + \ifcase + \ifnum\value{HAP@sc@pres}=\value{HAP@sc@toc}\@ne\fi + \ifnum\value{HAP@sc@toc}=\z@\ifnum\HAP@toctype=\z@\@ne\else + \ifnum\value{HAP@sc@pres}=\z@\@ne\fi\fi\fi + \ifnum#1=\@ne\@ne\fi + \z@ + \else + \ifHAP@firstTocEntry\else + \ifcase + \ifnum#1=\z@\@ne\fi + \ifnum\HAP@toctype=\@ne\@ne\fi + \z@ + \vspace*{\HAP@tsectionskip}% + \else + \vspace*{\HAP@titemskip}% + \fi + \fi + \HAP@firstTocEntryfalse + \ifnum#1=\z@\else\HAP@tsectionm\fi + \ifcase + \ifHAP@highlight + \ifnum\value{trueSlideCounter}<#3\space\else + \ifnum\value{trueSlideCounter}<#4\@ne\fi\fi + \ifHAP@hlsections\ifnum#1=\z@\else + \ifnum\value{HAP@sc@pres}=\value{HAP@sc@toc}\@ne\fi\fi\fi + \fi + \z@ + \let\HAP@tempa\HAP@tocentry + \else + \let\HAP@tempa\HAP@hltocentry + \fi + \HAP@pdfpagelink{\HAP@tempa}{#3}% + \par + \fi +} +\def\HAP@pdfpagelink#1#2{% + \pdfmark[#1]{pdfmark=/LNK, + Raw={/Page #2 /Border [0 0 0] /View [/XYZ null null null]}}% +} +\def\HAP@contentsline#1#2#3#4{% + \ifHAP@toc + \ifHAP@highlight + \ifx\HAP@tocentryb\@undefined\else + \protected@write\@auxout{}{% + \string\@writefile{toc}{% + \string\pcontentsline{\HAP@tocentrya}{\HAP@tocentryb}% + {\HAP@tocentryc}{#3}{\HAP@tocentryd}}}% + \fi + \gdef\HAP@tocentrya{#1}% + \protected@xdef\HAP@tocentryb{#2}% + \xdef\HAP@tocentryc{#3}% + \xdef\HAP@tocentryd{#4}% + \else + \protected@write\@auxout{}{% + \string\@writefile{toc}{% + \string\pcontentsline{#1}{#2}{#3}{}% + {\ifnum#1=\z@\else\number\c@HAP@sc@pres\fi}}}% + \fi + \fi +} +\def\HAP@toc{% + \def\HAP@toctype{0}% + \HAP@tocinput +} +\def\HAP@tsections{% + \def\HAP@toctype{1}% + \HAP@tocinput +} +\def\HAP@tcontent{% + \def\HAP@toctype{2}% + \HAP@tocinput +} +\def\HAP@tocinput{% + \HAP@firstTocEntrytrue + \setcounter{HAP@sc@toc}{0}% + \makeatletter + \fontToc{\InputIfFileExists{\jobname.toc}{}{}}% + \makeatother +} +\define@key{HAP@keys@slidespec}{bm}{\def\HAP@bmkey{#1}} +\define@key{HAP@keys@slidespec}{toc}{\def\HAP@tockey{#1}} +\define@key{HAP@keys@slide}{trans}{\def\HAP@transkey{#1}} +\define@key{HAP@keys@slide}{sound}{\def\HAP@soundkey{#1}} +\def\SlideNormal{\@ifnextchar[\HAP@SlideNormal{\HAP@SlideNormal[]}} +\def\HAP@SlideNormal[#1]#2{% + \xsetkeys{HAP@keys@slide,HAP@keys@slidespec}{#1}% + \stepcounter{trueSlideCounter}% + \PDFtransition{\HAP@transkey}% + \ifx\HAP@soundkey\@undefined\else + \SlideSound{\HAP@soundkey}% + \fi + \begin{slide@seminar}% + \ifHAP@portrait\landscapefalse\fi + \def\HAP@tempa{#2}% + \def\HAP@tempb{HAP@notitle}% + \ifx\HAP@tempa\HAP@tempb + \ifx\HAP@tockey\@undefined\else\ifx\HAP@tockey\@empty\else + \HAP@contentsline{0}{\HAP@tockey}{\number\c@trueSlideCounter}{}% + \fi\fi + \ifx\HAP@bmkey\@undefined\else\ifx\HAP@bmkey\@empty\else + \stepcounter{HAP@sc@slides}% + \HAP@writebm{}{section.\number\c@HAP@sc@pres.\number\c@HAP@sc@slides}% + {\HAP@bmkey}{\number\c@trueSlideCounter}{section.\number\c@HAP@sc@pres}% + \fi\fi + \else + \slidetitle{#2}% + \ifx\HAP@bmkey\@undefined + \stepcounter{HAP@sc@slides}% + \HAP@writebm{}{section.\number\c@HAP@sc@pres.\number\c@HAP@sc@slides}% + {#2}{\number\c@trueSlideCounter}{section.\number\c@HAP@sc@pres}% + \else\ifx\HAP@bmkey\@empty\else + \stepcounter{HAP@sc@slides}% + \HAP@writebm{}{section.\number\c@HAP@sc@pres.\number\c@HAP@sc@slides}% + {\HAP@bmkey}{\number\c@trueSlideCounter}{section.\number\c@HAP@sc@pres}% + \fi\fi + \ifx\HAP@tockey\@undefined + \HAP@contentsline{0}{#2}{\number\c@trueSlideCounter}{}% + \else\ifx\HAP@tockey\@empty\else + \HAP@contentsline{0}{\HAP@tockey}{\number\c@trueSlideCounter}{}% + \fi\fi + \fi + \begin{posit@Box}% + \begin{minipage}{\slideWidth}% + \raggedright + \@DefMyItem% + \ifinColor\@fontTextColor\else\@fontTextBW\fi +} +\def\endSlideNormal{% + \end{minipage}% + \end{posit@Box}% + \end{slide@seminar}% +} +\def\SlideOverlay{\@ifnextchar[\HAP@SlideOverlay{\HAP@SlideOverlay[]}} +\def\HAP@SlideOverlay[#1]#2{% + \xsetkeys{HAP@keys@slide,HAP@keys@slidespec}{#1}% + \stepcounter{trueSlideCounter}% + \PDFtransition{\HAP@transkey}% + \ifx\HAP@soundkey\@undefined\else + \SlideSound{\HAP@soundkey}% + \fi + \begin{slide@seminar}% + \ifHAP@portrait\landscapefalse\fi + \def\HAP@tempa{#2}% + \def\HAP@tempb{HAP@notitle}% + \ifx\HAP@tempa\HAP@tempb\else + \ifHAP@firstOverlay + \global\HAP@firstOverlayfalse + \ifcollapsedBookmarks\def\HAP@tempa{-}\else\def\HAP@tempa{}\fi + \ifx\HAP@bmkey\@undefined + \stepcounter{HAP@sc@slides}% + \HAP@writebm{\HAP@tempa}{section.\number\c@HAP@sc@pres.\number\c@HAP@sc@slides}% + {#2}{\number\c@trueSlideCounter}{section.\number\c@HAP@sc@pres}% + \else\ifx\HAP@bmkey\@empty\else + \stepcounter{HAP@sc@slides}% + \HAP@writebm{\HAP@tempa}{section.\number\c@HAP@sc@pres.\number\c@HAP@sc@slides}% + {\HAP@bmkey}{\number\c@trueSlideCounter}{section.\number\c@HAP@sc@pres}% + \fi\fi + \ifx\HAP@tockey\@undefined + \HAP@contentsline{0}{#2}{\number\c@trueSlideCounter}{}% + \else\ifx\HAP@tockey\@empty\else + \HAP@contentsline{0}{\HAP@tockey}{\number\c@trueSlideCounter}{}% + \fi\fi + \else + \ifx\HAP@bmkey\@undefined + \HAP@writebm{}{overlay}{#2}{\number\c@trueSlideCounter}% + {section.\number\c@HAP@sc@pres.\number\c@HAP@sc@slides}% + \else\ifx\HAP@bmkey\@empty\else + \HAP@writebm{}{overlay}{\HAP@bmkey}{\number\c@trueSlideCounter}% + {section.\number\c@HAP@sc@pres.\number\c@HAP@sc@slides}% + \fi\fi + \fi + \slidetitle{#2}% + \fi + \begin{posit@Box}% + \begin{minipage}{\slideWidth}% + \raggedright + \@DefMyItem% + \ifinColor\@fontTextColor\else\@fontTextBW\fi + {\overlay{1}}% +} +\def\endSlideOverlay{% + \end{minipage}% + \end{posit@Box}% + \end{slide@seminar}% + \ifDVItoPS\else + \addtocounter{slide}{-1}% + \fi +} +\let\slide=\SlideNormal +\let\endslide=\endSlideNormal +\renewenvironment{thebibliography}[1]{% + \list{\@biblabel{\@arabic\c@enumiv}}% + {\settowidth\labelwidth{\@biblabel{#1}}% + \leftmargin\labelwidth + \advance\leftmargin\labelsep + \@openbib@code + \usecounter{enumiv}% + \let\p@enumiv\@empty + \renewcommand\theenumiv{\@arabic\c@enumiv}}% + \sloppy + \clubpenalty4000 + \@clubpenalty \clubpenalty + \widowpenalty4000% + \sfcode`\.\@m +}{% + \def\@noitemerr{\@latex@warning{Empty `thebibliography' environment}}% + \endlist +} +\let\NoFrenchBabelItemize\relax +\def\HAP@toodeep{\PackageError{HA-prosper}{Items too deeply nested}\@ehd} +\newif\ifHAP@active +\newif\ifHAP@nested +\let\HAP@orig@item=\item +\def\xitem{\@ifnextchar<\HAP@xitem{\HAP@xitem<0>}} +\def\HAP@xitem<#1>{% + \PackageError{HA-prosper}{Lonely \string\item--perhaps a missing + list environment}\@ehc +} +\AtBeginDocument{% + \def\itemize{% + \def\HAP@xitem<##1>{% + \ifHAP@nested\else\HAP@activetrue\fi + \HAP@orig@item + }% + \ifnum\@itemdepth>\tw@\HAP@toodeep\else + \advance\@itemdepth\@ne + \edef\@itemitem{labelitem\romannumeral\the\@itemdepth}% + \expandafter + \list + \csname\@itemitem\endcsname{% + \setlength{\itemsep}{\z@}% + \setlength{\parsep}{\z@}% + \setlength{\topsep}{\z@}% + \setlength{\partopsep}{\z@}% + \addtolength{\topsep}{-\parskip}% + \addtolength{\partopsep}{\parskip}% + \ifnum\@itemdepth<2 + \settowidth{\HAP@tla}{\labelitemi}% + \addtolength{\HAP@tla}{\labelsep}% + \setlength{\leftmargin}{\HAP@tla}% + \setlength{\itemsep}{.5ex}% + \fi\raggedright + \def\makelabel##1{\hss\llap{##1}}}% + \fi + } + \let\enditemize\endlist + \def\enumerate{% + \def\HAP@xitem<##1>{% + \ifHAP@nested\else\HAP@activetrue\fi + \HAP@orig@item + }% + \ifnum\@enumdepth>\tw@\HAP@toodeep\else + \advance\@enumdepth\@ne + \edef\@enumctr{enum\romannumeral\the\@enumdepth}% + \expandafter + \list + \csname label\@enumctr\endcsname{% + \setlength{\itemsep}{\z@}% + \setlength{\parsep}{\z@}% + \setlength{\topsep}{\z@}% + \setlength{\partopsep}{\z@}% + \addtolength{\topsep}{-\parskip}% + \addtolength{\partopsep}{\parskip}% + \ifnum\@enumdepth<2 + \settowidth{\HAP@tla}{\labelenumi}% + \addtolength{\HAP@tla}{\labelsep}% + \setlength{\leftmargin}{\HAP@tla}% + \setlength{\itemsep}{.5ex}% + \fi\raggedright + \usecounter\@enumctr\def\makelabel##1{\hss\llap{##1}}}% + \fi + } + \let\endenumerate\endlist +} +\newcounter{HAP@listdepth} +\define@key{HAP@keys@step}{sstart}{\def\HAP@Istart{#1}} +\define@key{HAP@keys@step}{stype}{\def\HAP@Itype{#1}} +\define@key{HAP@keys@step}{iacolor}{\def\HAP@Icolor{#1}} +\def\itemstep{\@ifnextchar[{\HAP@stepenv{0}}{\HAP@stepenv{0}[]}} +\def\enumstep{\@ifnextchar[{\HAP@stepenv{1}}{\HAP@stepenv{1}[]}} +\def\enditemstep{\endHAP@stepenv{0}} +\def\endenumstep{\endHAP@stepenv{1}} +\def\HAP@stepenv#1[#2]{% + \HAP@nestedtrue + \xsetkeys{HAP@keys@step}{#2}% + \ifDVItoPS\def\HAP@Itype{0}\fi + \ifnum#1=\z@ + \begin{itemize}% + \else + \begin{enumerate}% + \fi + \ifnum\value{HAP@listdepth}=\z@ + \setcounter{item@step}{\HAP@Istart}% + \addtocounter{item@step}{-1}% + \fi + \stepcounter{HAP@listdepth}% + \def\HAP@xitem<##1>{% + \stepcounter{item@step}% + \setcounter{HAP@tca}{\value{item@step}}% + \addtocounter{HAP@tca}{##1}% + \HAP@activetrue + \ifnum\HAP@Itype=\z@ + \HAP@textc + \OnSlide{\value{item@step}-}% + \else + \ifnum\HAP@Itype=\@ne\OnSlide{\value{item@step}-}\fi + \ifcase + \ifnum\value{overlaysCount}<\value{item@step}\@ne\fi + \ifnum\value{overlaysCount}>\value{HAP@tca}\@ne\fi + \z@ + \HAP@textc + \else + \csname\HAP@Icolor\endcsname + \HAP@activefalse + \fi + \fi + \HAP@orig@item + }% +} +\def\endHAP@stepenv#1{% + \ifnum#1=\z@ + \end{itemize}% + \else + \end{enumerate}% + \fi + \addtocounter{HAP@listdepth}{-1}% + \ifnum\value{HAP@listdepth}=\z@ + \setcounter{item@step}{0}% + \HAP@nestedfalse + \fi +} +\def\title#1{\gdef\@title{#1}} +\def\author#1{\gdef\@author{#1}} +\renewcommand{\maketitle}[1][]{% + \expandafter\ifx\csname frenchTeXmods\endcsname\relax + \else + \ifx\@soORI\@undefined + \PackageWarning{prosper}{This page is intentionally left blank + to overcome an incompatibility bug in the seminar class with + the old (< 1999/11/23) B. Gaulle's 'french' package.}% + \begin{center}% + {\black\small + \textsf{prosper} class: page intentionally left blank to overcome + an incompatibility bug between B. Gaulle 'french' package and + the seminar class.}% + \end{center}% + \clearpage \setcounter{page}{0}% + \fi\fi + \begin{slide}[#1]{HAP@notitle}% + \ptsize{10}% + \begin{center}% + \@titleSpacing\par + \normalfont + {\ifinColor\@fontTitleColor\else\@fontTitleBW\fi\@title\par}% + \ifx\@Subtitle\@empty\else + {\ifinColor\@fontSubtitleColor\else\@fontSubtitleBW\fi\@Subtitle\par}% + \fi + \vskip2em + {\ifinColor\@fontAuthorColor\else\@fontAuthorBW\fi + \begin{tabular}[t]{c}\@author\end{tabular}\par}% + \vfill + \end{center}% + \end{slide}% +} +\newif\ifHAP@firstOverlay +\def\Overlays{% + \HAP@firstOverlaytrue + \global\let\slide\SlideOverlay + \global\let\endslide\endSlideOverlay + \setcounter{overlay@page}{\value{slide}}% +} +\def\endOverlays{% + \HAP@firstOverlayfalse + \global\let\slide\SlideNormal + \global\let\endslide\endSlideNormal + \setcounter{slide}{\value{overlay@page}}% + \stepcounter{slide}% +} +\long\def\overlays#1#2{% + \bgroup + \aftergroup\HAP@cleanupOverlay + \InOverlaystrue + \setcounter{limitOverlays}{#1}% + \setcounter{overlaysCount}{1}% + \ifDVItoPS + #2 + \else + \begin{Overlays}% + \bgroup + \loop + \@everyOverlay + \HAP@scounters + #2 + \ifnum\value{overlaysCount}<\value{limitOverlays}{% + \stepcounter{overlaysCount}% + \HAP@rcounters + }% + \repeat + \egroup + \end{Overlays}% + \fi + \egroup +} +\def\HAP@cleanupOverlay{% + \InOverlaysfalse + \setcounter{limitOverlays}{0}% + \setcounter{overlaysCount}{0}% +} +\let\saveCtr\relax +\define@key{HAP@keys@globalonly}{counters}{% + \def\HAP@counterslist{#1}% + \ifx\HAP@counterslist\@empty + \g@addto@macro\HAP@counterslist{figure,equation,table}% + \else + \g@addto@macro\HAP@counterslist{,figure,equation,table}% + \fi + \@for\HAP@tempa:=\HAP@counterslist\do{% + \@ifundefined{c@\HAP@tempa}{\@nocounterr{\HAP@tempa}}% + {\@ifundefined{c@HAP@oldc@\HAP@tempa}{\newcounter{HAP@oldc@\HAP@tempa}}{}}% + }% +} +\def\HAP@scounters{% + \@for\HAP@tempa:=\HAP@counterslist\do{% + \setcounter{HAP@oldc@\HAP@tempa}{\value{\HAP@tempa}}% + }% +} +\def\HAP@rcounters{% + \@for\HAP@tempa:=\HAP@counterslist\do{% + \setcounter{\HAP@tempa}{\value{HAP@oldc@\HAP@tempa}}% + }% +} +\def\@fontLFColor{\@fontTextColor\fontsize{5pt}{5pt}\selectfont} +\def\@fontLFBW{\@fontTextBW\fontsize{5pt}{5pt}\selectfont} +\newcommand{\FontLeftFoot}[2]{% + \gdef\@fontLFColor{#1}% + \gdef\@fontLFBW{#2}} +\newcommand{\fontLeftFoot}[1]{{\ifinColor\@fontLFColor\else\@fontLFBW\fi#1}} +\def\@fontRFColor{\@fontTextColor\fontsize{5pt}{5pt}\selectfont} +\def\@fontRFBW{\@fontTextBW\fontsize{5pt}{5pt}\selectfont} +\newcommand{\FontRightFoot}[2]{% + \gdef\@fontRFColor{#1}% + \gdef\@fontRFBW{#2}} +\newcommand{\fontRightFoot}[1]{{\ifinColor\@fontRFColor\else\@fontRFBW\fi#1}} +\def\@fontAuthorColor{\@fontTextColor} +\def\@fontAuthorBW{\@fontTextBW} +\newcommand{\FontAuthor}[2]{% + \gdef\@fontAuthorColor{#1}% + \gdef\@fontAuthorBW{#2}} +\newcommand{\fontAuthor}[1]{{\ifinColor\@fontAuthorColor\else\@fontAuthorBW\fi#1}} +\def\@fontInstColor{\@fontTextColor\fontsize{7pt}{7pt}\selectfont} +\def\@fontInstBW{\@fontTextBW\fontsize{7pt}{7pt}\selectfont} +\newcommand{\FontInst}[2]{% + \gdef\@fontInstColor{#1}% + \gdef\@fontInstBW{#2}} +\newcommand{\fontInst}[1]{{\ifinColor\@fontInstColor\else\@fontInstBW\fi#1}} +\let\institution\fontInst +\def\@fontEmailColor{\@fontTextColor\fontsize{7pt}{7pt}\selectfont} +\def\@fontEmailBW{\@fontTextBW\fontsize{7pt}{7pt}\selectfont} +\newcommand{\FontEmail}[2]{% + \gdef\@fontEmailColor{#1}% + \gdef\@fontEmailBW{#2}} +\newcommand{\fontEmail}[1]{{\ifinColor\@fontEmailColor\else\@fontEmailBW\fi#1}} +\let\email\fontEmail +\def\@fontTocColor{\@fontTextColor\fontsize{4pt}{6pt}\selectfont} +\def\@fontTocBW{\@fontTextBW\fontsize{4pt}{6pt}\selectfont} +\newcommand{\FontToc}[2]{% + \gdef\@fontTocColor{#1}% + \gdef\@fontTocBW{#2}} +\newcommand{\fontToc}[1]{{\ifinColor\@fontTocColor\else\@fontTocBW\fi#1}} +\renewpagestyle{GenericPageStyle}{}{} +\define@key{HAP@keys@globalonly}{lf}{\def\HAP@leftfoot{#1}} +\define@key{HAP@keys@globalonly}{rf}{\def\HAP@rightfoot{#1}} +\def\LeftFoot#1{\def\HAP@leftfoot{#1}} +\def\RightFoot#1{\def\HAP@rightfoot{#1}} +\define@key{HAP@keys@globalonly}{sn}{\def\HAP@sn{#1}} +\newcommand{\HAP@PutLF}[2]{% + \rput[#1](#2){\parbox[t]{\slidewidth}{\fontLeftFoot{\HAP@leftfoot}}}% +} +\newcommand{\HAP@PutRF}[2]{% + \ifx\HAP@sn\@empty + \rput[#1](#2){% + \parbox[t]{\slidewidth}{\hfill\fontRightFoot{\HAP@rightfoot}}}% + \else + \rput[#1](#2){% + \parbox[t]{\slidewidth}{\hfill\fontRightFoot{\HAP@rightfoot~\HAP@sn}}}% + \fi +} +\newlength{\HAP@lcolwidth} +\newlength{\HAP@rcolwidth} +\newlength{\HAP@frsep} +\newlength{\HAP@colsep} +\newlength{\HAP@topsep} +\newlength{\HAP@bottomsep} +\newlength{\HAP@indent} +\define@key{HAP@keys@dual}{lineheight}{\def\HAP@lineheight{#1}} +\define@key{HAP@keys@dual}{lfrheight}{\def\HAP@lfrheight{#1}} +\define@key{HAP@keys@dual}{rfrheight}{\def\HAP@rfrheight{#1}} +\define@key{HAP@keys@dual}{frsep}{\setlength{\HAP@frsep}{#1}} +\define@key{HAP@keys@dual}{colsep}{\setlength{\HAP@colsep}{#1}} +\define@key{HAP@keys@dual}{lcolwidth}{\setlength{\HAP@lcolwidth}{#1}} +\define@key{HAP@keys@dual}{rcolwidth}{\setlength{\HAP@rcolwidth}{#1}} +\define@key{HAP@keys@dual}{topsep}{\setlength{\HAP@topsep}{#1}} +\define@key{HAP@keys@dual}{bottomsep}{\setlength{\HAP@bottomsep}{#1}} +\define@key{HAP@keys@dual}{indent}{\setlength{\HAP@indent}{#1}} +\def\HAP@maxdim#1#2{\ifdim#1>#2#1\else#2\fi} +\def\dualslide{\@ifnextchar[\HAP@dualslide{\HAP@@@dualslide[][][]}} +\def\HAP@dualslide[#1]{% + \@ifnextchar[{\HAP@@dualslide[#1]}% + {\HAP@@@dualslide[#1][#1][#1]}% +} +\def\HAP@@dualslide[#1][#2]{% + \@ifnextchar[{\HAP@@@dualslide[#1][#2]}% + {\HAP@@@dualslide[#1][#2][#1]}% +} +\long\def\HAP@@@dualslide[#1][#2][#3]#4#5#6{% + \setlength{\HAP@frsep}{1.5mm}% + \setlength{\HAP@colsep}{.06\linewidth}% + \setlength{\HAP@lcolwidth}{.47\linewidth}% + \setlength{\HAP@rcolwidth}{.47\linewidth}% + \setlength{\HAP@topsep}{0cm}% + \setlength{\HAP@bottomsep}{0cm}% + \setlength{\HAP@indent}{0cm}% + \xsetkeys{HAP@keys@dual}{#4}% + \sbox\HAP@tba{\begin{minipage}{\HAP@lcolwidth}#5\end{minipage}}% + \setlength{\HAP@tlc}{\the\ht\HAP@tba}% + \addtolength{\HAP@tlc}{\the\dp\HAP@tba}% + \sbox\HAP@tbb{\begin{minipage}{\HAP@rcolwidth}#6\end{minipage}}% + \setlength{\HAP@tld}{\the\ht\HAP@tbb}% + \addtolength{\HAP@tld}{\the\dp\HAP@tbb}% + \setlength{\HAP@tlc}{\HAP@maxdim{\HAP@tlc}{\HAP@tld}}% + \ifx\HAP@lfrheight\@undefined\else + \setlength{\HAP@tlc}{\HAP@maxdim{\HAP@lfrheight}{\HAP@tlc}}% + \fi + \ifx\HAP@lineheight\@undefined\else + \setlength{\HAP@tlc}{\HAP@maxdim{\HAP@lineheight}{\HAP@tlc}}% + \fi + \ifx\HAP@rfrheight\@undefined\else + \setlength{\HAP@tlc}{\HAP@maxdim{\HAP@rfrheight}{\HAP@tlc}}% + \fi + \pspicture(-\HAP@indent,\HAP@topsep)(\linewidth,-\HAP@tlc)% + \psset{unit=1pt,linewidth=.25pt,linecolor=HAP@framecolor}% + \setlength{\HAP@tla}{\HAP@lcolwidth}% + \addtolength{\HAP@tla}{\HAP@frsep}% + \ifx\HAP@lfrheight\@undefined\else + \psframe[#1](-\HAP@frsep,\HAP@frsep)(\HAP@tla,-\HAP@lfrheight)% + \fi + \rput[tl](0,0){\usebox{\HAP@tba}}% + \setlength{\HAP@tla}{\HAP@lcolwidth}% + \addtolength{\HAP@tla}{.5\HAP@colsep}% + \ifx\HAP@lineheight\@undefined\else + \psline[#2](\HAP@tla,\HAP@frsep)(\HAP@tla,-\HAP@lineheight)% + \fi + \addtolength{\HAP@tla}{.5\HAP@colsep}% + \setlength{\HAP@tlc}{\HAP@tla}% + \addtolength{\HAP@tla}{-\HAP@frsep}% + \setlength{\HAP@tlb}{\HAP@tla}% + \addtolength{\HAP@tlb}{\HAP@rcolwidth}% + \addtolength{\HAP@tlb}{2\HAP@frsep}% + \ifx\HAP@rfrheight\@undefined\else + \psframe[#3](\HAP@tla,\HAP@frsep)(\HAP@tlb,-\HAP@rfrheight)% + \fi + \rput[tl](\HAP@tlc,0){\usebox{\HAP@tbb}}% + \endpspicture\par +} +\newcounter{HAP@onslide@count} +\newcounter{HAP@onslide@end} +\newif\ifHAP@displayMat +\let\HAP@onslide@list\@empty +\def\onSlide{\@ifstar{\HAP@onSlide{1}}{\HAP@onSlide{0}}} +\long\def\HAP@onSlide#1#2{% + \HAP@split#2,\relax,% + \let\HAP@next\@gobble + \ifDVItoPS + \ifAccumulate + \let\HAP@next\@iden% + \fi + \else + \ifHAP@displayMat + \let\HAP@next\@iden% + \HAP@displayMatfalse + \else + \ifnum#1=\z@ + \let\HAP@next\@on@overlay@one% + \fi + \fi + \fi + \HAP@next +} +\def\OnSlide#1{% + \HAP@split#1,\relax,% + \ifDVItoPS\else + \ifHAP@displayMat + \HAP@displayMatfalse + \else + \overlay{1}% + \fi + \fi +} +\def\HAP@split#1,{% + \ifx\relax#1\@empty\else + \HAP@read#1--\relax + \expandafter\HAP@split + \fi +} +\def\HAP@read#1-#2-#3\relax{% + \def\HAP@tempa{#1}% + \def\HAP@tempb{#2}% + \def\HAP@tempc{#3}% + \ifx\HAP@tempa\@empty + \setcounter{HAP@onslide@count}{1}% + \else + \HAP@sp\HAP@tempd{#1}% + \ifHAP@plus + \setcounter{HAP@onslide@count}{\value{item@step}}% + \addtocounter{HAP@onslide@count}{\HAP@tempd}% + \else + \setcounter{HAP@onslide@count}{#1}% + \fi + \fi + \ifx\HAP@tempb\@empty + \ifx\HAP@tempc\@empty + \HAP@sp\HAP@tempd{#1}% + \ifHAP@plus + \setcounter{HAP@onslide@end}{\value{item@step}}% + \addtocounter{HAP@onslide@end}{\HAP@tempd}% + \else + \setcounter{HAP@onslide@end}{#1}% + \fi + \else + \setcounter{HAP@onslide@end}{\value{limitOverlays}}% + \fi + \else + \HAP@sp\HAP@tempd{#2}% + \ifHAP@plus + \setcounter{HAP@onslide@end}{\value{item@step}}% + \addtocounter{HAP@onslide@end}{\HAP@tempd}% + \else + \setcounter{HAP@onslide@end}{#2}% + \fi + \fi + \ifnum\value{HAP@onslide@count}>\value{HAP@onslide@end}% + \@expandtwoargs\in@{,\theslide,}{,\HAP@onslide@list,}% + \ifin@\else + \PackageError{HA-prosper}{Invalid onSlide or OnSlide range or missing overlays + on slide \theslide}{You can go ahead, but material will be missing.}% + \xdef\HAP@onslide@list{% + \HAP@onslide@list + \ifx\HAP@onslide@list\@empty\else,\fi + \theslide + }% + \fi + \else + \ifnum\value{HAP@onslide@count}>\value{overlaysCount}\else + \ifnum\value{HAP@onslide@end}<\value{overlaysCount}\else + \HAP@displayMattrue + \fi\fi + \fi +} +\def\:{\let\@pltoken=+}\:% +\newtoks\HAP@toks@ +\newif\ifHAP@plus +\def\HAP@sp#1#2{% + \futurelet\HAP@tempa\HAP@@sp#2\@nil\@nil+\@nil\relax#1}% +\def\HAP@@sp{% + \ifx\HAP@tempa\@pltoken + \HAP@plustrue + \expandafter\HAP@@@sp + \else + \HAP@plusfalse + \expandafter\HAP@@@sp\expandafter+% + \fi +}% +\def\HAP@@@sp+#1\@nil{\HAP@@@@sp#1}% +\def\HAP@@@@sp#1\@nil#2\relax#3{\HAP@toks@{#1}\edef#3{\the\HAP@toks@}} +\newcommand{\xitemwait}[1][1]{\addtocounter{item@step}{#1}} +\define@key{HAP@keys@globalonly}{tsnav}{\gdef\HAP@TSNav{#1}} +\def\TitleSlideNav#1{\gdef\HAP@TSNav{#1}} +\define@key{HAP@keys@globalonly}{nsnav}{\gdef\HAP@NSNav{#1}} +\def\NormalSlideNav#1{\gdef\HAP@NSNav{#1}} +\def\totalpages{\realpageref{last@page}} +\def\HAPsetup#1{% + \xsetkeys{HAP@keys@globalonly,HAP@keys@slide,HAP@keys@step}{#1}% +} +\HAPsetup{lf=,rf=,trans=\@defaultTransition,template=slide,sstart=1, + stype=0,iacolor=lightgray,tsnav=FullScreen,nsnav=ShowBookmarks, + sn={-~p.~\thepage\ifallPages/\totalpages\fi},counters= +} +\input{HA-prosper.cfg} +\hypersetup{pdfpagescrop={0 0 595 840}} +\AtBeginDocument{\def\@pdfcreator{LaTeX with hyperref and + HA-prosper packages}} +\ptsize{10} +\let\slidetitle\@undefined +\IfFileExists{HAP\HAP@Style@chosen.sty}{% + \RequirePackage{HAP\HAP@Style@chosen}% +}{\PackageError{HA-prosper}{unknown HA-prosper style file: HAP\HAP@Style@chosen.sty}% + {Sorry, no additional help}} +\ifx\HAPR@normalSlide\@undefined + \PackageError{HA-prosper}{HA-prosper normal slide is + not defined in your template}% + {Check that your template HAP\HAP@Style@chosen.sty supports + normal slides and that it is up to date}% +\else + \HAPR@normalSlide + \ifx\HAPR@wideSlide\@undefined + \else + \def\wideslide{\@ifnextchar[\HAP@wideslide{\HAP@wideslide[]}}% + \def\HAP@wideslide[#1]#2{% + \HAPR@wideSlide + \begin{slide}[#1]{#2}% + }% + \def\endwideslide{\end{slide}\HAPR@normalSlide}% + \fi + \ifx\HAPR@partSlide\@undefined + \else + \def\partslide{\@ifnextchar[\HAP@partslide{\HAP@partslide[]}}% + \def\HAP@partslide[#1]#2{% + \HAPR@partSlide + \begin{slide}[#1]{#2}% + }% + \def\endpartslide{\end{slide}\HAPR@normalSlide}% + \fi +\fi +\ifcase + \ifx\HAPR@normalSlide\@undefined\@ne\fi + \ifx\HAPR@titleSlide\@undefined\@ne\fi + \z@ + \let\HAP@orig@maketitle=\maketitle + \def\maketitle{\@ifnextchar[\HAP@maketitle{\HAP@maketitle[]}}% + \newcommand{\HAP@maketitle}[1][]{% + \HAPR@titleSlide\HAP@orig@maketitle[#1]\HAPR@normalSlide + }% +\fi +\ifx\HAP@tline\@undefined\def\HAP@tline#1{#1}\fi +\ifx\HAP@tlineonly\@undefined\def\HAP@tlineonly#1{#1}\fi +\ifx\HAP@tsection\@undefined\def\HAP@tsection#1{#1}\fi +\ifx\HAP@tsectiononly\@undefined\def\HAP@tsectiononly#1{#1}\fi +\ifx\HAP@tsectionskip\@undefined\def\HAP@tsectionskip{1.5em}\fi +\ifx\HAP@titemskip\@undefined\def\HAP@titemskip{.1em}\fi +\ifx\HAP@tsectionm\@undefined\let\HAP@tsectionm\@empty\fi +\ifx\HAP@twidth\@undefined\def\HAP@twidth{2cm}\fi +\ifx\HAP@tborder\@undefined\def\HAP@tborder{.05cm}\fi +\ifx\HAP@textc\@undefined\newrgbcolor{HAP@textc}{0 0 0}\fi +\ifx\HAP@framecolor\@undefined\newrgbcolor{HAP@framecolor}{0 0 0}\fi +\ifx\HAP@hcolor\@undefined\newrgbcolor{HAP@hcolor}{0 0 0}\fi +\ifx\HAP@htcolor\@undefined\newrgbcolor{HAP@htcolor}{1 1 1}\fi +\ifx\HAP@tocentry\@undefined + \def\HAP@tocentry{% + \parbox[b]{\HAP@twidth}{\raggedright\HAP@toctext}% + }% +\fi +\ifx\HAP@hltocentry\@undefined + \def\HAP@hltocentry{% + \psframebox*[framesep=\HAP@tborder,fillcolor=HAP@hcolor,boxsep=false]% + {\parbox[b]{\HAP@twidth}{\raggedright{\HAP@htcolor\HAP@toctext}}}% + }% +\fi +\@ifclassloaded{ppr-prv}{\InputIfFileExists{HAP-ppr-prv.def}{}{}}{} +\endinput +%% +%% End of file `HA-prosper.sty'. |