From 79851be36e2c36f6e55608d2faefb3a90f8e2919 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 20 Jun 2021 17:23:15 +0000 Subject: HA-prosper -> ha-prosper git-svn-id: svn://tug.org/texlive/trunk@59651 c570f23f-e606-0410-a88d-b1316a301751 --- .../texmf-dist/doc/latex/HA-prosper/HA-prosper.pdf | Bin 225696 -> 0 bytes .../texmf-dist/doc/latex/HA-prosper/HAPBigtest.tex | 256 -- .../doc/latex/HA-prosper/HAPDualslide.tex | 109 - .../doc/latex/HA-prosper/HAPIntroduction.tex | 201 - Master/texmf-dist/doc/latex/HA-prosper/README | 18 - .../texmf-dist/doc/latex/ha-prosper/HA-prosper.pdf | Bin 0 -> 225696 bytes .../texmf-dist/doc/latex/ha-prosper/HAPBigtest.tex | 256 ++ .../doc/latex/ha-prosper/HAPDualslide.tex | 109 + .../doc/latex/ha-prosper/HAPIntroduction.tex | 201 + Master/texmf-dist/doc/latex/ha-prosper/README | 18 + .../source/latex/HA-prosper/HA-prosper.def | 87 - .../source/latex/HA-prosper/HA-prosper.dtx | 4242 -------------------- .../source/latex/ha-prosper/HA-prosper.def | 87 + .../source/latex/ha-prosper/HA-prosper.dtx | 4242 ++++++++++++++++++++ .../texmf-dist/tex/latex/HA-prosper/HA-prosper.cfg | 46 - .../texmf-dist/tex/latex/HA-prosper/HA-prosper.sty | 1083 ----- .../tex/latex/HA-prosper/Styles/Aggie/AMLogo.eps | 971 ----- .../tex/latex/HA-prosper/Styles/Aggie/HAPAggie.sty | 216 - .../tex/latex/HA-prosper/Styles/Aggie/files.txt | 9 - .../HA-prosper/Styles/Capsules/HAPcapsules.sty | 165 - .../latex/HA-prosper/Styles/Ciment/HAPciment.sty | 126 - .../tex/latex/HA-prosper/Styles/Fyma/HAPFyma.sty | 352 -- .../tex/latex/HA-prosper/Styles/HA/HAPHA.sty | 185 - .../tex/latex/HA-prosper/Styles/HA/flower.ps | 109 - .../tex/latex/HA-prosper/Styles/Lakar/HAPLakar.sty | 212 - .../latex/HA-prosper/Styles/Simple/HAPsimple.sty | 129 - .../tex/latex/HA-prosper/Styles/TCS/HAPTCS.sty | 142 - .../latex/HA-prosper/Styles/TCS/HAPTCSTealBlue.sty | 170 - .../tex/latex/HA-prosper/Styles/TCS/HAPTCSgrad.sty | 155 - .../tex/latex/HA-prosper/Styles/TCS/TCSgradlogo.ps | 46 - .../tex/latex/HA-prosper/Styles/TCS/TCSlogo.ps | 41 - .../tex/latex/HA-prosper/Styles/Tycja/HAPTycja.sty | 160 - .../texmf-dist/tex/latex/ha-prosper/HA-prosper.cfg | 46 + .../texmf-dist/tex/latex/ha-prosper/HA-prosper.sty | 1083 +++++ .../tex/latex/ha-prosper/Styles/Aggie/AMLogo.eps | 971 +++++ .../tex/latex/ha-prosper/Styles/Aggie/HAPAggie.sty | 216 + .../tex/latex/ha-prosper/Styles/Aggie/files.txt | 9 + .../ha-prosper/Styles/Capsules/HAPcapsules.sty | 165 + .../latex/ha-prosper/Styles/Ciment/HAPciment.sty | 126 + .../tex/latex/ha-prosper/Styles/Fyma/HAPFyma.sty | 352 ++ .../tex/latex/ha-prosper/Styles/HA/HAPHA.sty | 185 + .../tex/latex/ha-prosper/Styles/HA/flower.ps | 109 + .../tex/latex/ha-prosper/Styles/Lakar/HAPLakar.sty | 212 + .../latex/ha-prosper/Styles/Simple/HAPsimple.sty | 129 + .../tex/latex/ha-prosper/Styles/TCS/HAPTCS.sty | 142 + .../latex/ha-prosper/Styles/TCS/HAPTCSTealBlue.sty | 170 + .../tex/latex/ha-prosper/Styles/TCS/HAPTCSgrad.sty | 155 + .../tex/latex/ha-prosper/Styles/TCS/TCSgradlogo.ps | 46 + .../tex/latex/ha-prosper/Styles/TCS/TCSlogo.ps | 41 + .../tex/latex/ha-prosper/Styles/Tycja/HAPTycja.sty | 160 + Master/tlpkg/bin/tlpkg-ctan-check | 4 +- Master/tlpkg/libexec/ctan2tds | 14 +- Master/tlpkg/tlpsrc/HA-prosper.tlpsrc | 0 Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc | 2 +- Master/tlpkg/tlpsrc/ha-prosper.tlpsrc | 0 55 files changed, 9240 insertions(+), 9240 deletions(-) delete mode 100644 Master/texmf-dist/doc/latex/HA-prosper/HA-prosper.pdf delete mode 100644 Master/texmf-dist/doc/latex/HA-prosper/HAPBigtest.tex delete mode 100644 Master/texmf-dist/doc/latex/HA-prosper/HAPDualslide.tex delete mode 100644 Master/texmf-dist/doc/latex/HA-prosper/HAPIntroduction.tex delete mode 100644 Master/texmf-dist/doc/latex/HA-prosper/README create mode 100644 Master/texmf-dist/doc/latex/ha-prosper/HA-prosper.pdf create mode 100644 Master/texmf-dist/doc/latex/ha-prosper/HAPBigtest.tex create mode 100644 Master/texmf-dist/doc/latex/ha-prosper/HAPDualslide.tex create mode 100644 Master/texmf-dist/doc/latex/ha-prosper/HAPIntroduction.tex create mode 100644 Master/texmf-dist/doc/latex/ha-prosper/README delete mode 100644 Master/texmf-dist/source/latex/HA-prosper/HA-prosper.def delete mode 100644 Master/texmf-dist/source/latex/HA-prosper/HA-prosper.dtx create mode 100644 Master/texmf-dist/source/latex/ha-prosper/HA-prosper.def create mode 100644 Master/texmf-dist/source/latex/ha-prosper/HA-prosper.dtx delete mode 100644 Master/texmf-dist/tex/latex/HA-prosper/HA-prosper.cfg delete mode 100644 Master/texmf-dist/tex/latex/HA-prosper/HA-prosper.sty delete mode 100644 Master/texmf-dist/tex/latex/HA-prosper/Styles/Aggie/AMLogo.eps delete mode 100644 Master/texmf-dist/tex/latex/HA-prosper/Styles/Aggie/HAPAggie.sty delete mode 100644 Master/texmf-dist/tex/latex/HA-prosper/Styles/Aggie/files.txt delete mode 100644 Master/texmf-dist/tex/latex/HA-prosper/Styles/Capsules/HAPcapsules.sty delete mode 100644 Master/texmf-dist/tex/latex/HA-prosper/Styles/Ciment/HAPciment.sty delete mode 100644 Master/texmf-dist/tex/latex/HA-prosper/Styles/Fyma/HAPFyma.sty delete mode 100644 Master/texmf-dist/tex/latex/HA-prosper/Styles/HA/HAPHA.sty delete mode 100644 Master/texmf-dist/tex/latex/HA-prosper/Styles/HA/flower.ps delete mode 100644 Master/texmf-dist/tex/latex/HA-prosper/Styles/Lakar/HAPLakar.sty delete mode 100644 Master/texmf-dist/tex/latex/HA-prosper/Styles/Simple/HAPsimple.sty delete mode 100644 Master/texmf-dist/tex/latex/HA-prosper/Styles/TCS/HAPTCS.sty delete mode 100644 Master/texmf-dist/tex/latex/HA-prosper/Styles/TCS/HAPTCSTealBlue.sty delete mode 100644 Master/texmf-dist/tex/latex/HA-prosper/Styles/TCS/HAPTCSgrad.sty delete mode 100644 Master/texmf-dist/tex/latex/HA-prosper/Styles/TCS/TCSgradlogo.ps delete mode 100644 Master/texmf-dist/tex/latex/HA-prosper/Styles/TCS/TCSlogo.ps delete mode 100644 Master/texmf-dist/tex/latex/HA-prosper/Styles/Tycja/HAPTycja.sty create mode 100644 Master/texmf-dist/tex/latex/ha-prosper/HA-prosper.cfg create mode 100644 Master/texmf-dist/tex/latex/ha-prosper/HA-prosper.sty create mode 100644 Master/texmf-dist/tex/latex/ha-prosper/Styles/Aggie/AMLogo.eps create mode 100644 Master/texmf-dist/tex/latex/ha-prosper/Styles/Aggie/HAPAggie.sty create mode 100644 Master/texmf-dist/tex/latex/ha-prosper/Styles/Aggie/files.txt create mode 100644 Master/texmf-dist/tex/latex/ha-prosper/Styles/Capsules/HAPcapsules.sty create mode 100644 Master/texmf-dist/tex/latex/ha-prosper/Styles/Ciment/HAPciment.sty create mode 100644 Master/texmf-dist/tex/latex/ha-prosper/Styles/Fyma/HAPFyma.sty create mode 100644 Master/texmf-dist/tex/latex/ha-prosper/Styles/HA/HAPHA.sty create mode 100644 Master/texmf-dist/tex/latex/ha-prosper/Styles/HA/flower.ps create mode 100644 Master/texmf-dist/tex/latex/ha-prosper/Styles/Lakar/HAPLakar.sty create mode 100644 Master/texmf-dist/tex/latex/ha-prosper/Styles/Simple/HAPsimple.sty create mode 100644 Master/texmf-dist/tex/latex/ha-prosper/Styles/TCS/HAPTCS.sty create mode 100644 Master/texmf-dist/tex/latex/ha-prosper/Styles/TCS/HAPTCSTealBlue.sty create mode 100644 Master/texmf-dist/tex/latex/ha-prosper/Styles/TCS/HAPTCSgrad.sty create mode 100644 Master/texmf-dist/tex/latex/ha-prosper/Styles/TCS/TCSgradlogo.ps create mode 100644 Master/texmf-dist/tex/latex/ha-prosper/Styles/TCS/TCSlogo.ps create mode 100644 Master/texmf-dist/tex/latex/ha-prosper/Styles/Tycja/HAPTycja.sty delete mode 100644 Master/tlpkg/tlpsrc/HA-prosper.tlpsrc create mode 100644 Master/tlpkg/tlpsrc/ha-prosper.tlpsrc (limited to 'Master') diff --git a/Master/texmf-dist/doc/latex/HA-prosper/HA-prosper.pdf b/Master/texmf-dist/doc/latex/HA-prosper/HA-prosper.pdf deleted file mode 100644 index d863fff5b2b..00000000000 Binary files a/Master/texmf-dist/doc/latex/HA-prosper/HA-prosper.pdf and /dev/null differ diff --git a/Master/texmf-dist/doc/latex/HA-prosper/HAPBigtest.tex b/Master/texmf-dist/doc/latex/HA-prosper/HAPBigtest.tex deleted file mode 100644 index 360b89b64e3..00000000000 --- a/Master/texmf-dist/doc/latex/HA-prosper/HAPBigtest.tex +++ /dev/null @@ -1,256 +0,0 @@ -\documentclass[pdf]{prosper} - -\usepackage[toc,highlight,blackslide,notes,HA]{HA-prosper} -% Try also -%\usepackage[toc,highlight,blackslide,notes,HA,portrait,hlsections]{HA-prosper} - -% Also try the package options slidesonly, notesonly and sounds. - -\title{Big test for HA-prosper} -\author{ -Me\\ -\institution{My institution}\\ -\email{My e-mail address} -\and -You\\ -\institution{Your institution}\\ -\email{Your e-mail address} -} - -\newcounter{mycounter} -\newcounter{mycounteri} - -% Expected behavior: -% counters mycounter and mycounteri protected on overlays. -% custom text for left footer, right footer and slide number layout -% clicking the logo on title page gives full screen -% clicking the logo on other pages gives bookmarks list -% default transition is Wipe -% default template for parts and tsectionandparts is wideslide -% stepping environments are of type 2, start on overlay 1 -% inactive color is lightgray -% also try the sound option to set transition sounds for slides. -\HAPsetup{ -counters={mycounter,mycounteri}, -lf=\href{http://center.uvt.nl/phd_stud/adriaens}{Hendri Adriaens}, -rf=Big test for HA-prosper, -sn={-~slide~\#\theslide}, -tsnav=FullScreen, -nsnav=ShowBookmarks, -trans=Wipe, -template=wideslide, -stype=2, -sstart=1, -iacolor=lightgray -} - -\begin{document} - -% Expected behavior: -% title slide with special layout, toc entry present and equal to title1 -% bookmark entry present and equal to title2 -\maketitle[toc=title1,bm=title2] - -% Expected behavior: -% First a list of type 2 (set globally), starts at overlay 1 and -% local iacolor gray. item 1 is visible on first overlay. In the -% second list, items remain active and the itemize environment -% appears together with item 2a. -% After the list, mycounter and mycounteri are set to 1 and -% are displayed, mycounteri only from overlay 3. The number -% should of course remain 1 since it is protected globally. -\overlays{5}{ -\begin{slide}{slide1} -Some text. -\begin{itemstep}[iacolor=gray] -\xitem item 1 -\xitem item 2 -\begin{itemstep}[stype=0] -\xitem item 2a -\begin{itemize} -\xitem item 2a1 -\xitem item 2a2 -\end{itemize} -\xitem item 2b -\end{itemstep} -\xitem item 3 -\end{itemstep} -\stepcounter{mycounter}My counter: \themycounter.\par -\onSlide{3-}{\stepcounter{mycounteri}Another counter: \themycounteri.} -\end{slide} -} - -% Expected behavior: -% a section in the toc names tsection1 -% a corresponding bookmark named tsection1a -\tsection[tsection1a]{tsection1} - -% Expected behavior: -% Slide with red title slide2, toc entry slide2a and bookmark slide2b -% Local transition is Blinds. -% A test on \onSlide and the equation, table and figure counters. -% The equation is displayed on overlays 2,3,4 taking no space when -% not displayed. -% The table is displayed until (and including) overlay 3. -% The figure is displayed from (and including) overlay 3. -\overlays{5}{ -\begin{slide}[trans=Blinds,toc=slide2a and a very very very long title,bm=slide2b]{slide2} -\onSlide*{2,3-4}{ -\begin{equation} -x^2+y^2=z^2 -\end{equation}} -\onSlide*{-3}{ -\begin{table}\centering -\caption{My table}A table. -\end{table}}\par -\onSlide{3-}{ -\begin{figure}\centering -\caption{My figure}A figure. -\end{figure}} -\end{slide} -} - -% Expected behavior: -% A part slide, no new section in toc or bookmarks list. Local -% transition Dissolve, toc entry part1a and bookmark part1b. -\part[trans=Dissolve,toc=part1a,bm=part1b]{part1} - -% Expected behavior: -% Testing dualslide, \xitem, \xitemwait and stepping environments. -% The dualslide construct should have a wide right column, a less -% wide left column, a line in between. Heights are 5, 4 and 3 cm -% from left to right, some indentation and other tweaks in dimensions. -% Left frame has normal line, but wide. The line is dashed and the -% rightframe has a different color. -% The stepping environments left and right have been adjusted such -% that items appear in the order as they are numbered in the text. -% The lists are of type 1: appear and become inactive afterwards. -% Items 1 and 6 will stay active for 2 overlays. -\overlays{11}{ -\begin{wideslide}{slide3} -Some text. Notice the vertically justified list in the left column. -\dualslide[linewidth=.1cm][linestyle=dashed][linecolor=lightgray]{ -lcolwidth=.35\linewidth, -rcolwidth=.49\linewidth, -colsep=.1\linewidth, -frsep=3mm, -lfrheight=5cm, -lineheight=4cm, -rfrheight=3cm, -topsep=.4cm, -bottomsep=.3cm, -indent=5mm -}{ -\parbox[t][4.6cm]{\linewidth}{% -\begin{enumstep}[stype=1] -\xitem<1> item 1 -\begin{itemize} -\xitem item 1a -\begin{itemstep} -\xitem item 1a1 -\end{itemstep} -\xitem item 1b -\end{itemize}\vfill -\xitemwait -\xitem item 3\vfill -\xitemwait[3] -\xitem item 5\vfill -\xitem<1> item 6 -\end{enumstep} -} -}{ -\begin{itemstep}[sstart=3,stype=1] -\xitem item 2 -\xitemwait -\xitem item 4 -\begin{enumstep} -\xitem item 4a -\xitem item 4b -\end{enumstep} -\xitemwait[3] -\xitem item 7 -\end{itemstep} -} -Some text. -\end{wideslide} -} - -% Expected behavior: -% A part and a toc section. Template is a normal slide (overrule the -% globel setting). Different transition effect, toc entry tsectionandpart1b -% and bookmark tsectionandpart1a. Section is hidden until entered. -\tsectionandpart*[template=slide,trans=Glitter,bm=tsectionandpart1a, -toc=tsectionandpart1b and a very very very long title]{\red tsectionandpart 1} - -% Expected behavior: -% Blackslide test and some other tests on \onSlide and \OnSlide -% taken from the documentation. The first two lines containing -% \onSlide should produce the same output, namely -% One on overlays 1-3,5-6,8,10-12 -% Two on overlays 1-2,6,8,10-12 -% Three on overlays 2,8,10-12 -% The next two lines show the difference of \onSlide and \onSlide* -% Note that \onSlide* should not move the cursor and replace the -% word One by Two by Three. -% The last lines test \OnSlide which acts on all the material -% following the command. -\overlays{12}{ -\begin{slide}{slide4} -\hyperlink{blackslide}{Click here to pause the presentation.}\par -\onSlide{-3,5-6,8,10-}{One}\onSlide{-2,6,8,10-}{Two}\onSlide{2,8,10-}{Three}\par -\onSlide{-3,5-6,8,10-}{One\onSlide{-2,6-}{Two\onSlide{2,8-}{Three}}}\par -\onSlide{1}{One}\onSlide{2}{Two}\onSlide{3-}{Three}\par -\onSlide*{1}{One}\onSlide*{2}{Two}\onSlide*{3-}{Three}\par -\OnSlide{5-}Some material.\par -More material. -\end{slide} -} - -% Expected behavior: -% Test on syntax \xitem and \onSlide{+x-+y}{...} -% item 1: active on first 3 overlays -% item 2: present on overlay 2 -% item 3: present on overlays 3 to end -% item 4: present on overlays 2 to 4 -% item 5: present on overlays from start to 3 -% item 6: active on overlay 5 -% Notice that the behavior of items 2-5 is relative to item 1 -% When adding an item in front of item 1, the overlays on which -% these items are present, change but remain the same, relative -% to item 1. -\overlays{6}{ -\begin{slide}{slide5} -\begin{enumstep} -% \xitem Try me! -\xitem<3> item 1 -\begin{center} -\onSlide{+1}{item 2}\par -\onSlide{+2-}{item 3}\par -\onSlide{+1-+3}{item 4}\par -\onSlide{-+2}{item 5} -\end{center} -\xitemwait[3] -\xitem item 6 -\end{enumstep} -\end{slide} -} - -% Expected behavior: -% Notes. Notice that the page number should be 6-1. -\begin{notes}{notes1} -Some notes. -\end{notes} - -% Expected behavior: -% Notes. Notice that the page number should be 6-2. -\begin{notes}{notes2} -More notes. -\end{notes} - -% Expected behavior: -% no overlays, no animations. -\begin{slide}{slide6} -Final slide without overlays. -\end{slide} - -\end{document} diff --git a/Master/texmf-dist/doc/latex/HA-prosper/HAPDualslide.tex b/Master/texmf-dist/doc/latex/HA-prosper/HAPDualslide.tex deleted file mode 100644 index 70f6163306d..00000000000 --- a/Master/texmf-dist/doc/latex/HA-prosper/HAPDualslide.tex +++ /dev/null @@ -1,109 +0,0 @@ -\documentclass[pdf]{prosper} - -% Dualslide example for the `HA-Prosper' package. -% Created by: Hendri Adriaens -% http://center.uvt.nl/phd_stud/adriaens -% Center for Economic Research -% Tilburg University, the Netherlands - -%================================================ -% Please also read the manual of HA-prosper and -% of the specific style you are using since some -% features of this example might not be supported -% by the style you use. -%================================================ - -\usepackage[toc,highlight,HA]{HA-prosper} - -\HAPsetup{% -trans=Wipe, -tsnav=FullScreen, -nsnav=ShowBookmarks, -lf={\href{http://center.uvt.nl/phd_stud/adriaens}{Hendri Adriaens}, \today}, -rf={Dualslide example for the HA-prosper package} -} - -\title{Dualslide example for the HA-prosper package} -\subtitle{A package for use with prosper} -\author{Hendri Adriaens\\ -\institution{CentER}\\ -\institution{\href{http://center.uvt.nl/phd_stud/adriaens}{http://center.uvt.nl/phd\string_stud/adriaens}}} - - -\begin{document} - -% ================================================================================== -% Slide 1 -\maketitle -% ================================================================================== - - -% ================================================================================== -% Slide 2 -\overlays{5}{% -\begin{slide}{Dualslide 1} -\dualslide[linestyle=dashed,dash=4pt 4pt][linestyle=dotted]{% -lineheight=6cm,% -rfrheight=6cm,% -lfrheight=6cm,% -lcolwidth=.4\linewidth,% -rcolwidth=.54\linewidth}{% - \begin{itemstep} - \xitem HA-prosper also provides dualslides. - \xitem This macro can be used to put content into two columns. - \xitem One column can contain the text - \xitemwait - \xitem and the other column for instance a figure. - \end{itemstep} -}{% - \onSlide{4-}{This is the figure:\par% - \includegraphics[scale=.26]{flower.ps}}% -} -\end{slide} -} -% ================================================================================== - - -% ================================================================================== -% Slide 3 -\overlays{4}{ -\begin{slide}{Dualslide 2} -\dualslide[shadow=true,shadowcolor=HAP@framecolor]{rfrheight=6cm}{% - \begin{itemstep} - \xitem You can also use the dualslide - \xitem and the tools that HA-prosper provides - \end{itemstep} -}{% - \begin{itemstep}[sstart=3] - \xitem to continue a list - \xitem in the right column. - \end{itemstep} -} -\end{slide} -} -% ================================================================================== - - -% ================================================================================== -% Slide 4 -\overlays{4}{ -\begin{slide}{Dualslide 3} -This slide demonstrates top and bottom text for dualslides and some HA-prosper tools. -\dualslide{lineheight=4.2cm,topsep=.2cm}{ - \begin{itemstep} - \xitem These are just some examples - \xitem of the possibilities of HA-prosper tools - \xitem in combination with dualslide. - \end{itemstep} -}{ - \onSlide*{1}{\includegraphics[scale=.1]{flower.ps}} - \onSlide*{2}{\includegraphics[scale=.15]{flower.ps}} - \onSlide{3-}{\includegraphics[scale=.2]{flower.ps}} -} -\onSlide{4}{This is the end of the dualslide example.} -\end{slide} -} -% ================================================================================== - - -\end{document} diff --git a/Master/texmf-dist/doc/latex/HA-prosper/HAPIntroduction.tex b/Master/texmf-dist/doc/latex/HA-prosper/HAPIntroduction.tex deleted file mode 100644 index bc550265a7a..00000000000 --- a/Master/texmf-dist/doc/latex/HA-prosper/HAPIntroduction.tex +++ /dev/null @@ -1,201 +0,0 @@ -\documentclass[pdf]{prosper} - -% Introduction to the `HA-Prosper' package. -% Created by: Hendri Adriaens -% http://center.uvt.nl/phd_stud/adriaens -% Center for Economic Research -% Tilburg University, the Netherlands - -%================================================ -% Please also read the manual of HA-prosper and -% of the specific style you are using since some -% features of this example might not be supported -% by the style you use. -%================================================ - -\usepackage[toc,highlight,HA]{HA-prosper} - -\HAPsetup{% -trans=Wipe, -tsnav=FullScreen, -nsnav=ShowBookmarks, -lf={\href{http://center.uvt.nl/phd_stud/adriaens}{Hendri Adriaens}, \today}, -rf={Dualslide example for the HA-prosper package}, -iacolor=gray, -stype=1 -} - -\title{Introduction to the HA-prosper package} -\subtitle{A package for use with prosper} -\author{Hendri Adriaens\\ -\institution{CentER}\\ -\institution{\href{http://center.uvt.nl/phd_stud/adriaens}{http://center.uvt.nl/phd\string_stud/adriaens}}} - - -\begin{document} - -% ================================================================================== -% Slide 1 -\maketitle -% ================================================================================== - - -% ================================================================================== -% Slide 2 -\tsectionandpart{Introduction} -% ================================================================================== - - -% ================================================================================== -% Slide 3 -\overlays{2}{ -\begin{slide}{Welcome} -\begin{itemstep} - \xitem Welcome to the introduction of the HA-prosper package. - \xitem Features of HA-prosper are: - \begin{itemize} - \xitem table of contents; - \xitem portrait slides support; - \xitem notes; - \xitem dual slides; - \xitem prosper bug solutions; - \xitem and lots more. - \end{itemize} -\end{itemstep} -\end{slide} -} -% ================================================================================== - - -% ================================================================================== -% Slide 4 -\overlays{2}{ -\begin{slide}{Styles} -\begin{itemstep} - \xitem The HA-prosper packages adds functionality to prosper, but\dots - \xitem The available styles show how to extend these possibilities - even further and for instance: - \begin{itemize} - \xitem embed additional navigational elements on slides; - \xitem use multiple slide layouts in the same presentation; - \xitem etcetera. - \end{itemize} -\end{itemstep} -\end{slide} -} -% ================================================================================== - - -% ================================================================================== -% Slide 5 -\tsectionandpart{Features} -% ================================================================================== - - -% ================================================================================== -% Slide 6 -\overlays{4}{ -\begin{slide}{Table of contents} -\begin{itemstep} - \xitem A table of contents can be put on every slide; - \xitem A table of contents entry is created from the slide title - or from text that is given as an optional argument; - \xitem The table of contents has the following features: - \begin{itemize} - \xitem Highlighting of the current slide or section is possible; - \xitem Items can be omitted; - \xitem Parts of the table of contents can be hidden when these are - unnecessary. - \end{itemize} - \xitem The style that you use should of course support the inclusion - of the table of contents. -\end{itemstep} -\end{slide} -} -% ================================================================================== - - -% ================================================================================== -% Slide 7 -\overlays{6}{ -\begin{slide}{More features} -HA-prosper contains more features which are fully described in the manual. -\begin{itemstep}[sstart=2] - \xitem Portrait slides; - \xitem Notes; - \xitem Dual slides; - \xitem Blackslide; - \xitem and a lot more\dots -\end{itemstep} -\end{slide} -} -% ================================================================================== - - -% ================================================================================== -% Slide 8 -\overlays{5}{ -\begin{slide}{Prosper bug solutions} -\begin{itemstep} - \xitem Numbering of equations, tables and figures on overlays is supported be default; - \xitem Custom counters can be protected throughout the presentation; - \xitem The `\textbackslash and' command for authors is supported; - \xitem Improved placement of left and right footers; - \xitem and more. -\end{itemstep} -\end{slide} -} -% ================================================================================== - - -% ================================================================================== -% Slide 9 -\tsectionandpart{Contributions and questions} -% ================================================================================== - - -% ================================================================================== -% Slide 10 -\overlays{3}{ -\begin{slide}{Contributions} -\begin{itemstep} - \xitem Contributions are always welcome. - \xitem In case you want to contribute a style, which offers undocumented - features, please insert both - \begin{itemize} - \xitem documentation; - \xitem an example that demonstrates all the features that your style provides. - \end{itemize} - \xitem You can contact - \href{http://stuwww.uvt.nl/~hendri/Personal/contact.html}{\underline{Hendri Adriaens}} - (click the link) in case you have comments or questions about - developing a new template or if want to submit your style. -\end{itemstep} -\end{slide} -} -% ================================================================================== - - -% ================================================================================== -% Slide 11 -\overlays{2}{ -\begin{slide}{Questions} -\begin{itemstep} - \xitem If you have questions, please first consult the documentation - of the following packages (depending on your problem): - \begin{itemize} - \xitem HA-prosper; - \xitem Prosper; - \xitem Hyperref; - \xitem PSTricks. - \end{itemize} - \xitem In case you cannot find the answer and your question is related - to HA-prosper, you can post a message to the HA-prosper mailinglist:\par - \href{http://listserv.surfnet.nl/archives/ha-prosper.html}{http://listserv.surfnet.nl/archives/ha-prosper.html}. -\end{itemstep} -\end{slide} -} -% ================================================================================== - - -\end{document} diff --git a/Master/texmf-dist/doc/latex/HA-prosper/README b/Master/texmf-dist/doc/latex/HA-prosper/README deleted file mode 100644 index d0bc0c7a2b7..00000000000 --- a/Master/texmf-dist/doc/latex/HA-prosper/README +++ /dev/null @@ -1,18 +0,0 @@ -HA-prosper ----------- -HA-prosper is a patch for prosper that adds new -functionality to prosper based presentations. - - -Installation ------------- -This package includes pre-generated run and doc files, -but you can reproduce them from the source if necessary. - -The files in `Doc' should go into the `doc' tree of your -LaTeX distribution, the files in `Run' into the `tex' run -tree and the files in `Source' into the source tree. - -See for more information about installing packages: -http://www.tex.ac.uk/cgi-bin/texfaq2html?label=instpackages - diff --git a/Master/texmf-dist/doc/latex/ha-prosper/HA-prosper.pdf b/Master/texmf-dist/doc/latex/ha-prosper/HA-prosper.pdf new file mode 100644 index 00000000000..d863fff5b2b Binary files /dev/null and b/Master/texmf-dist/doc/latex/ha-prosper/HA-prosper.pdf differ diff --git a/Master/texmf-dist/doc/latex/ha-prosper/HAPBigtest.tex b/Master/texmf-dist/doc/latex/ha-prosper/HAPBigtest.tex new file mode 100644 index 00000000000..360b89b64e3 --- /dev/null +++ b/Master/texmf-dist/doc/latex/ha-prosper/HAPBigtest.tex @@ -0,0 +1,256 @@ +\documentclass[pdf]{prosper} + +\usepackage[toc,highlight,blackslide,notes,HA]{HA-prosper} +% Try also +%\usepackage[toc,highlight,blackslide,notes,HA,portrait,hlsections]{HA-prosper} + +% Also try the package options slidesonly, notesonly and sounds. + +\title{Big test for HA-prosper} +\author{ +Me\\ +\institution{My institution}\\ +\email{My e-mail address} +\and +You\\ +\institution{Your institution}\\ +\email{Your e-mail address} +} + +\newcounter{mycounter} +\newcounter{mycounteri} + +% Expected behavior: +% counters mycounter and mycounteri protected on overlays. +% custom text for left footer, right footer and slide number layout +% clicking the logo on title page gives full screen +% clicking the logo on other pages gives bookmarks list +% default transition is Wipe +% default template for parts and tsectionandparts is wideslide +% stepping environments are of type 2, start on overlay 1 +% inactive color is lightgray +% also try the sound option to set transition sounds for slides. +\HAPsetup{ +counters={mycounter,mycounteri}, +lf=\href{http://center.uvt.nl/phd_stud/adriaens}{Hendri Adriaens}, +rf=Big test for HA-prosper, +sn={-~slide~\#\theslide}, +tsnav=FullScreen, +nsnav=ShowBookmarks, +trans=Wipe, +template=wideslide, +stype=2, +sstart=1, +iacolor=lightgray +} + +\begin{document} + +% Expected behavior: +% title slide with special layout, toc entry present and equal to title1 +% bookmark entry present and equal to title2 +\maketitle[toc=title1,bm=title2] + +% Expected behavior: +% First a list of type 2 (set globally), starts at overlay 1 and +% local iacolor gray. item 1 is visible on first overlay. In the +% second list, items remain active and the itemize environment +% appears together with item 2a. +% After the list, mycounter and mycounteri are set to 1 and +% are displayed, mycounteri only from overlay 3. The number +% should of course remain 1 since it is protected globally. +\overlays{5}{ +\begin{slide}{slide1} +Some text. +\begin{itemstep}[iacolor=gray] +\xitem item 1 +\xitem item 2 +\begin{itemstep}[stype=0] +\xitem item 2a +\begin{itemize} +\xitem item 2a1 +\xitem item 2a2 +\end{itemize} +\xitem item 2b +\end{itemstep} +\xitem item 3 +\end{itemstep} +\stepcounter{mycounter}My counter: \themycounter.\par +\onSlide{3-}{\stepcounter{mycounteri}Another counter: \themycounteri.} +\end{slide} +} + +% Expected behavior: +% a section in the toc names tsection1 +% a corresponding bookmark named tsection1a +\tsection[tsection1a]{tsection1} + +% Expected behavior: +% Slide with red title slide2, toc entry slide2a and bookmark slide2b +% Local transition is Blinds. +% A test on \onSlide and the equation, table and figure counters. +% The equation is displayed on overlays 2,3,4 taking no space when +% not displayed. +% The table is displayed until (and including) overlay 3. +% The figure is displayed from (and including) overlay 3. +\overlays{5}{ +\begin{slide}[trans=Blinds,toc=slide2a and a very very very long title,bm=slide2b]{slide2} +\onSlide*{2,3-4}{ +\begin{equation} +x^2+y^2=z^2 +\end{equation}} +\onSlide*{-3}{ +\begin{table}\centering +\caption{My table}A table. +\end{table}}\par +\onSlide{3-}{ +\begin{figure}\centering +\caption{My figure}A figure. +\end{figure}} +\end{slide} +} + +% Expected behavior: +% A part slide, no new section in toc or bookmarks list. Local +% transition Dissolve, toc entry part1a and bookmark part1b. +\part[trans=Dissolve,toc=part1a,bm=part1b]{part1} + +% Expected behavior: +% Testing dualslide, \xitem, \xitemwait and stepping environments. +% The dualslide construct should have a wide right column, a less +% wide left column, a line in between. Heights are 5, 4 and 3 cm +% from left to right, some indentation and other tweaks in dimensions. +% Left frame has normal line, but wide. The line is dashed and the +% rightframe has a different color. +% The stepping environments left and right have been adjusted such +% that items appear in the order as they are numbered in the text. +% The lists are of type 1: appear and become inactive afterwards. +% Items 1 and 6 will stay active for 2 overlays. +\overlays{11}{ +\begin{wideslide}{slide3} +Some text. Notice the vertically justified list in the left column. +\dualslide[linewidth=.1cm][linestyle=dashed][linecolor=lightgray]{ +lcolwidth=.35\linewidth, +rcolwidth=.49\linewidth, +colsep=.1\linewidth, +frsep=3mm, +lfrheight=5cm, +lineheight=4cm, +rfrheight=3cm, +topsep=.4cm, +bottomsep=.3cm, +indent=5mm +}{ +\parbox[t][4.6cm]{\linewidth}{% +\begin{enumstep}[stype=1] +\xitem<1> item 1 +\begin{itemize} +\xitem item 1a +\begin{itemstep} +\xitem item 1a1 +\end{itemstep} +\xitem item 1b +\end{itemize}\vfill +\xitemwait +\xitem item 3\vfill +\xitemwait[3] +\xitem item 5\vfill +\xitem<1> item 6 +\end{enumstep} +} +}{ +\begin{itemstep}[sstart=3,stype=1] +\xitem item 2 +\xitemwait +\xitem item 4 +\begin{enumstep} +\xitem item 4a +\xitem item 4b +\end{enumstep} +\xitemwait[3] +\xitem item 7 +\end{itemstep} +} +Some text. +\end{wideslide} +} + +% Expected behavior: +% A part and a toc section. Template is a normal slide (overrule the +% globel setting). Different transition effect, toc entry tsectionandpart1b +% and bookmark tsectionandpart1a. Section is hidden until entered. +\tsectionandpart*[template=slide,trans=Glitter,bm=tsectionandpart1a, +toc=tsectionandpart1b and a very very very long title]{\red tsectionandpart 1} + +% Expected behavior: +% Blackslide test and some other tests on \onSlide and \OnSlide +% taken from the documentation. The first two lines containing +% \onSlide should produce the same output, namely +% One on overlays 1-3,5-6,8,10-12 +% Two on overlays 1-2,6,8,10-12 +% Three on overlays 2,8,10-12 +% The next two lines show the difference of \onSlide and \onSlide* +% Note that \onSlide* should not move the cursor and replace the +% word One by Two by Three. +% The last lines test \OnSlide which acts on all the material +% following the command. +\overlays{12}{ +\begin{slide}{slide4} +\hyperlink{blackslide}{Click here to pause the presentation.}\par +\onSlide{-3,5-6,8,10-}{One}\onSlide{-2,6,8,10-}{Two}\onSlide{2,8,10-}{Three}\par +\onSlide{-3,5-6,8,10-}{One\onSlide{-2,6-}{Two\onSlide{2,8-}{Three}}}\par +\onSlide{1}{One}\onSlide{2}{Two}\onSlide{3-}{Three}\par +\onSlide*{1}{One}\onSlide*{2}{Two}\onSlide*{3-}{Three}\par +\OnSlide{5-}Some material.\par +More material. +\end{slide} +} + +% Expected behavior: +% Test on syntax \xitem and \onSlide{+x-+y}{...} +% item 1: active on first 3 overlays +% item 2: present on overlay 2 +% item 3: present on overlays 3 to end +% item 4: present on overlays 2 to 4 +% item 5: present on overlays from start to 3 +% item 6: active on overlay 5 +% Notice that the behavior of items 2-5 is relative to item 1 +% When adding an item in front of item 1, the overlays on which +% these items are present, change but remain the same, relative +% to item 1. +\overlays{6}{ +\begin{slide}{slide5} +\begin{enumstep} +% \xitem Try me! +\xitem<3> item 1 +\begin{center} +\onSlide{+1}{item 2}\par +\onSlide{+2-}{item 3}\par +\onSlide{+1-+3}{item 4}\par +\onSlide{-+2}{item 5} +\end{center} +\xitemwait[3] +\xitem item 6 +\end{enumstep} +\end{slide} +} + +% Expected behavior: +% Notes. Notice that the page number should be 6-1. +\begin{notes}{notes1} +Some notes. +\end{notes} + +% Expected behavior: +% Notes. Notice that the page number should be 6-2. +\begin{notes}{notes2} +More notes. +\end{notes} + +% Expected behavior: +% no overlays, no animations. +\begin{slide}{slide6} +Final slide without overlays. +\end{slide} + +\end{document} diff --git a/Master/texmf-dist/doc/latex/ha-prosper/HAPDualslide.tex b/Master/texmf-dist/doc/latex/ha-prosper/HAPDualslide.tex new file mode 100644 index 00000000000..70f6163306d --- /dev/null +++ b/Master/texmf-dist/doc/latex/ha-prosper/HAPDualslide.tex @@ -0,0 +1,109 @@ +\documentclass[pdf]{prosper} + +% Dualslide example for the `HA-Prosper' package. +% Created by: Hendri Adriaens +% http://center.uvt.nl/phd_stud/adriaens +% Center for Economic Research +% Tilburg University, the Netherlands + +%================================================ +% Please also read the manual of HA-prosper and +% of the specific style you are using since some +% features of this example might not be supported +% by the style you use. +%================================================ + +\usepackage[toc,highlight,HA]{HA-prosper} + +\HAPsetup{% +trans=Wipe, +tsnav=FullScreen, +nsnav=ShowBookmarks, +lf={\href{http://center.uvt.nl/phd_stud/adriaens}{Hendri Adriaens}, \today}, +rf={Dualslide example for the HA-prosper package} +} + +\title{Dualslide example for the HA-prosper package} +\subtitle{A package for use with prosper} +\author{Hendri Adriaens\\ +\institution{CentER}\\ +\institution{\href{http://center.uvt.nl/phd_stud/adriaens}{http://center.uvt.nl/phd\string_stud/adriaens}}} + + +\begin{document} + +% ================================================================================== +% Slide 1 +\maketitle +% ================================================================================== + + +% ================================================================================== +% Slide 2 +\overlays{5}{% +\begin{slide}{Dualslide 1} +\dualslide[linestyle=dashed,dash=4pt 4pt][linestyle=dotted]{% +lineheight=6cm,% +rfrheight=6cm,% +lfrheight=6cm,% +lcolwidth=.4\linewidth,% +rcolwidth=.54\linewidth}{% + \begin{itemstep} + \xitem HA-prosper also provides dualslides. + \xitem This macro can be used to put content into two columns. + \xitem One column can contain the text + \xitemwait + \xitem and the other column for instance a figure. + \end{itemstep} +}{% + \onSlide{4-}{This is the figure:\par% + \includegraphics[scale=.26]{flower.ps}}% +} +\end{slide} +} +% ================================================================================== + + +% ================================================================================== +% Slide 3 +\overlays{4}{ +\begin{slide}{Dualslide 2} +\dualslide[shadow=true,shadowcolor=HAP@framecolor]{rfrheight=6cm}{% + \begin{itemstep} + \xitem You can also use the dualslide + \xitem and the tools that HA-prosper provides + \end{itemstep} +}{% + \begin{itemstep}[sstart=3] + \xitem to continue a list + \xitem in the right column. + \end{itemstep} +} +\end{slide} +} +% ================================================================================== + + +% ================================================================================== +% Slide 4 +\overlays{4}{ +\begin{slide}{Dualslide 3} +This slide demonstrates top and bottom text for dualslides and some HA-prosper tools. +\dualslide{lineheight=4.2cm,topsep=.2cm}{ + \begin{itemstep} + \xitem These are just some examples + \xitem of the possibilities of HA-prosper tools + \xitem in combination with dualslide. + \end{itemstep} +}{ + \onSlide*{1}{\includegraphics[scale=.1]{flower.ps}} + \onSlide*{2}{\includegraphics[scale=.15]{flower.ps}} + \onSlide{3-}{\includegraphics[scale=.2]{flower.ps}} +} +\onSlide{4}{This is the end of the dualslide example.} +\end{slide} +} +% ================================================================================== + + +\end{document} diff --git a/Master/texmf-dist/doc/latex/ha-prosper/HAPIntroduction.tex b/Master/texmf-dist/doc/latex/ha-prosper/HAPIntroduction.tex new file mode 100644 index 00000000000..bc550265a7a --- /dev/null +++ b/Master/texmf-dist/doc/latex/ha-prosper/HAPIntroduction.tex @@ -0,0 +1,201 @@ +\documentclass[pdf]{prosper} + +% Introduction to the `HA-Prosper' package. +% Created by: Hendri Adriaens +% http://center.uvt.nl/phd_stud/adriaens +% Center for Economic Research +% Tilburg University, the Netherlands + +%================================================ +% Please also read the manual of HA-prosper and +% of the specific style you are using since some +% features of this example might not be supported +% by the style you use. +%================================================ + +\usepackage[toc,highlight,HA]{HA-prosper} + +\HAPsetup{% +trans=Wipe, +tsnav=FullScreen, +nsnav=ShowBookmarks, +lf={\href{http://center.uvt.nl/phd_stud/adriaens}{Hendri Adriaens}, \today}, +rf={Dualslide example for the HA-prosper package}, +iacolor=gray, +stype=1 +} + +\title{Introduction to the HA-prosper package} +\subtitle{A package for use with prosper} +\author{Hendri Adriaens\\ +\institution{CentER}\\ +\institution{\href{http://center.uvt.nl/phd_stud/adriaens}{http://center.uvt.nl/phd\string_stud/adriaens}}} + + +\begin{document} + +% ================================================================================== +% Slide 1 +\maketitle +% ================================================================================== + + +% ================================================================================== +% Slide 2 +\tsectionandpart{Introduction} +% ================================================================================== + + +% ================================================================================== +% Slide 3 +\overlays{2}{ +\begin{slide}{Welcome} +\begin{itemstep} + \xitem Welcome to the introduction of the HA-prosper package. + \xitem Features of HA-prosper are: + \begin{itemize} + \xitem table of contents; + \xitem portrait slides support; + \xitem notes; + \xitem dual slides; + \xitem prosper bug solutions; + \xitem and lots more. + \end{itemize} +\end{itemstep} +\end{slide} +} +% ================================================================================== + + +% ================================================================================== +% Slide 4 +\overlays{2}{ +\begin{slide}{Styles} +\begin{itemstep} + \xitem The HA-prosper packages adds functionality to prosper, but\dots + \xitem The available styles show how to extend these possibilities + even further and for instance: + \begin{itemize} + \xitem embed additional navigational elements on slides; + \xitem use multiple slide layouts in the same presentation; + \xitem etcetera. + \end{itemize} +\end{itemstep} +\end{slide} +} +% ================================================================================== + + +% ================================================================================== +% Slide 5 +\tsectionandpart{Features} +% ================================================================================== + + +% ================================================================================== +% Slide 6 +\overlays{4}{ +\begin{slide}{Table of contents} +\begin{itemstep} + \xitem A table of contents can be put on every slide; + \xitem A table of contents entry is created from the slide title + or from text that is given as an optional argument; + \xitem The table of contents has the following features: + \begin{itemize} + \xitem Highlighting of the current slide or section is possible; + \xitem Items can be omitted; + \xitem Parts of the table of contents can be hidden when these are + unnecessary. + \end{itemize} + \xitem The style that you use should of course support the inclusion + of the table of contents. +\end{itemstep} +\end{slide} +} +% ================================================================================== + + +% ================================================================================== +% Slide 7 +\overlays{6}{ +\begin{slide}{More features} +HA-prosper contains more features which are fully described in the manual. +\begin{itemstep}[sstart=2] + \xitem Portrait slides; + \xitem Notes; + \xitem Dual slides; + \xitem Blackslide; + \xitem and a lot more\dots +\end{itemstep} +\end{slide} +} +% ================================================================================== + + +% ================================================================================== +% Slide 8 +\overlays{5}{ +\begin{slide}{Prosper bug solutions} +\begin{itemstep} + \xitem Numbering of equations, tables and figures on overlays is supported be default; + \xitem Custom counters can be protected throughout the presentation; + \xitem The `\textbackslash and' command for authors is supported; + \xitem Improved placement of left and right footers; + \xitem and more. +\end{itemstep} +\end{slide} +} +% ================================================================================== + + +% ================================================================================== +% Slide 9 +\tsectionandpart{Contributions and questions} +% ================================================================================== + + +% ================================================================================== +% Slide 10 +\overlays{3}{ +\begin{slide}{Contributions} +\begin{itemstep} + \xitem Contributions are always welcome. + \xitem In case you want to contribute a style, which offers undocumented + features, please insert both + \begin{itemize} + \xitem documentation; + \xitem an example that demonstrates all the features that your style provides. + \end{itemize} + \xitem You can contact + \href{http://stuwww.uvt.nl/~hendri/Personal/contact.html}{\underline{Hendri Adriaens}} + (click the link) in case you have comments or questions about + developing a new template or if want to submit your style. +\end{itemstep} +\end{slide} +} +% ================================================================================== + + +% ================================================================================== +% Slide 11 +\overlays{2}{ +\begin{slide}{Questions} +\begin{itemstep} + \xitem If you have questions, please first consult the documentation + of the following packages (depending on your problem): + \begin{itemize} + \xitem HA-prosper; + \xitem Prosper; + \xitem Hyperref; + \xitem PSTricks. + \end{itemize} + \xitem In case you cannot find the answer and your question is related + to HA-prosper, you can post a message to the HA-prosper mailinglist:\par + \href{http://listserv.surfnet.nl/archives/ha-prosper.html}{http://listserv.surfnet.nl/archives/ha-prosper.html}. +\end{itemstep} +\end{slide} +} +% ================================================================================== + + +\end{document} diff --git a/Master/texmf-dist/doc/latex/ha-prosper/README b/Master/texmf-dist/doc/latex/ha-prosper/README new file mode 100644 index 00000000000..d0bc0c7a2b7 --- /dev/null +++ b/Master/texmf-dist/doc/latex/ha-prosper/README @@ -0,0 +1,18 @@ +HA-prosper +---------- +HA-prosper is a patch for prosper that adds new +functionality to prosper based presentations. + + +Installation +------------ +This package includes pre-generated run and doc files, +but you can reproduce them from the source if necessary. + +The files in `Doc' should go into the `doc' tree of your +LaTeX distribution, the files in `Run' into the `tex' run +tree and the files in `Source' into the source tree. + +See for more information about installing packages: +http://www.tex.ac.uk/cgi-bin/texfaq2html?label=instpackages + diff --git a/Master/texmf-dist/source/latex/HA-prosper/HA-prosper.def b/Master/texmf-dist/source/latex/HA-prosper/HA-prosper.def deleted file mode 100644 index 92e17c93544..00000000000 --- a/Master/texmf-dist/source/latex/HA-prosper/HA-prosper.def +++ /dev/null @@ -1,87 +0,0 @@ -%% -%% ------------------------------------------ -%% Copyright (C) 2003-2005 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. -%% -%% Extra definitions for the HA-prosper documentation. -\usepackage{epic} -\usepackage{pstricks} -\usepackage{multicol} -\usepackage{array} -\usepackage{url} -\usepackage{pst-3d} -\usepackage{pst-node} -\SpecialCoor -\makeatletter -\renewenvironment{thebibliography}[1] - {\renewcommand{\refname}{Links}\subsection{\refname}\label{sec:links}% - This section contains addresses of websites which have been - referred to in this documentation.\par - \list{\@biblabel{\@arabic\c@enumiv}}% - {\settowidth\labelwidth{\@biblabel{#1}}% - \leftmargin\labelwidth - \@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 -} -\def\DescribeSwitch{\leavevmode\@bsphack\begingroup\MakePrivateLetters - \Describe@Switch} -\def\Describe@Switch#1{\endgroup - \marginpar{\raggedleft\PrintDescribeSwitch{#1}}% - \SpecialSwitchIndex{#1}\@esphack\ignorespaces} -\def\PrintDescribeSwitch#1{\strut \MacroFont #1\ } -\def\SpecialSwitchIndex#1{\@bsphack - \index{#1\actualchar{\protect\ttfamily#1} - (switch)\encapchar usage}% - \index{switches:\levelchar#1\actualchar{\protect\ttfamily#1}\encapchar - usage}\@esphack} -\def\SpecialEnvIndex#1{\@bsphack - \index{#1\actualchar{\protect\ttfamily#1} - \encapchar usage}% - \index{environments:\levelchar#1\actualchar{\protect\ttfamily#1}\encapchar - usage}\@esphack} -\def\SpecialMainEnvIndex#1{\@bsphack\special@index{% - #1\actualchar - {\string\ttfamily\space#1} - \encapchar main}% - \special@index{environments:\levelchar#1\actualchar{% - \string\ttfamily\space#1}\encapchar - main}\@esphack} -\makeatother -\def\HAPcmd#1{% - \par\addvspace{1.2ex plus 0.8ex minus 0.2ex}% - \vskip -\parskip\noindent - \begin{tabular}{|l|}\hline\rule{0pt}{1em}% - \ignorespaces#1\\\hline\end{tabular}% - \par\nopagebreak\addvspace{1.2ex plus 0.8ex minus 0.2ex}% - \vskip -\parskip -} -\def\pf#1{\textsf{#1}} -\newcolumntype{d}{l|l} -\newcolumntype{e}{l|l||l|l} -\newcolumntype{f}{c|c||c|c} -\newcolumntype{g}{|p{12em}|*{12}{p{1em}|}} -\def\bs{\symbol{'134}} -\def\ci#1{\texttt{\bs#1}} -\setlength{\parindent}{0cm} -\bibliographystyle{plain} -\endinput diff --git a/Master/texmf-dist/source/latex/HA-prosper/HA-prosper.dtx b/Master/texmf-dist/source/latex/HA-prosper/HA-prosper.dtx deleted file mode 100644 index 61ffb880fc5..00000000000 --- a/Master/texmf-dist/source/latex/HA-prosper/HA-prosper.dtx +++ /dev/null @@ -1,4242 +0,0 @@ -% \iffalse meta-comment -% -% HA-prosper package by Hendri Adriaens. -% -% Extract package files and create documentation: -% `latex HA-prosper.dtx' -% `latex HA-prosper.dtx' -% `makeindex -s gind.ist HA-prosper.idx' -% `latex HA-prosper.dtx' -% `latex HA-prosper.dtx' -% -% To generate source code documentation as well, -% first comment line 57 of this file. -% -% To finish the installation you have to move the following -% files into a directory searched by TeX: -% HA-prosper.sty -% HA-prosper.cfg -% -%% ------------------------------------------ -%% Copyright (C) 2003-2005 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. -%% -% \fi -% -% \iffalse -%<*batchfile> -\begingroup -\input docstrip.tex -\keepsilent -\preamble -\endpreamble -\askforoverwritefalse -\IfFileExists{.///HA-prosper.sty}{}{ -\generate{ -\file{HA-prosper.sty}{\from{HA-prosper.dtx}{program}} -\file{HA-prosper.cfg}{\from{HA-prosper.dtx}{config}} -}} -\endgroup -% -%<*driver> -\documentclass[a4paper]{ltxdoc} -\input{HA-prosper.def} -\EnableCrossrefs -\CodelineIndex -% Comment the next line to generate source code documentation. -\OnlyDescription -\begin{document} -\DocInput{HA-prosper.dtx} -\end{document} -% -% \fi -% -% \CheckSum{2292} -% -% \DoNotIndex{\def,\xdef,\edef,\global,\gdef,\let,\if,\fi,\else} -% \DoNotIndex{\newcommand,\newenvironment,\renewcommand,\renewenvironment} -% \DoNotIndex{\begin,\end,\ifx,\ifnum} -% -% \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 -% Lower-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 -% Digits \0\1\2\3\4\5\6\7\8\9 -% Exclamation \! Double quote \" Hash (number) \# -% Dollar \$ Percent \% Ampersand \& -% Acute accent \' Left paren \( Right paren \) -% Asterisk \* Plus \+ Comma \, -% Minus \- Point \. Solidus \/ -% Colon \: Semicolon \; Less than \< -% Equals \= Greater than \> Question mark \? -% Commercial at \@ Left bracket \[ Backslash \\ -% Right bracket \] Circumflex \^ Underscore \_ -% Grave accent \` Left brace \{ Vertical bar \| -% Right brace \} Tilde \~} -% -%\title{\vspace{-2em}\pf{HA-prosper} package\\\normalsize\emph{Documentation}\\ -%\vspace{.5em}Version 4.21} -%\author{Hendri Adriaens\\ -%\url{http://stuwww.uvt.nl/~hendri/downloads/haprosper.html}\\Center -%for Economic Research\\Tilburg University, the Netherlands} -%\maketitle\tableofcontents\listoftables\listoffigures -% -%\clearpage\section{General information} This manual provides -%information about working with the \pf{HA-prosper} package. This -%package is a patch for the \pf{prosper} class. Be sure to also study -%the documentation of the \pf{prosper} class and the \pf{hyperref} -%package. You can find this documentation for instance at the CTAN -%site for prosper \cite{prosperCTAN}, at the \pf{prosper} website -%\cite{prosper} or in your local \LaTeX\ distribution (for the MiKTeX -%distribution \cite{MiKTeX}, the documentation can be found in the -%|doc| directory in the MiKTeX root). Information about \pf{prosper} -%can also be found at the WikiProsper site \cite{WikiProsper}. -% -%If you want to start working with \pf{HA-prosper} immediately, have -%a look at the examples (see section~\ref{sec:examples}). If you are -%interested in how \pf{HA-prosper} actually works, have a look at the -%first lines of the source code available in the |Source| directory -%of the package or the |source| tree of your \LaTeX\ distribution -%which explains how to generate the source code documentation. -% -%Note that from version 4.1, \pf{HA-prosper} uses the \pf{xkeyval} -%package, which is available from CTAN \cite{xkeyvalCTAN} and is -%included in the MiKTeX distribution. Do not forget to install this -%package. See also section~\ref{sec:req}. -% -%Do not forget to check the \pf{HA-prosper} website -%\cite{HA-prosper} from time to time to see if there are updates -%for this package or new styles available. If, \emph{after reading -%this manual}, you have questions or comments about -%\pf{HA-prosper}, see section~\ref{sec:questions}. -% -%\subsection{The \pf{powerdot} class}\label{sec:newclass} -%This is the last release of the \pf{HA-prosper} package. We -%(Christopher Ellison and I) have created a new class called -%\pf{powerdot} \cite{powerdot} which has significant improvements -%over \pf{prosper} and \pf{HA-prosper} while keeping changes to -%presentation sources to a minimum. Over time, the support for -%\pf{HA-prosper} via the mailinglist will be minimized and users are -%advised to use \pf{powerdot} for new presentations. -% -%Further, information in this documentation was up to date in 2004, -%but might be outdated by now. The reason of not updating this is -%that since then all efforts have concentrated on the \pf{powerdot} -%class. -% -%\subsection{Compatibility} -%This section discusses compatibility issues between \pf{HA-prosper} -%and some other packages. The \pf{HA-prosper} package has been -%created and tested in an environment of MiKTeX 2.3 \cite{MiKTeX} and -%GhostScript 8.00 \cite{GhostScript} and newer versions of that -%software. -% -%\subsubsection{prosper} -%Since \pf{HA-prosper} is a patch for \pf{prosper}, it is important -%that you have the right version of \pf{prosper} which is 1.5 -%(|prosper.cls| version 1.24)\footnote{This package is also -%compatible to the CVS version 1.25 of \pf{prosper}, but that -%version is still in beta stage and it is advisory not to use it. -%If you still want to use version 1.25 because of v\TeX\ support, -%delete or comment line 88 of |prosper.cls| then, namely were the -%\pf{pstcol} package is loaded, since that causes colors not to be -%defined properly.}. This is the CTAN version \cite{prosperCTAN}. -% -%\subsubsection{ppr-prv} -%A very nice package in combination with \pf{HA-prosper} is the -%`Prosper Preview' class, \pf{ppr-prv} \cite{ppr-prv}, created by -%Mathieu Goutelle \cite{Mathieu}. The aim of this class is to produce -%a printable version of the slides written with \pf{prosper} or -%\pf{HA-prosper} with two slides (or more at will) per page and a -%table of contents on the first page in case you are using -%\pf{HA-prosper}. Table~\ref{tab:pprpprvcompat} shows which versions -%of \pf{ppr-prv} and \pf{HA-prosper} are compatible. Each row of the -%table lists the compatible versions. -%\begin{table}[ht] -%\centering\caption{Compatible versions of \pf{HA-prosper} and -%\pf{ppr-prv}.}\label{tab:pprpprvcompat} -%\begin{tabular}{f} -%\pf{HA-prosper}&\pf{ppr-prv}&\pf{HA-prosper}&\pf{ppr-prv}\\\hline\hline -%3.7x&0.09&3.8&0.10\\\hline -%3.9&0.11&4.0&0.12\\\hline -%4.11&0.13&4.2&0.13\\\hline\hline -%\end{tabular} -%\end{table} -% -%\subsubsection{semcolor/pstcol/pstricks/color/xcolor} -%Recently, the incompatibilities of these packages have been solved -%and through a modification of \pf{semcolor}, the improved -%compatibility is also available to \pf{HA-prosper} users. Check the -%documentation of these packages to see whether or not your \LaTeX\ -%distribution already includes the compatible versions. If so, then -%you can use both \pf{pstricks} color commands in your presentation -%or style as well as \pf{xcolor} commands. -% -%\subsubsection{babel} -%\pf{HA-prosper} redefines the |itemize| and the |enumerate| -%environments at the beginning of the document. This solves a bug -%that would otherwise occur when using the \pf{babel} package with -%the |french| option. The \pf{prosper} macro -%|\NoFrenchBabelItemize| is obsolete in \pf{HA-prosper} and has -%no function anymore. The order of loading the packages is -%important since \pf{HA-prosper} attempts to redefine some -%\pf{babel} macros. In case you want to use \pf{babel}, load -%\pf{babel} first and afterwards \pf{HA-prosper}. -% -%\subsubsection{Miscellaneous} -%Older versions of GhostScript might produce ugly display text and -%logo's. However, prints are fine in general. Furthermore, it has -%been shown that Acrobat Reader 4 \cite{AcroRead} generally does not -%display pictures properly. -% -%Since the |overlays| macro is not recognized by Scientific -%WorkPlace \cite{SWP}, this program is not supported. The advice is -%to use an editor for creating the slides, for example WinEdt -%\cite{WinEdt} or TexNicCenter \cite{TexNicCenter} (free). -% -%\subsection{Installation}\label{sec:inst} -%This package is included in the MiKTeX distribution \cite{MiKTeX} -%and in TeXLive \cite{TeXLive} and can be installed for you by -%these programs. However, if you downloaded this package from the -%\pf{HA-prosper} website \cite{HA-prosper} or from the -%\pf{HA-prosper} CTAN directory \cite{HA-prosperCTAN}), then here -%are some hints for installing the package into your \LaTeX\ -%distribution. -% -%The package includes pre-generated run and doc files, but you can -%reproduce them from the source if necessary. See the first lines -%of |HA-prosper.dtx| for information how to do this. The files -%in |Doc| should go into the |doc| tree of your distribution, -%the files in |Run| into the |tex| run tree and the files in -%|Source| into the |source| tree. See the documentation of -%your \LaTeX\ distribution for information on installing -%\pf{HA-prosper} into your \LaTeX\ distribution or the TeX -%Frequently Asked Questions \cite{TeXFAQInst}. -% -%If you choose not to install the package into your \LaTeX\ -%distribution, you can copy the necessary files (that is, the run -%files of \pf{HA-prosper} in the |Run| directory and the -%necessary files of the particular style, which can all be found in -%the relevant subdirectory of the |Run| directory) into your -%working directory. -% -%\subsection{Document set up}\label{sec:setup} -%The structure of a presentation created with \pf{HA-prosper} is -%comparable to that of a \pf{prosper} presentation. See the -%\pf{prosper} documentation for an overview. -% -%Do not forget to include -%\begin{verbatim} -%\usepackage[style,options]{HA-prosper} -%\end{verbatim} -%directly after the \pf{prosper} document class command to be able -%to use the new definitions provided in |HA-prosper.sty|. Here -%|style| is the style you want to use, for instance |HA|, and -%|options| are any package options which will be described in -%section~\ref{sec:new}. A summary of these options can be found in -%section~\ref{sec:packageoptions}. -% -%\DescribeMacro{\HAPsetup} -%You can set up certain features like footers and types of stepping -%environments globally (holding for the entire presentation, unless -%specified otherwise locally) using |\HAPsetup|, for instance -%\begin{verbatim} -%\HAPsetup{rf={My presentation},trans=Dissolve} -%\end{verbatim} -%This command can set up the features that you will be discussed in -%section~\ref{sec:new}. You can find a summary in -%section~\ref{sec:globals}. -% -%\subsection{Summary of package options}\label{sec:packageoptions} -%Table~\ref{tab:packageoptions} contains a summary of all package -%options of \pf{HA-prosper}. The numbers in between brackets are -%the sections where you can find more information about a specific -%option. See section~\ref{sec:setup} how to use these options. -%\begin{table}[ht] -%\caption{\pf{HA-prosper} package -%options.}\label{tab:packageoptions}\makebox[\textwidth][r]{ -%\begin{tabular}{d} -%\hline\hline -%|sounds|& Turns on the |sound| key for slide environments (\ref{sec:slide}).\\\hline -%|toc|& Creates a table of contents on slides (\ref{sec:toc}).\\\hline -%|highlight|& Highlights the current slide in the table of contents (\ref{sec:tochl}).\\\hline -%|hlsections|& Highlights the current section on every slide within the section (\ref{sec:tochl}).\\\hline -%|portrait|& Creates portrait slides (\ref{sec:portrait}).\\\hline -%|notes|& Includes the notes in your presentation (\ref{sec:notes}).\\\hline -%|notesonly|& Includes only the notes in your presentation (\ref{sec:notes}).\\\hline -%|slidesonly|& Includes only the slides in your presentation (\ref{sec:notes}).\\\hline -%|blackslide|& Includes a black slide at the start of the presentation (\ref{sec:blslide}).\\\hline -%\hline -%\end{tabular}} -%\end{table} -% -%\subsection{Summary of global options}\label{sec:globals} -%Table~\ref{tab:hapsetupfeats} lists all the features of -%\pf{HA-prosper} that can be set using |\HAPsetup|. The numbers -%in between brackets are the sections where you can find more -%information about a specific feature. See section~\ref{sec:setup} -%how to use these global options.\par -%\begin{table}[ht]\caption{Global -%\pf{HA-prosper} options for \ci{HAPsetup}.}\label{tab:hapsetupfeats} -%\makebox[\textwidth][r]{ -%\begin{tabular}{e}\hline\hline -%|lf|&Left footer (\ref{sec:footers}).&|sound|&Transition sound (\ref{sec:slide}).\\\hline -%|rf|&Right footer (\ref{sec:footers}).&|template|&Template for parts (\ref{sec:part}).\\\hline -%|sn|&Slide number layout (\ref{sec:footers}).&|stype|&Stepping environment type (\ref{sec:iestep}).\\\hline -%|tsnav|&Title slide navigation (\ref{sec:navs}).&|sstart|&Starting overlay (\ref{sec:iestep}).\\\hline -%|nsnav|&Normal slide navigation (\ref{sec:navs}).&|iacolor|&Inactive color (\ref{sec:iestep}).\\\hline -%|trans|&Transition effect (\ref{sec:slide}).&|counters|&Protect custom counters (\ref{sec:numbering}).\\\hline\hline -%\end{tabular}} -%\end{table} -%The features listed in table~\ref{tab:hapsetupfeats} all have a -%default value, which are discussed in the relevant sections. These -%values are defined in the file |HA-prosper.cfg|. This file can -%be modified. Modifications will have an effect on all -%presentations created using \pf{HA-prosper}\footnote{Note that the -%defaults saved in the |HA-prosper.cfg| file at the moment of -%installation are also saved in |HA-prosper.sty|. In case you -%accidentally delete a line in the |HA-prosper.cfg| file, the -%predefined defaults in |HA-prosper.sty| will be used.}. -% -%\subsection{Compilation}\label{sec:compile} -%If you use the |pdf| option in the |\documentclass|, compile with -%LaTeX2DVI - DVI2PS - PS2PDF to create slides with animations -%(incrementally displayed items created by the |itemstep| -%environment) that can be projected using for instance Acrobat Reader -%\cite{AcroRead}. Notice that \pf{HA-prosper} is build to work with -%papertype |letter| in the DVI2PS step (which is the default in the -%MiKTeX distribution and which can be achieved by adding |-t letter| -%to the command line of |dvips|), but the |Fyma| style supports |A4| -%paper as well. See section~\ref{sec:supportt}. -% -%If you want to print the slides, use the |ps2pdf| option and -%compile them with LaTeX2DVI - DVI2PS - PS2PDF and you can print -%the slides without animations. -% -%You can also use the Acrobat Distiller (included in Acrobat -%\cite{Acrobat}) to create the PDF from the PS file. This creates -%very efficient PDF files. Also see section~\ref{sec:result}. Do -%not forget to specify the \pf{prosper} class option `distiller' in -%this case to avoid errors when distilling the PS document. For -%instance -%\begin{verbatim} -%\documentclass[pdf,distiller]{prosper} -%\end{verbatim} -% -%If you prefer to use GhostView \cite{GhostView} for printing -%purposes, you can of course suffice with LaTeX2DVI - DVI2PS and -%print the slides form GhostView\footnote{You might have to shrink -%pages to fit the paper when printing the slides.}. -% -%A nice option for the `documentclass' is `draft'. This is provided -%by \pf{prosper} and speeds up the process of compiling and -%viewing the presentation by leaving out images. Deleting the -%option produces a presentation that includes all images again. See -%the \pf{prosper} class documentation for more details. -% -%\subsection{Upgrade information} -%This section contains information how to change your presentation -%in case you worked with an earlier version of \pf{HA-prosper} -%before and want to upgrade it. The list below contains the hints -%for upgrading with a single version step at a time. If you for -%instance want to upgrade from version 3.5 to the latest version, -%read all the entries in the list starting from the entry right the -%entry of version 3.5. If a particular version is not mentioned, -%this means that no changes need to be made to adapt the -%presentation to that version when starting at the last version -%before. -% -%\begin{itemize} -%\item[\fbox{3.0}] From \pf{HA-prosper} version 3.0, the -%package is based on the CTAN version of \pf{prosper}. This means -%that a separate version of \pf{prosper} is not distributed with -%this package anymore. If you used \pf{HA-prosper} before, replace -%the old style-file with the new one to upgrade to the latest -%version of \pf{HA-prosper} and do not forget to rename or delete -%prosper.cls in the working directory. \item[\fbox{3.5}] From -%version 3.5 of \pf{HA-prosper} the style definitions (template) -%will be loaded by \pf{HA-prosper}, not by \pf{prosper} anymore. -%This is done to avoid conflict when trying to use \pf{HA-prosper} -%templates with \pf{prosper}. Delete the style from the -%|\documentclass| command and put it in the |\usepackage| -%command of \pf{HA-prosper} when updating \pf{HA-prosper}. See also -%section~\ref{sec:inst}. -%\item[\fbox{3.6x}]\begin{itemize} \item When upgrading to -%\pf{HA-prosper} version 3.6, you might need to delete the -%|.toc| file of an existing presentation first since table -%of contents commands have changed and the new \pf{HA-prosper} -%is not able to understand the old commands. \item The -%|\email| and |\institution| commands have changed. -%In earlier version, defining them in the preamble of your -%presentation would make them appear on the title slide. Now, you -%have to put them inside the |\author| command. See -%section~\ref{sec:eia} for an example. -%\end{itemize} -%\item[\fbox{3.7x}]\begin{itemize} \item Download the full package -%to use the latest versions of the styles that are compatible to -%this version of \pf{HA-prosper}. \item Rename -%|\section| and |\sectionandpart| to -%|\tsection| and |\tsectionandpart| respectively. -%\end{itemize} -%\item[\fbox{3.8}]\begin{itemize} \item Download the full package -%to use the latest versions of the styles that are compatible to -%this version of \pf{HA-prosper}. \item Rename -%|\figureitem| to |\hiddenitem|. See -%section~\ref{sec:xitemwait}.\item Change slides that use the -%|dualslide| environment to for instance a normal -%|slide| and use the |\dualslide| macro to create a -%dualslide on that slide. See -%section~\ref{sec:dualslide}.\end{itemize} -%\item[\fbox{3.9}] -%\begin{itemize} \item |\figureitem| and -%|\putfigureitem| are no longer supported; -%|\putfigure| should be replaced by the more general -%|\topbl|, see section~\ref{sec:xitemwait}. \item The -%dualslide dimensions have changed a bit, see -%section~\ref{sec:dualslide}.\item More optional arguments for the -%|itemstep| environment are available now, see -%section~\ref{sec:iestep}. -%\end{itemize} -%\item[\fbox{4.0}] -%\begin{itemize} \item -%Commands |\TitleSlideNav|, |\NormalSlideNav|, |\LeftFoot| -%and |\RightFoot| are obsolete but still supported. You can use -%|\HAPsetup| instead, see section~\ref{sec:globals}. -%\item Some style commands have changed but backward -%compatibility is provided, see section~\ref{sec:styledev}. -%\item |\onSlide| and |\OnSlide| are provided but the \pf{prosper} -%macros |\fromSlide|, |\FromSlide|, |\untilSlide|, |\UntilSlide|, -%|\onlySlide| and |\OnlySlide| still work, see section~\ref{sec:onslide}. -%\item Toc behavior has changed a little bit. Empty slide titles -%will now produce empty toc entries and empty bookmarks. Deleting -%these happens by using respectively |toc=| and |bm=| (see section~\ref{sec:toc}). -%\end{itemize} -%\item[\fbox{4.1x}] -%\begin{itemize} -%\item \pf{HA-prosper} now uses \pf{xkeyval} \cite{xkeyvalCTAN}. Install -%this package to work with \pf{HA-prosper}. -%\item -%|\topbl| has been deleted. The macro can be found on the \TeX\ FAQ \cite{TeXFAQTop}. -%\item Replace |\item| by |\xitem| (see section~\ref{sec:xitem}). -%\item Replace |\hiddenitem| by |\xitemwait| (see section~\ref{sec:xitemwait}). -%\item When using |Lakar| style, replace |emptyslide| environments by -%|partslide| environments (see section~\ref{sec:wpe}). -%\end{itemize} -%\item[\fbox{4.2x}] No changes to presentations necessary. -%\end{itemize} -% -%\clearpage\section{New or changed environments and -%commands}\label{sec:new} This section describes the new commands -%provided by \pf{HA-prosper} and the originally \pf{prosper} commands -%that have been extended. The section assumes knowledge of the -%\pf{prosper} documentation. -% -%\subsection{The slide environment}\label{sec:slide} -%\DescribeEnv{slide} -%A slide is created using the |slide| environment. For instance -%\begin{verbatim} -%\begin{slide}[trans=Replace]{Sample slide} -%... -%\end{slide} -%\end{verbatim} -%The new |slide| environment has four options. They are -%listed in table~\ref{tab:slide}. -%\begin{table}[ht] -%\caption{Slide environment options.}\label{tab:slide} -%\makebox[\textwidth][r]{ -%\begin{tabular}{d}\hline\hline -%|toc|&When specified, it will be used for the table of contents. When not\\ -%&specified, the slide title will be used to create a toc entry (see section~\ref{sec:toc}).\\\hline -%|bm|&When specified, it will be used to create a bookmark. If not, the slide\\ -%&title will be used as a bookmark.\\\hline -%|trans|&Slide transition effect (see the \pf{prosper} documentation) Default: |Replace|.\\\hline -%|sound|&Specify a sound file to be played when the slide is displayed.\\\hline -%\hline -%\end{tabular}} -%\end{table} -%Some remarks need to be made. First of all, when you supply an -%empty string as bookmark (so |bm=|), the bookmark will not be -%created. A similar thing holds for empty toc strings (|toc=|). -%See section~\ref{sec:toc}. The bookmark option is supplied to -%provide low level text for creating a bookmark in case you want -%the slide title to contain \LaTeX\ commands which might not be -%convertable to bookmarks\footnote{Note that the bookmarking -%procedure uses \ci{pdfstringdef} of \pf{hyperref} which is able -%to process things like \ci{"i}.}. For instance: -%\begin{verbatim} -%\begin{slide}[bm=Important!]{\red Important!} -%\end{verbatim} -% -%\DescribeSwitch{sounds} -%Second, adding transition sounds to a presentation is possible, -%but it is important to know that the sounds will not be embedded -%in the presentation and hence need to be supplied separately. -%Further, the presentation becomes system dependent by using -%sounds. It depends on the target machine if the specific sound -%file can be played or not. To switch on the use of sounds in your -%presentation, use the package option |sounds|, see -%section~\ref{sec:packageoptions}. -% -%The options |trans| and |sound| can be set globally by |\HAPsetup| -%(see section~\ref{sec:globals})\footnote{Notice that backward -%compatibility for \ci{DefaultTransition} is provided.}. The |sound| -%slide option adds the transition sound to all slides within -%|\overlays|. For more flexibility, the sound option also has a user -%interface to set sounds on pages directly. The sound file -%\DescribeMacro{\SlideSound} -%|sound.wav| is added using |\SlideSound| as follows. -%\begin{verbatim} -%\SlideSound{sound.wav} -%\end{verbatim} -%This code adds a transition sound to the first overlay only: -%\begin{verbatim} -%\onSlide*{1}{\SlideSound{sound.wav}} -%\end{verbatim} -%(see also section~\ref{sec:onslide} for the use of |\onSlide|). -% -%\subsection{Structuring the presentation}\label{sec:toc} -%\subsubsection{Building a table of contents} -%\DescribeSwitch{toc} -%You can include a table of contents on each slide. This can be -%used for navigational purposes during the presentation. When -%printing the slides, you might decide to leave out the table of -%contents. You can request a table of contents by specifying the -%option |toc| in the |\usepackage| command for the style -%file, like -%\begin{verbatim} -%\usepackage[toc,HA]{HA-prosper} -%\end{verbatim} -%(see also the examples in this distribution). \pf{HA-prosper} will -%use slide titles by default to produce the table of contents, but -%this behavior can be changed (see section~\ref{sec:slide}). -% -%Some remarks. First of all, the table of contents will of course -%only be put on the slides when it has been implemented in the style -%that you are using. See section~\ref{sec:supportt}. Second, -%\pf{HA-prosper} offers possibilities for style developers to split -%the table of contents into two parts the first of which will contain -%the sections and the second will contain the content of the current -%section. -% -%Third, if you specify an empty string as toc entry (so |toc=|), -%the toc entry will be deleted from the table of contents. This -%allows for building an overview of your presentation. Hence the -%table of contents can both be used for navigational purposes (like -%the bookmarks) and to provide an overview of the presentation. -% -%Finally, as with a usual table of contents in \LaTeX, you need to -%run your presentation at least twice after altering slides or toc -%entries. On the first pass, the table of contents will be updated -%and on the second run, the new table of contents will be included -%in the presentation. -% -%\subsubsection{Highlighting table of contents entries}\label{sec:tochl} -%\DescribeSwitch{highlight} -%If you want to highlight the current slide or the slide created by -%a |\part| or |\tsectionandpart| command (see section~\ref{sec:pas}) -%in the table of contents, specify the -%|highlight| option, like -%\begin{verbatim} -%\usepackage[toc,highlight,HA]{HA-prosper}. -%\end{verbatim} -%Of course, the |highlight| option only takes effect when -%also the |toc| option has been specified (and of -%course the style you are using should support highlighting and the -%table of contents). This |highlight| option can be nice -%for both yourself and the audience since everyone can clearly see -%on which slide or in which section of the presentation you are. -% -%\DescribeSwitch{hlsections} -%An extra option is the |hlsections| option. This will make the -%current section highlighted on every slide within the current -%section. This can be especially useful when sections and section -%content are split in the style that you use, which would otherwise -%result in unclarities about the current section\footnote{Splitting -%of the table of contents is often implemented on portrait -%templates.}. When the table of contents is not split up, this option -%might be left out since in this case, the hierarchical structure of -%the table of contents clearly identifies the current section. -% -%\subsection{Parts and sections}\label{sec:pas} -%\subsubsection{tsection}\label{sec:section} -%\DescribeMacro{\tsection} -%By using the |\tsection| -%command, it is possible to divide the table of contents in several -%sections. The content of a section will be hidden until you access -%a slide inside this section. The section heading in the table of -%contents itself refers to the first slide after the section -%command. The section command should be used between slides. The -%following shows an example. -%\begin{verbatim} -%\begin{slide}{First slide} -%Some text -%\end{slide} -% -%\tsection[Bookmark for section 1]{Section 1} -% -%\begin{slide}{Second slide} -%Some text -%\end{slide} -%\end{verbatim} -%The optional argument of the |\tsection| macro can be used -%to specify the string to be used for the bookmark. Notice that all -%slides that are met before issuing the first |\tsection| -%command will always be displayed in the table of contents. -%Exceptions hold for two cases. The first is when issuing an empty -%string as toc entry in the |slide| environment (see -%section~\ref{sec:slide}). The second is when the style that you -%are using implements a split table of contents. In this case, the -%content of every new section will replace the content of the old -%section when going from the old section to the new section. The -%entries before the first section will then be replaced by the -%entries of the first section when advancing to that section. -% -%\DescribeMacro{\tsection*} -%Furthermore, |\tsection*| is available. It has the exact same -%possibilities as |\tsection|, but this command hides the section -%created by |\tsection*| completely until you enter it (for instance -%with a hyperlink to a slide, by using bookmarks or by browsing the -%slides). This can be useful if you want to include slides in your -%presentation, that you don't want to show in the table of contents, -%but which you could include into the presentation if you see that -%you have some time left. But there are of course other applications -%thinkable. -% -%\subsubsection{part}\label{sec:part} -%\DescribeMacro{\part} -%The |\part| command lets you identify separate parts in your -%presentation. The command |\part{Part I}| produces a normal slide -%with horizontally centered the words `Part I'. The argument will -%also be used to create a bookmark and a toc entry (if a table of -%contents is requested). The |\part| takes the same options as the -%|slide| environments (see section~\ref{sec:slide}), but it should be -%noted that in case you specify an empty string for the |bm| option, -%the part title will be used to create the bookmark. -% -%An additional option for the |\part| command is the -%|template| option. This allows to select a different -%template (supplied by the style that you use) for the slide -%created by the |\part| command. For instance, the HA-style -%supplies the template `wideslide'. You can use that template for -%the part to delete the table of contents from that particular -%slide. Example: -%\begin{verbatim} -%\part[template=wideslide,toc=Part number one,bm=The first part]{Part I} -%\end{verbatim} -% -%Note that the option |template| can be set globally for the entire -%presentation (see section~\ref{sec:globals}). The default value of -%|template| is |slide|. -% -%\subsubsection{tsectionandpart}\label{sec:secandpart} -%\DescribeMacro{\tsectionandpart} -%The -%|\tsectionandpart| command is a combination of the -%|\tsection| command (see section~\ref{sec:section}) and the -%|\part| command (see section~\ref{sec:part}). This command -%is supplied since issuing the two previous commands after each -%other cannot replicate the output of |\tsectionandpart|. -%The command has the same optional arguments as the |\part| -%command and besides creating a slide, it also creates a section in -%the table of contents. The section heading in the table of -%contents will now refer to the slide created by the |\part| -%command. -% -%\DescribeMacro{\tsectionandpart*} -%Notice that |\tsectionandpart*| produces similar output as -%|\tsection*|. Namely, it hides the section in the table of -%contents completely until it is accessed by going to any slide -%within this section. See also section~\ref{sec:section}. As -%|\tsectionandpart|, it also creates a |\part| slide. -% -%\subsection{Dualslide}\label{sec:dualslide} -%\DescribeMacro{\dualslide} -%The |\dualslide| macro allows to split content into two -%columns. Usage: -%\begin{samepage} -%\begin{verbatim} -%\dualslide[opt1][opt2][opt3]{options}{left}{right} -%\end{verbatim} -%The parameters are explained in -%table~\ref{tab:dspars}.\end{samepage}\par -%\begin{table}[ht]\centering -%\caption{Dualslide parameters.}\label{tab:dspars} -%\begin{tabular}{d} -%\hline\hline -%|opt1|& Any \pf{PSTricks} options to change the style of the\\ -%&(optional) left frame. Example: |linestyle=dotted|.\\\hline -%|opt2|& Idem for the line in between the two columns.\\\hline -%|opt3|& Idem for the right column.\\\hline -%|options|& Options for the dualslide, see table~\ref{tab:dsoptions}.\\\hline -%|left|& The content for the left column.\\\hline -%|right|& The content for the right column.\\\hline\hline -%\end{tabular} -%\end{table} -%\begin{table}[ht] -%\caption{Dualslide options.}\label{tab:dsoptions} -%\makebox[\textwidth][r]{ -%\begin{tabular}{d} -%\hline\hline -%|lineheight|& If |lineheight| is specified, a line of the specified height will be created\\ -%&using \ci{psline} in between the two columns. Example: |lineheight=6cm|.\\\hline -%|lfrheight|& Creates a frame of the specified height around the left column.\\\hline -%|rfrheight|& Creates a frame of the specified height around the right column.\\\hline -%|frsep|& Space between text and the frames. Default: |1.5mm|.\\\hline -%|colsep|& Space between the two columns. Default: |0.06|\ci{linewidth}.\\\hline -%|lcolwidth|& Width of the left column. Default: |0.47|\ci{linewidth}.\\\hline -%|rcolwidth|& Width of the right column. Default: |0.47|\ci{linewidth}.\\\hline -%|topsep|& The extra space (additional to \ci{baselineskip}) between text above\\ -%&the columns and the text within the columns. Default: |0cm|.\\\hline -%|bottomsep|& Idem for the bottom of the columns. Default: |0cm|.\\\hline -%|indent|&Horizontal indent left to the left column. Default: |0cm|.\\\hline\hline -%\end{tabular}} -%\end{table} -%The dimensions described in table~\ref{tab:dsoptions} are -%represented graphically in figure~\ref{fig:dsldim}. -%\begin{figure}[ht] -%\centering\caption{Dualslide dimensions.}\label{fig:dsldim} -%\pspicture(0,.5)(13,10.5) -%\psline(0,0.5)(0,10) -%\rput[tl](.05,9.95){Top} -%\psframe[dimen=middle](1,9)(7,2) -%\psline{C-C}(8.5,9)(11,9) -%\psline{C-C}(8.5,2)(8.5,9) -%\psline{C-C}(8.5,2)(11,2) -%\qdisk(1.7,8.3){.1cm} -%\psset{linestyle=dashed} -%\psline{C-C}(1.7,8.3)(6.3,8.3) -%\psline{C-C}(1.7,8.3)(1.7,3) -%\psline{C-C}(6.3,5)(6.3,8.3) -%\psline{C-C}(11,9)(12,9) -%\psline{C-C}(11,2)(12,2) -%\psline{C-C}(11,7)(12,7) -%\psline{C-C}(9.2,8.3)(12,8.3) -%\psline{C-C}(9.2,8.3)(9.2,3) -%\rput[tl](1.75,8.25){Left column text} -%\rput[tl](9.25,8.25){Right column text} -%\rput[tl](.05,1){Bottom} -%\psset{linestyle=dotted,dotsep=2pt} -%\psline(0,8.3)(1.7,8.3) -%\psline(0,9.6)(1,9.6) -%\psline(0,2)(1,2) -%\psline(0,1.1)(1,1.1) -%\psset{linestyle=solid} -%\psline{<->}(.2,8.33)(.2,9.57) -%\psline{<->}(4,8.33)(4,8.97) -%\psline{<->}(1.73,7)(6.27,7) -%\psline{<->}(1.03,6.5)(1.67,6.5) -%\psline{<->}(0.03,5.5)(1.67,5.5) -%\psline{<->}(6.33,7.4)(9.17,7.4) -%\psline{<->}(8.53,6.5)(9.17,6.5) -%\psline{<->}(6.33,6.5)(6.97,6.5) -%\psline{<->}(10.7,8.33)(10.7,8.97) -%\psline{<->}(7.3,8.97)(7.3,2.03) -%\psline{<->}(.2,1.13)(.2,1.97) -%\psline{->}(1.7,9.3)(1.7,8.45) -%\psline{<-}(9.23,7)(11,7) -%\cput(4,6.6){\small 1} -%\cput(11.1,6.6){\small 2} -%\cput(8,7){\small 3} -%\cput(7.7,3){\small 4} -%\cput(4.4,8.65){\small 5} -%\cput(1.35,6.1){\small 5} -%\cput(8.85,6.1){\small 5} -%\cput(11.1,8.65){\small 5} -%\cput(6.65,6.1){\small 5} -%\cput(0.6,8.95){\small 6} -%\cput(0.6,5.1){\small 7} -%\cput(0.6,1.55){\small 8} -%\cput(1.7,9.6){\small 9} -%\endpspicture -%\begin{center} -%\begin{tabular}{c p{4cm}cl} -%\multicolumn{4}{c}{Meaning of the numbers}\\\hline -%1&|lcolwidth|&5&|frsep|\\ -%2&|rcolwidth|&6&|topsep|\\ -%3&|colsep|&7&|indent|\\ -%4&|lfrheight|, |rfrheight|,&8&|bottomsep|\\ -%&|lineheight|&9&Reference point -%\end{tabular} -%\end{center} -%\end{figure} -%Important to notice is that the |\dualslide| macro uses the -%current cursor position as the reference point to position the -%first line of text of the left column (see also -%figure~\ref{fig:dsldim}). 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| 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 -%|\dualslide| on other slides. The setting -%|topsep=0cm| does exactly this. However, with a combination -%of |topsep| and |indent| you can change this -%behavior and position the first line of text of the left column -%anywhere you want. -% -%The dualslide 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. 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|). -% -%Furthermore, if none of the optional arguments has been specified, -%|dualslide| will use the \pf{PSTricks} defaults for -%creating frames and the line. Two exceptions: -%|linewidth=.25pt| and |linecolor=HAP@framecolor| by -%default, but these can of course again be changed using the -%optional arguments. When only |opt1| has been specified, -%this is used globally for both frames and the line. When both -%|opt1| and |opt2| have been specified, |opt1| -%will be used for both frames and |opt2| will be used for -%the line. In case you want to change the properties of the right -%frame only, call for instance -%\begin{verbatim} -%\dualslide[ ][ ][linecolor=red]{rfrheight=6cm}{left content}{right content} -%\end{verbatim} -% -%More examples can be found in the example files of \pf{HA-prosper}, -%see section~\ref{sec:examples}. Also have a look at -%section~\ref{sec:animating} for information about animating content. -%The commands described there can also be used to animated content in -%the two columns. -% -%\subsection{Animating content}\label{sec:animating} -%\subsubsection{itemstep and enumstep}\label{sec:iestep} -%\DescribeEnv{itemstep} -%\DescribeEnv{enumstep} -%The |itemstep| and |enumstep| environments are based -%on the |itemize| and |enumerate| environments -%respectively, but with these environments, items will be displayed -%incrementally. Available options can be found in -%table~\ref{tab:iestepopts}. -%\begin{table}[ht] -%\caption{Itemstep and enumstep -%options.}\label{tab:iestepopts} -%\makebox[\textwidth][r]{ -%\begin{tabular}{d} -%\hline\hline -%|sstart|& Starts the stepping environment on overlay |sstart|. Default: 1.\\\hline -%|iacolor|& Inactive color, used for inactive items. Default: lightgray.\\\hline -%|stype|& Type of stepping environment. Default: 0. Possible:\\ -%&0 -- items appear one by one, but remain active;\\ -%&1 -- items appear one by one, but turn inactive when moving to the next item;\\ -%&2 -- all items are displayed and only one is active at a time.\\ -%\hline\hline -%\end{tabular}} -%\end{table} -%These environments can be nested into each other and lower level -%environments inherit options from higher level environments. The -%|sstart| option has effect only in the highest level stepping -%environment (which can be embedded in an |itemize| or |enumerate| -%environment). The items of an |itemize| environment, which is nested -%in a stepping environment, will inherit the state (active or not) -%from the item in the stepping environment to which the -%(sub)environment(s) belong to. If |itemize| or |enumerate| is used -%at the top level, all items are active on all overlays. Find an -%example below (for the meaning of |\xitem|, refer to -%section~\ref{sec:xitem}). -%\begin{verbatim} -%\overlays{6}{ -%\begin{slide}{xitem example} -%Some text. -% \begin{itemstep}[sstart=2,stype=0,iacolor=gray] -% \xitem item 1 -% \begin{enumstep}[stype=1] % inherits iacolor! -% \xitem item 1.1 -% \xitem item 1.2 -% \end{enumstep} -% \xitem item 2 -% \xitem item 3 -% \end{itemstep} -%\end{slide} -%} -%\end{verbatim} -%See section~\ref{sec:examples} for more examples and section -%\ref{sec:xitemwait} for a tool for these environments. The -%options for the stepping environments can also be set globally -%using the |\HAPsetup| macro (see section~\ref{sec:globals}). -% -%Note that the use of type 1 or 2 stepping environments requires -%the definition of the color |HAP@textc| by the template -%that you use. See section~\ref{sec:styledev}. -% -%\subsubsection{xitem}\label{sec:xitem} -%\DescribeMacro{\xitem} -%\pf{HA-prosper} defines a new command, |\xitem|, to be used within -%|itemize|, |enumerate|, |itemstep| and |enumstep| environments. -%Within |itemstep| and |enumstep| environments it will take care of -%the animation effect discussed in section~\ref{sec:iestep}. Within -%|itemize| and |enumerate| environments it will just display the -%content. Defining this command is necessary since redefining |\item| -%would damage macros and environments using |\item| (for instance -%|center|, |flushright|, |flushleft|). -% -%The |\xitem| macro also has a version in which it takes an optional -%value $n$ by doing |\xitem|. This value is the extra number of -%overlays that the item should remain active in a stepping -%environment and is ignored in an |itemize| or |enumerate| -%environment. This optional argument can be useful when you want to -%add content to the current item on a later overlay. Notice that this -%can make several items active at a particular overlay. To avoid -%this, add |\xitemwait| before the next item. See the example below -%and section~\ref{sec:xitemwait}. -%\begin{verbatim} -%\overlays{3}{ -%\begin{slide}{xitem example} -%\begin{itemstep}[stype=1] -% \xitem<1> Yes? -% \onSlide{2-}{No!} -% \xitemwait -% \xitem Because... -%\end{itemstep} -%\end{slide} -%} -%\end{verbatim} -% -%Note that a possibly unfamiliar syntax has been chosen for -%|\xitem|. This done to easily support the other optional argument -%that comes with |\xitem| since it is an extension of the standard -%|\item|. The optional argument allows you to overwrite the item -%label, for instance |\xitem[a]| or |\xitem<1>[b]|. See your favorite -%\LaTeX\ manual for more information about the latter. -% -%\subsubsection{xitemwait}\label{sec:xitemwait} -%\DescribeMacro{\xitemwait} -%The command |\xitemwait| tells \pf{HA-prosper} to wait for one -%overlay before passing on to the next item in a stepping -%environment. The optional argument $n$ tells \pf{HA-prosper} to wait -%$n$ overlays before passing on to the next item. Example: -%\begin{verbatim} -%\overlays{5}{ -%\begin{slide}{xitemwait example} -% \begin{itemstep} -% \xitem 1 -% \xitem 2 -% \xitemwait[2] -% \xitem 3 -% \end{itemstep} -%\end{slide} -%} -%\end{verbatim} -%This might come in handy to animate custom content using |\onSlide| -%(see section~\ref{sec:onslide}) in dualslides -%(section~\ref{sec:dualslide}) in combination with stepping -%environments (section~\ref{sec:iestep}). Outside stepping -%environments, the macro has no effect. -% -%\subsubsection{onSlide and OnSlide}\label{sec:onslide} -%\DescribeMacro{\onSlide} -%The macro -%|\onSlide{overlays}{material}| displays |material| on the -%overlays listed in |overlays|. This can be a comma delimited -%list and the syntax explained in table~\ref{tab:osnot} can be -%used ($x$ and $y$ are positive integers with $y\geq x$). -%\begin{table}[ht]\centering -%\caption{Notation for \ci{onSlide}, \ci{onSlide*} and -%\ci{OnSlide}.}\label{tab:osnot} -%\begin{tabular}{d}\hline\hline -%$x$&Display material only on overlay $x$.\\\hline -%-$x$&Display material until and including overlay $x$.\\\hline -%$x$-&Display material from and including overlay $x$.\\\hline -%$x$-$y$&Display material from $x$ until $y$, including $x$ and $y$.\\\hline -%\hline -%\end{tabular} -%\end{table} -%When used inside an |itemstep| or |enumstep| environment, there is -%extra syntax available. This syntax follows the same rules as -%explained in table~\ref{tab:osnot}, but now $x$ and $y$ can start -%with a |+| sign. This sign can be used to animate content relative -%to the preceding |\xitem| in an |itemstep| or |enumstep| -%environment. Suppose that for instance the preceding |\xitem| of -%|\onSlide{+1-+2}{...}| will be displayed on overlay 6. Then the -%material of |\onSlide| will be displayed from overlay 7 to 8. Since -%this construct is relative, it is very easy to add to or delete -%items from the list without having to adapt all of the |\onSlide| -%commands that you used. See another example below. -%\begin{verbatim} -%\overlays{4}{ -%\begin{slide}{onSlide example} -%\begin{itemstep} -% \xitem item 1 -% \xitem item 2 -% \begin{itemize} -% \xitem item 3 \onSlide{+1-}{and item 4} -% \end{itemize} -% \xitemwait -% \xitem item 5 -%\end{itemstep} -%\end{slide} -%} -%\end{verbatim} -% -%The |\onSlide| macro collects and generalizes all the -%functionality of the \pf{prosper} macros |\onlySlide|, -%|\untilSlide| and |\fromSlide|. This macro advances the -%cursor position even if the material is not displayed. The stared -%version |\onSlide*| does not advance the cursor position in -%case the material is not displayed and collects the functionality -%of the \pf{prosper} macros |\onlySlide*|, |\untilSlide*| and -%|\fromSlide*|. Note that these macros can be nested into each -%other, which allows for the creation of more parsimonious -%structures (which will also become more complex). For instance, -%\begin{verbatim} -%\onSlide{-3,5-6,8,10-}{One}\onSlide{-2,6,8,10-}{Two}\onSlide{2,8,10-}{Three} -%\end{verbatim} -%and -%\begin{verbatim} -%\onSlide{-3,5-6,8,10-}{One\onSlide{-2,6-}{Two\onSlide{2,8-}{Three}}} -%\end{verbatim} -%produce the same output. The following example demonstrates the -%difference between |\onSlide| and |\onSlide*|: -%\begin{verbatim} -%\onSlide{1}{One}\onSlide{2}{Two}\onSlide{3-}{Three}\par -%\onSlide*{1}{One}\onSlide*{2}{Two}\onSlide*{3-}{Three} -%\end{verbatim} -% -%\DescribeMacro{\OnSlide} -%The macro |\OnSlide{overlays}| also accepts the same syntax as the -%|\onSlide| macro and can be used to display or not all of the -%following material on a slide after the |\OnSlide| macro. This macro -%collects the functionality of the \pf{prosper} macros |\OnlySlide|, -%|\UntilSlide| and |\FromSlide|. -%Example: -%\begin{verbatim} -%\OnSlide{3-} All of this material will be displayed as from overlay 3. -%\end{verbatim} -% -%\subsection{Numbering on overlays}\label{sec:numbering} -%Mathieu Goutelle \cite{Mathieu} contributed a patch for the -%|\overlays| macro which makes it possible to number equations, -%tables and figures on overlays. This patch has been extended such -%that you can also protect custom counters on overlays. For general -%information about numbering, see your favorite \LaTeX\ book for -%more information. -% -%The |counters| option for |\HAPsetup| (section~\ref{sec:globals}) -%can be used to list the counters that should be protected. For instance, -%\begin{verbatim} -%\newtheorem{mytheorem}{Theorem} -%\newtheorem{myproof}{Proof} -%\HAPsetup{counters={mytheorem,myproof}} -%\end{verbatim} -%in your preamble, will let you safely do -%\begin{verbatim} -%\overlays{3}{ -%\begin{slide}{Proof} -% \begin{myproof} -% Suppose that: -% \begin{equation} -% x^2+y^2=z^2 -% \end{equation} -% then\dots -% \end{myproof} -%\end{slide} -%} -%\end{verbatim} -%The counters |figure|, |equation| and |table| are protected -%on overlays by default. The |counters| option for |\HAPsetup| -%lists the additional counters that should be protected. Notice that -%the counter that you want to protect needs to exist when issuing -%|\HAPsetup| to set the protected counters. -% -%\subsection{Portrait slides}\label{sec:portrait} -%\DescribeSwitch{portrait} -%If a template supports portrait slides, you can access these by -%specifying the |portrait| option in the |\usepackage| command -%like -%\begin{verbatim} -%\usepackage[toc,portrait,HA]{HA-prosper}. -%\end{verbatim} -%When requesting portrait slides, a template will give an error if -%it does not support portrait slides. See -%section~\ref{sec:supportt} for the templates that support portrait -%slides. When using portrait slides, the |hlsections| option might -%be useful for you, see section~\ref{sec:tochl}. -% -%\subsection{Notes}\label{sec:notes} -%\DescribeEnv{notes} -%The \pf{HA-prosper} package provides a way to make notes in -%your presentation. To include notes in the presentation that go -%with a slide, start a |notes| environment after this slide. -%For instance -%\begin{verbatim} -%\begin{slide}{First slide} -%... -%\end{slide} -% -%\begin{notes}{Notes for the first slide} -%These are the notes for the first slide. -%\end{notes} -%\end{verbatim} -% -%\DescribeSwitch{slidesonly} -%\DescribeSwitch{notesonly} -%\DescribeSwitch{notes} -%An additional option in the |\usepackage| command provides a -%way to control the printing of notes and slides. Include at most -%one of the following options. -%\begin{itemize} -%\item |slidesonly|: produces the slides only. This is the -%default option. Use this to create the presentation that you want -%to project. \item |notesonly|: produces the notes only. -%\item |notes|: includes the notes in the presentation. -%\end{itemize} -%For instance -%\begin{verbatim} -%\usepackage[toc,notesonly,HA]{HA-prosper} -%\end{verbatim} -% -%\textbf{Note}: If you want the notes only, first run the -%presentation at least once with the option `notes' to create -%correct labels for the notes page numbers. Once that is done, run -%the presentation with the `notesonly' option to create the -%notes\footnote{In case you use landscape slides, do not forget to -%put Auto-Rotation of pages to `Individually' if you are using the -%Acrobat Distiller to create the PDF. `Collectively by File' will -%rotate will rotate notes to landscape just like the slides.}. -% -%\subsection{Bibliography}\label{sec:bib} -%\DescribeEnv{thebibliography} -%\pf{HA-prosper} redefines the standard \pf{article} -%|thebibliography| environment to suppress the creation of a section -%heading and running headers. All other properties are maintained. -%Now you can do either of the next two (depending whether you are -%using BiB\TeX\ or not): -%\begin{center} -%\begin{tabular}{p{7cm}p{5cm}} -%\begin{verbatim} -%\begin{slide}{slide 1} -%\cite{someone} -%\end{slide} -%\begin{slide}{References} -%\begin{thebibliography}{1} -%\bibitem{someone} Article of someone. -%\end{thebibliography} -%\end{slide} -%\end{verbatim}& -%\begin{verbatim} -%\begin{slide}{slide 1} -%\cite{someone} -%\end{slide} -%\begin{slide}{References} -%\bibliography{YourBib} -%\end{slide} -%\end{verbatim} -%\end{tabular} -%\end{center} -%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{natbibCTAN}. Using both packages allows you to -%do: -%\begin{verbatim} -%\begin{slide}{References (1)} -%\nobibliography{YourBib} -%\bibentry{someone1} -%\bibentry{someone2} -%\end{slide} -%\begin{slide}{References (2)} -%\bibentry{someone3} -%\end{slide} -%\end{verbatim} -%Have a look at your favorite \LaTeX\ documentation for more -%information about citations and bibliographies. -% -%\subsection{Bookmarks}\label{sec:bookmarks} -%\pf{HA-prosper} nests bookmarks within sections created by -%|\tsection| and |\tsection*| (see section~\ref{sec:section}) and -%|\tsectionandpart| and |\tsectionandpart*| (see -%section~\ref{sec:secandpart}). On the first pass of a document, -%bookmarks will be written to disk and will be read on the second -%pass to create the bookmarks. This is necessary to identify the -%number of slide bookmarks that should be nested within section -%bookmarks. -% -%Notice that the bookmark of a |\tsection| (or -%|\tsection*|) points to the first slide within the section, -%just as the toc link generated by this section. Furthermore, as -%|\part| does not create a toc section, it does not create a -%bookmarks section. This allows for creating both a flat table of -%contents as well as a flat bookmarks list. -% -%The nesting of bookmarks in sections is fully compatible to the -%nesting of bookmarks of overlays subordinate to the bookmarks of -%the first overlay of a slide. Bookmarks created by section -%commands are open and the bookmarks of slides are closed by -%default. You can change the latter by issuing the \pf{prosper} -%command |\collapsedBookmarksfalse| in the preamble of your -%presentation. -% -%\subsection{Black slide}\label{sec:blslide} -%\DescribeSwitch{blackslide} -%The package option |blackslide| creates a completely black -%slide as the first slide of the presentation. The PDF-file will -%start at page 2 when opened, the first real slide, so the black -%slide will not be revealed. The slide has an embedded target -%called `blackslide'. In the top left corner of the black slide, a -%black button is positioned which performs the Acrobat menu option -%`GoBack' when clicking it. This allows to temporarily stop the -%presentation (for instance, to write something at the blackboard) -%by clicking a hyperlink that points to the target `blackslide'. -%When the writing it done, click in the top left corner of the -%black slide to continue the presentation. -% -%\subsection{Footers}\label{sec:footers} The -%footers can be defined by the |\HAPsetup| command (see -%section~\ref{sec:globals})\footnote{Notice that backward -%compatibility is provided for \ci{LeftFoot} and -%\ci{RightFoot}.}, for instance -%\begin{verbatim} -%\HAPsetup{lf={Left footer},rf={Right footer}} -%\end{verbatim} -%The default values of |lf| and |rf| are empty strings. The -%slide number layout can be specified by the |sn| option. The -%default value of |sn| is\footnote{\ci{thepage} -%contains the number of the current slide, \ci{totalpages} inserts -%the total number of slides in the presentation and -%\ci{ifallPages} is a conditional from \pf{prosper} which is false -%if the \pf{prosper} class option |nototal| is specified by the -%user.} -%\begin{verbatim} -%{-~p.~\thepage\ifallPages/\totalpages\fi} -%\end{verbatim} -% which resembles the standard \pf{prosper} layout. -%\pf{HA-prosper} adds a space in between the text specified by -%|rf| and the text specified by |sn| to create the entire -%right footer. Another example of the slide number layout could be -%\begin{verbatim} -%\HAPsetup{sn={slide~\#\thepage}}. -%\end{verbatim} -% -%\subsection{e-mail, institution and the -%and-command}\label{sec:eia} -%\DescribeMacro{\author} -%\DescribeMacro{\email} -%\DescribeMacro{\institution} -%\pf{HA-prosper} changes the behavior -%of the \pf{prosper} commands |\email| and |\institution|. -%The package does not anymore put them directly onto the title -%page. Instead, you can use them inside the |\author| command to -%use the fonts that the template specifies for the e-mail address -%and the institution. This is done to offer support for the -%|\and| command\footnote{This was not possible in the -%construction used by \pf{prosper}.}. Example: -%\begin{verbatim} -%\author{% -% Me\\ -% \institution{My institution}\\ -% \email{My e-mail address} -% \and -% You\\ -% \institution{Your institution}\\ -% \email{Your e-mail address} -%} -%\end{verbatim} -% -%\clearpage\section{Style specific features} This section documents -%several style specific features. Check table~\ref{tab:supportt} in -%section~\ref{sec:supportt} to find which features are supported by -%each template. -% -%\subsection{maketitle}\label{sec:mct} -%\DescribeMacro{\maketitle} -%This adapted command -%replaces the usual |\maketitle| and takes care of defining -%a title slide with a different layout as the first slide, include -%the title on that slide and create the rest of the slides as -%normal slides (unless specified differently by using for instance -%another slide environment, see section~\ref{sec:wpe}). -% -%This command has the same options as the |slide| environment (see -%section~\ref{sec:slide}. By default, the title slide will appear in -%neither the bookmarks list nor the table of contents. You can change -%this by specifying respectively the |bm| option and/or the |toc| -%option (see section~\ref{sec:slide}). -% -%If the |\maketitle| feature is not supported by a style, -%then the |\maketitle| uses a normal slide to display the -%title on. -% -%\subsection{Wideslide and partslide}\label{sec:wpe} -%\DescribeEnv{wideslide} -%A |wideslide| produces a slide with an extended text area in case -%you need to display very wide formulas or figures. In a lot of -%templates, this means that the table of contents will not be -%displayed on a wideslide. -% -%As a remark: the optional arguments possible for the -%|\maketitle| (see section~\ref{sec:mct}) are also available -%for the modified slide environments. So -%\begin{verbatim} -%\begin{wideslide}[toc=Toc slide title,trans=Replace]{Slide title} -%... -%\end{wideslide} -%\end{verbatim} -%creates a |wideslide| which does not have transition -%effects itself and uses `Toc slide title' as the entry for the -%(optional) table of contents. See section~\ref{sec:toc} for more -%information about the optional table of contents. -% -%\DescribeEnv{partslide} -%The |partslide| environment is available in some styles. This -%environment uses a template which has been designed especially for -%use with the |\part| (see section~\ref{sec:part}) and the -%|\sectionandpart| commands (see section~\ref{sec:secandpart}). -% -%See section~\ref{sec:supportt} to find which styles support -%|wideslide| or |partslide| environments. -% -%\subsection{Hidden navigation}\label{sec:navs} If you use Acrobat (Reader) -%to project the slides, it is possible to embed hidden navigational -%components. The navigational components are accessed by clicking -%the logo on a slide (unless stated otherwise in style specific -%documentation). These components are always hidden and hence -%removing their definitions when you want to print the slides is -%not necessary. Using |\HAPsetup| (see -%section~\ref{sec:globals}), you can set the following -%options\footnote{Notice that backward compatibility for -%\ci{TitleSlideNav} and \ci{NormalSlideNav} is provided.}: -%\begin{itemize} -%\item |tsnav|\\ -%Navigation possibilities of the logo on the title slide.\\ -%For instance: |tsnav=FullScreen|: when starting the -%presentation, you can make the presentation full screen by -%clicking the logo. -% -%\item |nsnav|\\ -%Navigation possibilities on all other slides.\\ -%For instance: |nsnav=ShowBookmarks| or |nsnav=GoToPage|: the -%former will provide a list of slide titles when viewing the -%presentation in full screen mode. In this case, proper slide -%titles might help you navigate your presentation. The latter will -%show a menu where you can type the slide number of the slide that -%you want to display. -%\end{itemize} -% -%For more possibilities, see the documentation of the -%\pf{hyperref} package. -% -%\subsection{Support table}\label{sec:supportt} -%Table~\ref{tab:supportt} displays an overview of the available -%extra features in the styles. In between brackets you can find -%links to sections explaining the features. -% -%\begin{table}[ht] -%\caption{Available features in styles.}\label{tab:supportt} -%\makebox[\textwidth][r]{ -%\begin{tabular}{l}\rlap{ -%\pstilt{60}{% -%\begin{tabular}{g}\hline -%\rotateleft{\rnode{c1}{}\hphantom{ TCSTealBlue }} & -%\rotateleft{\rnode{c2}{}\hphantom{TCSTealBlue}\rnode{c0}{}} & -%\rotateleft{\rnode{c3}{}} & -%\rotateleft{\rnode{c4}{}} & -%\rotateleft{\rnode{c5}{}} & -%\rotateleft{\rnode{c6}{}} & -%\rotateleft{\rnode{c7}{}} & -%\rotateleft{\rnode{c8}{}} & -%\rotateleft{\rnode{c9}{}} & -%\rotateleft{\rnode{c10}{}} & -%\rotateleft{\rnode{c11}{}} & -%\rotateleft{\rnode{c12}{}} & -%\rotateleft{\rnode{c13}{}} -%\end{tabular} -%}}\\ -%\rput[rt](c0){Styles\hspace{1.5em}} -%\rput[lb](c1){ Features} -%\rput[lt]{60}(c2){ Aggie} -%\rput[lt]{60}(c3){ Capsules} -%\rput[lt]{60}(c4){ CentER} -%\rput[lt]{60}(c5){ Ciment} -%\rput[lt]{60}(c6){ Fyma} -%\rput[lt]{60}(c7){ HA} -%\rput[lt]{60}(c8){ Lakar} -%\rput[lt]{60}(c9){ Simple} -%\rput[lt]{60}(c10){ TCS} -%\rput[lt]{60}(c11){ TCSgrad} -%\rput[lt]{60}(c12){ TCSTealBlue} -%\rput[lt]{60}(c13){ Tycja} -%\hspace{.67em}\begin{tabular}{g}\hline -%table of contents (\ref{sec:toc}) & x & x & x & x & x & x & x & x & x & x & x & x \\ -%portrait slides (\ref{sec:portrait}) & x & & & & & x & x & x & & & & x \\ -%A4 support & & & & & x & & & & & & & \\ -%modified \ci{maketitle} (\ref{sec:mct}) & x & x & x & x & x & x & x & x & x & x & x & x \\ -%wideslide environment (\ref{sec:wpe}) & x & x & x & x & x & x & x & x & x & x & x & x \\ -%partslide environment (\ref{sec:wpe}) & & x & & x & x & & x & & & & & \\ -%tsnav (\ref{sec:navs}) & x & & x & & & & & & x & x & x & \\ -%nsnav (\ref{sec:navs}) & x & & x & & & x & & & x & x & x & \\ -%\hline -%\end{tabular} -%\end{tabular}} -%\end{table} -% -%Currently only the |Fyma| style supports the |A4| papersize. To use -%it, issue the command |\FymaAFour| in your preamble and use |-t A4| -%in the |dvips| command line to get slides in A4 dimensions. -% -%\clearpage\section{Information for style developers}\label{sec:styledev} -%\subsection{General tools} -%This section provides some information in case you want to develop -%your own style. Remember that this package is still based on -%\pf{prosper}, so for the standard \pf{prosper} features, see the -%\pf{prosper} documentation. Table~\ref{tab:devfeats1} lists -%additional features of \pf{HA-prosper} available to control the -%layout, fonts and colors of your style. The controls in -%table~\ref{tab:devfeats2} are \pf{HA-prosper} internals and should -%only be used in style files. In between brackets you can find links -%to sections explaining the related user interface commands. Do not -%forget to take a look at existing styles since these are the ideal -%starting point to create a new style. -%Note that if you use |\HAP@NSNav| or |\HAP@TSNav| in a style, make -%sure to check whether it has been defined by the user or not. -% -%\begin{table}[ht]\centering -%\caption{\pf{HA-prosper} features for style development.} -%\label{tab:devfeats1} -%\makebox[\textwidth][r]{ -%\begin{tabular}{d} -%\hline\hline -%\ci{FontLeftFoot\string{C\string}\string{BW\string}},& This command is used to -%assign a font to the left footer (\ref{sec:footers}). The\\ -%& first argument is for color slides, the second for black -%and white ones.\\ -%& Default: font: \ci{fontText}; text height: 5pt; line height: 5pt.\\ -%\ci{fontLeftFoot\string{xx\string}}& This command writes |xx| in the font -%defined by the former command.\\\hline -%\ci{FontRightFoot\string{C\string}\string{BW\string}},& Idem for right footer (\ref{sec:footers}).\\ -%\ci{fontRightFoot\string{xx\string}}& Default: font: \ci{fontText}; text height: 5pt; line height: 5pt.\\\hline -%\ci{FontAuthor\string{C\string}\string{BW\string}},& Idem for author (\ref{sec:eia}).\\ -%\ci{fontAuthor\string{xx\string}}& Default: font: \ci{fontText}.\\\hline -%\ci{FontInst\string{C\string}\string{BW\string}},& Idem for institution (\ref{sec:eia}).\\ -%\ci{fontInst\string{xx\string}}& Default: font: \ci{fontText}; text height: 7pt; line height: 7pt.\\\hline -%\ci{FontEmail\string{C\string}\string{BW\string}},& Idem for e-mail address (\ref{sec:eia}).\\ -%\ci{fontEmail\string{xx\string}}& Default: font: \ci{fontText}; text height: 7pt; line height: 7pt.\\\hline -%\ci{FontToc\string{C\string}\string{BW\string}},& Idem for table of contents (\ref{sec:toc}).\\ -%\ci{fontToc\string{xx\string}}& Default: font: \ci{fontText}; text height: 4pt; line height: 6pt.\\\hline -%\hline -%\end{tabular}} -%\end{table} -% -%\begin{table}[ht] -%\caption{Internal \pf{HA-prosper} controls for style development.}\label{tab:devfeats2} -%\makebox[\textwidth][r]{ -%\begin{tabular}{d}\hline\hline -%\ci{HAP@PutLF\string{A\string}\string{C\string}}& -%Uses \ci{rput} to position the left footer using anchor |A| and coordinates |C|.\\\hline -%\ci{HAP@PutRF\string{A\string}\string{C\string}}& -%Uses \ci{rput} to position the right footer using anchor |A| and coordinates |C|.\\\hline -%\ci{HAP@NSNav}&Contains argument of \ci{NormalSlideNav}, if defined (\ref{sec:navs}).\\\hline -%\ci{HAP@TSNav}&Contains argument of \ci{TitleSlideNav}, if defined (\ref{sec:navs}).\\\hline -%Color |HAP@textc|&Text color, used for switching back from inactive colors; default: black (\ref{sec:iestep}).\\\hline -%Color |HAP@framecolor|&Color for dualslide frames and lines; default: black (\ref{sec:dualslide}).\\\hline -%\ci{ifHAP@active}&True if item is active, for use with \ci{myitem} (see \pf{prosper} docs and \ref{sec:xitem}).\\\hline -%\ci{ifHAP@highlight}&True if highlighting has been requested by the user (\ref{sec:tochl}).\\\hline -%\ci{ifHAP@portrait}&True if portrait slides have been requested by the user (\ref{sec:portrait}).\\\hline -%\ci{ifHAP@notes}&If's that contain the state of requested notes, slides only or notes only.\\ -%\ci{ifHAP@notesonly}&These can take the value 0 or 1 (false or true) and it holds that\\ -%\ci{ifHAP@slidesonly}&the sum is equal to one and the product is equal to zero (\ref{sec:notes}).\\ -%\hline\hline -%\end{tabular}} -%\end{table} -% -%\subsection{Table of contents typesetting} -%\pf{HA-prosper} uses the macros |\HAP@tocentry| and -%|\HAP@hltocentry| to typeset table of contents entries. The latter -%macro will be used in case the entry needs to be highlighted. By -%default, \pf{HA-prosper} puts the toc entry at hand in a |\parbox| -%to allow for multi-line toc entries. For |\HAP@hltoctext|, the -%latter is inserted in a |\psframebox|. You can redefine the former -%macros to typeset the table of contents for your style in a -%different way. Use |\HAP@toctext| in your definitions. This will at -%run time contain the entry at hand in the markup specified by either -%|\HAP@tline|, |\HAP@tlineonly|, |\HAP@tsection| or -%|\HAP@tsectiononly| depending on the type of table of contents and -%the type of the entry. See for instance the |Fyma| style for an -%alternative table of contents markup. See further -%table~\ref{tab:tocmarkup} for other macros related to typesetting -%the table of contents and section~\ref{sec:toc} for more information -%about the table of contents. -% -%\begin{table}[ht] -%\caption{Table of contents typesetting macros.}\label{tab:tocmarkup} -%\makebox[\textwidth][r]{ -%\begin{tabular}{d}\hline\hline -%\ci{HAP@toc}&Command that includes the toc file in \ci{fontToc}.\\\hline -%\ci{HAP@tsections}&Includes sections of the toc file in \ci{fontToc}.\\\hline -%\ci{HAP@tcontent}&Contains the content of the current section.\\\hline -%\ci{ifHAP@toc}&True if a table of contents has been requested by the user.\\\hline -%\ci{HAP@tline}&Layout of a table of contents entry in a full toc.\\\hline -%\ci{HAP@tlineonly}&Layout of a table of contents entry in \ci{HAP@tcontent}.\\\hline -%\ci{HAP@tsection}&Layout of a table of contents section in a full toc.\\\hline -%\ci{HAP@tsectionm}&Section marker, inserted just before creating a section.\\\hline -%\ci{HAP@tsectiononly}&Layout of a table of contents section in \ci{HAP@tsections}.\\\hline -%\ci{HAP@tsectionskip}&Vertical skip above a section; default: 1.5em.\\\hline -%\ci{HAP@titemskip}&Vertical skip in between items, not sections; default: 0.1em.\\\hline -%\ci{HAP@tocentry}&Construct for entry, use \ci{HAP@toctext} inside, see leading text.\\\hline -%\ci{HAP@hltocentry}&Construct for highlighting, use \ci{HAP@toctext} inside, see leading text.\\\hline -%Color |HAP@hcolor|&Color for PostScript frame used for highlighting; default: black.\\\hline -%Color |HAP@htcolor|&Text color for highlighted toc entry; default: white.\\\hline -%\ci{HAP@twidth}&Width of toc, used for \ci{parbox} in \ci{HAP@tocentry} and \ci{HAP@hltocentry}.\\\hline -%\ci{HAP@tborder}&Border size in \ci{psframebox} of \ci{HAP@hltocentry}; default: 0.05cm\\\hline\hline -%\end{tabular}} -%\end{table} -% -%Note that the macros |\HAP@hcolor|, |\HAP@htcolor|, |\HAP@twidth| -%and |\HAP@tborder| are only used in the default definitions of -%|\HAP@tocentry| and |\HAP@hltocentry|. If you decide to redefine the -%latter two macros, defining and using the former four might not be -%necessary. The default toc typesetting uses these macros to provide -%an easy way for style designers to tweak the default markup of the -%table of contents. -% -%\subsection{Reserved commands} -%\pf{HA-prosper} knows a couple of reserved commands. If these -%commands are defined by a style, they will be used by -%\pf{HA-prosper} to create new slide environments. See -%table~\ref{tab:reserved}. -% -%\begin{table}[ht] -%\caption{Reserved commands in \pf{HA-prosper}.} \label{tab:reserved} -%\makebox[\textwidth][r]{ -%\begin{tabular}{d}\hline\hline -%\ci{HAPR@normalSlide}&Should contain the layout -%of a standard slide.\\\hline -%\ci{HAPR@wideSlide}&Should contain the layout of a -%wide slide; used for |wideslide| environment (\ref{sec:wpe}).\\\hline -%\ci{HAPR@partSlide}&Should contain the layout of a -%part slide; used for |partslide| environment (\ref{sec:wpe}).\\\hline -%\ci{HAPR@titleSlide}&Should contain the layout of a -%title slide; used to create title slide,\\ -%&which will be embedded in the \ci{maketitle} command (\ref{sec:mct}).\\\hline -%\hline -%\end{tabular}} -%\end{table} -% -%Note that |\HAPR@normalSlide| is used to switch back to after -%creating a special slide environment like |wideslide|. If this -%command has not been defined in your style, then \pf{HA-prosper} -%will not be able to define the environments mentioned in -%section~\ref{sec:wpe} for you. As a last note: don't forget the -%power of the \pf{PSTricks} package for designing styles. -% -%\clearpage\section{Miscellaneous issues} -% -%\subsection{Examples}\label{sec:examples} -%Examples that use the \pf{HA-prosper} package are contained in the -%|HAPIntroduction.tex|, |HAPBigtest.tex| and |HAPDualslide.tex| -%files in this distribution. The examples assume that you have the -%|HA| style. More examples can be found at the \pf{HA-prosper} website -%\cite{HA-prosper}. -% -%Do not forget to take a look at the documentation of the -%\pf{prosper} class, the \pf{hyperref} package and the -%\pf{PSTricks} package to fully understand the possibilities of -%slides created by \pf{HA-prosper}. -% -%\subsection{Required packages}\label{sec:req} -%The most important requirements of the \pf{prosper} class are: -%\begin{multicols}{2} -%\begin{itemize}\setlength{\itemsep}{0pt} -%\item \pf{seminar}, -%\item \pf{hyperref}, -%\item \pf{pstricks}, -%\item \pf{graphicx}. -%\end{itemize} -%\end{multicols} -%The most important requirements of the \pf{HA-prosper} package -%are: -%\begin{multicols}{2}\raggedright -%\begin{itemize}\setlength{\itemsep}{0pt} -%\item \pf{prosper} (|prosper.cls| version 1.24), -%\item \pf{xkeyval} \cite{xkeyvalCTAN}, -%\item \pf{xcomment}, -%\item \pf{verbatim}. -%\end{itemize} -%\end{multicols} -% -%\subsection{Resulting PDF}\label{sec:result} -%The PDF produced by PS2PDF (GhostScript) is usually very big. -%Unfortunately, it includes a copy of the logos on the slides every -%time they appear. In case this logo is a rendered picture, the PDF -%will become very big. There is not much you can do about that. -%However, you can compress a generic presentation PDF file very -%much (often even to 10\% of the original size) using for instance -%WinZip. And you could of course delete the logo or replace it by a -%non-rendered picture, for instance created by \pf{PSTricks}, see -%the \pf{PSTricks} website \cite{PSTricks}. Compare for example -%the |HA| style and the |Lakar| style. -% -%Another possibility is to use `Reduce file size' in the file menu -%of Acrobat (available from version 6). You can also use the PDF -%Optimizer in this version of Acrobat (Tools - PDF Optimizer). -%Using this option, you can compress the pictures inside the -%presentation and make the presentation considerably smaller. Hint: -%do not use JPEG or JPEG2000 for the compression of images. Even at -%the highest level of quality, this produces poor results for -%projecting purposes. Instead, use the ZIP compression. Also, do -%not downsize the resolution lower than 300 pixels per inch (for -%retaining printing quality). -% -%However, to get the most efficient PDF document, use the Acrobat -%Distiller to convert the PS file into a PDF file. Do not forget to -%include the `distiller' option in the document class in this case -%(see section~\ref{sec:compile}). -% -%\subsection{Credits} -%I want to thank the following people for their contribution(s). -%\begin{itemize} -%\item\textbf{Style contributors}\\ -%Chris Ellison: |TCS|, |TCSgrad| and |TCSTealBlue| styles.\\ -%Jack Stalnaker: |Aggie| style.\\ -%Laurent Jacques \cite{Laurent}: |Fyma| style.\\ -%Mathieu Goutelle \cite{Mathieu}: |Capsules| and |Ciment| styles. -%\item\textbf{Bug reports}\\ -%Bugs have been detected and reported by Chris Ellison, Victor -%Francisco Fonte, Johan Joubert, Fr\'ed\'eric Mayot, and Johan -%Segers. -%\item\textbf{Contributions and ideas}\\ -%A lot of thanks go Mathieu Goutelle \cite{Mathieu}, Herbert Vo\ss\ -%\cite{Herbert}, Murali Krishna Ganapathy \cite{Murali} and Laurent -%Jacques for great help, code contributions and/or ideas for improvements. -%\end{itemize} -% -%\subsection{Questions}\label{sec:questions} -%If you have questions, please first consult the documentation of -%the package that could possibly answer your question. Probably, -%you can find the answer in the documentation of either the -%\pf{HA-prosper} package, \pf{prosper} class, the \pf{hyperref} -%package or the \pf{PSTricks} package. Also have a look at -%WikiProsper \cite{WikiProsper} for a \pf{prosper} FAQ, -%\pf{prosper} open questions, known \pf{prosper} bugs, -%etcetera. -% -%If you cannot solve the problem yourself, or if you have comments or -%requests for additional features, you may try to post a message to -%the \pf{HA-prosper} mailinglist \cite{HAprospermaillist}. Do not -%forget to include a \emph{minimal} example when you want help with -%an error message. -% -%The use of the mailinglist will be supported as long as possible, -%but as stated in section~\ref{sec:newclass} most effort will be done -%to help \pf{powerdot} users and the \pf{HA-prosper} mailinglist may -%disappear over time. -% -% -%{\small -%\begin{thebibliography}{[00]} -% -%\bibitem{Acrobat} -%Acrobat. -%\newblock \url{http://www.adobe.com/products/acrobat}. -% -%\bibitem{AcroRead} -%{Acrobat Reader}. -%\newblock \url{http://www.adobe.com/products/acrobat/readstep2.html}. -% -%\bibitem{GhostScript} -%{AFPL GhostScript}. -%\newblock \url{http://www.cs.wisc.edu/~ghost}. -% -%\bibitem{GhostView} -%GhostView. -%\newblock \url{http://www.cs.wisc.edu/~ghost/gsview}. -% -%\bibitem{HAprospermaillist} -%{HA-prosper mailinglist}. -%\newblock \url{http://listserv.surfnet.nl/archives/ha-prosper.html}. -% -%\bibitem{HA-prosperCTAN} -%{HA-prosper on CTAN}. -%\newblock -% \url{http://www.ctan.org/tex-archive/macros/latex/contrib/ha-prosper}. -% -%\bibitem{HA-prosper} -%{HA-prosper website}. -%\newblock \url{http://stuwww.uvt.nl/~hendri/downloads/haprosper.html}. -% -%\bibitem{Herbert} -%{Herbert Vo\ss}. -%\newblock \url{http://www.perce.de}. -% -%\bibitem{Laurent} -%{Laurent Jacques}. -%\newblock \url{http://www.fyma.ucl.ac.be/~ljacques}. -% -%\bibitem{Mathieu} -%{Mathieu Goutelle}. -%\newblock \url{http://webperso.easyconnect.fr/goutelle}. -% -%\bibitem{MiKTeX} -%MiKTeX. -%\newblock \url{http://www.miktex.org}. -% -%\bibitem{Murali} -%{Murali Krishna Ganapathy}. -%\newblock \url{http://www.cs.uchicago.edu/people/gmkrishn}. -% -%\bibitem{natbibCTAN} -%{Natbib on CTAN}. -%\newblock -% \url{http://www.ctan.org/tex-archive/macros/latex/contrib/natbib}. -% -%\bibitem{powerdot} -%{powerdot on CTAN}. -%\newblock -% \url{http://www.ctan.org/tex-archive/macros/latex/powerdot}. -% -%\bibitem{ppr-prv} -%{ppr-prv}. -%\newblock -% \url{http://www.ctan.org/tex-archive/macros/latex/contrib/ppr-prv}. -% -%\bibitem{prosperCTAN} -%{Prosper on CTAN}. -%\newblock -% \url{http://www.ctan.org/tex-archive/macros/latex/contrib/prosper}. -% -%\bibitem{prosper} -%{Prosper website}. -%\newblock \url{http://prosper.sourceforge.net}. -% -%\bibitem{PSTricks} -%{PSTricks website}. -%\newblock \url{http://www.pstricks.de}. -% -%\bibitem{SWP} -%{Scientific WorkPlace}. -%\newblock \url{http://www.mackichan.com}. -% -%\bibitem{TeXFAQInst} -%{TeX FAQ (Installing packages)}. -%\newblock \url{http://www.tex.ac.uk/cgi-bin/texfaq2html?label=instpackages}. -% -%\bibitem{TeXFAQTop} -%{TeX FAQ (Top-aligning imported graphics)}. -%\newblock \url{http://www.tex.ac.uk/cgi-bin/texfaq2html?label=topgraph}. -% -%\bibitem{TeXLive} -%{TeXLive}. -%\newblock \url{http://www.tug.org/texlive}. -% -%\bibitem{TexNicCenter} -%TeXnicCenter. -%\newblock \url{http://www.toolscenter.org}. -% -%\bibitem{WikiProsper} -%WikiProsper. -%\newblock \url{http://wikiprosper.bbclone.de}. -% -%\bibitem{WinEdt} -%WinEdt. -%\newblock \url{http://www.winedt.com}. -% -%\bibitem{xkeyvalCTAN} -%{xkeyval on CTAN}. -%\newblock -% \url{http://www.ctan.org/tex-archive/macros/latex/xkeyval}. -% -%\end{thebibliography}} -% -%\subsection{Copyright} -%Copyright \copyright\ 2003-2005 by Hendri Adriaens. All rights reserved.\\ -% -%This program 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 -%\url{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.\\ -% -%\subsection{Version history} -%This section lists the main changes in this package as from -%version 3.5. Note that each version change also contains solutions -%to known (minor) bugs and improvements in programming and user -%interface. -% -%\begin{itemize} -%\item[\fbox{3.5}] Solved a bug with toc entries in combination with -%highlighting. This bug was mainly caused -%by the \pf{keyval} package not undefining variables when they are -%not used. Thanks to Mathieu Goutelle for the help; added support -%for the |\part| command. Made \pf{HA-prosper} load slide -%style definitions itself at the final stage; changed style names -%to |HAP[name].sty| to identify \pf{HA-prosper} style -%definitions from \pf{prosper} style definitions; made -%\pf{HA-prosper} undefine |\slidetitle| before loading the -%style definitions; -% -%\item[\fbox{3.6}] Improved writing of toc entries; solved an -%inconsistency in writing definitions between |seminar| and -%|latex.ltx|; introduced |\section| and -%|\sectionandpart|; completely changed |notes| environment, -%not using |seminar| note constructions anymore; added support -%for |\and| in |\author|; added |\fontToc|; -%\begin{itemize} -%\item[\fbox{3.61}] Removed redundant grouping; -%\item[\fbox{3.62}] Adapted writing definitions a bit to be more consistent with -%|seminar|; -%\end{itemize} -% -%\item[\fbox{3.7}] Prepared \pf{HA-prosper} for compatibility to the -%|prosper preview| class \cite{ppr-prv}; integrated specific -%style features into \pf{HA-prosper}; recoded |\figureitem| -%command; renamed |\section| to |\tsection|, -%|\sectionandpart| to |\tsectionandpart| to provide -%compatibility to for instance |\bibliography|; restructured -%\pf{HA-prosper} internals; -%\begin{itemize} -%\item[\fbox{3.71}] Solved a small bug writing final toc entry AtEndDocument; -%added |TCS| style by Chris Ellison. -%\end{itemize} -% -%\item[\fbox{3.8}] Added |\tsection*|, |\tsectionandpart*| and -%nesting of bookmarks; created |\dualslide|; added -%|\hiddenitem|, |\putfigure|, |\figureitem| and -%|\putfigureitem|. Revised the documentation; revised the -%examples; added the |\dualslide| example; revised the styles. -% -%\item[\fbox{3.9}] Deleted |\putfigureitem| and |\figureitem| -%and replaced |\putfigure| by the more general |\topbl|; -%improved positioning of bottom text when using |\dualslide|; -%added |indent| option for |\dualslide|; added support for a -%split toc; added package option |hlsections|; added package -%option |blackslide|; solved a bug occurring when -%|\tsectionandpart| was used to create the last slide; added -%|enumstep|; made it possible to nest |itemstep| and -%|enumstep| environments; added |\HAPsetup|, yet only used -%for stepping environments. -% -%\item[\fbox{4.0}] Changed to |.dtx| format and wrote code -%documentation. Added slide options |bm| and |sound|. Added -%default behavior of stepping environments with the |ps2pdf| -%\pf{prosper} option to be type 1, namely all active. Changed -%bookmarking process to a system that allows for deletion of -%bookmarks. Added global control of features through -%|HA-prosper.cfg|. Added |Aggie| style by Jack Stalnaker. -%Made some code more efficient. Added entrance point for -%\pf{ppr-prv} to make redefining macros easier for that class. -%Solved a bug in combination with loading \pf{babel}. Added -%|\onSlide| and |\OnSlide|. -% -%\item[\fbox{4.1}] Moved documentation to |.dtx| file. Added -%package option |counters|. Restored original |\item| and -%created |\xitem|. Changed |\hiddenitem| to |\xitemwait| -%which is a bit more general. Removed a bug in |\onSlide|. -%Rewrote a lot of code. Made \pf{HA-prosper} use \pf{xkeyval}. -%Changed |emptyslide| into more |partslide|. Added |Fyma| style -%by Laurent Jacques. -% -%\begin{itemize} -%\item[\fbox{4.11}] Corrected small bug in \pf{ppr-prv} compatibility -%check. Made \pf{HA-prosper} use original \LaTeX\ macros |\title| and -%|\author|. Added missing `=' in |\HAP@contentsline| definition. -%\end{itemize} -% -%\item[\fbox{4.2}] Improved table of contents typesetting. Added -%|\xitem|. Added |thebibliography| environment. Improved -%positioning of the slide title in the styles. Added handle for state -%of list items. Updated styles. Added |TCSgrad| and |TCSTealBlue| -%styles by Chris Ellison. Added extra syntax for |\onSlide| and -%|\OnSlide| to make displaying material relative to the preceding -%|\xitem|. -% -%\begin{itemize} -%\item[\fbox{4.21}] Added |Capsules| and |Ciment| styles by Mathieu -%Goutelle. Updated for \pf{xkeyval} version 1.4. -%\end{itemize} -% -%\end{itemize} -% -% \StopEventually{\PrintIndex} -% -% \section{Implementation}\label{sec:impl} -% -% \subsection{Preamble and options} -% The start of the file. -% \begin{macrocode} -%<*program> -\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{ } -% \end{macrocode} -% Required packages. Load \pf{xkeyval} safely to avoid problems with -% \pf{pst-key} which redefines |\setkeys| as well as \pf{xkeyval}. -% \begin{macrocode} -\let\HAP@orig@setkeys\setkeys -\RequirePackage{xkeyval} -\let\xsetkeys\setkeys -\RequirePackage{xcomment} -\RequirePackage{verbatim} -% \end{macrocode} -% Check the version of \pf{ppr-prv} for compatibility. -% \begin{macrocode} -\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}{} -% \end{macrocode} -% \DescribeSwitch{slidesonly}\DescribeSwitch{notesonly}\DescribeSwitch{notes} -% Define package options using \pf{xkeyval}. We start with the options for notes. -% \begin{macrocode} -\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} -% \end{macrocode} -% \DescribeSwitch{toc} -% Table of contents (toc) option. -% \begin{macrocode} -\newif\ifHAP@toc -\DeclareOptionX{toc}{\HAP@toctrue} -% \end{macrocode} -% \DescribeSwitch{highlight} -% Highlighting of toc entries. -% \begin{macrocode} -\newif\ifHAP@highlight -\DeclareOptionX{highlight}{\HAP@highlighttrue} -% \end{macrocode} -% \DescribeSwitch{hlsections} -% Permanent highlighting of toc sections. -% \begin{macrocode} -\newif\ifHAP@hlsections -\DeclareOptionX{hlsections}{\HAP@hlsectionstrue} -% \end{macrocode} -% \DescribeSwitch{portrait} -% Portrait slides. -% \begin{macrocode} -\newif\ifHAP@portrait -\DeclareOptionX{portrait}{\HAP@portraittrue} -% \end{macrocode} -% \DescribeSwitch{blackslide} -% The black slide. -% \begin{macrocode} -\newif\ifHAP@blackslide -\DeclareOptionX{blackslide}{\HAP@blackslidetrue} -% \end{macrocode} -% \DescribeSwitch{sounds} -% Include sounds. -% \begin{macrocode} -\newif\ifHAP@sounds -\DeclareOptionX{sounds}{\HAP@soundstrue} -% \end{macrocode} -% Default template. -% \begin{macrocode} -\def\HAP@Style@chosen{HA} -\DeclareOptionX*{\let\HAP@Style@chosen\CurrentOption} -% \end{macrocode} -% Default: slides only. -% \begin{macrocode} -\ExecuteOptionsX{slidesonly} -\ProcessOptionsX -% \end{macrocode} -% Reset |\setkeys| to avoid problems for pstricks packages using -% \pf{pst-key}. -% \begin{macrocode} -\let\setkeys\HAP@orig@setkeys -% \end{macrocode} -% \subsection{Main code} -% \subsubsection{Some necessary stuff} -% Temporary boxes, lengths and counters. -% \begin{macrocode} -\newbox\HAP@tba -\newbox\HAP@tbb -\newlength\HAP@tla -\newlength\HAP@tlb -\newlength\HAP@tlc -\newlength\HAP@tld -\newcounter{HAP@tca} -% \end{macrocode} -% Paper sizes for portrait and landscape slides. -% \begin{macrocode} -\ifHAP@portrait - \slidewidth=150mm - \slideheight=222mm -\else - \slidewidth=222mm - \slideheight=150mm -\fi -% \end{macrocode} -% \DescribeEnv{NewSlideStyle} -% This environment needs to be redefined to be able to remember -% the anchor and the position of the main text box on slides. -% The original comes from \pf{prosper}. -% \begin{macrocode} -\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}% -} -% \end{macrocode} -% \DescribeMacro{\protected@write} -% |Seminar| uses a somewhat different writing macro than |latex.ltx|. The -% |seminar| definition gets inserted at every |\begin{slide}| and is local. -% To assure -% that this writing definition is also used in between slides (e.g. -% for |\tsection|) we need to redefine it once. The main difference -% is in the use of |\immediate| by |seminar| while this is not used -% by |latex.ltx|. This difference would, without this definition, create mixing errors. -% \begin{macrocode} -\def\protected@write#1#2#3{% - \begingroup - #2% - \let\protect\noexpand - \immediate\normal@write#1{#3}% - \endgroup - \if@nobreak\ifvmode\nobreak\fi\fi -} -% \end{macrocode} -% \subsubsection{Support for notes} -% Notes are created on slides, but with an adapted template. We start -% with defining some counters. The first is used to count the number -% of notes with a particular slide. -% \begin{macrocode} -\newcounter{HAP@notes@slide} -% \end{macrocode} -% This counter is used to count the total number of notes. -% \begin{macrocode} -\newcounter{HAP@notes@true} -% \end{macrocode} -% And this is a temp counter to remember the slide that the notes -% belong to. -% \begin{macrocode} -\newcounter{HAP@notes@temp} -% \end{macrocode} -% The template to be used by notes. -% \begin{macrocode} -\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 -% \end{macrocode} -% Start writing a file to store notes page numbers. -% \begin{macrocode} -\ifHAP@notes - \newwrite\HAP@notesout\openout\HAP@notesout\jobname.not\relax -\fi -% \end{macrocode} -% When notes only, use saved page numbers. -% \begin{macrocode} -\ifHAP@notesonly - \begingroup\InputIfFileExists{\jobname.not}{}{}\endgroup - \xcomment{notes} -\fi -% \end{macrocode} -% \begin{environment}{notes} -% This macro defines the notes environment. -% \begin{macrocode} -\def\notes#1{% - \ifHAP@slidesonly\comment\else -% \end{macrocode} -% Count the number of notes with a particular slide. If we are still -% on the same slide, but have a new notes slide, add one to the counter -% for notes slides, otherwise reset that counter. -% \begin{macrocode} - \ifnum\value{slide}=\value{HAP@notes@temp} - \stepcounter{HAP@notes@slide}% - \else - \setcounter{HAP@notes@slide}{1}% - \fi -% \end{macrocode} -% Set the temp counter to the current slide to remember to which slide -% the notes belong. -% \begin{macrocode} - \setcounter{HAP@notes@temp}{\value{slide}}% - \stepcounter{HAP@notes@true}% -% \end{macrocode} -% If not notes only, then the notes page numbers get written to disk -% by using labels. This makes sure that, when using the option |notesonly| -% at the first pass of the presentation, there are no errors, only warnings. -% \begin{macrocode} - \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 -% \end{macrocode} -% Save anchor and position of the text box of the previous slide. -% \begin{macrocode} - \xdef\HAP@temp@anchor{\HAP@current@anchor}% - \xdef\HAP@temp@pos{\HAP@current@pos}% -% \end{macrocode} -% Start notes on a portrait slide environment. -% \begin{macrocode} - \HAP@notes@template\HAP@portraittrue - \begin{slide}[toc=,bm=,trans=Replace]{HAP@notitle}\black - \rput[tl](0,1.5){\fontTitle{\black#1}}% -% \end{macrocode} -% Position the notes number using |PSTricks|. -% \begin{macrocode} - \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 -} -% \end{macrocode} -% Closing the notes environment and restoring the text box position -% and anchor to its original values to be used by the next slide (or note). -% \begin{macrocode} -\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 -} -% \end{macrocode} -% \end{environment} -% \subsubsection{Blackslide option} -% First we create a template for the black slide. -% \begin{macrocode} -\def\HAP@bs@frame#1{% - \psframe[fillstyle=solid,fillcolor=black](-3,-3)(13,13)% - {#1}% -} -% \end{macrocode} -% And we position that. -% \begin{macrocode} -\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 -% \end{macrocode} -% Do not provide blackslide when \pf{ppr-prv} is loaded since it cannot -% be undone by that class. The black slide is a normal slide at the -% start of the presentation, is black and has a black button in the -% top left corner with Acrobat |GoBack| functionality. -% \begin{macrocode} -\ifHAP@blackslide - \ifx\PPRPRV@Version\@undefined -% \end{macrocode} -% Alter PDF starting slide to hide the black slide. -% \begin{macrocode} - \def\@pdfstartpage{2}% - \AtBeginDocument{% -% \end{macrocode} -% Set the template. -% \begin{macrocode} - \HAP@bs@template - \begin{slide}[trans=Replace,toc=,bm=]{HAP@notitle}% -% \end{macrocode} -% Create the button. -% \begin{macrocode} - {\black\hypertarget{blackslide}{\Acrobatmenu{GoBack}% - {\setlength{\fboxsep}{.5cm}\fbox{GoBack}}}}% - \end{slide}% -% \end{macrocode} -% Restore the slide counter to get real slide numbers right. -% \begin{macrocode} - \addtocounter{slide}{-1}% - \HAPR@normalSlide - } - \fi -\fi -% \end{macrocode} -% \DescribeMacro{\HAP@writebm} -% Macro that writes bookmark entries to the |.bm| file so that they -% can be read on the next pass. -% \HAPcmd{\ci{HAP@writebm}\marg{open}\marg{csec}\marg{title}\marg{page}\marg{bsec}} -% |csec| is the current section label and |bsec| is the section label -% of the section that the current slide belongs to for nesting bookmarks. -% These are used to compute the number of bookmarks that should be -% nested within the current bookmark. -% |open| is `+' or `-' to open bookmarks in the PDF or not. -% The other arguments are self-explaining. -% \begin{macrocode} -\def\HAP@writebm#1#2#3#4#5{% - \protected@write\HAP@bmout{}{% - \string\HAPbookmark{#1}{#2}{#3}{#4}{#5}}% -} -% \end{macrocode} -% \DescribeMacro{\HAP@checkbmnumber} -% Based on |pdfmark.def| (|hyperref|). Returns the number of bookmarks -% to be nested within the current bookmark. Notice that the macros -% |HAP_[label]| will contain the numbers of bookmarks to be nested -% within the current bookmark. -% \begin{macrocode} -\def\HAP@checkbmnumber#1{% - \expandafter\ifx\csname HAP_#1\endcsname\relax - 0% - \else - \csname HAP_#1\endcsname - \fi -} -% \end{macrocode} -% Temporary counter. -% \begin{macrocode} -\newcounter{HAP@temp@sc} -% \end{macrocode} -% \begin{macro}{\HAP@calcbmnumber} -% Based on |pdfmark.def| (|hyperref|). Computes the number of bookmarks -% to be nested within the current bookmark. -% \begin{macrocode} -\def\HAP@calcbmnumber#1{% -% \end{macrocode} -% Set the number of bookmarks for this section equal to the number -% of slides that we already encountered. -% \begin{macrocode} - \setcounter{HAP@temp@sc}{\HAP@checkbmnumber{#1}}% -% \end{macrocode} -% Add one bookmark to this section. -% \begin{macrocode} - \stepcounter{HAP@temp@sc}% -% \end{macrocode} -% And save the updated number of bookmarks again in the |HAP_[label]| -% macro which will be read later to nest the bookmarks. -% \begin{macrocode} - \expandafter\xdef\csname HAP_#1\endcsname{\number\c@HAP@temp@sc}% -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HAPbookmark} -% This is the macro that is written to the |.bm| file. First we -% read the |.bm| file to compute the number of bookmarks to be -% nested within each bookmark. -% \begin{macrocode} -\def\HAPbookmark#1#2#3#4#5{\HAP@calcbmnumber{#5}}% -\InputIfFileExists{\jobname.bm}{}{}% -% \end{macrocode} -% Now we redefine the |\HAPbookmark| macro to create the bookmarks. -% \begin{macrocode} -\def\HAPbookmark#1#2#3#4#5{% -% \end{macrocode} -% Notice the use of |\pdfstringdef| to allow for things like |\"i| -% in bookmarks. -% \begin{macrocode} - \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)}% - }% -}% -% \end{macrocode} -% We read the |.bm| file again and now the bookmarks will be created. -% \begin{macrocode} -\InputIfFileExists{\jobname.bm}{}{}% -% \end{macrocode} -% After reading the |.bm| file, we rewrite it for the next pass. -% \begin{macrocode} -\newwrite\HAP@bmout\immediate\openout\HAP@bmout\jobname.bm\relax -% \end{macrocode} -% \end{macro} -% \begin{macro}{\SlideSound} -% This macro creates a link to a sound file and sets the open action -% of the current page to play the file. Notice that this will make -% the PDF neither self sustaining nor system independent! This macro -% can be called from the optional arguments of slide environments, but -% can also be called directly for more flexibility. -% \begin{macrocode} -\def\SlideSound#1{% - \ifHAP@sounds -% \end{macrocode} -% Check availability of the sound file in the current directory. Note -% the use of |.///| for the current directory to circumvent a bug in -% MiKTeX. |./| is the standard to denote the current directory but -% MiKTeX (only) still searches the \TeX\ tree when using |./|. This -% bug has been reported to MiKTeX and will hopefully be solved soon. -% \begin{macrocode} - \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 - }% -% \end{macrocode} -% Put the link to the media on the slide. -% \begin{macrocode} - \pdfmark{pdfmark=/ANN, - Raw={/Rect [0 0 0 0] /Subtype /Movie - /Title (SlideSound) /Movie << /F (#1) >>}% - }% -% \end{macrocode} -% Play the file when the current slide is displayed. -% \begin{macrocode} - \pdfmark{pdfmark=/PUT, - Raw={{ThisPage} << /AA << /O << /S /Movie - /T (SlideSound) /Operation /Play >> >> >>}% - }% - \fi -} -% \end{macrocode} -% \end{macro} -% \subsubsection{Sectioning the presentation} -% First some counters. The first counter is used for counting slides -% inside sections in the toc. -% \begin{macrocode} -\newcounter{HAP@sc@toc} -% \end{macrocode} -% This counter is used to count sections in the presentation. -% \begin{macrocode} -\newcounter{HAP@sc@pres} -% \end{macrocode} -% This counter is for counting the number of slides in a section. -% \begin{macrocode} -\newcounter{HAP@sc@slides} -% \end{macrocode} -% \DescribeMacro{\tsection} -% This macro creates a section in the table of contents. The stared -% version creates a hidden section. The optional argument is for -% creating a bookmark. The macro uses |\HAP@@tsection| to do the job. -% \begin{macrocode} -\def\tsection{\@ifstar - {\@ifnextchar[{\HAP@@tsection{0}{2}}{\HAP@@tsection{0}{2}[]}}% - {\@ifnextchar[{\HAP@@tsection{0}{1}}{\HAP@@tsection{0}{1}[]}}% -} -% \end{macrocode} -% \begin{macro}{\HAP@@tsection} -% The workhorse for |\tsection|, |\tsectionandpart| and |\part|. -% \HAPcmd{\ci{HAP@@tsection}\marg{page}\marg{type}\oarg{bm}\marg{title}} |page| indicates -% whether the section got a page (1) or not (0). |type| indicates -% the type of section: 0=not a section (to serve |\part|), 1=normal, 2=hidden. -% This indicator is reused by several other macros, like |\pcontentsline|. -% The optional argument |bm| can contain a replacement for the bookmark -% title created by the |title| option. -% \begin{macrocode} -\def\HAP@@tsection#1#2[#3]#4{% -% \end{macrocode} -% Check whether the optional argument is empty. If yes, set it to -% the mandatory argument. This cannot be done by |\tsection| since -% the |\HAP@part| macro needs to access |\@tsection| macro directly. -% \begin{macrocode} - \def\HAP@tempa{#3}% - \ifx\HAP@tempa\@empty - \def\HAP@tempa{#4}% - \fi -% \end{macrocode} -% Step the section counter since we have a new section. -% \begin{macrocode} - \stepcounter{HAP@sc@pres}% -% \end{macrocode} -% Reset the counter for slides in a section. -% \begin{macrocode} - \setcounter{HAP@sc@slides}{0}% -% \end{macrocode} -% Step this counter to get correct bookmarks. -% \begin{macrocode} - \stepcounter{trueSlideCounter}% -% \end{macrocode} -% Add an entry to the |.toc| file. -% \begin{macrocode} - \HAP@contentsline{#2}{#4}{\number\c@trueSlideCounter}{\number\c@HAP@sc@pres}% -% \end{macrocode} -% Write a bookmark. -% \begin{macrocode} - \HAP@writebm{}{section.\number\c@HAP@sc@pres}{\HAP@tempa}% - {\number\c@trueSlideCounter}{}% -% \end{macrocode} -% Reset the main slide counter. -% \begin{macrocode} - \addtocounter{trueSlideCounter}{-1}% -} -% \end{macrocode} -% \end{macro} -% \subsubsection{part and tsectionandpart} -% An optional key for |\part| and |\tsectionandpart|. -% \begin{macrocode} -\define@key{HAP@keys@slide}{template}{\def\HAP@templatekey{#1}} -% \end{macrocode} -% \DescribeMacro{\part} -% This macro uses |\HAP@part|. The entry `0' indicates that this -% macro does not produce a section. See also the |\tsection| macro. -% \begin{macrocode} -\def\part{\@ifnextchar[{\HAP@part{0}}{\HAP@part{0}[]}} -% \end{macrocode} -% \DescribeMacro{\tsectionandpart} -% Creates a |\tsection| and a |\part|. The stared version creates -% a hidden section and part. -% \begin{macrocode} -\def\tsectionandpart{\@ifstar - {\@ifnextchar[{\HAP@part{2}}{\HAP@part{2}[]}}% - {\@ifnextchar[{\HAP@part{1}}{\HAP@part{1}[]}}% -} -% \end{macrocode} -% \begin{macro}{\HAP@part} -% The workhorse for |\part| and |\tsectionandpart|. -% \HAPcmd{\ci{HAP@part}\marg{type}\oarg{opt}\marg{title}} -% |type| coincides with the types used by |\tsection|. -% \begin{macrocode} -\def\HAP@part#1[#2]#3{% -% \end{macrocode} -% Grouping is necessary to keep options local. -% \begin{macrocode} - \begingroup -% \end{macrocode} -% Set options. -% \begin{macrocode} - \xsetkeys{HAP@keys@slide,HAP@keys@slidespec}{#2}% -% \end{macrocode} -% Several cases. We start with `not a section'. -% \begin{macrocode} - \ifnum#1=\z@ - \ifx\HAP@bmkey\@empty -% \end{macrocode} -% If bookmark entry is empty, overwrite it to use the title. -% \begin{macrocode} - \begin{\HAP@templatekey}[toc=#3,#2,bm=#3]{HAP@notitle}% - \else -% \end{macrocode} -% In all other cases, use the bookmark entry supplied by the user -% if is actually there. By default, use the title. -% \begin{macrocode} - \begin{\HAP@templatekey}[bm=#3,toc=#3,#2]{HAP@notitle}% - \fi - \else -% \end{macrocode} -% It is a section. -% \begin{macrocode} - \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@ -% \end{macrocode} -% Create the section with the supplied optional arguments. -% \begin{macrocode} - \HAP@@tsection{1}{#1}[\HAP@bmkey]{\HAP@tockey}% - \else -% \end{macrocode} -% Create the section with the title as bookmark since it is absent. -% \begin{macrocode} - \HAP@@tsection{1}{#1}[#3]{\HAP@tockey}% - \fi - \else - \ifcase - \ifx\HAP@bmkey\@undefined\@ne\fi - \ifx\HAP@bmkey\@empty\@ne\fi - \z@ -% \end{macrocode} -% Use the title for the toc. -% \begin{macrocode} - \HAP@@tsection{1}{#1}[\HAP@bmkey]{#3}% - \else -% \end{macrocode} -% Use the title for both the toc and the bookmark. -% \begin{macrocode} - \HAP@@tsection{1}{#1}[#3]{#3}% - \fi - \fi -% \end{macrocode} -% For sections, do not create a toc entry or bookmark since that -% is already done by |\HAP@@tsection|, but we do create a slide. -% \begin{macrocode} - \begin{\HAP@templatekey}[#2,toc=,bm=]{HAP@notitle}% - \fi -% \end{macrocode} -% Put the text onto the slide, after \pf{prosper}. -% \begin{macrocode} - \vspace*{1.5cm}% - \begin{center}% - \fontTitle{#3}% - \end{center}% - \end{\HAP@templatekey}% - \endgroup -} -% \end{macrocode} -% \end{macro} -% \subsubsection{Table of contents} -% First some initializations. |\HAP@tempentryb| holds the toc entry -% from one slide to the next to determine at which pages highlighting -% of this entry needs to be created. Versions a--d of |\HAP@tempentry| -% are all used for storing part of a toc entry. -% \begin{macrocode} -\let\HAP@tocentryb\@undefined -% \end{macrocode} -% True if a toc entry is the first inside the toc. Used to determine -% if vertical space needs to be inserted or not. -% \begin{macrocode} -\newif\ifHAP@firstTocEntry -% \end{macrocode} -% Write the toc at the end of the document so that it can be used -% during a pass. -% \begin{macrocode} -\AtEndDocument{% - \ifHAP@toc - \expandafter\newwrite\csname tf@toc\endcsname - \immediate\openout\csname tf@toc\endcsname\jobname.toc\relax -% \end{macrocode} -% When highlighting toc entries, the toc is created with a lag to be able to -% determine the start and stop slide for highlighting and hence the -% final entry has to be written to file at the end of the document. -% \begin{macrocode} - \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 -} -% \end{macrocode} -% \begin{macro}{\pcontentsline} -% This macro is used in the |.toc| file and creates the actual toc -% entry from a set of inputs. -% \HAPcmd{\ci{pcontentsline}\marg{type}\marg{title}\marg{start}\marg{stop}\marg{secctr}} -% For |type|, see |\tsection|. -% |start| is the starting page of the slide and |stop| is the -% final slide, both used for highlighting toc entries. If no highlighting -% is requested, only |start| is used to create a link to that page. |secctr| is -% the number of the section in the presentation (only used when -% |type| is 1 or 2). This macro does the first rough filtering in -% the decision to display the inputs at a certain slide or not. -% \begin{macrocode} -\def\pcontentsline#1#2#3#4#5{% -% \end{macrocode} -% Not a section. -% \begin{macrocode} - \ifnum#1=\z@ -% \end{macrocode} -% For |\HAP@toctype| see the definitions of |\HAP@toc|, |\HAP@tcontent| -% and |\HAP@tsections|. If 1, only sections wanted, hence do nothing. -% Else continue to |\HAP@pcontentsline|. -% \begin{macrocode} - \ifnum\HAP@toctype=\@ne\else - \HAP@pcontentsline{#1}{#2}{#3}{#4}{#5}% - \fi -% \end{macrocode} -% It is a section. -% \begin{macrocode} - \else -% \end{macrocode} -% If 2, hidden section, only set counter for keeping track of the -% section number inside the toc which is necessary for the |hlsections| -% package option. -% \begin{macrocode} - \ifnum\HAP@toctype=\tw@ - \setcounter{HAP@sc@toc}{#5}% - \else -% \end{macrocode} -% Else continue to |\HAP@pcontentsline|. -% \begin{macrocode} - \HAP@pcontentsline{#1}{#2}{#3}{#4}{#5}% - \fi - \fi -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HAP@pcontentsline} -% Workhorse for |\pcontentsline|. -% \HAPcmd{\ci{HAP@pcontentsline}\marg{type}\marg{title}\marg{start}\marg{stop}\marg{secctr}} -% Takes the same arguments as that macro and is used to divide input -% in all different cases and creates PDF page links from those inputs. -% \begin{macrocode} -\def\HAP@pcontentsline#1#2#3#4#5{% -% \end{macrocode} -% It is not a section. -% \begin{macrocode} - \ifnum#1=\z@ -% \end{macrocode} -% Select right typesetting for toc entry. -% \begin{macrocode} - \ifnum\HAP@toctype=\tw@ - \def\HAP@toctext{\HAP@tlineonly{#2}}% - \else - \def\HAP@toctext{\HAP@tline{#2}}% - \fi -% \end{macrocode} -% It is a section. -% \begin{macrocode} - \else -% \end{macrocode} -% Set the counter for later use and typeset the section. -% \begin{macrocode} - \setcounter{HAP@sc@toc}{#5}% - \ifnum\HAP@toctype=\@ne - \def\HAP@toctext{\HAP@tsectiononly{#2}}% - \else - \def\HAP@toctext{\HAP@tsection{#2}}% - \fi - \fi -% \end{macrocode} -% Here we end up with some cluster of cases. Basically, we need to -% determine whether or not the toc entry at hand should be displayed -% and if it will be highlighted. Let's go ahead case by case, line by line. -% \begin{macrocode} - \ifcase -% \end{macrocode} -% First, we decide whether or not to display the entry. We display -% the entry at hand on this slide if it is in the current section. -% \begin{macrocode} - \ifnum\value{HAP@sc@pres}=\value{HAP@sc@toc}\@ne\fi -% \end{macrocode} -% Or if it is an entry that occurs before the first section (independent -% of the current toc section), but only if the toc type is 0. If it is not 0 -% we only display it when the first section didn't start yet. -% \begin{macrocode} - \ifnum\value{HAP@sc@toc}=\z@\ifnum\HAP@toctype=\z@\@ne\else - \ifnum\value{HAP@sc@pres}=\z@\@ne\fi\fi\fi -% \end{macrocode} -% Or when it is a regular section. Hidden sections (type 2) and -% content of not current sections is not displayed. -% \begin{macrocode} - \ifnum#1=\@ne\@ne\fi - \z@ - \else -% \end{macrocode} -% Add extra vertical space between sections and items given that the -% current entry section is not the first entry in the toc. Be careful -% for a possibly split toc. No extra vertical space in that case. -% \begin{macrocode} - \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 -% \end{macrocode} -% Set for the rest of the |.toc| processing. -% \begin{macrocode} - \HAP@firstTocEntryfalse -% \end{macrocode} -% Add a section marker when the current entry is a section. -% \begin{macrocode} - \ifnum#1=\z@\else\HAP@tsectionm\fi -% \end{macrocode} -% Then we come to the point where we start to create the -% toc entries. Now we have to decide how to display the entries. -% \begin{macrocode} - \ifcase -% \end{macrocode} -% If highlighting has been requested -% \begin{macrocode} - \ifHAP@highlight -% \end{macrocode} -% and if the current entry is the active one -% \begin{macrocode} - \ifnum\value{trueSlideCounter}<#3\space\else - \ifnum\value{trueSlideCounter}<#4\@ne\fi\fi -% \end{macrocode} -% or the section is the current section and section highlighting -% has been requested, then we highlight the entry. -% \begin{macrocode} - \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 -% \end{macrocode} -% Create the pdf hyperlink to the page. -% \begin{macrocode} - \HAP@pdfpagelink{\HAP@tempa}{#3}% - \par - \fi -} -% \end{macrocode} -% \end{macro} -% \DescribeMacro{\HAP@pdfpagelink} -% This macro creates the page link for |\HAP@pcontentsline| using a PDF annotation. -% \HAPcmd{\ci{HAP@pdfpagelink}\marg{constr}\marg{page}} -% |constr| is the construction to attach the link to. -% |page| is the target page. This code does not use |hyperref|'s -% hypertarget since these can lead to half slides being displayed. -% \begin{macrocode} -\def\HAP@pdfpagelink#1#2{% - \pdfmark[#1]{pdfmark=/LNK, - Raw={/Page #2 /Border [0 0 0] /View [/XYZ null null null]}}% -} -% \end{macrocode} -% \begin{macro}{\HAP@contentsline} -% This macro writes the toc entries to disk or remembers them -% if necessary. \HAPcmd{\ci{HAP@contentsline}\marg{type}\marg{title}\marg{page}\marg{secctr}} -% For the arguments, see |\pcontentsline|. -% \begin{macrocode} -\def\HAP@contentsline#1#2#3#4{% - \ifHAP@toc - \ifHAP@highlight - \ifx\HAP@tocentryb\@undefined\else -% \end{macrocode} -% When highlighting and it is not the first toc entry of the presentation, write it to disk. -% \begin{macrocode} - \protected@write\@auxout{}{% - \string\@writefile{toc}{% - \string\pcontentsline{\HAP@tocentrya}{\HAP@tocentryb}% - {\HAP@tocentryc}{#3}{\HAP@tocentryd}}}% - \fi -% \end{macrocode} -% Remember the current entry. This is done to remember the starting -% page of a slide. Write it when the next slide appears and the final -% page of the current slide is known. -% \begin{macrocode} - \gdef\HAP@tocentrya{#1}% -% \end{macrocode} -% |\protected@xdef| necessary to expand |\@tockey| inputs correctly. -% \begin{macrocode} - \protected@xdef\HAP@tocentryb{#2}% - \xdef\HAP@tocentryc{#3}% - \xdef\HAP@tocentryd{#4}% - \else -% \end{macrocode} -% When not highlighting, write the entry to disk. -% \begin{macrocode} - \protected@write\@auxout{}{% - \string\@writefile{toc}{% - \string\pcontentsline{#1}{#2}{#3}{}% - {\ifnum#1=\z@\else\number\c@HAP@sc@pres\fi}}}% - \fi - \fi -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HAP@toc} -% \begin{macro}{\HAP@tsections} -% \begin{macro}{\HAP@tcontent} -% These macros put (part of) the table of contents on slides. -% The latter two allow for splitting of the toc. Notice that -% the actual splitting is handled by |\pcontentsline| using -% |\HAP@toctype| as guidance. The macros use |\HAP@tocinput| -% to perform initializations and then load the |.toc| file. -% The first macro will put the entire toc on slides. -% \begin{macrocode} -\def\HAP@toc{% - \def\HAP@toctype{0}% -% \end{macrocode} -% Load |.toc| file. -% \begin{macrocode} - \HAP@tocinput -} -% \end{macrocode} -% This puts only the sections on slides. -% \begin{macrocode} -\def\HAP@tsections{% - \def\HAP@toctype{1}% - \HAP@tocinput -} -% \end{macrocode} -% This puts only the current section content on slides. -% \begin{macrocode} -\def\HAP@tcontent{% - \def\HAP@toctype{2}% - \HAP@tocinput -} -% \end{macrocode} -% \end{macro} -% \end{macro} -% \end{macro} -% \begin{macro}{\HAP@tocinput} -% Macro performs some initializations and then loads the |.toc| file. -% \begin{macrocode} -\def\HAP@tocinput{% -% \end{macrocode} -% Eliminates space on top of the first toc entry. -% \begin{macrocode} - \HAP@firstTocEntrytrue -% \end{macrocode} -% Reset within |.toc| counter. -% \begin{macrocode} - \setcounter{HAP@sc@toc}{0}% -% \end{macrocode} -% Allow for instance the |babel| package to insert |\select@language| -% into the |.toc| file. -% \begin{macrocode} - \makeatletter -% \end{macrocode} -% Apply |\FontToc| and input |.toc| file for processing. -% \begin{macrocode} - \fontToc{\InputIfFileExists{\jobname.toc}{}{}}% - \makeatother -} -% \end{macrocode} -% \end{macro} -% \subsubsection{Redefining slide definitions} -% We start with optional keys for the new slide environment. -% \begin{macrocode} -\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}} -% \end{macrocode} -% \begin{environment}{SlideNormal} -% What follows now is adapted code, originally taken from -% \pf{prosper}. -% \begin{macrocode} -\def\SlideNormal{\@ifnextchar[\HAP@SlideNormal{\HAP@SlideNormal[]}} -\def\HAP@SlideNormal[#1]#2{% -% \end{macrocode} -% Set the optional keys using the \pf{xkeyval} package. -% \begin{macrocode} - \xsetkeys{HAP@keys@slide,HAP@keys@slidespec}{#1}% - \stepcounter{trueSlideCounter}% -% \end{macrocode} -% Transition effects. -% \begin{macrocode} - \PDFtransition{\HAP@transkey}% -% \end{macrocode} -% Add transition sounds. -% \begin{macrocode} - \ifx\HAP@soundkey\@undefined\else - \SlideSound{\HAP@soundkey}% - \fi - \begin{slide@seminar}% -% \end{macrocode} -% |\landscapefalse| is defined by |seminar|. -% \begin{macrocode} - \ifHAP@portrait\landscapefalse\fi -% \end{macrocode} -% Slide title empty? -% \begin{macrocode} - \def\HAP@tempa{#2}% - \def\HAP@tempb{HAP@notitle}% - \ifx\HAP@tempa\HAP@tempb -% \end{macrocode} -% This part is used by |\part| related commands and |\maketitle|. It -% allows these macros to delete the toc entry and the bookmark entry. -% Deleting bookmark entries on other slides will mess up the nesting -% of bookmarks into sections. First checking the toc entry. -% \begin{macrocode} - \ifx\HAP@tockey\@undefined\else\ifx\HAP@tockey\@empty\else - \HAP@contentsline{0}{\HAP@tockey}{\number\c@trueSlideCounter}{}% - \fi\fi -% \end{macrocode} -% Check the bookmark entry. If empty, do not create the bookmark. -% \begin{macrocode} - \ifx\HAP@bmkey\@undefined\else\ifx\HAP@bmkey\@empty\else -% \end{macrocode} -% We have a new bookmark in the current section. -% \begin{macrocode} - \stepcounter{HAP@sc@slides}% -% \end{macrocode} -% Write the bookmark to the |.bm| file. The labelling will later on -% be used to compute the number of bookmarks to be nested within -% the current section. -% \begin{macrocode} - \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 -% \end{macrocode} -% Slide title. -% \begin{macrocode} - \slidetitle{#2}% -% \end{macrocode} -% Empty bookmarks will not be created. -% \begin{macrocode} - \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 -% \end{macrocode} -% Create toc entry, unless it is empty, then delete it from the toc. -% \begin{macrocode} - \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 -% \end{macrocode} -% Start a box, a minipage and make it raggedright. -% \begin{macrocode} - \begin{posit@Box}% - \begin{minipage}{\slideWidth}% - \raggedright - \@DefMyItem% -% \end{macrocode} -% Set the text font. -% \begin{macrocode} - \ifinColor\@fontTextColor\else\@fontTextBW\fi -} -% \end{macrocode} -% Close all started environments and boxes. -% \begin{macrocode} -\def\endSlideNormal{% - \end{minipage}% - \end{posit@Box}% - \end{slide@seminar}% -} -% \end{macrocode} -% \end{environment} -% \begin{environment}{SlideOverlay} -% Overlay slides are very comparable to |\SlideNormal|, but these -% get nested bookmarks and an overlay. The case |\ifDVItoPStrue| -% which \pf{prosper} specifies, is -% not interesting here since the macro is only called from the -% |Overlays| environment which is called from |\overlays| (see page~\pageref{macro:overlays}) -% but only -% |\ifDVItoPSfalse|. There is no useful application of the |Overlays| -% environment when not being called from the |\overlays| macro. -% \begin{macrocode} -\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 -% \end{macrocode} -% This code is used for the first overlay slide created by |\overlays|. -% \begin{macrocode} - \global\HAP@firstOverlayfalse -% \end{macrocode} -% \pf{prosper} option to open bookmarks of overlays. -% \begin{macrocode} - \ifcollapsedBookmarks\def\HAP@tempa{-}\else\def\HAP@tempa{}\fi -% \end{macrocode} -% Create bookmarks, nest them and open them if requested. -% \begin{macrocode} - \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 -% \end{macrocode} -% Create toc entries. -% \begin{macrocode} - \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 -% \end{macrocode} -% This case relates to the rest of the slides created by |\overlays|. -% Create bookmarks without nesting and no toc entries. -% \begin{macrocode} - \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}}% -} -% \end{macrocode} -% Close all started environments and boxes. -% \begin{macrocode} -\def\endSlideOverlay{% - \end{minipage}% - \end{posit@Box}% - \end{slide@seminar}% - \ifDVItoPS\else - \addtocounter{slide}{-1}% - \fi -} -% \end{macrocode} -% \end{environment} -% \DescribeEnv{slide} -% These macros define the |slide| environment. -% \begin{macrocode} -\let\slide=\SlideNormal -\let\endslide=\endSlideNormal -% \end{macrocode} -% \subsubsection{Bibliography} -% \DescribeEnv{thebibliography} -% This section includes a redefined |bibliography| environment which -% does not create a section heading. The original has been taken from -% |article.cls|. -% \begin{macrocode} -\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 -} -% \end{macrocode} -% \subsubsection{Underlying macros for itemize and enumerate} -% First let the \pf{prosper} command |\NoFrenchBabelItemize| do nothing -% anymore since we redefine lists |\AtBeginDocument| always. -% \begin{macrocode} -\let\NoFrenchBabelItemize\relax -\def\HAP@toodeep{\PackageError{HA-prosper}{Items too deeply nested}\@ehd} -% \end{macrocode} -% |\ifHAP@active| indicates state of an item. \pf{HA-prosper} only -% sets it, but does not use it. It can be used in styles. -% \begin{macrocode} -\newif\ifHAP@active -% \end{macrocode} -% |\ifHAP@nested| indicates whether an |itemize| or |enumerate| -% environment is nested in a stepping environment. In that case, -% active state is inherited. -% \begin{macrocode} -\newif\ifHAP@nested -% \end{macrocode} -% Keep a copy of the original |\item|. -% \begin{macrocode} -\let\HAP@orig@item=\item -% \end{macrocode} -% \DescribeMacro{\xitem} -% The |\xitem| macro. -% \begin{macrocode} -\def\xitem{\@ifnextchar<\HAP@xitem{\HAP@xitem<0>}} -% \end{macrocode} -% \DescribeMacro{\HAP@xitem} -% The workhorse for |\xitem|. It can be reset in environments. -% \begin{macrocode} -\def\HAP@xitem<#1>{% - \PackageError{HA-prosper}{Lonely \string\item--perhaps a missing - list environment}\@ehc -} -\AtBeginDocument{% -% \end{macrocode} -% \begin{environment}{HAP@itemize} -% Define the |HAP@itemize| and |HAP@enumerate| environments without a left block indent -% and |topsep| since this creates ugly lists on slides and wastes -% a lot of space. -% Definitions taken mainly from |latex.ltx| and modified. -% \begin{macrocode} - \def\itemize{% - \def\HAP@xitem<##1>{% -% \end{macrocode} -% If not nested, item is active, otherwise, inherit. -% \begin{macrocode} - \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{% -% \end{macrocode} -% Setting relevant lengths. -% \begin{macrocode} - \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 - } -% \end{macrocode} -% End the list. -% \begin{macrocode} - \let\enditemize\endlist -% \end{macrocode} -% \end{environment} -% \begin{environment}{HAP@enumerate} -% For |HAP@enumerate| we do roughly the same thing. -% \begin{macrocode} - \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 - } -% \end{macrocode} -% End the list. -% \begin{macrocode} - \let\endenumerate\endlist -% \end{macrocode} -% \end{environment} -% End of |\AtBeginDocument|. -% \begin{macrocode} -} -% \end{macrocode} -% \subsubsection{Stepping environments} -% Now we define animated lists. We start with the overall depth of a list -% with possibly |itemstep|s and |enumstep|s nested into each other. -% \begin{macrocode} -\newcounter{HAP@listdepth} -% \end{macrocode} -% Optional arguments. -% \begin{macrocode} -\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}} -% \end{macrocode} -% \DescribeEnv{itemstep}\DescribeEnv{enumstep} -% These macros generate the animated lists. Taken from -% prosper and heavily modified to allow for multiple types -% of animated lists and nesting of |enumstep| and |itemstep| -% environments. -% \begin{macrocode} -\def\itemstep{\@ifnextchar[{\HAP@stepenv{0}}{\HAP@stepenv{0}[]}} -\def\enumstep{\@ifnextchar[{\HAP@stepenv{1}}{\HAP@stepenv{1}[]}} -% \end{macrocode} -% Closing the environments |itemstep| and |enumstep|. -% \begin{macrocode} -\def\enditemstep{\endHAP@stepenv{0}} -\def\endenumstep{\endHAP@stepenv{1}} -% \end{macrocode} -% \begin{environment}{HAP@stepenv} -% Workhorse for both |itemstep| and |enumstep|. The first -% argument identifies the type of list (0 for |itemstep|) -% and the second contains the optional arguments. -% \begin{macrocode} -\def\HAP@stepenv#1[#2]{% -% \end{macrocode} -% A following environment might be nested. Important for setting active -% state. -% \begin{macrocode} - \HAP@nestedtrue -% \end{macrocode} -% Load the options into macros. -% \begin{macrocode} - \xsetkeys{HAP@keys@step}{#2}% -% \end{macrocode} -% If |dvi2ps|, all items should be active since overlays create -% only one slide. -% \begin{macrocode} - \ifDVItoPS\def\HAP@Itype{0}\fi -% \end{macrocode} -% Start the list. -% \begin{macrocode} - \ifnum#1=\z@ - \begin{itemize}% - \else - \begin{enumerate}% - \fi -% \end{macrocode} -% Possibility to let the animated list start at a later overlay. -% Only possible when the overall depth is zero, hence the current -% list is not nested. -% \begin{macrocode} - \ifnum\value{HAP@listdepth}=\z@ - \setcounter{item@step}{\HAP@Istart}% - \addtocounter{item@step}{-1}% - \fi -% \end{macrocode} -% Increase list depth. We are one level deeper. -% \begin{macrocode} - \stepcounter{HAP@listdepth}% -% \end{macrocode} -% \begin{macro}{\HAP@xitem} -% Workhorse for |\xitem|. -% \begin{macrocode} - \def\HAP@xitem<##1>{% -% \end{macrocode} -% Next step in the list. -% \begin{macrocode} - \stepcounter{item@step}% -% \end{macrocode} -% Set temp counter to |item@step + input value|. -% \begin{macrocode} - \setcounter{HAP@tca}{\value{item@step}}% - \addtocounter{HAP@tca}{##1}% - \HAP@activetrue -% \end{macrocode} -% If the type is 0, all items remain active, display incrementally. -% \begin{macrocode} - \ifnum\HAP@Itype=\z@ - \HAP@textc - \OnSlide{\value{item@step}-}% - \else -% \end{macrocode} -% Else, items can become inactive. If type is 1, display list incrementally. -% \begin{macrocode} - \ifnum\HAP@Itype=\@ne\OnSlide{\value{item@step}-}\fi - \ifcase -% \end{macrocode} -% If |item@step| $\leq$ |overlay number| $\leq$ |item@step + input value|, -% then item is active. -% \begin{macrocode} - \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 -% \end{macrocode} -% Original |\item|. This allows for doing |\xitem[a]| or |\xitem<1>[b]|. -% \begin{macrocode} - \HAP@orig@item - }% -% \end{macrocode} -% \end{macro} -% \begin{macrocode} -} -% \end{macrocode} -% Workhorse for |\enditemstep| and |\endenumstep| -% \begin{macrocode} -\def\endHAP@stepenv#1{% - \ifnum#1=\z@ - \end{itemize}% - \else - \end{enumerate}% - \fi -% \end{macrocode} -% Decrease list depth. -% \begin{macrocode} - \addtocounter{HAP@listdepth}{-1}% -% \end{macrocode} -% Reset the |item@step| counter for a next list. -% \begin{macrocode} - \ifnum\value{HAP@listdepth}=\z@ - \setcounter{item@step}{0}% - \HAP@nestedfalse - \fi -} -% \end{macrocode} -% \end{environment} -% \subsubsection{Maketitle} -% \begin{macro}{\maketitle} -% We start with restoring two macros to the \LaTeX\ original. -% \begin{macrocode} -\def\title#1{\gdef\@title{#1}} -\def\author#1{\gdef\@author{#1}} -% \end{macrocode} -% This code originates from the \pf{prosper} but has been modified -% a lot. -% \begin{macrocode} -\renewcommand{\maketitle}[1][]{% -% \end{macrocode} -% \pf{prosper} comment: Tests whether the 'french' style from B. Gaulle is loaded. -% \begin{macrocode} - \expandafter\ifx\csname frenchTeXmods\endcsname\relax - \else -% \end{macrocode} -% \pf{prosper} comment: Is it an old version affected by the bug. -% \begin{macrocode} - \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 -% \end{macrocode} -% Allow for optional arguments in |\maketitle| command. -% \begin{macrocode} - \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 -% \end{macrocode} -% Put author in a tabular to allow for the use of the standard |\and| command. -% \begin{macrocode} - {\ifinColor\@fontAuthorColor\else\@fontAuthorBW\fi - \begin{tabular}[t]{c}\@author\end{tabular}\par}% - \vfill - \end{center}% - \end{slide}% -} -% \end{macrocode} -% \end{macro} -% \subsubsection{Overlays} -% This section contains some overlays macros. We start with the -% |Overlays| environment used by the |\overlays| macro. -% \begin{macrocode} -\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}% -} -% \end{macrocode} -% This patch by Mathieu Goutelle, modified by Hendri Adriaens, -% solves the problem of numbering on overlays. Custom counters -% can be requested to be protected using |\HAPsetup|. -% \begin{macro}{\overlays}\label{macro:overlays} -% This code has been taken from \pf{prosper} and has been modified. -% \begin{macrocode} -\long\def\overlays#1#2{% - \bgroup - \aftergroup\HAP@cleanupOverlay - \InOverlaystrue - \setcounter{limitOverlays}{#1}% - \setcounter{overlaysCount}{1}% - \ifDVItoPS - #2 - \else - \begin{Overlays}% - \bgroup - \loop - \@everyOverlay -% \end{macrocode} -% Save current counter values. -% \begin{macrocode} - \HAP@scounters - #2 - \ifnum\value{overlaysCount}<\value{limitOverlays}{% - \stepcounter{overlaysCount}% -% \end{macrocode} -% Return the counters to the original setting on every -% overlay to be able to number items correctly. -% \begin{macrocode} - \HAP@rcounters - }% - \repeat - \egroup - \end{Overlays}% - \fi - \egroup -} -% \end{macrocode} -% \end{macro} -% \DescribeMacro{\HAP@cleanupOverlay} -% To be performed after using |\overlays|. Reset the counters to allow -% for reusing the value of the counters, for instance in style files. -% \begin{macrocode} -\def\HAP@cleanupOverlay{% - \InOverlaysfalse - \setcounter{limitOverlays}{0}% - \setcounter{overlaysCount}{0}% -} -% \end{macrocode} -% Let the |\saveCtr| do nothing since this package offers a different -% mechanism to protect counters on overlays. -% \begin{macrocode} -\let\saveCtr\relax -% \end{macrocode} -% The following key saves the input to |\HAP@counterslist|, adds the -% counters |figure|, |table| and |equation| to the list and creates -% backup counters. -% \begin{macrocode} -\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 -% \end{macrocode} -% Create backup counters. -% \begin{macrocode} - \@for\HAP@tempa:=\HAP@counterslist\do{% - \@ifundefined{c@\HAP@tempa}{\@nocounterr{\HAP@tempa}}% - {\@ifundefined{c@HAP@oldc@\HAP@tempa}{\newcounter{HAP@oldc@\HAP@tempa}}{}}% - }% -} -% \end{macrocode} -% \DescribeMacro{\HAP@scounters} -% Saves current counter values to the backup counters. -% \begin{macrocode} -\def\HAP@scounters{% - \@for\HAP@tempa:=\HAP@counterslist\do{% - \setcounter{HAP@oldc@\HAP@tempa}{\value{\HAP@tempa}}% - }% -} -% \end{macrocode} -% \DescribeMacro{\HAP@rcounters} -% Resets the actual counters using the backup counters. -% \begin{macrocode} -\def\HAP@rcounters{% - \@for\HAP@tempa:=\HAP@counterslist\do{% - \setcounter{\HAP@tempa}{\value{HAP@oldc@\HAP@tempa}}% - }% -} -% \end{macrocode} -% \subsubsection{Font definitions} -% This section contains some font definitions in the light of \pf{prosper} -% The |\Font...| macros define fonts to be used for certain text elements -% and the |\font...| versions allow to apply the predefined font to -% the text.\par -% \DescribeMacro{\FontLeftFoot}\DescribeMacro{\fontLeftFoot} -% Definitions for the left footer. -% \begin{macrocode} -\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}} -% \end{macrocode} -% \DescribeMacro{\FontRightFoot}\DescribeMacro{\fontRightFoot} -% Definitions for the right footer. -% \begin{macrocode} -\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}} -% \end{macrocode} -% \DescribeMacro{\FontAuthor}\DescribeMacro{\fontAuthor} -% Definitions for author. -% \begin{macrocode} -\def\@fontAuthorColor{\@fontTextColor} -\def\@fontAuthorBW{\@fontTextBW} -\newcommand{\FontAuthor}[2]{% - \gdef\@fontAuthorColor{#1}% - \gdef\@fontAuthorBW{#2}} -\newcommand{\fontAuthor}[1]{{\ifinColor\@fontAuthorColor\else\@fontAuthorBW\fi#1}} -% \end{macrocode} -% \DescribeMacro{\FontInst}\DescribeMacro{\fontInst} -% Definitions for institution. -% \begin{macrocode} -\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}} -% \end{macrocode} -% \DescribeMacro{\institution} -% The |\institution| macro does not put text anymore directly onto -% the title slide. Instead, it applies the font settings and can be -% used inside the |\author| macro. -% \begin{macrocode} -\let\institution\fontInst -% \end{macrocode} -% \DescribeMacro{\FontEmail}\DescribeMacro{\fontEmail} -% Definitions for e-mail. -% \begin{macrocode} -\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}} -% \end{macrocode} -% \DescribeMacro{\email} -% The |\email| macro does not put text anymore directly onto -% the title slide. Instead, it applies the font settings and can be -% used inside the |\author| macro. -% \begin{macrocode} -\let\email\fontEmail -% \end{macrocode} -% \DescribeMacro{\FontToc}\DescribeMacro{\fontToc} -% Definitions for the table of contents. -% \begin{macrocode} -\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}} -% \end{macrocode} -% \subsubsection{Footers} -% We don't use the seminar page style. It provides not enough flexibility -% for placement of footers. -% \begin{macrocode} -\renewpagestyle{GenericPageStyle}{}{} -% \end{macrocode} -% \DescribeMacro{\HAP@leftfoot}\DescribeMacro{\HAP@rightfoot} -% These macros store the footer texts. -% \begin{macrocode} -\define@key{HAP@keys@globalonly}{lf}{\def\HAP@leftfoot{#1}} -\define@key{HAP@keys@globalonly}{rf}{\def\HAP@rightfoot{#1}} -% \end{macrocode} -% \DescribeMacro{\LeftFoot}\DescribeMacro{\RightFoot} -% Backward compatibility for earlier version of \pf{HA-prosper} which -% where not using the |\HAPsetup| user interface yet. -% \begin{macrocode} -\def\LeftFoot#1{\def\HAP@leftfoot{#1}} -\def\RightFoot#1{\def\HAP@rightfoot{#1}} -% \end{macrocode} -% \DescribeMacro{\HAP@sn} -% Slide number. -% \begin{macrocode} -\define@key{HAP@keys@globalonly}{sn}{\def\HAP@sn{#1}} -% \end{macrocode} -% \DescribeMacro{\HAP@PutLF} -% This can be used to in a template to position the left footer. It -% uses |\rput| and puts the footer in the left footer font. -% \begin{macrocode} -\newcommand{\HAP@PutLF}[2]{% - \rput[#1](#2){\parbox[t]{\slidewidth}{\fontLeftFoot{\HAP@leftfoot}}}% -} -% \end{macrocode} -% \DescribeMacro{\HAP@PutRF} -% Puts the right footer on slides. -% \begin{macrocode} -\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 -} -% \end{macrocode} -% \subsubsection{Dualslides} -% This section contains the code to create dualslides. -% We start with a lot of lengths which can be set by the user. -% \begin{macrocode} -\newlength{\HAP@lcolwidth} -\newlength{\HAP@rcolwidth} -\newlength{\HAP@frsep} -\newlength{\HAP@colsep} -\newlength{\HAP@topsep} -\newlength{\HAP@bottomsep} -\newlength{\HAP@indent} -% \end{macrocode} -% Optional arguments. Refer to the manual for a full -% description of the options. -% \begin{macrocode} -\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}} -% \end{macrocode} -% \DescribeMacro{\HAP@maxdim} -% Macro that returns the maximum of two dimensions. -% \begin{macrocode} -\def\HAP@maxdim#1#2{\ifdim#1>#2#1\else#2\fi} -% \end{macrocode} -% \DescribeMacro{\dualslide}\DescribeMacro{\HAP@dualslide}\DescribeMacro{\HAP@@dualslide} -% The |\dualslide| macro is called with -% \HAPcmd{\ci{dualslide}\oarg{opt1}\oarg{opt2}\oarg{opt3}\marg{options}\marg{left}\marg{right}} -% If only |opt1| specified, then |opt2|=|opt1| and |opt3|=|opt1|. If -% |opt1| and |opt2| specified, |opt3|=|opt1|. The macros |\HAP@dualslide| -% and |\HAP@@dualslide| are used to achieve this behavior. -% See for more info on the arguments the manual. -% \begin{macrocode} -\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]}% -} -% \end{macrocode} -% \begin{macro}{\HAP@@@dualslide} -% Workhorse for |\dualslide|. This macro creates the dualslide construct. -% \begin{macrocode} -\long\def\HAP@@@dualslide[#1][#2][#3]#4#5#6{% -% \end{macrocode} -% Set default dimensions. -% \begin{macrocode} - \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}% -% \end{macrocode} -% Load options. -% \begin{macrocode} - \xsetkeys{HAP@keys@dual}{#4}% -% \end{macrocode} -% The next section computes the height of the dualslide construct. -% We start with left content height. -% \begin{macrocode} - \sbox\HAP@tba{\begin{minipage}{\HAP@lcolwidth}#5\end{minipage}}% - \setlength{\HAP@tlc}{\the\ht\HAP@tba}% - \addtolength{\HAP@tlc}{\the\dp\HAP@tba}% -% \end{macrocode} -% Right content height. -% \begin{macrocode} - \sbox\HAP@tbb{\begin{minipage}{\HAP@rcolwidth}#6\end{minipage}}% - \setlength{\HAP@tld}{\the\ht\HAP@tbb}% - \addtolength{\HAP@tld}{\the\dp\HAP@tbb}% -% \end{macrocode} -% Take the maximum of left and right content. -% \begin{macrocode} - \setlength{\HAP@tlc}{\HAP@maxdim{\HAP@tlc}{\HAP@tld}}% -% \end{macrocode} -% If a left frame is requested, compute max height again. -% \begin{macrocode} - \ifx\HAP@lfrheight\@undefined\else - \setlength{\HAP@tlc}{\HAP@maxdim{\HAP@lfrheight}{\HAP@tlc}}% - \fi -% \end{macrocode} -% If a line is requested, compute max height again. -% \begin{macrocode} - \ifx\HAP@lineheight\@undefined\else - \setlength{\HAP@tlc}{\HAP@maxdim{\HAP@lineheight}{\HAP@tlc}}% - \fi -% \end{macrocode} -% Finally, evaluate the height of the right frame and compute the max again. -% \begin{macrocode} - \ifx\HAP@rfrheight\@undefined\else - \setlength{\HAP@tlc}{\HAP@maxdim{\HAP@rfrheight}{\HAP@tlc}}% - \fi -% \end{macrocode} -% Now we know the height of the construct, create vertical space -% with a |pspicture| on which we position the elements. In between -% creating elements, we compute a bit with lengths to calculate the -% positions of the elements depending on all the inputs. The code -% below contains references to points. These points can be found in -% the picture below, which shows the top part of the dualslide -% construct to be created by |\HAP@@@dualslide|.\par -%\setlength{\unitlength}{.7cm} -%\begin{picture}(14,2)(0,.5) -%\put(0,.5){\line(0,1){2}} -%\put(0,2.5){\line(1,0){6}} -%\put(6,2.5){\line(0,-1){2}} -%\put(7,.5){\line(0,1){2}} -%\put(8,.5){\line(0,1){2}} -%\put(8,2.5){\line(1,0){6}} -%\put(14,2.5){\line(0,-1){2}} -%\dashline{2}(.75,.5)(.75,1.125)(.75,1.75) -%\dashline{2}(.75,1.75)(1.25,1.75)(1.75,1.75)% -%(2.25,1.75)(2.75,1.75)(3.25,1.75)(3.75,1.75)% -%(4.25,1.75)(4.75,1.75)(5.25,1.75) -%\dashline{2}(5.25,.5)(5.25,1.125)(5.25,1.75) -%\dashline{2}(8.75,.5)(8.75,1.125)(8.75,1.75) -%\dashline{2}(8.75,1.75)(9.25,1.75)(9.75,1.75)% -%(10.25,1.75)(10.75,1.75)(11.25,1.75)(11.75,1.75)% -%(12.25,1.75)(12.75,1.75)(13.25,1.75) -%\dashline{2}(13.25,.5)(13.25,1.125)(13.25,1.75) -%\put(.75,1){\circle*{.15}} -%\put(.35,1){|1|} -%\put(5.25,1){\circle*{.15}} -%\put(4.85,1){|2|} -%\put(6,1){\circle*{.15}} -%\put(5.6,1){|3|} -%\put(7,1){\circle*{.15}} -%\put(6.6,1){|4|} -%\put(8.75,1){\circle*{.15}} -%\put(8.35,1){|5|} -%\put(8,1){\circle*{.15}} -%\put(7.6,1){|6|} -%\put(14,1){\circle*{.15}} -%\put(13.6,1){|7|} -%\end{picture} -% \par -% The starting point is |1|. -% \begin{macrocode} - \pspicture(-\HAP@indent,\HAP@topsep)(\linewidth,-\HAP@tlc)% -% \end{macrocode} -% Set defaults for linewidth and color. -% \begin{macrocode} - \psset{unit=1pt,linewidth=.25pt,linecolor=HAP@framecolor}% -% \end{macrocode} -% The next line brings us to point |2|. -% \begin{macrocode} - \setlength{\HAP@tla}{\HAP@lcolwidth}% -% \end{macrocode} -% And the next to point |3|. -% \begin{macrocode} - \addtolength{\HAP@tla}{\HAP@frsep}% -% \end{macrocode} -% Create the left frame. -% \begin{macrocode} - \ifx\HAP@lfrheight\@undefined\else - \psframe[#1](-\HAP@frsep,\HAP@frsep)(\HAP@tla,-\HAP@lfrheight)% - \fi -% \end{macrocode} -% Put the left content. -% \begin{macrocode} - \rput[tl](0,0){\usebox{\HAP@tba}}% -% \end{macrocode} -% We are back at |2| with the next line. -% \begin{macrocode} - \setlength{\HAP@tla}{\HAP@lcolwidth}% -% \end{macrocode} -% This line moves us on to point |4|. -% \begin{macrocode} - \addtolength{\HAP@tla}{.5\HAP@colsep}% -% \end{macrocode} -% Create the line. -% \begin{macrocode} - \ifx\HAP@lineheight\@undefined\else - \psline[#2](\HAP@tla,\HAP@frsep)(\HAP@tla,-\HAP@lineheight)% - \fi -% \end{macrocode} -% And we go further to point |5|. -% \begin{macrocode} - \addtolength{\HAP@tla}{.5\HAP@colsep}% - \setlength{\HAP@tlc}{\HAP@tla}% -% \end{macrocode} -% With the next line, we are at point |6|. -% \begin{macrocode} - \addtolength{\HAP@tla}{-\HAP@frsep}% - \setlength{\HAP@tlb}{\HAP@tla}% -% \end{macrocode} -% And the next two lines give us point |7|. -% \begin{macrocode} - \addtolength{\HAP@tlb}{\HAP@rcolwidth}% - \addtolength{\HAP@tlb}{2\HAP@frsep}% -% \end{macrocode} -% Create the right frame. -% \begin{macrocode} - \ifx\HAP@rfrheight\@undefined\else - \psframe[#3](\HAP@tla,\HAP@frsep)(\HAP@tlb,-\HAP@rfrheight)% - \fi -% \end{macrocode} -% Put the right content. -% \begin{macrocode} - \rput[tl](\HAP@tlc,0){\usebox{\HAP@tbb}}% - \endpspicture\par -} -% \end{macrocode} -% \end{macro} -% \subsubsection{onSlide and OnSlide} -% The macros in this section form a generelization of the following -% macros of \pf{prosper}: |\fromSlide|, |\FromSlide|, |\untilSlide|, -% |\UntilSlide|, |\onlySlide| and |\OnlySlide|. The macros are more -% or less based on these \pf{prosper} macros, but are more general -% and replace all those macros. We start with some counters -% and an if necessary to determine whether material should be -% displayed on the current overlay or not. -% \begin{macrocode} -\newcounter{HAP@onslide@count} -\newcounter{HAP@onslide@end} -\newif\ifHAP@displayMat -\let\HAP@onslide@list\@empty -% \end{macrocode} -% \begin{macro}{\onSlide} -% \HAPcmd{\ci{onSlide}\marg{overlays}\marg{mat}} -% This macro allows for -% comma seperated inputs like |\onSlide{-2,4,6-8,10-}|. |\onSlide| -% has a starred version which doesn't move the cursor in case the -% material is not displayed on the slide. -% \begin{macrocode} -\def\onSlide{\@ifstar{\HAP@onSlide{1}}{\HAP@onSlide{0}}} -\long\def\HAP@onSlide#1#2{% -% \end{macrocode} -% Split the comma seperated list into parts to be read by |\HAP@read|. -% The macro will set |\ifHAP@displayMat| which tells us to display -% the material on the current slide or not. -% \begin{macrocode} - \HAP@split#2,\relax,% - \let\HAP@next\@gobble - \ifDVItoPS - \ifAccumulate -% \end{macrocode} -% Just display the material in case of printing slides. -% \begin{macrocode} - \let\HAP@next\@iden% - \fi - \else - \ifHAP@displayMat -% \end{macrocode} -% We should display it. -% \begin{macrocode} - \let\HAP@next\@iden% -% \end{macrocode} -% Reset |\ifHAP@displayMat| for future use. -% \begin{macrocode} - \HAP@displayMatfalse - \else -% \end{macrocode} -% If no star, move the cursor using \pf{prosper}'s |PSTricks| construct. -% \begin{macrocode} - \ifnum#1=\z@ - \let\HAP@next\@on@overlay@one% - \fi - \fi - \fi -% \end{macrocode} -% Put the material on the slide. This can be |\@gobble|. -% \begin{macrocode} - \HAP@next -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\OnSlide} -% \HAPcmd{\ci{OnSlide}\marg{overlays}} -% This macro also allows for comma seperated lists, but takes only -% one argument and masks or not all the following material. -% \begin{macrocode} -\def\OnSlide#1{% -% \end{macrocode} -% Split the comma seperated list into parts to be read by |\HAP@read|. -% \begin{macrocode} - \HAP@split#1,\relax,% - \ifDVItoPS\else -% \end{macrocode} -% We should display the following material; don't hide it. -% \begin{macrocode} - \ifHAP@displayMat -% \end{macrocode} -% Reset |\ifHAP@displayMat|. -% \begin{macrocode} - \HAP@displayMatfalse - \else -% \end{macrocode} -% Hide it using \pf{prosper}'s |\overlay|. -% \begin{macrocode} - \overlay{1}% - \fi - \fi -} -% \end{macrocode} -% \end{macro} -% \DescribeMacro{\HAP@split} -% Splits the comma seperated list into parts and reads them one by one. -% This is based on \pf{keyval}'s |\KV@do|. -% \begin{macrocode} -\def\HAP@split#1,{% - \ifx\relax#1\@empty\else - \HAP@read#1--\relax - \expandafter\HAP@split - \fi -} -% \end{macrocode} -% \begin{macro}{\HAP@read} -% This macro reads the argument between two commas supplied by |\HAP@split|. -% We distinct 4 cases: $x$, -$x$, $x$- and $x$-$y$ where $x$ and $y$ are positive -% integers with $y\geq x$. We will not check the argument for specification; -% the responsibility is with the user. The macro first sets a range from -% the inputs, then runs over this range to check wether the current -% overlay is inside the range and hence material should be displayed. -% \begin{macrocode} -\def\HAP@read#1-#2-#3\relax{% - \def\HAP@tempa{#1}% - \def\HAP@tempb{#2}% - \def\HAP@tempc{#3}% - \ifx\HAP@tempa\@empty -% \end{macrocode} -% If |#1| empty, we have -$x$. Set the counter to the starting overlay. -% \begin{macrocode} - \setcounter{HAP@onslide@count}{1}% - \else -% \end{macrocode} -% Else, we have something that starts with $x$ or $+x$, but we don't know the -% exact specification yet. Check whether the input starts with a |+|. -% \begin{macrocode} - \HAP@sp\HAP@tempd{#1}% - \ifHAP@plus -% \end{macrocode} -% If a plus sign, make displaying relative to the current |\xitem|. -% \begin{macrocode} - \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 -% \end{macrocode} -% If both |#2| and |#3| empty, we have the case $x$ or $+x$. -% \begin{macrocode} - \HAP@sp\HAP@tempd{#1}% - \ifHAP@plus -% \end{macrocode} -% If a plus sign, make displaying relative to the current |\xitem|. -% \begin{macrocode} - \setcounter{HAP@onslide@end}{\value{item@step}}% - \addtocounter{HAP@onslide@end}{\HAP@tempd}% - \else - \setcounter{HAP@onslide@end}{#1}% - \fi - \else -% \end{macrocode} -% If |#2| empty, but |#3| not (has value |-|), we have the case $x$- or $+x$-. -% \begin{macrocode} - \setcounter{HAP@onslide@end}{\value{limitOverlays}}% - \fi - \else -% \end{macrocode} -% If both |#2| and |#3| non-empty, we have the case $x$-$y$ or a -% variation with |+| signs. -% \begin{macrocode} - \HAP@sp\HAP@tempd{#2}% - \ifHAP@plus -% \end{macrocode} -% If a plus sign, make displaying relative to the current |\xitem|. -% \begin{macrocode} - \setcounter{HAP@onslide@end}{\value{item@step}}% - \addtocounter{HAP@onslide@end}{\HAP@tempd}% - \else - \setcounter{HAP@onslide@end}{#2}% - \fi - \fi -% \end{macrocode} -% Check on input. -% \begin{macrocode} - \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.}% -% \end{macrocode} -% Add current slide number to a list to avoid multiple errors per slide. -% \begin{macrocode} - \xdef\HAP@onslide@list{% - \HAP@onslide@list - \ifx\HAP@onslide@list\@empty\else,\fi - \theslide - }% - \fi - \else -% \end{macrocode} -% If the current overlay number is in the range, material should be -% displayed. -% \begin{macrocode} - \ifnum\value{HAP@onslide@count}>\value{overlaysCount}\else - \ifnum\value{HAP@onslide@end}<\value{overlaysCount}\else - \HAP@displayMattrue - \fi\fi - \fi -} -% \end{macrocode} -% \end{macro} -% Code to strip the |+| sign from the start of a list of tokens. -% This is necessary since the input to |\HAP@read| can also -% contain |\value{item@step}|. The code is based on the \pf{keyval} -% macro |\KV@@sp@def|. -% \begin{macrocode} -\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@}} -% \end{macrocode} -% \subsubsection{Miscellaneous} -% \DescribeMacro{\xitemwait} -% Tells \pf{HA-prosper} to wait some overlays before continuing -% incrementally displayed items. -% \begin{macrocode} -\newcommand{\xitemwait}[1][1]{\addtocounter{item@step}{#1}} -% \end{macrocode} -% \DescribeMacro{\HAP@TSNav} -% Entrance point for navigational elements on the title slide. This -% macro takes the value specified by the |tsnav| global key and can -% be used to put navigational components on slides through a style file. -% \begin{macrocode} -\define@key{HAP@keys@globalonly}{tsnav}{\gdef\HAP@TSNav{#1}} -% \end{macrocode} -% \DescribeMacro{\TitleSlideNav} -% Backward compatibility for earlier version of \pf{HA-prosper} which -% where not using the |\HAPsetup| user interface yet. -% \begin{macrocode} -\def\TitleSlideNav#1{\gdef\HAP@TSNav{#1}} -% \end{macrocode} -% \DescribeMacro{\HAP@NSNav} -% Entrance point for navigational elements on normal slides. -% \begin{macrocode} -\define@key{HAP@keys@globalonly}{nsnav}{\gdef\HAP@NSNav{#1}} -% \end{macrocode} -% \DescribeMacro{\NormalSlideNav} -% Backward compatibility for older presentations. -% \begin{macrocode} -\def\NormalSlideNav#1{\gdef\HAP@NSNav{#1}} -% \end{macrocode} -% Simple interface for the total number of slides in the presentation. -% \begin{macrocode} -\def\totalpages{\realpageref{last@page}} -% \end{macrocode} -% \subsection{Postamble and defaults} -% This section of code contains the finalizing elements like loading -% the requested style, setting defaults and creating extra slide environments. -% \subsubsection{Defaults (1)} -% \DescribeMacro{\HAPsetup} -% Allows for setting some options globally. -% \begin{macrocode} -\def\HAPsetup#1{% - \xsetkeys{HAP@keys@globalonly,HAP@keys@slide,HAP@keys@step}{#1}% -} -% \end{macrocode} -% Set global defaults to prevent errors when the user decides to delete -% a line from the |HA-prosper.cfg| file. -% \begin{macrocode} -\HAPsetup{lf=,rf=,trans=\@defaultTransition,template=slide,sstart=1, - stype=0,iacolor=lightgray,tsnav=FullScreen,nsnav=ShowBookmarks, - sn={-~p.~\thepage\ifallPages/\totalpages\fi},counters= -} -% \end{macrocode} -% Load defaults for global options. Refer to section~\ref{sec:config} for -% the |HA-prosper.cfg| file. -% \begin{macrocode} -\input{HA-prosper.cfg} -% \end{macrocode} -% PDF page cropping default. -% \begin{macrocode} -\hypersetup{pdfpagescrop={0 0 595 840}} -% \end{macrocode} -% PDF creator. -% \begin{macrocode} -\AtBeginDocument{\def\@pdfcreator{LaTeX with hyperref and - HA-prosper packages}} -% \end{macrocode} -% Calibration of commands like |\small| to default font sizes. -% \begin{macrocode} -\ptsize{10} -% \end{macrocode} -% \subsubsection{Load the style} -% First undefine |\slidetitle| since it is already defined by \pf{prosper}. -% \begin{macrocode} -\let\slidetitle\@undefined -% \end{macrocode} -% Load the requested style. -% \begin{macrocode} -\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}} -% \end{macrocode} -% \subsubsection{Extra slide definitions} -% \DescribeMacro{\HAPR@normalslide} -% Check that the normal slide template has been defined by the template. -% \begin{macrocode} -\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 -% \end{macrocode} -% \DescribeMacro{\HAPR@wideslide} -% If |\HAPR@wideslide| defined, use it to create the |wideslide| environment. -% \begin{macrocode} - \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 -% \end{macrocode} -% \DescribeMacro{\HAPR@partslide} -% If |\HAPR@partslide| defined, use it to create the |partslide| environment. -% \begin{macrocode} - \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 -% \end{macrocode} -% \DescribeMacro{\maketitle} -% If both |\HAPR@normalslide| and |\HAPR@titleslide| defined, use these -% to redefine the |\maketitle| macro which switches back to the normal -% template automatically after creating the title slide on the title template. -% \begin{macrocode} -\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 -% \end{macrocode} -% \subsubsection{Defaults (2)} -% Here we check wether certain vital macros have been defined -% by the template and if not, define them. See the section containing -% developers information in the manual for more information -% about a specific macro listed below. -% \begin{macrocode} -\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{% -% \end{macrocode} -% By default, put text in a |\parbox| for multi-line toc entries. -% \begin{macrocode} - \parbox[b]{\HAP@twidth}{\raggedright\HAP@toctext}% - }% -\fi -\ifx\HAP@hltocentry\@undefined - \def\HAP@hltocentry{% -% \end{macrocode} -% By default, put text in |\parbox| and in |\psframebox| to create the frame. -% \begin{macrocode} - \psframebox*[framesep=\HAP@tborder,fillcolor=HAP@hcolor,boxsep=false]% - {\parbox[b]{\HAP@twidth}{\raggedright{\HAP@htcolor\HAP@toctext}}}% - }% -\fi -% \end{macrocode} -% \subsubsection{ppr-prv entrance point} -% Allow \pf{ppr-prv} to redefine \pf{HA-prosper} macros easily. -% \begin{macrocode} -\@ifclassloaded{ppr-prv}{\InputIfFileExists{HAP-ppr-prv.def}{}{}}{} -% -% \end{macrocode} -% \subsection{Default configuration}\label{sec:config} -% The file |HA-prosper.cfg| generated from the code below contains the -% global configuration settings of \pf{HA-prosper}. We start with a small -% preamble. -% \begin{macrocode} -%<*config> -%% -%% Global defaults of HA-prosper. -%% ============================== -%% -%% You can change this file but be careful since it will -%% affect all of your presentations. See for more information -%% the documentation of the HA-prosper package. -%% -\HAPsetup{% -% \end{macrocode} -% Left footer. -% \begin{macrocode} - lf=, -% \end{macrocode} -% Right footer. -% \begin{macrocode} - rf=, -% \end{macrocode} -% Transition, using \pf{prosper} default for backward compatibility. -% \begin{macrocode} - trans=\@defaultTransition, -% \end{macrocode} -% Template for parts. -% \begin{macrocode} - template=slide, -% \end{macrocode} -% Starting overlay of stepping environments. -% \begin{macrocode} - sstart=1, -% \end{macrocode} -% Type of stepping environment. -% \begin{macrocode} - stype=0, -% \end{macrocode} -% Inactive color for stepping environments. -% \begin{macrocode} - iacolor=lightgray, -% \end{macrocode} -% Title slide navigation. -% \begin{macrocode} - tsnav=FullScreen, -% \end{macrocode} -% Normal slide navigation. -% \begin{macrocode} - nsnav=ShowBookmarks, -% \end{macrocode} -% Slide number layout. -% \begin{macrocode} - sn={-~p.~\thepage\ifallPages/\totalpages\fi}, -% \end{macrocode} -% Counters that should be protected on overlays. -% \begin{macrocode} - counters= -} -% -% \end{macrocode} -% \Finale -\endinput diff --git a/Master/texmf-dist/source/latex/ha-prosper/HA-prosper.def b/Master/texmf-dist/source/latex/ha-prosper/HA-prosper.def new file mode 100644 index 00000000000..92e17c93544 --- /dev/null +++ b/Master/texmf-dist/source/latex/ha-prosper/HA-prosper.def @@ -0,0 +1,87 @@ +%% +%% ------------------------------------------ +%% Copyright (C) 2003-2005 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. +%% +%% Extra definitions for the HA-prosper documentation. +\usepackage{epic} +\usepackage{pstricks} +\usepackage{multicol} +\usepackage{array} +\usepackage{url} +\usepackage{pst-3d} +\usepackage{pst-node} +\SpecialCoor +\makeatletter +\renewenvironment{thebibliography}[1] + {\renewcommand{\refname}{Links}\subsection{\refname}\label{sec:links}% + This section contains addresses of websites which have been + referred to in this documentation.\par + \list{\@biblabel{\@arabic\c@enumiv}}% + {\settowidth\labelwidth{\@biblabel{#1}}% + \leftmargin\labelwidth + \@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 +} +\def\DescribeSwitch{\leavevmode\@bsphack\begingroup\MakePrivateLetters + \Describe@Switch} +\def\Describe@Switch#1{\endgroup + \marginpar{\raggedleft\PrintDescribeSwitch{#1}}% + \SpecialSwitchIndex{#1}\@esphack\ignorespaces} +\def\PrintDescribeSwitch#1{\strut \MacroFont #1\ } +\def\SpecialSwitchIndex#1{\@bsphack + \index{#1\actualchar{\protect\ttfamily#1} + (switch)\encapchar usage}% + \index{switches:\levelchar#1\actualchar{\protect\ttfamily#1}\encapchar + usage}\@esphack} +\def\SpecialEnvIndex#1{\@bsphack + \index{#1\actualchar{\protect\ttfamily#1} + \encapchar usage}% + \index{environments:\levelchar#1\actualchar{\protect\ttfamily#1}\encapchar + usage}\@esphack} +\def\SpecialMainEnvIndex#1{\@bsphack\special@index{% + #1\actualchar + {\string\ttfamily\space#1} + \encapchar main}% + \special@index{environments:\levelchar#1\actualchar{% + \string\ttfamily\space#1}\encapchar + main}\@esphack} +\makeatother +\def\HAPcmd#1{% + \par\addvspace{1.2ex plus 0.8ex minus 0.2ex}% + \vskip -\parskip\noindent + \begin{tabular}{|l|}\hline\rule{0pt}{1em}% + \ignorespaces#1\\\hline\end{tabular}% + \par\nopagebreak\addvspace{1.2ex plus 0.8ex minus 0.2ex}% + \vskip -\parskip +} +\def\pf#1{\textsf{#1}} +\newcolumntype{d}{l|l} +\newcolumntype{e}{l|l||l|l} +\newcolumntype{f}{c|c||c|c} +\newcolumntype{g}{|p{12em}|*{12}{p{1em}|}} +\def\bs{\symbol{'134}} +\def\ci#1{\texttt{\bs#1}} +\setlength{\parindent}{0cm} +\bibliographystyle{plain} +\endinput diff --git a/Master/texmf-dist/source/latex/ha-prosper/HA-prosper.dtx b/Master/texmf-dist/source/latex/ha-prosper/HA-prosper.dtx new file mode 100644 index 00000000000..61ffb880fc5 --- /dev/null +++ b/Master/texmf-dist/source/latex/ha-prosper/HA-prosper.dtx @@ -0,0 +1,4242 @@ +% \iffalse meta-comment +% +% HA-prosper package by Hendri Adriaens. +% +% Extract package files and create documentation: +% `latex HA-prosper.dtx' +% `latex HA-prosper.dtx' +% `makeindex -s gind.ist HA-prosper.idx' +% `latex HA-prosper.dtx' +% `latex HA-prosper.dtx' +% +% To generate source code documentation as well, +% first comment line 57 of this file. +% +% To finish the installation you have to move the following +% files into a directory searched by TeX: +% HA-prosper.sty +% HA-prosper.cfg +% +%% ------------------------------------------ +%% Copyright (C) 2003-2005 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. +%% +% \fi +% +% \iffalse +%<*batchfile> +\begingroup +\input docstrip.tex +\keepsilent +\preamble +\endpreamble +\askforoverwritefalse +\IfFileExists{.///HA-prosper.sty}{}{ +\generate{ +\file{HA-prosper.sty}{\from{HA-prosper.dtx}{program}} +\file{HA-prosper.cfg}{\from{HA-prosper.dtx}{config}} +}} +\endgroup +% +%<*driver> +\documentclass[a4paper]{ltxdoc} +\input{HA-prosper.def} +\EnableCrossrefs +\CodelineIndex +% Comment the next line to generate source code documentation. +\OnlyDescription +\begin{document} +\DocInput{HA-prosper.dtx} +\end{document} +% +% \fi +% +% \CheckSum{2292} +% +% \DoNotIndex{\def,\xdef,\edef,\global,\gdef,\let,\if,\fi,\else} +% \DoNotIndex{\newcommand,\newenvironment,\renewcommand,\renewenvironment} +% \DoNotIndex{\begin,\end,\ifx,\ifnum} +% +% \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 +% Lower-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 +% Digits \0\1\2\3\4\5\6\7\8\9 +% Exclamation \! Double quote \" Hash (number) \# +% Dollar \$ Percent \% Ampersand \& +% Acute accent \' Left paren \( Right paren \) +% Asterisk \* Plus \+ Comma \, +% Minus \- Point \. Solidus \/ +% Colon \: Semicolon \; Less than \< +% Equals \= Greater than \> Question mark \? +% Commercial at \@ Left bracket \[ Backslash \\ +% Right bracket \] Circumflex \^ Underscore \_ +% Grave accent \` Left brace \{ Vertical bar \| +% Right brace \} Tilde \~} +% +%\title{\vspace{-2em}\pf{HA-prosper} package\\\normalsize\emph{Documentation}\\ +%\vspace{.5em}Version 4.21} +%\author{Hendri Adriaens\\ +%\url{http://stuwww.uvt.nl/~hendri/downloads/haprosper.html}\\Center +%for Economic Research\\Tilburg University, the Netherlands} +%\maketitle\tableofcontents\listoftables\listoffigures +% +%\clearpage\section{General information} This manual provides +%information about working with the \pf{HA-prosper} package. This +%package is a patch for the \pf{prosper} class. Be sure to also study +%the documentation of the \pf{prosper} class and the \pf{hyperref} +%package. You can find this documentation for instance at the CTAN +%site for prosper \cite{prosperCTAN}, at the \pf{prosper} website +%\cite{prosper} or in your local \LaTeX\ distribution (for the MiKTeX +%distribution \cite{MiKTeX}, the documentation can be found in the +%|doc| directory in the MiKTeX root). Information about \pf{prosper} +%can also be found at the WikiProsper site \cite{WikiProsper}. +% +%If you want to start working with \pf{HA-prosper} immediately, have +%a look at the examples (see section~\ref{sec:examples}). If you are +%interested in how \pf{HA-prosper} actually works, have a look at the +%first lines of the source code available in the |Source| directory +%of the package or the |source| tree of your \LaTeX\ distribution +%which explains how to generate the source code documentation. +% +%Note that from version 4.1, \pf{HA-prosper} uses the \pf{xkeyval} +%package, which is available from CTAN \cite{xkeyvalCTAN} and is +%included in the MiKTeX distribution. Do not forget to install this +%package. See also section~\ref{sec:req}. +% +%Do not forget to check the \pf{HA-prosper} website +%\cite{HA-prosper} from time to time to see if there are updates +%for this package or new styles available. If, \emph{after reading +%this manual}, you have questions or comments about +%\pf{HA-prosper}, see section~\ref{sec:questions}. +% +%\subsection{The \pf{powerdot} class}\label{sec:newclass} +%This is the last release of the \pf{HA-prosper} package. We +%(Christopher Ellison and I) have created a new class called +%\pf{powerdot} \cite{powerdot} which has significant improvements +%over \pf{prosper} and \pf{HA-prosper} while keeping changes to +%presentation sources to a minimum. Over time, the support for +%\pf{HA-prosper} via the mailinglist will be minimized and users are +%advised to use \pf{powerdot} for new presentations. +% +%Further, information in this documentation was up to date in 2004, +%but might be outdated by now. The reason of not updating this is +%that since then all efforts have concentrated on the \pf{powerdot} +%class. +% +%\subsection{Compatibility} +%This section discusses compatibility issues between \pf{HA-prosper} +%and some other packages. The \pf{HA-prosper} package has been +%created and tested in an environment of MiKTeX 2.3 \cite{MiKTeX} and +%GhostScript 8.00 \cite{GhostScript} and newer versions of that +%software. +% +%\subsubsection{prosper} +%Since \pf{HA-prosper} is a patch for \pf{prosper}, it is important +%that you have the right version of \pf{prosper} which is 1.5 +%(|prosper.cls| version 1.24)\footnote{This package is also +%compatible to the CVS version 1.25 of \pf{prosper}, but that +%version is still in beta stage and it is advisory not to use it. +%If you still want to use version 1.25 because of v\TeX\ support, +%delete or comment line 88 of |prosper.cls| then, namely were the +%\pf{pstcol} package is loaded, since that causes colors not to be +%defined properly.}. This is the CTAN version \cite{prosperCTAN}. +% +%\subsubsection{ppr-prv} +%A very nice package in combination with \pf{HA-prosper} is the +%`Prosper Preview' class, \pf{ppr-prv} \cite{ppr-prv}, created by +%Mathieu Goutelle \cite{Mathieu}. The aim of this class is to produce +%a printable version of the slides written with \pf{prosper} or +%\pf{HA-prosper} with two slides (or more at will) per page and a +%table of contents on the first page in case you are using +%\pf{HA-prosper}. Table~\ref{tab:pprpprvcompat} shows which versions +%of \pf{ppr-prv} and \pf{HA-prosper} are compatible. Each row of the +%table lists the compatible versions. +%\begin{table}[ht] +%\centering\caption{Compatible versions of \pf{HA-prosper} and +%\pf{ppr-prv}.}\label{tab:pprpprvcompat} +%\begin{tabular}{f} +%\pf{HA-prosper}&\pf{ppr-prv}&\pf{HA-prosper}&\pf{ppr-prv}\\\hline\hline +%3.7x&0.09&3.8&0.10\\\hline +%3.9&0.11&4.0&0.12\\\hline +%4.11&0.13&4.2&0.13\\\hline\hline +%\end{tabular} +%\end{table} +% +%\subsubsection{semcolor/pstcol/pstricks/color/xcolor} +%Recently, the incompatibilities of these packages have been solved +%and through a modification of \pf{semcolor}, the improved +%compatibility is also available to \pf{HA-prosper} users. Check the +%documentation of these packages to see whether or not your \LaTeX\ +%distribution already includes the compatible versions. If so, then +%you can use both \pf{pstricks} color commands in your presentation +%or style as well as \pf{xcolor} commands. +% +%\subsubsection{babel} +%\pf{HA-prosper} redefines the |itemize| and the |enumerate| +%environments at the beginning of the document. This solves a bug +%that would otherwise occur when using the \pf{babel} package with +%the |french| option. The \pf{prosper} macro +%|\NoFrenchBabelItemize| is obsolete in \pf{HA-prosper} and has +%no function anymore. The order of loading the packages is +%important since \pf{HA-prosper} attempts to redefine some +%\pf{babel} macros. In case you want to use \pf{babel}, load +%\pf{babel} first and afterwards \pf{HA-prosper}. +% +%\subsubsection{Miscellaneous} +%Older versions of GhostScript might produce ugly display text and +%logo's. However, prints are fine in general. Furthermore, it has +%been shown that Acrobat Reader 4 \cite{AcroRead} generally does not +%display pictures properly. +% +%Since the |overlays| macro is not recognized by Scientific +%WorkPlace \cite{SWP}, this program is not supported. The advice is +%to use an editor for creating the slides, for example WinEdt +%\cite{WinEdt} or TexNicCenter \cite{TexNicCenter} (free). +% +%\subsection{Installation}\label{sec:inst} +%This package is included in the MiKTeX distribution \cite{MiKTeX} +%and in TeXLive \cite{TeXLive} and can be installed for you by +%these programs. However, if you downloaded this package from the +%\pf{HA-prosper} website \cite{HA-prosper} or from the +%\pf{HA-prosper} CTAN directory \cite{HA-prosperCTAN}), then here +%are some hints for installing the package into your \LaTeX\ +%distribution. +% +%The package includes pre-generated run and doc files, but you can +%reproduce them from the source if necessary. See the first lines +%of |HA-prosper.dtx| for information how to do this. The files +%in |Doc| should go into the |doc| tree of your distribution, +%the files in |Run| into the |tex| run tree and the files in +%|Source| into the |source| tree. See the documentation of +%your \LaTeX\ distribution for information on installing +%\pf{HA-prosper} into your \LaTeX\ distribution or the TeX +%Frequently Asked Questions \cite{TeXFAQInst}. +% +%If you choose not to install the package into your \LaTeX\ +%distribution, you can copy the necessary files (that is, the run +%files of \pf{HA-prosper} in the |Run| directory and the +%necessary files of the particular style, which can all be found in +%the relevant subdirectory of the |Run| directory) into your +%working directory. +% +%\subsection{Document set up}\label{sec:setup} +%The structure of a presentation created with \pf{HA-prosper} is +%comparable to that of a \pf{prosper} presentation. See the +%\pf{prosper} documentation for an overview. +% +%Do not forget to include +%\begin{verbatim} +%\usepackage[style,options]{HA-prosper} +%\end{verbatim} +%directly after the \pf{prosper} document class command to be able +%to use the new definitions provided in |HA-prosper.sty|. Here +%|style| is the style you want to use, for instance |HA|, and +%|options| are any package options which will be described in +%section~\ref{sec:new}. A summary of these options can be found in +%section~\ref{sec:packageoptions}. +% +%\DescribeMacro{\HAPsetup} +%You can set up certain features like footers and types of stepping +%environments globally (holding for the entire presentation, unless +%specified otherwise locally) using |\HAPsetup|, for instance +%\begin{verbatim} +%\HAPsetup{rf={My presentation},trans=Dissolve} +%\end{verbatim} +%This command can set up the features that you will be discussed in +%section~\ref{sec:new}. You can find a summary in +%section~\ref{sec:globals}. +% +%\subsection{Summary of package options}\label{sec:packageoptions} +%Table~\ref{tab:packageoptions} contains a summary of all package +%options of \pf{HA-prosper}. The numbers in between brackets are +%the sections where you can find more information about a specific +%option. See section~\ref{sec:setup} how to use these options. +%\begin{table}[ht] +%\caption{\pf{HA-prosper} package +%options.}\label{tab:packageoptions}\makebox[\textwidth][r]{ +%\begin{tabular}{d} +%\hline\hline +%|sounds|& Turns on the |sound| key for slide environments (\ref{sec:slide}).\\\hline +%|toc|& Creates a table of contents on slides (\ref{sec:toc}).\\\hline +%|highlight|& Highlights the current slide in the table of contents (\ref{sec:tochl}).\\\hline +%|hlsections|& Highlights the current section on every slide within the section (\ref{sec:tochl}).\\\hline +%|portrait|& Creates portrait slides (\ref{sec:portrait}).\\\hline +%|notes|& Includes the notes in your presentation (\ref{sec:notes}).\\\hline +%|notesonly|& Includes only the notes in your presentation (\ref{sec:notes}).\\\hline +%|slidesonly|& Includes only the slides in your presentation (\ref{sec:notes}).\\\hline +%|blackslide|& Includes a black slide at the start of the presentation (\ref{sec:blslide}).\\\hline +%\hline +%\end{tabular}} +%\end{table} +% +%\subsection{Summary of global options}\label{sec:globals} +%Table~\ref{tab:hapsetupfeats} lists all the features of +%\pf{HA-prosper} that can be set using |\HAPsetup|. The numbers +%in between brackets are the sections where you can find more +%information about a specific feature. See section~\ref{sec:setup} +%how to use these global options.\par +%\begin{table}[ht]\caption{Global +%\pf{HA-prosper} options for \ci{HAPsetup}.}\label{tab:hapsetupfeats} +%\makebox[\textwidth][r]{ +%\begin{tabular}{e}\hline\hline +%|lf|&Left footer (\ref{sec:footers}).&|sound|&Transition sound (\ref{sec:slide}).\\\hline +%|rf|&Right footer (\ref{sec:footers}).&|template|&Template for parts (\ref{sec:part}).\\\hline +%|sn|&Slide number layout (\ref{sec:footers}).&|stype|&Stepping environment type (\ref{sec:iestep}).\\\hline +%|tsnav|&Title slide navigation (\ref{sec:navs}).&|sstart|&Starting overlay (\ref{sec:iestep}).\\\hline +%|nsnav|&Normal slide navigation (\ref{sec:navs}).&|iacolor|&Inactive color (\ref{sec:iestep}).\\\hline +%|trans|&Transition effect (\ref{sec:slide}).&|counters|&Protect custom counters (\ref{sec:numbering}).\\\hline\hline +%\end{tabular}} +%\end{table} +%The features listed in table~\ref{tab:hapsetupfeats} all have a +%default value, which are discussed in the relevant sections. These +%values are defined in the file |HA-prosper.cfg|. This file can +%be modified. Modifications will have an effect on all +%presentations created using \pf{HA-prosper}\footnote{Note that the +%defaults saved in the |HA-prosper.cfg| file at the moment of +%installation are also saved in |HA-prosper.sty|. In case you +%accidentally delete a line in the |HA-prosper.cfg| file, the +%predefined defaults in |HA-prosper.sty| will be used.}. +% +%\subsection{Compilation}\label{sec:compile} +%If you use the |pdf| option in the |\documentclass|, compile with +%LaTeX2DVI - DVI2PS - PS2PDF to create slides with animations +%(incrementally displayed items created by the |itemstep| +%environment) that can be projected using for instance Acrobat Reader +%\cite{AcroRead}. Notice that \pf{HA-prosper} is build to work with +%papertype |letter| in the DVI2PS step (which is the default in the +%MiKTeX distribution and which can be achieved by adding |-t letter| +%to the command line of |dvips|), but the |Fyma| style supports |A4| +%paper as well. See section~\ref{sec:supportt}. +% +%If you want to print the slides, use the |ps2pdf| option and +%compile them with LaTeX2DVI - DVI2PS - PS2PDF and you can print +%the slides without animations. +% +%You can also use the Acrobat Distiller (included in Acrobat +%\cite{Acrobat}) to create the PDF from the PS file. This creates +%very efficient PDF files. Also see section~\ref{sec:result}. Do +%not forget to specify the \pf{prosper} class option `distiller' in +%this case to avoid errors when distilling the PS document. For +%instance +%\begin{verbatim} +%\documentclass[pdf,distiller]{prosper} +%\end{verbatim} +% +%If you prefer to use GhostView \cite{GhostView} for printing +%purposes, you can of course suffice with LaTeX2DVI - DVI2PS and +%print the slides form GhostView\footnote{You might have to shrink +%pages to fit the paper when printing the slides.}. +% +%A nice option for the `documentclass' is `draft'. This is provided +%by \pf{prosper} and speeds up the process of compiling and +%viewing the presentation by leaving out images. Deleting the +%option produces a presentation that includes all images again. See +%the \pf{prosper} class documentation for more details. +% +%\subsection{Upgrade information} +%This section contains information how to change your presentation +%in case you worked with an earlier version of \pf{HA-prosper} +%before and want to upgrade it. The list below contains the hints +%for upgrading with a single version step at a time. If you for +%instance want to upgrade from version 3.5 to the latest version, +%read all the entries in the list starting from the entry right the +%entry of version 3.5. If a particular version is not mentioned, +%this means that no changes need to be made to adapt the +%presentation to that version when starting at the last version +%before. +% +%\begin{itemize} +%\item[\fbox{3.0}] From \pf{HA-prosper} version 3.0, the +%package is based on the CTAN version of \pf{prosper}. This means +%that a separate version of \pf{prosper} is not distributed with +%this package anymore. If you used \pf{HA-prosper} before, replace +%the old style-file with the new one to upgrade to the latest +%version of \pf{HA-prosper} and do not forget to rename or delete +%prosper.cls in the working directory. \item[\fbox{3.5}] From +%version 3.5 of \pf{HA-prosper} the style definitions (template) +%will be loaded by \pf{HA-prosper}, not by \pf{prosper} anymore. +%This is done to avoid conflict when trying to use \pf{HA-prosper} +%templates with \pf{prosper}. Delete the style from the +%|\documentclass| command and put it in the |\usepackage| +%command of \pf{HA-prosper} when updating \pf{HA-prosper}. See also +%section~\ref{sec:inst}. +%\item[\fbox{3.6x}]\begin{itemize} \item When upgrading to +%\pf{HA-prosper} version 3.6, you might need to delete the +%|.toc| file of an existing presentation first since table +%of contents commands have changed and the new \pf{HA-prosper} +%is not able to understand the old commands. \item The +%|\email| and |\institution| commands have changed. +%In earlier version, defining them in the preamble of your +%presentation would make them appear on the title slide. Now, you +%have to put them inside the |\author| command. See +%section~\ref{sec:eia} for an example. +%\end{itemize} +%\item[\fbox{3.7x}]\begin{itemize} \item Download the full package +%to use the latest versions of the styles that are compatible to +%this version of \pf{HA-prosper}. \item Rename +%|\section| and |\sectionandpart| to +%|\tsection| and |\tsectionandpart| respectively. +%\end{itemize} +%\item[\fbox{3.8}]\begin{itemize} \item Download the full package +%to use the latest versions of the styles that are compatible to +%this version of \pf{HA-prosper}. \item Rename +%|\figureitem| to |\hiddenitem|. See +%section~\ref{sec:xitemwait}.\item Change slides that use the +%|dualslide| environment to for instance a normal +%|slide| and use the |\dualslide| macro to create a +%dualslide on that slide. See +%section~\ref{sec:dualslide}.\end{itemize} +%\item[\fbox{3.9}] +%\begin{itemize} \item |\figureitem| and +%|\putfigureitem| are no longer supported; +%|\putfigure| should be replaced by the more general +%|\topbl|, see section~\ref{sec:xitemwait}. \item The +%dualslide dimensions have changed a bit, see +%section~\ref{sec:dualslide}.\item More optional arguments for the +%|itemstep| environment are available now, see +%section~\ref{sec:iestep}. +%\end{itemize} +%\item[\fbox{4.0}] +%\begin{itemize} \item +%Commands |\TitleSlideNav|, |\NormalSlideNav|, |\LeftFoot| +%and |\RightFoot| are obsolete but still supported. You can use +%|\HAPsetup| instead, see section~\ref{sec:globals}. +%\item Some style commands have changed but backward +%compatibility is provided, see section~\ref{sec:styledev}. +%\item |\onSlide| and |\OnSlide| are provided but the \pf{prosper} +%macros |\fromSlide|, |\FromSlide|, |\untilSlide|, |\UntilSlide|, +%|\onlySlide| and |\OnlySlide| still work, see section~\ref{sec:onslide}. +%\item Toc behavior has changed a little bit. Empty slide titles +%will now produce empty toc entries and empty bookmarks. Deleting +%these happens by using respectively |toc=| and |bm=| (see section~\ref{sec:toc}). +%\end{itemize} +%\item[\fbox{4.1x}] +%\begin{itemize} +%\item \pf{HA-prosper} now uses \pf{xkeyval} \cite{xkeyvalCTAN}. Install +%this package to work with \pf{HA-prosper}. +%\item +%|\topbl| has been deleted. The macro can be found on the \TeX\ FAQ \cite{TeXFAQTop}. +%\item Replace |\item| by |\xitem| (see section~\ref{sec:xitem}). +%\item Replace |\hiddenitem| by |\xitemwait| (see section~\ref{sec:xitemwait}). +%\item When using |Lakar| style, replace |emptyslide| environments by +%|partslide| environments (see section~\ref{sec:wpe}). +%\end{itemize} +%\item[\fbox{4.2x}] No changes to presentations necessary. +%\end{itemize} +% +%\clearpage\section{New or changed environments and +%commands}\label{sec:new} This section describes the new commands +%provided by \pf{HA-prosper} and the originally \pf{prosper} commands +%that have been extended. The section assumes knowledge of the +%\pf{prosper} documentation. +% +%\subsection{The slide environment}\label{sec:slide} +%\DescribeEnv{slide} +%A slide is created using the |slide| environment. For instance +%\begin{verbatim} +%\begin{slide}[trans=Replace]{Sample slide} +%... +%\end{slide} +%\end{verbatim} +%The new |slide| environment has four options. They are +%listed in table~\ref{tab:slide}. +%\begin{table}[ht] +%\caption{Slide environment options.}\label{tab:slide} +%\makebox[\textwidth][r]{ +%\begin{tabular}{d}\hline\hline +%|toc|&When specified, it will be used for the table of contents. When not\\ +%&specified, the slide title will be used to create a toc entry (see section~\ref{sec:toc}).\\\hline +%|bm|&When specified, it will be used to create a bookmark. If not, the slide\\ +%&title will be used as a bookmark.\\\hline +%|trans|&Slide transition effect (see the \pf{prosper} documentation) Default: |Replace|.\\\hline +%|sound|&Specify a sound file to be played when the slide is displayed.\\\hline +%\hline +%\end{tabular}} +%\end{table} +%Some remarks need to be made. First of all, when you supply an +%empty string as bookmark (so |bm=|), the bookmark will not be +%created. A similar thing holds for empty toc strings (|toc=|). +%See section~\ref{sec:toc}. The bookmark option is supplied to +%provide low level text for creating a bookmark in case you want +%the slide title to contain \LaTeX\ commands which might not be +%convertable to bookmarks\footnote{Note that the bookmarking +%procedure uses \ci{pdfstringdef} of \pf{hyperref} which is able +%to process things like \ci{"i}.}. For instance: +%\begin{verbatim} +%\begin{slide}[bm=Important!]{\red Important!} +%\end{verbatim} +% +%\DescribeSwitch{sounds} +%Second, adding transition sounds to a presentation is possible, +%but it is important to know that the sounds will not be embedded +%in the presentation and hence need to be supplied separately. +%Further, the presentation becomes system dependent by using +%sounds. It depends on the target machine if the specific sound +%file can be played or not. To switch on the use of sounds in your +%presentation, use the package option |sounds|, see +%section~\ref{sec:packageoptions}. +% +%The options |trans| and |sound| can be set globally by |\HAPsetup| +%(see section~\ref{sec:globals})\footnote{Notice that backward +%compatibility for \ci{DefaultTransition} is provided.}. The |sound| +%slide option adds the transition sound to all slides within +%|\overlays|. For more flexibility, the sound option also has a user +%interface to set sounds on pages directly. The sound file +%\DescribeMacro{\SlideSound} +%|sound.wav| is added using |\SlideSound| as follows. +%\begin{verbatim} +%\SlideSound{sound.wav} +%\end{verbatim} +%This code adds a transition sound to the first overlay only: +%\begin{verbatim} +%\onSlide*{1}{\SlideSound{sound.wav}} +%\end{verbatim} +%(see also section~\ref{sec:onslide} for the use of |\onSlide|). +% +%\subsection{Structuring the presentation}\label{sec:toc} +%\subsubsection{Building a table of contents} +%\DescribeSwitch{toc} +%You can include a table of contents on each slide. This can be +%used for navigational purposes during the presentation. When +%printing the slides, you might decide to leave out the table of +%contents. You can request a table of contents by specifying the +%option |toc| in the |\usepackage| command for the style +%file, like +%\begin{verbatim} +%\usepackage[toc,HA]{HA-prosper} +%\end{verbatim} +%(see also the examples in this distribution). \pf{HA-prosper} will +%use slide titles by default to produce the table of contents, but +%this behavior can be changed (see section~\ref{sec:slide}). +% +%Some remarks. First of all, the table of contents will of course +%only be put on the slides when it has been implemented in the style +%that you are using. See section~\ref{sec:supportt}. Second, +%\pf{HA-prosper} offers possibilities for style developers to split +%the table of contents into two parts the first of which will contain +%the sections and the second will contain the content of the current +%section. +% +%Third, if you specify an empty string as toc entry (so |toc=|), +%the toc entry will be deleted from the table of contents. This +%allows for building an overview of your presentation. Hence the +%table of contents can both be used for navigational purposes (like +%the bookmarks) and to provide an overview of the presentation. +% +%Finally, as with a usual table of contents in \LaTeX, you need to +%run your presentation at least twice after altering slides or toc +%entries. On the first pass, the table of contents will be updated +%and on the second run, the new table of contents will be included +%in the presentation. +% +%\subsubsection{Highlighting table of contents entries}\label{sec:tochl} +%\DescribeSwitch{highlight} +%If you want to highlight the current slide or the slide created by +%a |\part| or |\tsectionandpart| command (see section~\ref{sec:pas}) +%in the table of contents, specify the +%|highlight| option, like +%\begin{verbatim} +%\usepackage[toc,highlight,HA]{HA-prosper}. +%\end{verbatim} +%Of course, the |highlight| option only takes effect when +%also the |toc| option has been specified (and of +%course the style you are using should support highlighting and the +%table of contents). This |highlight| option can be nice +%for both yourself and the audience since everyone can clearly see +%on which slide or in which section of the presentation you are. +% +%\DescribeSwitch{hlsections} +%An extra option is the |hlsections| option. This will make the +%current section highlighted on every slide within the current +%section. This can be especially useful when sections and section +%content are split in the style that you use, which would otherwise +%result in unclarities about the current section\footnote{Splitting +%of the table of contents is often implemented on portrait +%templates.}. When the table of contents is not split up, this option +%might be left out since in this case, the hierarchical structure of +%the table of contents clearly identifies the current section. +% +%\subsection{Parts and sections}\label{sec:pas} +%\subsubsection{tsection}\label{sec:section} +%\DescribeMacro{\tsection} +%By using the |\tsection| +%command, it is possible to divide the table of contents in several +%sections. The content of a section will be hidden until you access +%a slide inside this section. The section heading in the table of +%contents itself refers to the first slide after the section +%command. The section command should be used between slides. The +%following shows an example. +%\begin{verbatim} +%\begin{slide}{First slide} +%Some text +%\end{slide} +% +%\tsection[Bookmark for section 1]{Section 1} +% +%\begin{slide}{Second slide} +%Some text +%\end{slide} +%\end{verbatim} +%The optional argument of the |\tsection| macro can be used +%to specify the string to be used for the bookmark. Notice that all +%slides that are met before issuing the first |\tsection| +%command will always be displayed in the table of contents. +%Exceptions hold for two cases. The first is when issuing an empty +%string as toc entry in the |slide| environment (see +%section~\ref{sec:slide}). The second is when the style that you +%are using implements a split table of contents. In this case, the +%content of every new section will replace the content of the old +%section when going from the old section to the new section. The +%entries before the first section will then be replaced by the +%entries of the first section when advancing to that section. +% +%\DescribeMacro{\tsection*} +%Furthermore, |\tsection*| is available. It has the exact same +%possibilities as |\tsection|, but this command hides the section +%created by |\tsection*| completely until you enter it (for instance +%with a hyperlink to a slide, by using bookmarks or by browsing the +%slides). This can be useful if you want to include slides in your +%presentation, that you don't want to show in the table of contents, +%but which you could include into the presentation if you see that +%you have some time left. But there are of course other applications +%thinkable. +% +%\subsubsection{part}\label{sec:part} +%\DescribeMacro{\part} +%The |\part| command lets you identify separate parts in your +%presentation. The command |\part{Part I}| produces a normal slide +%with horizontally centered the words `Part I'. The argument will +%also be used to create a bookmark and a toc entry (if a table of +%contents is requested). The |\part| takes the same options as the +%|slide| environments (see section~\ref{sec:slide}), but it should be +%noted that in case you specify an empty string for the |bm| option, +%the part title will be used to create the bookmark. +% +%An additional option for the |\part| command is the +%|template| option. This allows to select a different +%template (supplied by the style that you use) for the slide +%created by the |\part| command. For instance, the HA-style +%supplies the template `wideslide'. You can use that template for +%the part to delete the table of contents from that particular +%slide. Example: +%\begin{verbatim} +%\part[template=wideslide,toc=Part number one,bm=The first part]{Part I} +%\end{verbatim} +% +%Note that the option |template| can be set globally for the entire +%presentation (see section~\ref{sec:globals}). The default value of +%|template| is |slide|. +% +%\subsubsection{tsectionandpart}\label{sec:secandpart} +%\DescribeMacro{\tsectionandpart} +%The +%|\tsectionandpart| command is a combination of the +%|\tsection| command (see section~\ref{sec:section}) and the +%|\part| command (see section~\ref{sec:part}). This command +%is supplied since issuing the two previous commands after each +%other cannot replicate the output of |\tsectionandpart|. +%The command has the same optional arguments as the |\part| +%command and besides creating a slide, it also creates a section in +%the table of contents. The section heading in the table of +%contents will now refer to the slide created by the |\part| +%command. +% +%\DescribeMacro{\tsectionandpart*} +%Notice that |\tsectionandpart*| produces similar output as +%|\tsection*|. Namely, it hides the section in the table of +%contents completely until it is accessed by going to any slide +%within this section. See also section~\ref{sec:section}. As +%|\tsectionandpart|, it also creates a |\part| slide. +% +%\subsection{Dualslide}\label{sec:dualslide} +%\DescribeMacro{\dualslide} +%The |\dualslide| macro allows to split content into two +%columns. Usage: +%\begin{samepage} +%\begin{verbatim} +%\dualslide[opt1][opt2][opt3]{options}{left}{right} +%\end{verbatim} +%The parameters are explained in +%table~\ref{tab:dspars}.\end{samepage}\par +%\begin{table}[ht]\centering +%\caption{Dualslide parameters.}\label{tab:dspars} +%\begin{tabular}{d} +%\hline\hline +%|opt1|& Any \pf{PSTricks} options to change the style of the\\ +%&(optional) left frame. Example: |linestyle=dotted|.\\\hline +%|opt2|& Idem for the line in between the two columns.\\\hline +%|opt3|& Idem for the right column.\\\hline +%|options|& Options for the dualslide, see table~\ref{tab:dsoptions}.\\\hline +%|left|& The content for the left column.\\\hline +%|right|& The content for the right column.\\\hline\hline +%\end{tabular} +%\end{table} +%\begin{table}[ht] +%\caption{Dualslide options.}\label{tab:dsoptions} +%\makebox[\textwidth][r]{ +%\begin{tabular}{d} +%\hline\hline +%|lineheight|& If |lineheight| is specified, a line of the specified height will be created\\ +%&using \ci{psline} in between the two columns. Example: |lineheight=6cm|.\\\hline +%|lfrheight|& Creates a frame of the specified height around the left column.\\\hline +%|rfrheight|& Creates a frame of the specified height around the right column.\\\hline +%|frsep|& Space between text and the frames. Default: |1.5mm|.\\\hline +%|colsep|& Space between the two columns. Default: |0.06|\ci{linewidth}.\\\hline +%|lcolwidth|& Width of the left column. Default: |0.47|\ci{linewidth}.\\\hline +%|rcolwidth|& Width of the right column. Default: |0.47|\ci{linewidth}.\\\hline +%|topsep|& The extra space (additional to \ci{baselineskip}) between text above\\ +%&the columns and the text within the columns. Default: |0cm|.\\\hline +%|bottomsep|& Idem for the bottom of the columns. Default: |0cm|.\\\hline +%|indent|&Horizontal indent left to the left column. Default: |0cm|.\\\hline\hline +%\end{tabular}} +%\end{table} +%The dimensions described in table~\ref{tab:dsoptions} are +%represented graphically in figure~\ref{fig:dsldim}. +%\begin{figure}[ht] +%\centering\caption{Dualslide dimensions.}\label{fig:dsldim} +%\pspicture(0,.5)(13,10.5) +%\psline(0,0.5)(0,10) +%\rput[tl](.05,9.95){Top} +%\psframe[dimen=middle](1,9)(7,2) +%\psline{C-C}(8.5,9)(11,9) +%\psline{C-C}(8.5,2)(8.5,9) +%\psline{C-C}(8.5,2)(11,2) +%\qdisk(1.7,8.3){.1cm} +%\psset{linestyle=dashed} +%\psline{C-C}(1.7,8.3)(6.3,8.3) +%\psline{C-C}(1.7,8.3)(1.7,3) +%\psline{C-C}(6.3,5)(6.3,8.3) +%\psline{C-C}(11,9)(12,9) +%\psline{C-C}(11,2)(12,2) +%\psline{C-C}(11,7)(12,7) +%\psline{C-C}(9.2,8.3)(12,8.3) +%\psline{C-C}(9.2,8.3)(9.2,3) +%\rput[tl](1.75,8.25){Left column text} +%\rput[tl](9.25,8.25){Right column text} +%\rput[tl](.05,1){Bottom} +%\psset{linestyle=dotted,dotsep=2pt} +%\psline(0,8.3)(1.7,8.3) +%\psline(0,9.6)(1,9.6) +%\psline(0,2)(1,2) +%\psline(0,1.1)(1,1.1) +%\psset{linestyle=solid} +%\psline{<->}(.2,8.33)(.2,9.57) +%\psline{<->}(4,8.33)(4,8.97) +%\psline{<->}(1.73,7)(6.27,7) +%\psline{<->}(1.03,6.5)(1.67,6.5) +%\psline{<->}(0.03,5.5)(1.67,5.5) +%\psline{<->}(6.33,7.4)(9.17,7.4) +%\psline{<->}(8.53,6.5)(9.17,6.5) +%\psline{<->}(6.33,6.5)(6.97,6.5) +%\psline{<->}(10.7,8.33)(10.7,8.97) +%\psline{<->}(7.3,8.97)(7.3,2.03) +%\psline{<->}(.2,1.13)(.2,1.97) +%\psline{->}(1.7,9.3)(1.7,8.45) +%\psline{<-}(9.23,7)(11,7) +%\cput(4,6.6){\small 1} +%\cput(11.1,6.6){\small 2} +%\cput(8,7){\small 3} +%\cput(7.7,3){\small 4} +%\cput(4.4,8.65){\small 5} +%\cput(1.35,6.1){\small 5} +%\cput(8.85,6.1){\small 5} +%\cput(11.1,8.65){\small 5} +%\cput(6.65,6.1){\small 5} +%\cput(0.6,8.95){\small 6} +%\cput(0.6,5.1){\small 7} +%\cput(0.6,1.55){\small 8} +%\cput(1.7,9.6){\small 9} +%\endpspicture +%\begin{center} +%\begin{tabular}{c p{4cm}cl} +%\multicolumn{4}{c}{Meaning of the numbers}\\\hline +%1&|lcolwidth|&5&|frsep|\\ +%2&|rcolwidth|&6&|topsep|\\ +%3&|colsep|&7&|indent|\\ +%4&|lfrheight|, |rfrheight|,&8&|bottomsep|\\ +%&|lineheight|&9&Reference point +%\end{tabular} +%\end{center} +%\end{figure} +%Important to notice is that the |\dualslide| macro uses the +%current cursor position as the reference point to position the +%first line of text of the left column (see also +%figure~\ref{fig:dsldim}). 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| 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 +%|\dualslide| on other slides. The setting +%|topsep=0cm| does exactly this. However, with a combination +%of |topsep| and |indent| you can change this +%behavior and position the first line of text of the left column +%anywhere you want. +% +%The dualslide 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. 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|). +% +%Furthermore, if none of the optional arguments has been specified, +%|dualslide| will use the \pf{PSTricks} defaults for +%creating frames and the line. Two exceptions: +%|linewidth=.25pt| and |linecolor=HAP@framecolor| by +%default, but these can of course again be changed using the +%optional arguments. When only |opt1| has been specified, +%this is used globally for both frames and the line. When both +%|opt1| and |opt2| have been specified, |opt1| +%will be used for both frames and |opt2| will be used for +%the line. In case you want to change the properties of the right +%frame only, call for instance +%\begin{verbatim} +%\dualslide[ ][ ][linecolor=red]{rfrheight=6cm}{left content}{right content} +%\end{verbatim} +% +%More examples can be found in the example files of \pf{HA-prosper}, +%see section~\ref{sec:examples}. Also have a look at +%section~\ref{sec:animating} for information about animating content. +%The commands described there can also be used to animated content in +%the two columns. +% +%\subsection{Animating content}\label{sec:animating} +%\subsubsection{itemstep and enumstep}\label{sec:iestep} +%\DescribeEnv{itemstep} +%\DescribeEnv{enumstep} +%The |itemstep| and |enumstep| environments are based +%on the |itemize| and |enumerate| environments +%respectively, but with these environments, items will be displayed +%incrementally. Available options can be found in +%table~\ref{tab:iestepopts}. +%\begin{table}[ht] +%\caption{Itemstep and enumstep +%options.}\label{tab:iestepopts} +%\makebox[\textwidth][r]{ +%\begin{tabular}{d} +%\hline\hline +%|sstart|& Starts the stepping environment on overlay |sstart|. Default: 1.\\\hline +%|iacolor|& Inactive color, used for inactive items. Default: lightgray.\\\hline +%|stype|& Type of stepping environment. Default: 0. Possible:\\ +%&0 -- items appear one by one, but remain active;\\ +%&1 -- items appear one by one, but turn inactive when moving to the next item;\\ +%&2 -- all items are displayed and only one is active at a time.\\ +%\hline\hline +%\end{tabular}} +%\end{table} +%These environments can be nested into each other and lower level +%environments inherit options from higher level environments. The +%|sstart| option has effect only in the highest level stepping +%environment (which can be embedded in an |itemize| or |enumerate| +%environment). The items of an |itemize| environment, which is nested +%in a stepping environment, will inherit the state (active or not) +%from the item in the stepping environment to which the +%(sub)environment(s) belong to. If |itemize| or |enumerate| is used +%at the top level, all items are active on all overlays. Find an +%example below (for the meaning of |\xitem|, refer to +%section~\ref{sec:xitem}). +%\begin{verbatim} +%\overlays{6}{ +%\begin{slide}{xitem example} +%Some text. +% \begin{itemstep}[sstart=2,stype=0,iacolor=gray] +% \xitem item 1 +% \begin{enumstep}[stype=1] % inherits iacolor! +% \xitem item 1.1 +% \xitem item 1.2 +% \end{enumstep} +% \xitem item 2 +% \xitem item 3 +% \end{itemstep} +%\end{slide} +%} +%\end{verbatim} +%See section~\ref{sec:examples} for more examples and section +%\ref{sec:xitemwait} for a tool for these environments. The +%options for the stepping environments can also be set globally +%using the |\HAPsetup| macro (see section~\ref{sec:globals}). +% +%Note that the use of type 1 or 2 stepping environments requires +%the definition of the color |HAP@textc| by the template +%that you use. See section~\ref{sec:styledev}. +% +%\subsubsection{xitem}\label{sec:xitem} +%\DescribeMacro{\xitem} +%\pf{HA-prosper} defines a new command, |\xitem|, to be used within +%|itemize|, |enumerate|, |itemstep| and |enumstep| environments. +%Within |itemstep| and |enumstep| environments it will take care of +%the animation effect discussed in section~\ref{sec:iestep}. Within +%|itemize| and |enumerate| environments it will just display the +%content. Defining this command is necessary since redefining |\item| +%would damage macros and environments using |\item| (for instance +%|center|, |flushright|, |flushleft|). +% +%The |\xitem| macro also has a version in which it takes an optional +%value $n$ by doing |\xitem|. This value is the extra number of +%overlays that the item should remain active in a stepping +%environment and is ignored in an |itemize| or |enumerate| +%environment. This optional argument can be useful when you want to +%add content to the current item on a later overlay. Notice that this +%can make several items active at a particular overlay. To avoid +%this, add |\xitemwait| before the next item. See the example below +%and section~\ref{sec:xitemwait}. +%\begin{verbatim} +%\overlays{3}{ +%\begin{slide}{xitem example} +%\begin{itemstep}[stype=1] +% \xitem<1> Yes? +% \onSlide{2-}{No!} +% \xitemwait +% \xitem Because... +%\end{itemstep} +%\end{slide} +%} +%\end{verbatim} +% +%Note that a possibly unfamiliar syntax has been chosen for +%|\xitem|. This done to easily support the other optional argument +%that comes with |\xitem| since it is an extension of the standard +%|\item|. The optional argument allows you to overwrite the item +%label, for instance |\xitem[a]| or |\xitem<1>[b]|. See your favorite +%\LaTeX\ manual for more information about the latter. +% +%\subsubsection{xitemwait}\label{sec:xitemwait} +%\DescribeMacro{\xitemwait} +%The command |\xitemwait| tells \pf{HA-prosper} to wait for one +%overlay before passing on to the next item in a stepping +%environment. The optional argument $n$ tells \pf{HA-prosper} to wait +%$n$ overlays before passing on to the next item. Example: +%\begin{verbatim} +%\overlays{5}{ +%\begin{slide}{xitemwait example} +% \begin{itemstep} +% \xitem 1 +% \xitem 2 +% \xitemwait[2] +% \xitem 3 +% \end{itemstep} +%\end{slide} +%} +%\end{verbatim} +%This might come in handy to animate custom content using |\onSlide| +%(see section~\ref{sec:onslide}) in dualslides +%(section~\ref{sec:dualslide}) in combination with stepping +%environments (section~\ref{sec:iestep}). Outside stepping +%environments, the macro has no effect. +% +%\subsubsection{onSlide and OnSlide}\label{sec:onslide} +%\DescribeMacro{\onSlide} +%The macro +%|\onSlide{overlays}{material}| displays |material| on the +%overlays listed in |overlays|. This can be a comma delimited +%list and the syntax explained in table~\ref{tab:osnot} can be +%used ($x$ and $y$ are positive integers with $y\geq x$). +%\begin{table}[ht]\centering +%\caption{Notation for \ci{onSlide}, \ci{onSlide*} and +%\ci{OnSlide}.}\label{tab:osnot} +%\begin{tabular}{d}\hline\hline +%$x$&Display material only on overlay $x$.\\\hline +%-$x$&Display material until and including overlay $x$.\\\hline +%$x$-&Display material from and including overlay $x$.\\\hline +%$x$-$y$&Display material from $x$ until $y$, including $x$ and $y$.\\\hline +%\hline +%\end{tabular} +%\end{table} +%When used inside an |itemstep| or |enumstep| environment, there is +%extra syntax available. This syntax follows the same rules as +%explained in table~\ref{tab:osnot}, but now $x$ and $y$ can start +%with a |+| sign. This sign can be used to animate content relative +%to the preceding |\xitem| in an |itemstep| or |enumstep| +%environment. Suppose that for instance the preceding |\xitem| of +%|\onSlide{+1-+2}{...}| will be displayed on overlay 6. Then the +%material of |\onSlide| will be displayed from overlay 7 to 8. Since +%this construct is relative, it is very easy to add to or delete +%items from the list without having to adapt all of the |\onSlide| +%commands that you used. See another example below. +%\begin{verbatim} +%\overlays{4}{ +%\begin{slide}{onSlide example} +%\begin{itemstep} +% \xitem item 1 +% \xitem item 2 +% \begin{itemize} +% \xitem item 3 \onSlide{+1-}{and item 4} +% \end{itemize} +% \xitemwait +% \xitem item 5 +%\end{itemstep} +%\end{slide} +%} +%\end{verbatim} +% +%The |\onSlide| macro collects and generalizes all the +%functionality of the \pf{prosper} macros |\onlySlide|, +%|\untilSlide| and |\fromSlide|. This macro advances the +%cursor position even if the material is not displayed. The stared +%version |\onSlide*| does not advance the cursor position in +%case the material is not displayed and collects the functionality +%of the \pf{prosper} macros |\onlySlide*|, |\untilSlide*| and +%|\fromSlide*|. Note that these macros can be nested into each +%other, which allows for the creation of more parsimonious +%structures (which will also become more complex). For instance, +%\begin{verbatim} +%\onSlide{-3,5-6,8,10-}{One}\onSlide{-2,6,8,10-}{Two}\onSlide{2,8,10-}{Three} +%\end{verbatim} +%and +%\begin{verbatim} +%\onSlide{-3,5-6,8,10-}{One\onSlide{-2,6-}{Two\onSlide{2,8-}{Three}}} +%\end{verbatim} +%produce the same output. The following example demonstrates the +%difference between |\onSlide| and |\onSlide*|: +%\begin{verbatim} +%\onSlide{1}{One}\onSlide{2}{Two}\onSlide{3-}{Three}\par +%\onSlide*{1}{One}\onSlide*{2}{Two}\onSlide*{3-}{Three} +%\end{verbatim} +% +%\DescribeMacro{\OnSlide} +%The macro |\OnSlide{overlays}| also accepts the same syntax as the +%|\onSlide| macro and can be used to display or not all of the +%following material on a slide after the |\OnSlide| macro. This macro +%collects the functionality of the \pf{prosper} macros |\OnlySlide|, +%|\UntilSlide| and |\FromSlide|. +%Example: +%\begin{verbatim} +%\OnSlide{3-} All of this material will be displayed as from overlay 3. +%\end{verbatim} +% +%\subsection{Numbering on overlays}\label{sec:numbering} +%Mathieu Goutelle \cite{Mathieu} contributed a patch for the +%|\overlays| macro which makes it possible to number equations, +%tables and figures on overlays. This patch has been extended such +%that you can also protect custom counters on overlays. For general +%information about numbering, see your favorite \LaTeX\ book for +%more information. +% +%The |counters| option for |\HAPsetup| (section~\ref{sec:globals}) +%can be used to list the counters that should be protected. For instance, +%\begin{verbatim} +%\newtheorem{mytheorem}{Theorem} +%\newtheorem{myproof}{Proof} +%\HAPsetup{counters={mytheorem,myproof}} +%\end{verbatim} +%in your preamble, will let you safely do +%\begin{verbatim} +%\overlays{3}{ +%\begin{slide}{Proof} +% \begin{myproof} +% Suppose that: +% \begin{equation} +% x^2+y^2=z^2 +% \end{equation} +% then\dots +% \end{myproof} +%\end{slide} +%} +%\end{verbatim} +%The counters |figure|, |equation| and |table| are protected +%on overlays by default. The |counters| option for |\HAPsetup| +%lists the additional counters that should be protected. Notice that +%the counter that you want to protect needs to exist when issuing +%|\HAPsetup| to set the protected counters. +% +%\subsection{Portrait slides}\label{sec:portrait} +%\DescribeSwitch{portrait} +%If a template supports portrait slides, you can access these by +%specifying the |portrait| option in the |\usepackage| command +%like +%\begin{verbatim} +%\usepackage[toc,portrait,HA]{HA-prosper}. +%\end{verbatim} +%When requesting portrait slides, a template will give an error if +%it does not support portrait slides. See +%section~\ref{sec:supportt} for the templates that support portrait +%slides. When using portrait slides, the |hlsections| option might +%be useful for you, see section~\ref{sec:tochl}. +% +%\subsection{Notes}\label{sec:notes} +%\DescribeEnv{notes} +%The \pf{HA-prosper} package provides a way to make notes in +%your presentation. To include notes in the presentation that go +%with a slide, start a |notes| environment after this slide. +%For instance +%\begin{verbatim} +%\begin{slide}{First slide} +%... +%\end{slide} +% +%\begin{notes}{Notes for the first slide} +%These are the notes for the first slide. +%\end{notes} +%\end{verbatim} +% +%\DescribeSwitch{slidesonly} +%\DescribeSwitch{notesonly} +%\DescribeSwitch{notes} +%An additional option in the |\usepackage| command provides a +%way to control the printing of notes and slides. Include at most +%one of the following options. +%\begin{itemize} +%\item |slidesonly|: produces the slides only. This is the +%default option. Use this to create the presentation that you want +%to project. \item |notesonly|: produces the notes only. +%\item |notes|: includes the notes in the presentation. +%\end{itemize} +%For instance +%\begin{verbatim} +%\usepackage[toc,notesonly,HA]{HA-prosper} +%\end{verbatim} +% +%\textbf{Note}: If you want the notes only, first run the +%presentation at least once with the option `notes' to create +%correct labels for the notes page numbers. Once that is done, run +%the presentation with the `notesonly' option to create the +%notes\footnote{In case you use landscape slides, do not forget to +%put Auto-Rotation of pages to `Individually' if you are using the +%Acrobat Distiller to create the PDF. `Collectively by File' will +%rotate will rotate notes to landscape just like the slides.}. +% +%\subsection{Bibliography}\label{sec:bib} +%\DescribeEnv{thebibliography} +%\pf{HA-prosper} redefines the standard \pf{article} +%|thebibliography| environment to suppress the creation of a section +%heading and running headers. All other properties are maintained. +%Now you can do either of the next two (depending whether you are +%using BiB\TeX\ or not): +%\begin{center} +%\begin{tabular}{p{7cm}p{5cm}} +%\begin{verbatim} +%\begin{slide}{slide 1} +%\cite{someone} +%\end{slide} +%\begin{slide}{References} +%\begin{thebibliography}{1} +%\bibitem{someone} Article of someone. +%\end{thebibliography} +%\end{slide} +%\end{verbatim}& +%\begin{verbatim} +%\begin{slide}{slide 1} +%\cite{someone} +%\end{slide} +%\begin{slide}{References} +%\bibliography{YourBib} +%\end{slide} +%\end{verbatim} +%\end{tabular} +%\end{center} +%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{natbibCTAN}. Using both packages allows you to +%do: +%\begin{verbatim} +%\begin{slide}{References (1)} +%\nobibliography{YourBib} +%\bibentry{someone1} +%\bibentry{someone2} +%\end{slide} +%\begin{slide}{References (2)} +%\bibentry{someone3} +%\end{slide} +%\end{verbatim} +%Have a look at your favorite \LaTeX\ documentation for more +%information about citations and bibliographies. +% +%\subsection{Bookmarks}\label{sec:bookmarks} +%\pf{HA-prosper} nests bookmarks within sections created by +%|\tsection| and |\tsection*| (see section~\ref{sec:section}) and +%|\tsectionandpart| and |\tsectionandpart*| (see +%section~\ref{sec:secandpart}). On the first pass of a document, +%bookmarks will be written to disk and will be read on the second +%pass to create the bookmarks. This is necessary to identify the +%number of slide bookmarks that should be nested within section +%bookmarks. +% +%Notice that the bookmark of a |\tsection| (or +%|\tsection*|) points to the first slide within the section, +%just as the toc link generated by this section. Furthermore, as +%|\part| does not create a toc section, it does not create a +%bookmarks section. This allows for creating both a flat table of +%contents as well as a flat bookmarks list. +% +%The nesting of bookmarks in sections is fully compatible to the +%nesting of bookmarks of overlays subordinate to the bookmarks of +%the first overlay of a slide. Bookmarks created by section +%commands are open and the bookmarks of slides are closed by +%default. You can change the latter by issuing the \pf{prosper} +%command |\collapsedBookmarksfalse| in the preamble of your +%presentation. +% +%\subsection{Black slide}\label{sec:blslide} +%\DescribeSwitch{blackslide} +%The package option |blackslide| creates a completely black +%slide as the first slide of the presentation. The PDF-file will +%start at page 2 when opened, the first real slide, so the black +%slide will not be revealed. The slide has an embedded target +%called `blackslide'. In the top left corner of the black slide, a +%black button is positioned which performs the Acrobat menu option +%`GoBack' when clicking it. This allows to temporarily stop the +%presentation (for instance, to write something at the blackboard) +%by clicking a hyperlink that points to the target `blackslide'. +%When the writing it done, click in the top left corner of the +%black slide to continue the presentation. +% +%\subsection{Footers}\label{sec:footers} The +%footers can be defined by the |\HAPsetup| command (see +%section~\ref{sec:globals})\footnote{Notice that backward +%compatibility is provided for \ci{LeftFoot} and +%\ci{RightFoot}.}, for instance +%\begin{verbatim} +%\HAPsetup{lf={Left footer},rf={Right footer}} +%\end{verbatim} +%The default values of |lf| and |rf| are empty strings. The +%slide number layout can be specified by the |sn| option. The +%default value of |sn| is\footnote{\ci{thepage} +%contains the number of the current slide, \ci{totalpages} inserts +%the total number of slides in the presentation and +%\ci{ifallPages} is a conditional from \pf{prosper} which is false +%if the \pf{prosper} class option |nototal| is specified by the +%user.} +%\begin{verbatim} +%{-~p.~\thepage\ifallPages/\totalpages\fi} +%\end{verbatim} +% which resembles the standard \pf{prosper} layout. +%\pf{HA-prosper} adds a space in between the text specified by +%|rf| and the text specified by |sn| to create the entire +%right footer. Another example of the slide number layout could be +%\begin{verbatim} +%\HAPsetup{sn={slide~\#\thepage}}. +%\end{verbatim} +% +%\subsection{e-mail, institution and the +%and-command}\label{sec:eia} +%\DescribeMacro{\author} +%\DescribeMacro{\email} +%\DescribeMacro{\institution} +%\pf{HA-prosper} changes the behavior +%of the \pf{prosper} commands |\email| and |\institution|. +%The package does not anymore put them directly onto the title +%page. Instead, you can use them inside the |\author| command to +%use the fonts that the template specifies for the e-mail address +%and the institution. This is done to offer support for the +%|\and| command\footnote{This was not possible in the +%construction used by \pf{prosper}.}. Example: +%\begin{verbatim} +%\author{% +% Me\\ +% \institution{My institution}\\ +% \email{My e-mail address} +% \and +% You\\ +% \institution{Your institution}\\ +% \email{Your e-mail address} +%} +%\end{verbatim} +% +%\clearpage\section{Style specific features} This section documents +%several style specific features. Check table~\ref{tab:supportt} in +%section~\ref{sec:supportt} to find which features are supported by +%each template. +% +%\subsection{maketitle}\label{sec:mct} +%\DescribeMacro{\maketitle} +%This adapted command +%replaces the usual |\maketitle| and takes care of defining +%a title slide with a different layout as the first slide, include +%the title on that slide and create the rest of the slides as +%normal slides (unless specified differently by using for instance +%another slide environment, see section~\ref{sec:wpe}). +% +%This command has the same options as the |slide| environment (see +%section~\ref{sec:slide}. By default, the title slide will appear in +%neither the bookmarks list nor the table of contents. You can change +%this by specifying respectively the |bm| option and/or the |toc| +%option (see section~\ref{sec:slide}). +% +%If the |\maketitle| feature is not supported by a style, +%then the |\maketitle| uses a normal slide to display the +%title on. +% +%\subsection{Wideslide and partslide}\label{sec:wpe} +%\DescribeEnv{wideslide} +%A |wideslide| produces a slide with an extended text area in case +%you need to display very wide formulas or figures. In a lot of +%templates, this means that the table of contents will not be +%displayed on a wideslide. +% +%As a remark: the optional arguments possible for the +%|\maketitle| (see section~\ref{sec:mct}) are also available +%for the modified slide environments. So +%\begin{verbatim} +%\begin{wideslide}[toc=Toc slide title,trans=Replace]{Slide title} +%... +%\end{wideslide} +%\end{verbatim} +%creates a |wideslide| which does not have transition +%effects itself and uses `Toc slide title' as the entry for the +%(optional) table of contents. See section~\ref{sec:toc} for more +%information about the optional table of contents. +% +%\DescribeEnv{partslide} +%The |partslide| environment is available in some styles. This +%environment uses a template which has been designed especially for +%use with the |\part| (see section~\ref{sec:part}) and the +%|\sectionandpart| commands (see section~\ref{sec:secandpart}). +% +%See section~\ref{sec:supportt} to find which styles support +%|wideslide| or |partslide| environments. +% +%\subsection{Hidden navigation}\label{sec:navs} If you use Acrobat (Reader) +%to project the slides, it is possible to embed hidden navigational +%components. The navigational components are accessed by clicking +%the logo on a slide (unless stated otherwise in style specific +%documentation). These components are always hidden and hence +%removing their definitions when you want to print the slides is +%not necessary. Using |\HAPsetup| (see +%section~\ref{sec:globals}), you can set the following +%options\footnote{Notice that backward compatibility for +%\ci{TitleSlideNav} and \ci{NormalSlideNav} is provided.}: +%\begin{itemize} +%\item |tsnav|\\ +%Navigation possibilities of the logo on the title slide.\\ +%For instance: |tsnav=FullScreen|: when starting the +%presentation, you can make the presentation full screen by +%clicking the logo. +% +%\item |nsnav|\\ +%Navigation possibilities on all other slides.\\ +%For instance: |nsnav=ShowBookmarks| or |nsnav=GoToPage|: the +%former will provide a list of slide titles when viewing the +%presentation in full screen mode. In this case, proper slide +%titles might help you navigate your presentation. The latter will +%show a menu where you can type the slide number of the slide that +%you want to display. +%\end{itemize} +% +%For more possibilities, see the documentation of the +%\pf{hyperref} package. +% +%\subsection{Support table}\label{sec:supportt} +%Table~\ref{tab:supportt} displays an overview of the available +%extra features in the styles. In between brackets you can find +%links to sections explaining the features. +% +%\begin{table}[ht] +%\caption{Available features in styles.}\label{tab:supportt} +%\makebox[\textwidth][r]{ +%\begin{tabular}{l}\rlap{ +%\pstilt{60}{% +%\begin{tabular}{g}\hline +%\rotateleft{\rnode{c1}{}\hphantom{ TCSTealBlue }} & +%\rotateleft{\rnode{c2}{}\hphantom{TCSTealBlue}\rnode{c0}{}} & +%\rotateleft{\rnode{c3}{}} & +%\rotateleft{\rnode{c4}{}} & +%\rotateleft{\rnode{c5}{}} & +%\rotateleft{\rnode{c6}{}} & +%\rotateleft{\rnode{c7}{}} & +%\rotateleft{\rnode{c8}{}} & +%\rotateleft{\rnode{c9}{}} & +%\rotateleft{\rnode{c10}{}} & +%\rotateleft{\rnode{c11}{}} & +%\rotateleft{\rnode{c12}{}} & +%\rotateleft{\rnode{c13}{}} +%\end{tabular} +%}}\\ +%\rput[rt](c0){Styles\hspace{1.5em}} +%\rput[lb](c1){ Features} +%\rput[lt]{60}(c2){ Aggie} +%\rput[lt]{60}(c3){ Capsules} +%\rput[lt]{60}(c4){ CentER} +%\rput[lt]{60}(c5){ Ciment} +%\rput[lt]{60}(c6){ Fyma} +%\rput[lt]{60}(c7){ HA} +%\rput[lt]{60}(c8){ Lakar} +%\rput[lt]{60}(c9){ Simple} +%\rput[lt]{60}(c10){ TCS} +%\rput[lt]{60}(c11){ TCSgrad} +%\rput[lt]{60}(c12){ TCSTealBlue} +%\rput[lt]{60}(c13){ Tycja} +%\hspace{.67em}\begin{tabular}{g}\hline +%table of contents (\ref{sec:toc}) & x & x & x & x & x & x & x & x & x & x & x & x \\ +%portrait slides (\ref{sec:portrait}) & x & & & & & x & x & x & & & & x \\ +%A4 support & & & & & x & & & & & & & \\ +%modified \ci{maketitle} (\ref{sec:mct}) & x & x & x & x & x & x & x & x & x & x & x & x \\ +%wideslide environment (\ref{sec:wpe}) & x & x & x & x & x & x & x & x & x & x & x & x \\ +%partslide environment (\ref{sec:wpe}) & & x & & x & x & & x & & & & & \\ +%tsnav (\ref{sec:navs}) & x & & x & & & & & & x & x & x & \\ +%nsnav (\ref{sec:navs}) & x & & x & & & x & & & x & x & x & \\ +%\hline +%\end{tabular} +%\end{tabular}} +%\end{table} +% +%Currently only the |Fyma| style supports the |A4| papersize. To use +%it, issue the command |\FymaAFour| in your preamble and use |-t A4| +%in the |dvips| command line to get slides in A4 dimensions. +% +%\clearpage\section{Information for style developers}\label{sec:styledev} +%\subsection{General tools} +%This section provides some information in case you want to develop +%your own style. Remember that this package is still based on +%\pf{prosper}, so for the standard \pf{prosper} features, see the +%\pf{prosper} documentation. Table~\ref{tab:devfeats1} lists +%additional features of \pf{HA-prosper} available to control the +%layout, fonts and colors of your style. The controls in +%table~\ref{tab:devfeats2} are \pf{HA-prosper} internals and should +%only be used in style files. In between brackets you can find links +%to sections explaining the related user interface commands. Do not +%forget to take a look at existing styles since these are the ideal +%starting point to create a new style. +%Note that if you use |\HAP@NSNav| or |\HAP@TSNav| in a style, make +%sure to check whether it has been defined by the user or not. +% +%\begin{table}[ht]\centering +%\caption{\pf{HA-prosper} features for style development.} +%\label{tab:devfeats1} +%\makebox[\textwidth][r]{ +%\begin{tabular}{d} +%\hline\hline +%\ci{FontLeftFoot\string{C\string}\string{BW\string}},& This command is used to +%assign a font to the left footer (\ref{sec:footers}). The\\ +%& first argument is for color slides, the second for black +%and white ones.\\ +%& Default: font: \ci{fontText}; text height: 5pt; line height: 5pt.\\ +%\ci{fontLeftFoot\string{xx\string}}& This command writes |xx| in the font +%defined by the former command.\\\hline +%\ci{FontRightFoot\string{C\string}\string{BW\string}},& Idem for right footer (\ref{sec:footers}).\\ +%\ci{fontRightFoot\string{xx\string}}& Default: font: \ci{fontText}; text height: 5pt; line height: 5pt.\\\hline +%\ci{FontAuthor\string{C\string}\string{BW\string}},& Idem for author (\ref{sec:eia}).\\ +%\ci{fontAuthor\string{xx\string}}& Default: font: \ci{fontText}.\\\hline +%\ci{FontInst\string{C\string}\string{BW\string}},& Idem for institution (\ref{sec:eia}).\\ +%\ci{fontInst\string{xx\string}}& Default: font: \ci{fontText}; text height: 7pt; line height: 7pt.\\\hline +%\ci{FontEmail\string{C\string}\string{BW\string}},& Idem for e-mail address (\ref{sec:eia}).\\ +%\ci{fontEmail\string{xx\string}}& Default: font: \ci{fontText}; text height: 7pt; line height: 7pt.\\\hline +%\ci{FontToc\string{C\string}\string{BW\string}},& Idem for table of contents (\ref{sec:toc}).\\ +%\ci{fontToc\string{xx\string}}& Default: font: \ci{fontText}; text height: 4pt; line height: 6pt.\\\hline +%\hline +%\end{tabular}} +%\end{table} +% +%\begin{table}[ht] +%\caption{Internal \pf{HA-prosper} controls for style development.}\label{tab:devfeats2} +%\makebox[\textwidth][r]{ +%\begin{tabular}{d}\hline\hline +%\ci{HAP@PutLF\string{A\string}\string{C\string}}& +%Uses \ci{rput} to position the left footer using anchor |A| and coordinates |C|.\\\hline +%\ci{HAP@PutRF\string{A\string}\string{C\string}}& +%Uses \ci{rput} to position the right footer using anchor |A| and coordinates |C|.\\\hline +%\ci{HAP@NSNav}&Contains argument of \ci{NormalSlideNav}, if defined (\ref{sec:navs}).\\\hline +%\ci{HAP@TSNav}&Contains argument of \ci{TitleSlideNav}, if defined (\ref{sec:navs}).\\\hline +%Color |HAP@textc|&Text color, used for switching back from inactive colors; default: black (\ref{sec:iestep}).\\\hline +%Color |HAP@framecolor|&Color for dualslide frames and lines; default: black (\ref{sec:dualslide}).\\\hline +%\ci{ifHAP@active}&True if item is active, for use with \ci{myitem} (see \pf{prosper} docs and \ref{sec:xitem}).\\\hline +%\ci{ifHAP@highlight}&True if highlighting has been requested by the user (\ref{sec:tochl}).\\\hline +%\ci{ifHAP@portrait}&True if portrait slides have been requested by the user (\ref{sec:portrait}).\\\hline +%\ci{ifHAP@notes}&If's that contain the state of requested notes, slides only or notes only.\\ +%\ci{ifHAP@notesonly}&These can take the value 0 or 1 (false or true) and it holds that\\ +%\ci{ifHAP@slidesonly}&the sum is equal to one and the product is equal to zero (\ref{sec:notes}).\\ +%\hline\hline +%\end{tabular}} +%\end{table} +% +%\subsection{Table of contents typesetting} +%\pf{HA-prosper} uses the macros |\HAP@tocentry| and +%|\HAP@hltocentry| to typeset table of contents entries. The latter +%macro will be used in case the entry needs to be highlighted. By +%default, \pf{HA-prosper} puts the toc entry at hand in a |\parbox| +%to allow for multi-line toc entries. For |\HAP@hltoctext|, the +%latter is inserted in a |\psframebox|. You can redefine the former +%macros to typeset the table of contents for your style in a +%different way. Use |\HAP@toctext| in your definitions. This will at +%run time contain the entry at hand in the markup specified by either +%|\HAP@tline|, |\HAP@tlineonly|, |\HAP@tsection| or +%|\HAP@tsectiononly| depending on the type of table of contents and +%the type of the entry. See for instance the |Fyma| style for an +%alternative table of contents markup. See further +%table~\ref{tab:tocmarkup} for other macros related to typesetting +%the table of contents and section~\ref{sec:toc} for more information +%about the table of contents. +% +%\begin{table}[ht] +%\caption{Table of contents typesetting macros.}\label{tab:tocmarkup} +%\makebox[\textwidth][r]{ +%\begin{tabular}{d}\hline\hline +%\ci{HAP@toc}&Command that includes the toc file in \ci{fontToc}.\\\hline +%\ci{HAP@tsections}&Includes sections of the toc file in \ci{fontToc}.\\\hline +%\ci{HAP@tcontent}&Contains the content of the current section.\\\hline +%\ci{ifHAP@toc}&True if a table of contents has been requested by the user.\\\hline +%\ci{HAP@tline}&Layout of a table of contents entry in a full toc.\\\hline +%\ci{HAP@tlineonly}&Layout of a table of contents entry in \ci{HAP@tcontent}.\\\hline +%\ci{HAP@tsection}&Layout of a table of contents section in a full toc.\\\hline +%\ci{HAP@tsectionm}&Section marker, inserted just before creating a section.\\\hline +%\ci{HAP@tsectiononly}&Layout of a table of contents section in \ci{HAP@tsections}.\\\hline +%\ci{HAP@tsectionskip}&Vertical skip above a section; default: 1.5em.\\\hline +%\ci{HAP@titemskip}&Vertical skip in between items, not sections; default: 0.1em.\\\hline +%\ci{HAP@tocentry}&Construct for entry, use \ci{HAP@toctext} inside, see leading text.\\\hline +%\ci{HAP@hltocentry}&Construct for highlighting, use \ci{HAP@toctext} inside, see leading text.\\\hline +%Color |HAP@hcolor|&Color for PostScript frame used for highlighting; default: black.\\\hline +%Color |HAP@htcolor|&Text color for highlighted toc entry; default: white.\\\hline +%\ci{HAP@twidth}&Width of toc, used for \ci{parbox} in \ci{HAP@tocentry} and \ci{HAP@hltocentry}.\\\hline +%\ci{HAP@tborder}&Border size in \ci{psframebox} of \ci{HAP@hltocentry}; default: 0.05cm\\\hline\hline +%\end{tabular}} +%\end{table} +% +%Note that the macros |\HAP@hcolor|, |\HAP@htcolor|, |\HAP@twidth| +%and |\HAP@tborder| are only used in the default definitions of +%|\HAP@tocentry| and |\HAP@hltocentry|. If you decide to redefine the +%latter two macros, defining and using the former four might not be +%necessary. The default toc typesetting uses these macros to provide +%an easy way for style designers to tweak the default markup of the +%table of contents. +% +%\subsection{Reserved commands} +%\pf{HA-prosper} knows a couple of reserved commands. If these +%commands are defined by a style, they will be used by +%\pf{HA-prosper} to create new slide environments. See +%table~\ref{tab:reserved}. +% +%\begin{table}[ht] +%\caption{Reserved commands in \pf{HA-prosper}.} \label{tab:reserved} +%\makebox[\textwidth][r]{ +%\begin{tabular}{d}\hline\hline +%\ci{HAPR@normalSlide}&Should contain the layout +%of a standard slide.\\\hline +%\ci{HAPR@wideSlide}&Should contain the layout of a +%wide slide; used for |wideslide| environment (\ref{sec:wpe}).\\\hline +%\ci{HAPR@partSlide}&Should contain the layout of a +%part slide; used for |partslide| environment (\ref{sec:wpe}).\\\hline +%\ci{HAPR@titleSlide}&Should contain the layout of a +%title slide; used to create title slide,\\ +%&which will be embedded in the \ci{maketitle} command (\ref{sec:mct}).\\\hline +%\hline +%\end{tabular}} +%\end{table} +% +%Note that |\HAPR@normalSlide| is used to switch back to after +%creating a special slide environment like |wideslide|. If this +%command has not been defined in your style, then \pf{HA-prosper} +%will not be able to define the environments mentioned in +%section~\ref{sec:wpe} for you. As a last note: don't forget the +%power of the \pf{PSTricks} package for designing styles. +% +%\clearpage\section{Miscellaneous issues} +% +%\subsection{Examples}\label{sec:examples} +%Examples that use the \pf{HA-prosper} package are contained in the +%|HAPIntroduction.tex|, |HAPBigtest.tex| and |HAPDualslide.tex| +%files in this distribution. The examples assume that you have the +%|HA| style. More examples can be found at the \pf{HA-prosper} website +%\cite{HA-prosper}. +% +%Do not forget to take a look at the documentation of the +%\pf{prosper} class, the \pf{hyperref} package and the +%\pf{PSTricks} package to fully understand the possibilities of +%slides created by \pf{HA-prosper}. +% +%\subsection{Required packages}\label{sec:req} +%The most important requirements of the \pf{prosper} class are: +%\begin{multicols}{2} +%\begin{itemize}\setlength{\itemsep}{0pt} +%\item \pf{seminar}, +%\item \pf{hyperref}, +%\item \pf{pstricks}, +%\item \pf{graphicx}. +%\end{itemize} +%\end{multicols} +%The most important requirements of the \pf{HA-prosper} package +%are: +%\begin{multicols}{2}\raggedright +%\begin{itemize}\setlength{\itemsep}{0pt} +%\item \pf{prosper} (|prosper.cls| version 1.24), +%\item \pf{xkeyval} \cite{xkeyvalCTAN}, +%\item \pf{xcomment}, +%\item \pf{verbatim}. +%\end{itemize} +%\end{multicols} +% +%\subsection{Resulting PDF}\label{sec:result} +%The PDF produced by PS2PDF (GhostScript) is usually very big. +%Unfortunately, it includes a copy of the logos on the slides every +%time they appear. In case this logo is a rendered picture, the PDF +%will become very big. There is not much you can do about that. +%However, you can compress a generic presentation PDF file very +%much (often even to 10\% of the original size) using for instance +%WinZip. And you could of course delete the logo or replace it by a +%non-rendered picture, for instance created by \pf{PSTricks}, see +%the \pf{PSTricks} website \cite{PSTricks}. Compare for example +%the |HA| style and the |Lakar| style. +% +%Another possibility is to use `Reduce file size' in the file menu +%of Acrobat (available from version 6). You can also use the PDF +%Optimizer in this version of Acrobat (Tools - PDF Optimizer). +%Using this option, you can compress the pictures inside the +%presentation and make the presentation considerably smaller. Hint: +%do not use JPEG or JPEG2000 for the compression of images. Even at +%the highest level of quality, this produces poor results for +%projecting purposes. Instead, use the ZIP compression. Also, do +%not downsize the resolution lower than 300 pixels per inch (for +%retaining printing quality). +% +%However, to get the most efficient PDF document, use the Acrobat +%Distiller to convert the PS file into a PDF file. Do not forget to +%include the `distiller' option in the document class in this case +%(see section~\ref{sec:compile}). +% +%\subsection{Credits} +%I want to thank the following people for their contribution(s). +%\begin{itemize} +%\item\textbf{Style contributors}\\ +%Chris Ellison: |TCS|, |TCSgrad| and |TCSTealBlue| styles.\\ +%Jack Stalnaker: |Aggie| style.\\ +%Laurent Jacques \cite{Laurent}: |Fyma| style.\\ +%Mathieu Goutelle \cite{Mathieu}: |Capsules| and |Ciment| styles. +%\item\textbf{Bug reports}\\ +%Bugs have been detected and reported by Chris Ellison, Victor +%Francisco Fonte, Johan Joubert, Fr\'ed\'eric Mayot, and Johan +%Segers. +%\item\textbf{Contributions and ideas}\\ +%A lot of thanks go Mathieu Goutelle \cite{Mathieu}, Herbert Vo\ss\ +%\cite{Herbert}, Murali Krishna Ganapathy \cite{Murali} and Laurent +%Jacques for great help, code contributions and/or ideas for improvements. +%\end{itemize} +% +%\subsection{Questions}\label{sec:questions} +%If you have questions, please first consult the documentation of +%the package that could possibly answer your question. Probably, +%you can find the answer in the documentation of either the +%\pf{HA-prosper} package, \pf{prosper} class, the \pf{hyperref} +%package or the \pf{PSTricks} package. Also have a look at +%WikiProsper \cite{WikiProsper} for a \pf{prosper} FAQ, +%\pf{prosper} open questions, known \pf{prosper} bugs, +%etcetera. +% +%If you cannot solve the problem yourself, or if you have comments or +%requests for additional features, you may try to post a message to +%the \pf{HA-prosper} mailinglist \cite{HAprospermaillist}. Do not +%forget to include a \emph{minimal} example when you want help with +%an error message. +% +%The use of the mailinglist will be supported as long as possible, +%but as stated in section~\ref{sec:newclass} most effort will be done +%to help \pf{powerdot} users and the \pf{HA-prosper} mailinglist may +%disappear over time. +% +% +%{\small +%\begin{thebibliography}{[00]} +% +%\bibitem{Acrobat} +%Acrobat. +%\newblock \url{http://www.adobe.com/products/acrobat}. +% +%\bibitem{AcroRead} +%{Acrobat Reader}. +%\newblock \url{http://www.adobe.com/products/acrobat/readstep2.html}. +% +%\bibitem{GhostScript} +%{AFPL GhostScript}. +%\newblock \url{http://www.cs.wisc.edu/~ghost}. +% +%\bibitem{GhostView} +%GhostView. +%\newblock \url{http://www.cs.wisc.edu/~ghost/gsview}. +% +%\bibitem{HAprospermaillist} +%{HA-prosper mailinglist}. +%\newblock \url{http://listserv.surfnet.nl/archives/ha-prosper.html}. +% +%\bibitem{HA-prosperCTAN} +%{HA-prosper on CTAN}. +%\newblock +% \url{http://www.ctan.org/tex-archive/macros/latex/contrib/ha-prosper}. +% +%\bibitem{HA-prosper} +%{HA-prosper website}. +%\newblock \url{http://stuwww.uvt.nl/~hendri/downloads/haprosper.html}. +% +%\bibitem{Herbert} +%{Herbert Vo\ss}. +%\newblock \url{http://www.perce.de}. +% +%\bibitem{Laurent} +%{Laurent Jacques}. +%\newblock \url{http://www.fyma.ucl.ac.be/~ljacques}. +% +%\bibitem{Mathieu} +%{Mathieu Goutelle}. +%\newblock \url{http://webperso.easyconnect.fr/goutelle}. +% +%\bibitem{MiKTeX} +%MiKTeX. +%\newblock \url{http://www.miktex.org}. +% +%\bibitem{Murali} +%{Murali Krishna Ganapathy}. +%\newblock \url{http://www.cs.uchicago.edu/people/gmkrishn}. +% +%\bibitem{natbibCTAN} +%{Natbib on CTAN}. +%\newblock +% \url{http://www.ctan.org/tex-archive/macros/latex/contrib/natbib}. +% +%\bibitem{powerdot} +%{powerdot on CTAN}. +%\newblock +% \url{http://www.ctan.org/tex-archive/macros/latex/powerdot}. +% +%\bibitem{ppr-prv} +%{ppr-prv}. +%\newblock +% \url{http://www.ctan.org/tex-archive/macros/latex/contrib/ppr-prv}. +% +%\bibitem{prosperCTAN} +%{Prosper on CTAN}. +%\newblock +% \url{http://www.ctan.org/tex-archive/macros/latex/contrib/prosper}. +% +%\bibitem{prosper} +%{Prosper website}. +%\newblock \url{http://prosper.sourceforge.net}. +% +%\bibitem{PSTricks} +%{PSTricks website}. +%\newblock \url{http://www.pstricks.de}. +% +%\bibitem{SWP} +%{Scientific WorkPlace}. +%\newblock \url{http://www.mackichan.com}. +% +%\bibitem{TeXFAQInst} +%{TeX FAQ (Installing packages)}. +%\newblock \url{http://www.tex.ac.uk/cgi-bin/texfaq2html?label=instpackages}. +% +%\bibitem{TeXFAQTop} +%{TeX FAQ (Top-aligning imported graphics)}. +%\newblock \url{http://www.tex.ac.uk/cgi-bin/texfaq2html?label=topgraph}. +% +%\bibitem{TeXLive} +%{TeXLive}. +%\newblock \url{http://www.tug.org/texlive}. +% +%\bibitem{TexNicCenter} +%TeXnicCenter. +%\newblock \url{http://www.toolscenter.org}. +% +%\bibitem{WikiProsper} +%WikiProsper. +%\newblock \url{http://wikiprosper.bbclone.de}. +% +%\bibitem{WinEdt} +%WinEdt. +%\newblock \url{http://www.winedt.com}. +% +%\bibitem{xkeyvalCTAN} +%{xkeyval on CTAN}. +%\newblock +% \url{http://www.ctan.org/tex-archive/macros/latex/xkeyval}. +% +%\end{thebibliography}} +% +%\subsection{Copyright} +%Copyright \copyright\ 2003-2005 by Hendri Adriaens. All rights reserved.\\ +% +%This program 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 +%\url{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.\\ +% +%\subsection{Version history} +%This section lists the main changes in this package as from +%version 3.5. Note that each version change also contains solutions +%to known (minor) bugs and improvements in programming and user +%interface. +% +%\begin{itemize} +%\item[\fbox{3.5}] Solved a bug with toc entries in combination with +%highlighting. This bug was mainly caused +%by the \pf{keyval} package not undefining variables when they are +%not used. Thanks to Mathieu Goutelle for the help; added support +%for the |\part| command. Made \pf{HA-prosper} load slide +%style definitions itself at the final stage; changed style names +%to |HAP[name].sty| to identify \pf{HA-prosper} style +%definitions from \pf{prosper} style definitions; made +%\pf{HA-prosper} undefine |\slidetitle| before loading the +%style definitions; +% +%\item[\fbox{3.6}] Improved writing of toc entries; solved an +%inconsistency in writing definitions between |seminar| and +%|latex.ltx|; introduced |\section| and +%|\sectionandpart|; completely changed |notes| environment, +%not using |seminar| note constructions anymore; added support +%for |\and| in |\author|; added |\fontToc|; +%\begin{itemize} +%\item[\fbox{3.61}] Removed redundant grouping; +%\item[\fbox{3.62}] Adapted writing definitions a bit to be more consistent with +%|seminar|; +%\end{itemize} +% +%\item[\fbox{3.7}] Prepared \pf{HA-prosper} for compatibility to the +%|prosper preview| class \cite{ppr-prv}; integrated specific +%style features into \pf{HA-prosper}; recoded |\figureitem| +%command; renamed |\section| to |\tsection|, +%|\sectionandpart| to |\tsectionandpart| to provide +%compatibility to for instance |\bibliography|; restructured +%\pf{HA-prosper} internals; +%\begin{itemize} +%\item[\fbox{3.71}] Solved a small bug writing final toc entry AtEndDocument; +%added |TCS| style by Chris Ellison. +%\end{itemize} +% +%\item[\fbox{3.8}] Added |\tsection*|, |\tsectionandpart*| and +%nesting of bookmarks; created |\dualslide|; added +%|\hiddenitem|, |\putfigure|, |\figureitem| and +%|\putfigureitem|. Revised the documentation; revised the +%examples; added the |\dualslide| example; revised the styles. +% +%\item[\fbox{3.9}] Deleted |\putfigureitem| and |\figureitem| +%and replaced |\putfigure| by the more general |\topbl|; +%improved positioning of bottom text when using |\dualslide|; +%added |indent| option for |\dualslide|; added support for a +%split toc; added package option |hlsections|; added package +%option |blackslide|; solved a bug occurring when +%|\tsectionandpart| was used to create the last slide; added +%|enumstep|; made it possible to nest |itemstep| and +%|enumstep| environments; added |\HAPsetup|, yet only used +%for stepping environments. +% +%\item[\fbox{4.0}] Changed to |.dtx| format and wrote code +%documentation. Added slide options |bm| and |sound|. Added +%default behavior of stepping environments with the |ps2pdf| +%\pf{prosper} option to be type 1, namely all active. Changed +%bookmarking process to a system that allows for deletion of +%bookmarks. Added global control of features through +%|HA-prosper.cfg|. Added |Aggie| style by Jack Stalnaker. +%Made some code more efficient. Added entrance point for +%\pf{ppr-prv} to make redefining macros easier for that class. +%Solved a bug in combination with loading \pf{babel}. Added +%|\onSlide| and |\OnSlide|. +% +%\item[\fbox{4.1}] Moved documentation to |.dtx| file. Added +%package option |counters|. Restored original |\item| and +%created |\xitem|. Changed |\hiddenitem| to |\xitemwait| +%which is a bit more general. Removed a bug in |\onSlide|. +%Rewrote a lot of code. Made \pf{HA-prosper} use \pf{xkeyval}. +%Changed |emptyslide| into more |partslide|. Added |Fyma| style +%by Laurent Jacques. +% +%\begin{itemize} +%\item[\fbox{4.11}] Corrected small bug in \pf{ppr-prv} compatibility +%check. Made \pf{HA-prosper} use original \LaTeX\ macros |\title| and +%|\author|. Added missing `=' in |\HAP@contentsline| definition. +%\end{itemize} +% +%\item[\fbox{4.2}] Improved table of contents typesetting. Added +%|\xitem|. Added |thebibliography| environment. Improved +%positioning of the slide title in the styles. Added handle for state +%of list items. Updated styles. Added |TCSgrad| and |TCSTealBlue| +%styles by Chris Ellison. Added extra syntax for |\onSlide| and +%|\OnSlide| to make displaying material relative to the preceding +%|\xitem|. +% +%\begin{itemize} +%\item[\fbox{4.21}] Added |Capsules| and |Ciment| styles by Mathieu +%Goutelle. Updated for \pf{xkeyval} version 1.4. +%\end{itemize} +% +%\end{itemize} +% +% \StopEventually{\PrintIndex} +% +% \section{Implementation}\label{sec:impl} +% +% \subsection{Preamble and options} +% The start of the file. +% \begin{macrocode} +%<*program> +\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{ } +% \end{macrocode} +% Required packages. Load \pf{xkeyval} safely to avoid problems with +% \pf{pst-key} which redefines |\setkeys| as well as \pf{xkeyval}. +% \begin{macrocode} +\let\HAP@orig@setkeys\setkeys +\RequirePackage{xkeyval} +\let\xsetkeys\setkeys +\RequirePackage{xcomment} +\RequirePackage{verbatim} +% \end{macrocode} +% Check the version of \pf{ppr-prv} for compatibility. +% \begin{macrocode} +\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}{} +% \end{macrocode} +% \DescribeSwitch{slidesonly}\DescribeSwitch{notesonly}\DescribeSwitch{notes} +% Define package options using \pf{xkeyval}. We start with the options for notes. +% \begin{macrocode} +\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} +% \end{macrocode} +% \DescribeSwitch{toc} +% Table of contents (toc) option. +% \begin{macrocode} +\newif\ifHAP@toc +\DeclareOptionX{toc}{\HAP@toctrue} +% \end{macrocode} +% \DescribeSwitch{highlight} +% Highlighting of toc entries. +% \begin{macrocode} +\newif\ifHAP@highlight +\DeclareOptionX{highlight}{\HAP@highlighttrue} +% \end{macrocode} +% \DescribeSwitch{hlsections} +% Permanent highlighting of toc sections. +% \begin{macrocode} +\newif\ifHAP@hlsections +\DeclareOptionX{hlsections}{\HAP@hlsectionstrue} +% \end{macrocode} +% \DescribeSwitch{portrait} +% Portrait slides. +% \begin{macrocode} +\newif\ifHAP@portrait +\DeclareOptionX{portrait}{\HAP@portraittrue} +% \end{macrocode} +% \DescribeSwitch{blackslide} +% The black slide. +% \begin{macrocode} +\newif\ifHAP@blackslide +\DeclareOptionX{blackslide}{\HAP@blackslidetrue} +% \end{macrocode} +% \DescribeSwitch{sounds} +% Include sounds. +% \begin{macrocode} +\newif\ifHAP@sounds +\DeclareOptionX{sounds}{\HAP@soundstrue} +% \end{macrocode} +% Default template. +% \begin{macrocode} +\def\HAP@Style@chosen{HA} +\DeclareOptionX*{\let\HAP@Style@chosen\CurrentOption} +% \end{macrocode} +% Default: slides only. +% \begin{macrocode} +\ExecuteOptionsX{slidesonly} +\ProcessOptionsX +% \end{macrocode} +% Reset |\setkeys| to avoid problems for pstricks packages using +% \pf{pst-key}. +% \begin{macrocode} +\let\setkeys\HAP@orig@setkeys +% \end{macrocode} +% \subsection{Main code} +% \subsubsection{Some necessary stuff} +% Temporary boxes, lengths and counters. +% \begin{macrocode} +\newbox\HAP@tba +\newbox\HAP@tbb +\newlength\HAP@tla +\newlength\HAP@tlb +\newlength\HAP@tlc +\newlength\HAP@tld +\newcounter{HAP@tca} +% \end{macrocode} +% Paper sizes for portrait and landscape slides. +% \begin{macrocode} +\ifHAP@portrait + \slidewidth=150mm + \slideheight=222mm +\else + \slidewidth=222mm + \slideheight=150mm +\fi +% \end{macrocode} +% \DescribeEnv{NewSlideStyle} +% This environment needs to be redefined to be able to remember +% the anchor and the position of the main text box on slides. +% The original comes from \pf{prosper}. +% \begin{macrocode} +\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}% +} +% \end{macrocode} +% \DescribeMacro{\protected@write} +% |Seminar| uses a somewhat different writing macro than |latex.ltx|. The +% |seminar| definition gets inserted at every |\begin{slide}| and is local. +% To assure +% that this writing definition is also used in between slides (e.g. +% for |\tsection|) we need to redefine it once. The main difference +% is in the use of |\immediate| by |seminar| while this is not used +% by |latex.ltx|. This difference would, without this definition, create mixing errors. +% \begin{macrocode} +\def\protected@write#1#2#3{% + \begingroup + #2% + \let\protect\noexpand + \immediate\normal@write#1{#3}% + \endgroup + \if@nobreak\ifvmode\nobreak\fi\fi +} +% \end{macrocode} +% \subsubsection{Support for notes} +% Notes are created on slides, but with an adapted template. We start +% with defining some counters. The first is used to count the number +% of notes with a particular slide. +% \begin{macrocode} +\newcounter{HAP@notes@slide} +% \end{macrocode} +% This counter is used to count the total number of notes. +% \begin{macrocode} +\newcounter{HAP@notes@true} +% \end{macrocode} +% And this is a temp counter to remember the slide that the notes +% belong to. +% \begin{macrocode} +\newcounter{HAP@notes@temp} +% \end{macrocode} +% The template to be used by notes. +% \begin{macrocode} +\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 +% \end{macrocode} +% Start writing a file to store notes page numbers. +% \begin{macrocode} +\ifHAP@notes + \newwrite\HAP@notesout\openout\HAP@notesout\jobname.not\relax +\fi +% \end{macrocode} +% When notes only, use saved page numbers. +% \begin{macrocode} +\ifHAP@notesonly + \begingroup\InputIfFileExists{\jobname.not}{}{}\endgroup + \xcomment{notes} +\fi +% \end{macrocode} +% \begin{environment}{notes} +% This macro defines the notes environment. +% \begin{macrocode} +\def\notes#1{% + \ifHAP@slidesonly\comment\else +% \end{macrocode} +% Count the number of notes with a particular slide. If we are still +% on the same slide, but have a new notes slide, add one to the counter +% for notes slides, otherwise reset that counter. +% \begin{macrocode} + \ifnum\value{slide}=\value{HAP@notes@temp} + \stepcounter{HAP@notes@slide}% + \else + \setcounter{HAP@notes@slide}{1}% + \fi +% \end{macrocode} +% Set the temp counter to the current slide to remember to which slide +% the notes belong. +% \begin{macrocode} + \setcounter{HAP@notes@temp}{\value{slide}}% + \stepcounter{HAP@notes@true}% +% \end{macrocode} +% If not notes only, then the notes page numbers get written to disk +% by using labels. This makes sure that, when using the option |notesonly| +% at the first pass of the presentation, there are no errors, only warnings. +% \begin{macrocode} + \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 +% \end{macrocode} +% Save anchor and position of the text box of the previous slide. +% \begin{macrocode} + \xdef\HAP@temp@anchor{\HAP@current@anchor}% + \xdef\HAP@temp@pos{\HAP@current@pos}% +% \end{macrocode} +% Start notes on a portrait slide environment. +% \begin{macrocode} + \HAP@notes@template\HAP@portraittrue + \begin{slide}[toc=,bm=,trans=Replace]{HAP@notitle}\black + \rput[tl](0,1.5){\fontTitle{\black#1}}% +% \end{macrocode} +% Position the notes number using |PSTricks|. +% \begin{macrocode} + \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 +} +% \end{macrocode} +% Closing the notes environment and restoring the text box position +% and anchor to its original values to be used by the next slide (or note). +% \begin{macrocode} +\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 +} +% \end{macrocode} +% \end{environment} +% \subsubsection{Blackslide option} +% First we create a template for the black slide. +% \begin{macrocode} +\def\HAP@bs@frame#1{% + \psframe[fillstyle=solid,fillcolor=black](-3,-3)(13,13)% + {#1}% +} +% \end{macrocode} +% And we position that. +% \begin{macrocode} +\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 +% \end{macrocode} +% Do not provide blackslide when \pf{ppr-prv} is loaded since it cannot +% be undone by that class. The black slide is a normal slide at the +% start of the presentation, is black and has a black button in the +% top left corner with Acrobat |GoBack| functionality. +% \begin{macrocode} +\ifHAP@blackslide + \ifx\PPRPRV@Version\@undefined +% \end{macrocode} +% Alter PDF starting slide to hide the black slide. +% \begin{macrocode} + \def\@pdfstartpage{2}% + \AtBeginDocument{% +% \end{macrocode} +% Set the template. +% \begin{macrocode} + \HAP@bs@template + \begin{slide}[trans=Replace,toc=,bm=]{HAP@notitle}% +% \end{macrocode} +% Create the button. +% \begin{macrocode} + {\black\hypertarget{blackslide}{\Acrobatmenu{GoBack}% + {\setlength{\fboxsep}{.5cm}\fbox{GoBack}}}}% + \end{slide}% +% \end{macrocode} +% Restore the slide counter to get real slide numbers right. +% \begin{macrocode} + \addtocounter{slide}{-1}% + \HAPR@normalSlide + } + \fi +\fi +% \end{macrocode} +% \DescribeMacro{\HAP@writebm} +% Macro that writes bookmark entries to the |.bm| file so that they +% can be read on the next pass. +% \HAPcmd{\ci{HAP@writebm}\marg{open}\marg{csec}\marg{title}\marg{page}\marg{bsec}} +% |csec| is the current section label and |bsec| is the section label +% of the section that the current slide belongs to for nesting bookmarks. +% These are used to compute the number of bookmarks that should be +% nested within the current bookmark. +% |open| is `+' or `-' to open bookmarks in the PDF or not. +% The other arguments are self-explaining. +% \begin{macrocode} +\def\HAP@writebm#1#2#3#4#5{% + \protected@write\HAP@bmout{}{% + \string\HAPbookmark{#1}{#2}{#3}{#4}{#5}}% +} +% \end{macrocode} +% \DescribeMacro{\HAP@checkbmnumber} +% Based on |pdfmark.def| (|hyperref|). Returns the number of bookmarks +% to be nested within the current bookmark. Notice that the macros +% |HAP_[label]| will contain the numbers of bookmarks to be nested +% within the current bookmark. +% \begin{macrocode} +\def\HAP@checkbmnumber#1{% + \expandafter\ifx\csname HAP_#1\endcsname\relax + 0% + \else + \csname HAP_#1\endcsname + \fi +} +% \end{macrocode} +% Temporary counter. +% \begin{macrocode} +\newcounter{HAP@temp@sc} +% \end{macrocode} +% \begin{macro}{\HAP@calcbmnumber} +% Based on |pdfmark.def| (|hyperref|). Computes the number of bookmarks +% to be nested within the current bookmark. +% \begin{macrocode} +\def\HAP@calcbmnumber#1{% +% \end{macrocode} +% Set the number of bookmarks for this section equal to the number +% of slides that we already encountered. +% \begin{macrocode} + \setcounter{HAP@temp@sc}{\HAP@checkbmnumber{#1}}% +% \end{macrocode} +% Add one bookmark to this section. +% \begin{macrocode} + \stepcounter{HAP@temp@sc}% +% \end{macrocode} +% And save the updated number of bookmarks again in the |HAP_[label]| +% macro which will be read later to nest the bookmarks. +% \begin{macrocode} + \expandafter\xdef\csname HAP_#1\endcsname{\number\c@HAP@temp@sc}% +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HAPbookmark} +% This is the macro that is written to the |.bm| file. First we +% read the |.bm| file to compute the number of bookmarks to be +% nested within each bookmark. +% \begin{macrocode} +\def\HAPbookmark#1#2#3#4#5{\HAP@calcbmnumber{#5}}% +\InputIfFileExists{\jobname.bm}{}{}% +% \end{macrocode} +% Now we redefine the |\HAPbookmark| macro to create the bookmarks. +% \begin{macrocode} +\def\HAPbookmark#1#2#3#4#5{% +% \end{macrocode} +% Notice the use of |\pdfstringdef| to allow for things like |\"i| +% in bookmarks. +% \begin{macrocode} + \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)}% + }% +}% +% \end{macrocode} +% We read the |.bm| file again and now the bookmarks will be created. +% \begin{macrocode} +\InputIfFileExists{\jobname.bm}{}{}% +% \end{macrocode} +% After reading the |.bm| file, we rewrite it for the next pass. +% \begin{macrocode} +\newwrite\HAP@bmout\immediate\openout\HAP@bmout\jobname.bm\relax +% \end{macrocode} +% \end{macro} +% \begin{macro}{\SlideSound} +% This macro creates a link to a sound file and sets the open action +% of the current page to play the file. Notice that this will make +% the PDF neither self sustaining nor system independent! This macro +% can be called from the optional arguments of slide environments, but +% can also be called directly for more flexibility. +% \begin{macrocode} +\def\SlideSound#1{% + \ifHAP@sounds +% \end{macrocode} +% Check availability of the sound file in the current directory. Note +% the use of |.///| for the current directory to circumvent a bug in +% MiKTeX. |./| is the standard to denote the current directory but +% MiKTeX (only) still searches the \TeX\ tree when using |./|. This +% bug has been reported to MiKTeX and will hopefully be solved soon. +% \begin{macrocode} + \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 + }% +% \end{macrocode} +% Put the link to the media on the slide. +% \begin{macrocode} + \pdfmark{pdfmark=/ANN, + Raw={/Rect [0 0 0 0] /Subtype /Movie + /Title (SlideSound) /Movie << /F (#1) >>}% + }% +% \end{macrocode} +% Play the file when the current slide is displayed. +% \begin{macrocode} + \pdfmark{pdfmark=/PUT, + Raw={{ThisPage} << /AA << /O << /S /Movie + /T (SlideSound) /Operation /Play >> >> >>}% + }% + \fi +} +% \end{macrocode} +% \end{macro} +% \subsubsection{Sectioning the presentation} +% First some counters. The first counter is used for counting slides +% inside sections in the toc. +% \begin{macrocode} +\newcounter{HAP@sc@toc} +% \end{macrocode} +% This counter is used to count sections in the presentation. +% \begin{macrocode} +\newcounter{HAP@sc@pres} +% \end{macrocode} +% This counter is for counting the number of slides in a section. +% \begin{macrocode} +\newcounter{HAP@sc@slides} +% \end{macrocode} +% \DescribeMacro{\tsection} +% This macro creates a section in the table of contents. The stared +% version creates a hidden section. The optional argument is for +% creating a bookmark. The macro uses |\HAP@@tsection| to do the job. +% \begin{macrocode} +\def\tsection{\@ifstar + {\@ifnextchar[{\HAP@@tsection{0}{2}}{\HAP@@tsection{0}{2}[]}}% + {\@ifnextchar[{\HAP@@tsection{0}{1}}{\HAP@@tsection{0}{1}[]}}% +} +% \end{macrocode} +% \begin{macro}{\HAP@@tsection} +% The workhorse for |\tsection|, |\tsectionandpart| and |\part|. +% \HAPcmd{\ci{HAP@@tsection}\marg{page}\marg{type}\oarg{bm}\marg{title}} |page| indicates +% whether the section got a page (1) or not (0). |type| indicates +% the type of section: 0=not a section (to serve |\part|), 1=normal, 2=hidden. +% This indicator is reused by several other macros, like |\pcontentsline|. +% The optional argument |bm| can contain a replacement for the bookmark +% title created by the |title| option. +% \begin{macrocode} +\def\HAP@@tsection#1#2[#3]#4{% +% \end{macrocode} +% Check whether the optional argument is empty. If yes, set it to +% the mandatory argument. This cannot be done by |\tsection| since +% the |\HAP@part| macro needs to access |\@tsection| macro directly. +% \begin{macrocode} + \def\HAP@tempa{#3}% + \ifx\HAP@tempa\@empty + \def\HAP@tempa{#4}% + \fi +% \end{macrocode} +% Step the section counter since we have a new section. +% \begin{macrocode} + \stepcounter{HAP@sc@pres}% +% \end{macrocode} +% Reset the counter for slides in a section. +% \begin{macrocode} + \setcounter{HAP@sc@slides}{0}% +% \end{macrocode} +% Step this counter to get correct bookmarks. +% \begin{macrocode} + \stepcounter{trueSlideCounter}% +% \end{macrocode} +% Add an entry to the |.toc| file. +% \begin{macrocode} + \HAP@contentsline{#2}{#4}{\number\c@trueSlideCounter}{\number\c@HAP@sc@pres}% +% \end{macrocode} +% Write a bookmark. +% \begin{macrocode} + \HAP@writebm{}{section.\number\c@HAP@sc@pres}{\HAP@tempa}% + {\number\c@trueSlideCounter}{}% +% \end{macrocode} +% Reset the main slide counter. +% \begin{macrocode} + \addtocounter{trueSlideCounter}{-1}% +} +% \end{macrocode} +% \end{macro} +% \subsubsection{part and tsectionandpart} +% An optional key for |\part| and |\tsectionandpart|. +% \begin{macrocode} +\define@key{HAP@keys@slide}{template}{\def\HAP@templatekey{#1}} +% \end{macrocode} +% \DescribeMacro{\part} +% This macro uses |\HAP@part|. The entry `0' indicates that this +% macro does not produce a section. See also the |\tsection| macro. +% \begin{macrocode} +\def\part{\@ifnextchar[{\HAP@part{0}}{\HAP@part{0}[]}} +% \end{macrocode} +% \DescribeMacro{\tsectionandpart} +% Creates a |\tsection| and a |\part|. The stared version creates +% a hidden section and part. +% \begin{macrocode} +\def\tsectionandpart{\@ifstar + {\@ifnextchar[{\HAP@part{2}}{\HAP@part{2}[]}}% + {\@ifnextchar[{\HAP@part{1}}{\HAP@part{1}[]}}% +} +% \end{macrocode} +% \begin{macro}{\HAP@part} +% The workhorse for |\part| and |\tsectionandpart|. +% \HAPcmd{\ci{HAP@part}\marg{type}\oarg{opt}\marg{title}} +% |type| coincides with the types used by |\tsection|. +% \begin{macrocode} +\def\HAP@part#1[#2]#3{% +% \end{macrocode} +% Grouping is necessary to keep options local. +% \begin{macrocode} + \begingroup +% \end{macrocode} +% Set options. +% \begin{macrocode} + \xsetkeys{HAP@keys@slide,HAP@keys@slidespec}{#2}% +% \end{macrocode} +% Several cases. We start with `not a section'. +% \begin{macrocode} + \ifnum#1=\z@ + \ifx\HAP@bmkey\@empty +% \end{macrocode} +% If bookmark entry is empty, overwrite it to use the title. +% \begin{macrocode} + \begin{\HAP@templatekey}[toc=#3,#2,bm=#3]{HAP@notitle}% + \else +% \end{macrocode} +% In all other cases, use the bookmark entry supplied by the user +% if is actually there. By default, use the title. +% \begin{macrocode} + \begin{\HAP@templatekey}[bm=#3,toc=#3,#2]{HAP@notitle}% + \fi + \else +% \end{macrocode} +% It is a section. +% \begin{macrocode} + \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@ +% \end{macrocode} +% Create the section with the supplied optional arguments. +% \begin{macrocode} + \HAP@@tsection{1}{#1}[\HAP@bmkey]{\HAP@tockey}% + \else +% \end{macrocode} +% Create the section with the title as bookmark since it is absent. +% \begin{macrocode} + \HAP@@tsection{1}{#1}[#3]{\HAP@tockey}% + \fi + \else + \ifcase + \ifx\HAP@bmkey\@undefined\@ne\fi + \ifx\HAP@bmkey\@empty\@ne\fi + \z@ +% \end{macrocode} +% Use the title for the toc. +% \begin{macrocode} + \HAP@@tsection{1}{#1}[\HAP@bmkey]{#3}% + \else +% \end{macrocode} +% Use the title for both the toc and the bookmark. +% \begin{macrocode} + \HAP@@tsection{1}{#1}[#3]{#3}% + \fi + \fi +% \end{macrocode} +% For sections, do not create a toc entry or bookmark since that +% is already done by |\HAP@@tsection|, but we do create a slide. +% \begin{macrocode} + \begin{\HAP@templatekey}[#2,toc=,bm=]{HAP@notitle}% + \fi +% \end{macrocode} +% Put the text onto the slide, after \pf{prosper}. +% \begin{macrocode} + \vspace*{1.5cm}% + \begin{center}% + \fontTitle{#3}% + \end{center}% + \end{\HAP@templatekey}% + \endgroup +} +% \end{macrocode} +% \end{macro} +% \subsubsection{Table of contents} +% First some initializations. |\HAP@tempentryb| holds the toc entry +% from one slide to the next to determine at which pages highlighting +% of this entry needs to be created. Versions a--d of |\HAP@tempentry| +% are all used for storing part of a toc entry. +% \begin{macrocode} +\let\HAP@tocentryb\@undefined +% \end{macrocode} +% True if a toc entry is the first inside the toc. Used to determine +% if vertical space needs to be inserted or not. +% \begin{macrocode} +\newif\ifHAP@firstTocEntry +% \end{macrocode} +% Write the toc at the end of the document so that it can be used +% during a pass. +% \begin{macrocode} +\AtEndDocument{% + \ifHAP@toc + \expandafter\newwrite\csname tf@toc\endcsname + \immediate\openout\csname tf@toc\endcsname\jobname.toc\relax +% \end{macrocode} +% When highlighting toc entries, the toc is created with a lag to be able to +% determine the start and stop slide for highlighting and hence the +% final entry has to be written to file at the end of the document. +% \begin{macrocode} + \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 +} +% \end{macrocode} +% \begin{macro}{\pcontentsline} +% This macro is used in the |.toc| file and creates the actual toc +% entry from a set of inputs. +% \HAPcmd{\ci{pcontentsline}\marg{type}\marg{title}\marg{start}\marg{stop}\marg{secctr}} +% For |type|, see |\tsection|. +% |start| is the starting page of the slide and |stop| is the +% final slide, both used for highlighting toc entries. If no highlighting +% is requested, only |start| is used to create a link to that page. |secctr| is +% the number of the section in the presentation (only used when +% |type| is 1 or 2). This macro does the first rough filtering in +% the decision to display the inputs at a certain slide or not. +% \begin{macrocode} +\def\pcontentsline#1#2#3#4#5{% +% \end{macrocode} +% Not a section. +% \begin{macrocode} + \ifnum#1=\z@ +% \end{macrocode} +% For |\HAP@toctype| see the definitions of |\HAP@toc|, |\HAP@tcontent| +% and |\HAP@tsections|. If 1, only sections wanted, hence do nothing. +% Else continue to |\HAP@pcontentsline|. +% \begin{macrocode} + \ifnum\HAP@toctype=\@ne\else + \HAP@pcontentsline{#1}{#2}{#3}{#4}{#5}% + \fi +% \end{macrocode} +% It is a section. +% \begin{macrocode} + \else +% \end{macrocode} +% If 2, hidden section, only set counter for keeping track of the +% section number inside the toc which is necessary for the |hlsections| +% package option. +% \begin{macrocode} + \ifnum\HAP@toctype=\tw@ + \setcounter{HAP@sc@toc}{#5}% + \else +% \end{macrocode} +% Else continue to |\HAP@pcontentsline|. +% \begin{macrocode} + \HAP@pcontentsline{#1}{#2}{#3}{#4}{#5}% + \fi + \fi +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HAP@pcontentsline} +% Workhorse for |\pcontentsline|. +% \HAPcmd{\ci{HAP@pcontentsline}\marg{type}\marg{title}\marg{start}\marg{stop}\marg{secctr}} +% Takes the same arguments as that macro and is used to divide input +% in all different cases and creates PDF page links from those inputs. +% \begin{macrocode} +\def\HAP@pcontentsline#1#2#3#4#5{% +% \end{macrocode} +% It is not a section. +% \begin{macrocode} + \ifnum#1=\z@ +% \end{macrocode} +% Select right typesetting for toc entry. +% \begin{macrocode} + \ifnum\HAP@toctype=\tw@ + \def\HAP@toctext{\HAP@tlineonly{#2}}% + \else + \def\HAP@toctext{\HAP@tline{#2}}% + \fi +% \end{macrocode} +% It is a section. +% \begin{macrocode} + \else +% \end{macrocode} +% Set the counter for later use and typeset the section. +% \begin{macrocode} + \setcounter{HAP@sc@toc}{#5}% + \ifnum\HAP@toctype=\@ne + \def\HAP@toctext{\HAP@tsectiononly{#2}}% + \else + \def\HAP@toctext{\HAP@tsection{#2}}% + \fi + \fi +% \end{macrocode} +% Here we end up with some cluster of cases. Basically, we need to +% determine whether or not the toc entry at hand should be displayed +% and if it will be highlighted. Let's go ahead case by case, line by line. +% \begin{macrocode} + \ifcase +% \end{macrocode} +% First, we decide whether or not to display the entry. We display +% the entry at hand on this slide if it is in the current section. +% \begin{macrocode} + \ifnum\value{HAP@sc@pres}=\value{HAP@sc@toc}\@ne\fi +% \end{macrocode} +% Or if it is an entry that occurs before the first section (independent +% of the current toc section), but only if the toc type is 0. If it is not 0 +% we only display it when the first section didn't start yet. +% \begin{macrocode} + \ifnum\value{HAP@sc@toc}=\z@\ifnum\HAP@toctype=\z@\@ne\else + \ifnum\value{HAP@sc@pres}=\z@\@ne\fi\fi\fi +% \end{macrocode} +% Or when it is a regular section. Hidden sections (type 2) and +% content of not current sections is not displayed. +% \begin{macrocode} + \ifnum#1=\@ne\@ne\fi + \z@ + \else +% \end{macrocode} +% Add extra vertical space between sections and items given that the +% current entry section is not the first entry in the toc. Be careful +% for a possibly split toc. No extra vertical space in that case. +% \begin{macrocode} + \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 +% \end{macrocode} +% Set for the rest of the |.toc| processing. +% \begin{macrocode} + \HAP@firstTocEntryfalse +% \end{macrocode} +% Add a section marker when the current entry is a section. +% \begin{macrocode} + \ifnum#1=\z@\else\HAP@tsectionm\fi +% \end{macrocode} +% Then we come to the point where we start to create the +% toc entries. Now we have to decide how to display the entries. +% \begin{macrocode} + \ifcase +% \end{macrocode} +% If highlighting has been requested +% \begin{macrocode} + \ifHAP@highlight +% \end{macrocode} +% and if the current entry is the active one +% \begin{macrocode} + \ifnum\value{trueSlideCounter}<#3\space\else + \ifnum\value{trueSlideCounter}<#4\@ne\fi\fi +% \end{macrocode} +% or the section is the current section and section highlighting +% has been requested, then we highlight the entry. +% \begin{macrocode} + \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 +% \end{macrocode} +% Create the pdf hyperlink to the page. +% \begin{macrocode} + \HAP@pdfpagelink{\HAP@tempa}{#3}% + \par + \fi +} +% \end{macrocode} +% \end{macro} +% \DescribeMacro{\HAP@pdfpagelink} +% This macro creates the page link for |\HAP@pcontentsline| using a PDF annotation. +% \HAPcmd{\ci{HAP@pdfpagelink}\marg{constr}\marg{page}} +% |constr| is the construction to attach the link to. +% |page| is the target page. This code does not use |hyperref|'s +% hypertarget since these can lead to half slides being displayed. +% \begin{macrocode} +\def\HAP@pdfpagelink#1#2{% + \pdfmark[#1]{pdfmark=/LNK, + Raw={/Page #2 /Border [0 0 0] /View [/XYZ null null null]}}% +} +% \end{macrocode} +% \begin{macro}{\HAP@contentsline} +% This macro writes the toc entries to disk or remembers them +% if necessary. \HAPcmd{\ci{HAP@contentsline}\marg{type}\marg{title}\marg{page}\marg{secctr}} +% For the arguments, see |\pcontentsline|. +% \begin{macrocode} +\def\HAP@contentsline#1#2#3#4{% + \ifHAP@toc + \ifHAP@highlight + \ifx\HAP@tocentryb\@undefined\else +% \end{macrocode} +% When highlighting and it is not the first toc entry of the presentation, write it to disk. +% \begin{macrocode} + \protected@write\@auxout{}{% + \string\@writefile{toc}{% + \string\pcontentsline{\HAP@tocentrya}{\HAP@tocentryb}% + {\HAP@tocentryc}{#3}{\HAP@tocentryd}}}% + \fi +% \end{macrocode} +% Remember the current entry. This is done to remember the starting +% page of a slide. Write it when the next slide appears and the final +% page of the current slide is known. +% \begin{macrocode} + \gdef\HAP@tocentrya{#1}% +% \end{macrocode} +% |\protected@xdef| necessary to expand |\@tockey| inputs correctly. +% \begin{macrocode} + \protected@xdef\HAP@tocentryb{#2}% + \xdef\HAP@tocentryc{#3}% + \xdef\HAP@tocentryd{#4}% + \else +% \end{macrocode} +% When not highlighting, write the entry to disk. +% \begin{macrocode} + \protected@write\@auxout{}{% + \string\@writefile{toc}{% + \string\pcontentsline{#1}{#2}{#3}{}% + {\ifnum#1=\z@\else\number\c@HAP@sc@pres\fi}}}% + \fi + \fi +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HAP@toc} +% \begin{macro}{\HAP@tsections} +% \begin{macro}{\HAP@tcontent} +% These macros put (part of) the table of contents on slides. +% The latter two allow for splitting of the toc. Notice that +% the actual splitting is handled by |\pcontentsline| using +% |\HAP@toctype| as guidance. The macros use |\HAP@tocinput| +% to perform initializations and then load the |.toc| file. +% The first macro will put the entire toc on slides. +% \begin{macrocode} +\def\HAP@toc{% + \def\HAP@toctype{0}% +% \end{macrocode} +% Load |.toc| file. +% \begin{macrocode} + \HAP@tocinput +} +% \end{macrocode} +% This puts only the sections on slides. +% \begin{macrocode} +\def\HAP@tsections{% + \def\HAP@toctype{1}% + \HAP@tocinput +} +% \end{macrocode} +% This puts only the current section content on slides. +% \begin{macrocode} +\def\HAP@tcontent{% + \def\HAP@toctype{2}% + \HAP@tocinput +} +% \end{macrocode} +% \end{macro} +% \end{macro} +% \end{macro} +% \begin{macro}{\HAP@tocinput} +% Macro performs some initializations and then loads the |.toc| file. +% \begin{macrocode} +\def\HAP@tocinput{% +% \end{macrocode} +% Eliminates space on top of the first toc entry. +% \begin{macrocode} + \HAP@firstTocEntrytrue +% \end{macrocode} +% Reset within |.toc| counter. +% \begin{macrocode} + \setcounter{HAP@sc@toc}{0}% +% \end{macrocode} +% Allow for instance the |babel| package to insert |\select@language| +% into the |.toc| file. +% \begin{macrocode} + \makeatletter +% \end{macrocode} +% Apply |\FontToc| and input |.toc| file for processing. +% \begin{macrocode} + \fontToc{\InputIfFileExists{\jobname.toc}{}{}}% + \makeatother +} +% \end{macrocode} +% \end{macro} +% \subsubsection{Redefining slide definitions} +% We start with optional keys for the new slide environment. +% \begin{macrocode} +\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}} +% \end{macrocode} +% \begin{environment}{SlideNormal} +% What follows now is adapted code, originally taken from +% \pf{prosper}. +% \begin{macrocode} +\def\SlideNormal{\@ifnextchar[\HAP@SlideNormal{\HAP@SlideNormal[]}} +\def\HAP@SlideNormal[#1]#2{% +% \end{macrocode} +% Set the optional keys using the \pf{xkeyval} package. +% \begin{macrocode} + \xsetkeys{HAP@keys@slide,HAP@keys@slidespec}{#1}% + \stepcounter{trueSlideCounter}% +% \end{macrocode} +% Transition effects. +% \begin{macrocode} + \PDFtransition{\HAP@transkey}% +% \end{macrocode} +% Add transition sounds. +% \begin{macrocode} + \ifx\HAP@soundkey\@undefined\else + \SlideSound{\HAP@soundkey}% + \fi + \begin{slide@seminar}% +% \end{macrocode} +% |\landscapefalse| is defined by |seminar|. +% \begin{macrocode} + \ifHAP@portrait\landscapefalse\fi +% \end{macrocode} +% Slide title empty? +% \begin{macrocode} + \def\HAP@tempa{#2}% + \def\HAP@tempb{HAP@notitle}% + \ifx\HAP@tempa\HAP@tempb +% \end{macrocode} +% This part is used by |\part| related commands and |\maketitle|. It +% allows these macros to delete the toc entry and the bookmark entry. +% Deleting bookmark entries on other slides will mess up the nesting +% of bookmarks into sections. First checking the toc entry. +% \begin{macrocode} + \ifx\HAP@tockey\@undefined\else\ifx\HAP@tockey\@empty\else + \HAP@contentsline{0}{\HAP@tockey}{\number\c@trueSlideCounter}{}% + \fi\fi +% \end{macrocode} +% Check the bookmark entry. If empty, do not create the bookmark. +% \begin{macrocode} + \ifx\HAP@bmkey\@undefined\else\ifx\HAP@bmkey\@empty\else +% \end{macrocode} +% We have a new bookmark in the current section. +% \begin{macrocode} + \stepcounter{HAP@sc@slides}% +% \end{macrocode} +% Write the bookmark to the |.bm| file. The labelling will later on +% be used to compute the number of bookmarks to be nested within +% the current section. +% \begin{macrocode} + \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 +% \end{macrocode} +% Slide title. +% \begin{macrocode} + \slidetitle{#2}% +% \end{macrocode} +% Empty bookmarks will not be created. +% \begin{macrocode} + \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 +% \end{macrocode} +% Create toc entry, unless it is empty, then delete it from the toc. +% \begin{macrocode} + \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 +% \end{macrocode} +% Start a box, a minipage and make it raggedright. +% \begin{macrocode} + \begin{posit@Box}% + \begin{minipage}{\slideWidth}% + \raggedright + \@DefMyItem% +% \end{macrocode} +% Set the text font. +% \begin{macrocode} + \ifinColor\@fontTextColor\else\@fontTextBW\fi +} +% \end{macrocode} +% Close all started environments and boxes. +% \begin{macrocode} +\def\endSlideNormal{% + \end{minipage}% + \end{posit@Box}% + \end{slide@seminar}% +} +% \end{macrocode} +% \end{environment} +% \begin{environment}{SlideOverlay} +% Overlay slides are very comparable to |\SlideNormal|, but these +% get nested bookmarks and an overlay. The case |\ifDVItoPStrue| +% which \pf{prosper} specifies, is +% not interesting here since the macro is only called from the +% |Overlays| environment which is called from |\overlays| (see page~\pageref{macro:overlays}) +% but only +% |\ifDVItoPSfalse|. There is no useful application of the |Overlays| +% environment when not being called from the |\overlays| macro. +% \begin{macrocode} +\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 +% \end{macrocode} +% This code is used for the first overlay slide created by |\overlays|. +% \begin{macrocode} + \global\HAP@firstOverlayfalse +% \end{macrocode} +% \pf{prosper} option to open bookmarks of overlays. +% \begin{macrocode} + \ifcollapsedBookmarks\def\HAP@tempa{-}\else\def\HAP@tempa{}\fi +% \end{macrocode} +% Create bookmarks, nest them and open them if requested. +% \begin{macrocode} + \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 +% \end{macrocode} +% Create toc entries. +% \begin{macrocode} + \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 +% \end{macrocode} +% This case relates to the rest of the slides created by |\overlays|. +% Create bookmarks without nesting and no toc entries. +% \begin{macrocode} + \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}}% +} +% \end{macrocode} +% Close all started environments and boxes. +% \begin{macrocode} +\def\endSlideOverlay{% + \end{minipage}% + \end{posit@Box}% + \end{slide@seminar}% + \ifDVItoPS\else + \addtocounter{slide}{-1}% + \fi +} +% \end{macrocode} +% \end{environment} +% \DescribeEnv{slide} +% These macros define the |slide| environment. +% \begin{macrocode} +\let\slide=\SlideNormal +\let\endslide=\endSlideNormal +% \end{macrocode} +% \subsubsection{Bibliography} +% \DescribeEnv{thebibliography} +% This section includes a redefined |bibliography| environment which +% does not create a section heading. The original has been taken from +% |article.cls|. +% \begin{macrocode} +\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 +} +% \end{macrocode} +% \subsubsection{Underlying macros for itemize and enumerate} +% First let the \pf{prosper} command |\NoFrenchBabelItemize| do nothing +% anymore since we redefine lists |\AtBeginDocument| always. +% \begin{macrocode} +\let\NoFrenchBabelItemize\relax +\def\HAP@toodeep{\PackageError{HA-prosper}{Items too deeply nested}\@ehd} +% \end{macrocode} +% |\ifHAP@active| indicates state of an item. \pf{HA-prosper} only +% sets it, but does not use it. It can be used in styles. +% \begin{macrocode} +\newif\ifHAP@active +% \end{macrocode} +% |\ifHAP@nested| indicates whether an |itemize| or |enumerate| +% environment is nested in a stepping environment. In that case, +% active state is inherited. +% \begin{macrocode} +\newif\ifHAP@nested +% \end{macrocode} +% Keep a copy of the original |\item|. +% \begin{macrocode} +\let\HAP@orig@item=\item +% \end{macrocode} +% \DescribeMacro{\xitem} +% The |\xitem| macro. +% \begin{macrocode} +\def\xitem{\@ifnextchar<\HAP@xitem{\HAP@xitem<0>}} +% \end{macrocode} +% \DescribeMacro{\HAP@xitem} +% The workhorse for |\xitem|. It can be reset in environments. +% \begin{macrocode} +\def\HAP@xitem<#1>{% + \PackageError{HA-prosper}{Lonely \string\item--perhaps a missing + list environment}\@ehc +} +\AtBeginDocument{% +% \end{macrocode} +% \begin{environment}{HAP@itemize} +% Define the |HAP@itemize| and |HAP@enumerate| environments without a left block indent +% and |topsep| since this creates ugly lists on slides and wastes +% a lot of space. +% Definitions taken mainly from |latex.ltx| and modified. +% \begin{macrocode} + \def\itemize{% + \def\HAP@xitem<##1>{% +% \end{macrocode} +% If not nested, item is active, otherwise, inherit. +% \begin{macrocode} + \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{% +% \end{macrocode} +% Setting relevant lengths. +% \begin{macrocode} + \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 + } +% \end{macrocode} +% End the list. +% \begin{macrocode} + \let\enditemize\endlist +% \end{macrocode} +% \end{environment} +% \begin{environment}{HAP@enumerate} +% For |HAP@enumerate| we do roughly the same thing. +% \begin{macrocode} + \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 + } +% \end{macrocode} +% End the list. +% \begin{macrocode} + \let\endenumerate\endlist +% \end{macrocode} +% \end{environment} +% End of |\AtBeginDocument|. +% \begin{macrocode} +} +% \end{macrocode} +% \subsubsection{Stepping environments} +% Now we define animated lists. We start with the overall depth of a list +% with possibly |itemstep|s and |enumstep|s nested into each other. +% \begin{macrocode} +\newcounter{HAP@listdepth} +% \end{macrocode} +% Optional arguments. +% \begin{macrocode} +\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}} +% \end{macrocode} +% \DescribeEnv{itemstep}\DescribeEnv{enumstep} +% These macros generate the animated lists. Taken from +% prosper and heavily modified to allow for multiple types +% of animated lists and nesting of |enumstep| and |itemstep| +% environments. +% \begin{macrocode} +\def\itemstep{\@ifnextchar[{\HAP@stepenv{0}}{\HAP@stepenv{0}[]}} +\def\enumstep{\@ifnextchar[{\HAP@stepenv{1}}{\HAP@stepenv{1}[]}} +% \end{macrocode} +% Closing the environments |itemstep| and |enumstep|. +% \begin{macrocode} +\def\enditemstep{\endHAP@stepenv{0}} +\def\endenumstep{\endHAP@stepenv{1}} +% \end{macrocode} +% \begin{environment}{HAP@stepenv} +% Workhorse for both |itemstep| and |enumstep|. The first +% argument identifies the type of list (0 for |itemstep|) +% and the second contains the optional arguments. +% \begin{macrocode} +\def\HAP@stepenv#1[#2]{% +% \end{macrocode} +% A following environment might be nested. Important for setting active +% state. +% \begin{macrocode} + \HAP@nestedtrue +% \end{macrocode} +% Load the options into macros. +% \begin{macrocode} + \xsetkeys{HAP@keys@step}{#2}% +% \end{macrocode} +% If |dvi2ps|, all items should be active since overlays create +% only one slide. +% \begin{macrocode} + \ifDVItoPS\def\HAP@Itype{0}\fi +% \end{macrocode} +% Start the list. +% \begin{macrocode} + \ifnum#1=\z@ + \begin{itemize}% + \else + \begin{enumerate}% + \fi +% \end{macrocode} +% Possibility to let the animated list start at a later overlay. +% Only possible when the overall depth is zero, hence the current +% list is not nested. +% \begin{macrocode} + \ifnum\value{HAP@listdepth}=\z@ + \setcounter{item@step}{\HAP@Istart}% + \addtocounter{item@step}{-1}% + \fi +% \end{macrocode} +% Increase list depth. We are one level deeper. +% \begin{macrocode} + \stepcounter{HAP@listdepth}% +% \end{macrocode} +% \begin{macro}{\HAP@xitem} +% Workhorse for |\xitem|. +% \begin{macrocode} + \def\HAP@xitem<##1>{% +% \end{macrocode} +% Next step in the list. +% \begin{macrocode} + \stepcounter{item@step}% +% \end{macrocode} +% Set temp counter to |item@step + input value|. +% \begin{macrocode} + \setcounter{HAP@tca}{\value{item@step}}% + \addtocounter{HAP@tca}{##1}% + \HAP@activetrue +% \end{macrocode} +% If the type is 0, all items remain active, display incrementally. +% \begin{macrocode} + \ifnum\HAP@Itype=\z@ + \HAP@textc + \OnSlide{\value{item@step}-}% + \else +% \end{macrocode} +% Else, items can become inactive. If type is 1, display list incrementally. +% \begin{macrocode} + \ifnum\HAP@Itype=\@ne\OnSlide{\value{item@step}-}\fi + \ifcase +% \end{macrocode} +% If |item@step| $\leq$ |overlay number| $\leq$ |item@step + input value|, +% then item is active. +% \begin{macrocode} + \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 +% \end{macrocode} +% Original |\item|. This allows for doing |\xitem[a]| or |\xitem<1>[b]|. +% \begin{macrocode} + \HAP@orig@item + }% +% \end{macrocode} +% \end{macro} +% \begin{macrocode} +} +% \end{macrocode} +% Workhorse for |\enditemstep| and |\endenumstep| +% \begin{macrocode} +\def\endHAP@stepenv#1{% + \ifnum#1=\z@ + \end{itemize}% + \else + \end{enumerate}% + \fi +% \end{macrocode} +% Decrease list depth. +% \begin{macrocode} + \addtocounter{HAP@listdepth}{-1}% +% \end{macrocode} +% Reset the |item@step| counter for a next list. +% \begin{macrocode} + \ifnum\value{HAP@listdepth}=\z@ + \setcounter{item@step}{0}% + \HAP@nestedfalse + \fi +} +% \end{macrocode} +% \end{environment} +% \subsubsection{Maketitle} +% \begin{macro}{\maketitle} +% We start with restoring two macros to the \LaTeX\ original. +% \begin{macrocode} +\def\title#1{\gdef\@title{#1}} +\def\author#1{\gdef\@author{#1}} +% \end{macrocode} +% This code originates from the \pf{prosper} but has been modified +% a lot. +% \begin{macrocode} +\renewcommand{\maketitle}[1][]{% +% \end{macrocode} +% \pf{prosper} comment: Tests whether the 'french' style from B. Gaulle is loaded. +% \begin{macrocode} + \expandafter\ifx\csname frenchTeXmods\endcsname\relax + \else +% \end{macrocode} +% \pf{prosper} comment: Is it an old version affected by the bug. +% \begin{macrocode} + \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 +% \end{macrocode} +% Allow for optional arguments in |\maketitle| command. +% \begin{macrocode} + \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 +% \end{macrocode} +% Put author in a tabular to allow for the use of the standard |\and| command. +% \begin{macrocode} + {\ifinColor\@fontAuthorColor\else\@fontAuthorBW\fi + \begin{tabular}[t]{c}\@author\end{tabular}\par}% + \vfill + \end{center}% + \end{slide}% +} +% \end{macrocode} +% \end{macro} +% \subsubsection{Overlays} +% This section contains some overlays macros. We start with the +% |Overlays| environment used by the |\overlays| macro. +% \begin{macrocode} +\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}% +} +% \end{macrocode} +% This patch by Mathieu Goutelle, modified by Hendri Adriaens, +% solves the problem of numbering on overlays. Custom counters +% can be requested to be protected using |\HAPsetup|. +% \begin{macro}{\overlays}\label{macro:overlays} +% This code has been taken from \pf{prosper} and has been modified. +% \begin{macrocode} +\long\def\overlays#1#2{% + \bgroup + \aftergroup\HAP@cleanupOverlay + \InOverlaystrue + \setcounter{limitOverlays}{#1}% + \setcounter{overlaysCount}{1}% + \ifDVItoPS + #2 + \else + \begin{Overlays}% + \bgroup + \loop + \@everyOverlay +% \end{macrocode} +% Save current counter values. +% \begin{macrocode} + \HAP@scounters + #2 + \ifnum\value{overlaysCount}<\value{limitOverlays}{% + \stepcounter{overlaysCount}% +% \end{macrocode} +% Return the counters to the original setting on every +% overlay to be able to number items correctly. +% \begin{macrocode} + \HAP@rcounters + }% + \repeat + \egroup + \end{Overlays}% + \fi + \egroup +} +% \end{macrocode} +% \end{macro} +% \DescribeMacro{\HAP@cleanupOverlay} +% To be performed after using |\overlays|. Reset the counters to allow +% for reusing the value of the counters, for instance in style files. +% \begin{macrocode} +\def\HAP@cleanupOverlay{% + \InOverlaysfalse + \setcounter{limitOverlays}{0}% + \setcounter{overlaysCount}{0}% +} +% \end{macrocode} +% Let the |\saveCtr| do nothing since this package offers a different +% mechanism to protect counters on overlays. +% \begin{macrocode} +\let\saveCtr\relax +% \end{macrocode} +% The following key saves the input to |\HAP@counterslist|, adds the +% counters |figure|, |table| and |equation| to the list and creates +% backup counters. +% \begin{macrocode} +\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 +% \end{macrocode} +% Create backup counters. +% \begin{macrocode} + \@for\HAP@tempa:=\HAP@counterslist\do{% + \@ifundefined{c@\HAP@tempa}{\@nocounterr{\HAP@tempa}}% + {\@ifundefined{c@HAP@oldc@\HAP@tempa}{\newcounter{HAP@oldc@\HAP@tempa}}{}}% + }% +} +% \end{macrocode} +% \DescribeMacro{\HAP@scounters} +% Saves current counter values to the backup counters. +% \begin{macrocode} +\def\HAP@scounters{% + \@for\HAP@tempa:=\HAP@counterslist\do{% + \setcounter{HAP@oldc@\HAP@tempa}{\value{\HAP@tempa}}% + }% +} +% \end{macrocode} +% \DescribeMacro{\HAP@rcounters} +% Resets the actual counters using the backup counters. +% \begin{macrocode} +\def\HAP@rcounters{% + \@for\HAP@tempa:=\HAP@counterslist\do{% + \setcounter{\HAP@tempa}{\value{HAP@oldc@\HAP@tempa}}% + }% +} +% \end{macrocode} +% \subsubsection{Font definitions} +% This section contains some font definitions in the light of \pf{prosper} +% The |\Font...| macros define fonts to be used for certain text elements +% and the |\font...| versions allow to apply the predefined font to +% the text.\par +% \DescribeMacro{\FontLeftFoot}\DescribeMacro{\fontLeftFoot} +% Definitions for the left footer. +% \begin{macrocode} +\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}} +% \end{macrocode} +% \DescribeMacro{\FontRightFoot}\DescribeMacro{\fontRightFoot} +% Definitions for the right footer. +% \begin{macrocode} +\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}} +% \end{macrocode} +% \DescribeMacro{\FontAuthor}\DescribeMacro{\fontAuthor} +% Definitions for author. +% \begin{macrocode} +\def\@fontAuthorColor{\@fontTextColor} +\def\@fontAuthorBW{\@fontTextBW} +\newcommand{\FontAuthor}[2]{% + \gdef\@fontAuthorColor{#1}% + \gdef\@fontAuthorBW{#2}} +\newcommand{\fontAuthor}[1]{{\ifinColor\@fontAuthorColor\else\@fontAuthorBW\fi#1}} +% \end{macrocode} +% \DescribeMacro{\FontInst}\DescribeMacro{\fontInst} +% Definitions for institution. +% \begin{macrocode} +\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}} +% \end{macrocode} +% \DescribeMacro{\institution} +% The |\institution| macro does not put text anymore directly onto +% the title slide. Instead, it applies the font settings and can be +% used inside the |\author| macro. +% \begin{macrocode} +\let\institution\fontInst +% \end{macrocode} +% \DescribeMacro{\FontEmail}\DescribeMacro{\fontEmail} +% Definitions for e-mail. +% \begin{macrocode} +\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}} +% \end{macrocode} +% \DescribeMacro{\email} +% The |\email| macro does not put text anymore directly onto +% the title slide. Instead, it applies the font settings and can be +% used inside the |\author| macro. +% \begin{macrocode} +\let\email\fontEmail +% \end{macrocode} +% \DescribeMacro{\FontToc}\DescribeMacro{\fontToc} +% Definitions for the table of contents. +% \begin{macrocode} +\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}} +% \end{macrocode} +% \subsubsection{Footers} +% We don't use the seminar page style. It provides not enough flexibility +% for placement of footers. +% \begin{macrocode} +\renewpagestyle{GenericPageStyle}{}{} +% \end{macrocode} +% \DescribeMacro{\HAP@leftfoot}\DescribeMacro{\HAP@rightfoot} +% These macros store the footer texts. +% \begin{macrocode} +\define@key{HAP@keys@globalonly}{lf}{\def\HAP@leftfoot{#1}} +\define@key{HAP@keys@globalonly}{rf}{\def\HAP@rightfoot{#1}} +% \end{macrocode} +% \DescribeMacro{\LeftFoot}\DescribeMacro{\RightFoot} +% Backward compatibility for earlier version of \pf{HA-prosper} which +% where not using the |\HAPsetup| user interface yet. +% \begin{macrocode} +\def\LeftFoot#1{\def\HAP@leftfoot{#1}} +\def\RightFoot#1{\def\HAP@rightfoot{#1}} +% \end{macrocode} +% \DescribeMacro{\HAP@sn} +% Slide number. +% \begin{macrocode} +\define@key{HAP@keys@globalonly}{sn}{\def\HAP@sn{#1}} +% \end{macrocode} +% \DescribeMacro{\HAP@PutLF} +% This can be used to in a template to position the left footer. It +% uses |\rput| and puts the footer in the left footer font. +% \begin{macrocode} +\newcommand{\HAP@PutLF}[2]{% + \rput[#1](#2){\parbox[t]{\slidewidth}{\fontLeftFoot{\HAP@leftfoot}}}% +} +% \end{macrocode} +% \DescribeMacro{\HAP@PutRF} +% Puts the right footer on slides. +% \begin{macrocode} +\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 +} +% \end{macrocode} +% \subsubsection{Dualslides} +% This section contains the code to create dualslides. +% We start with a lot of lengths which can be set by the user. +% \begin{macrocode} +\newlength{\HAP@lcolwidth} +\newlength{\HAP@rcolwidth} +\newlength{\HAP@frsep} +\newlength{\HAP@colsep} +\newlength{\HAP@topsep} +\newlength{\HAP@bottomsep} +\newlength{\HAP@indent} +% \end{macrocode} +% Optional arguments. Refer to the manual for a full +% description of the options. +% \begin{macrocode} +\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}} +% \end{macrocode} +% \DescribeMacro{\HAP@maxdim} +% Macro that returns the maximum of two dimensions. +% \begin{macrocode} +\def\HAP@maxdim#1#2{\ifdim#1>#2#1\else#2\fi} +% \end{macrocode} +% \DescribeMacro{\dualslide}\DescribeMacro{\HAP@dualslide}\DescribeMacro{\HAP@@dualslide} +% The |\dualslide| macro is called with +% \HAPcmd{\ci{dualslide}\oarg{opt1}\oarg{opt2}\oarg{opt3}\marg{options}\marg{left}\marg{right}} +% If only |opt1| specified, then |opt2|=|opt1| and |opt3|=|opt1|. If +% |opt1| and |opt2| specified, |opt3|=|opt1|. The macros |\HAP@dualslide| +% and |\HAP@@dualslide| are used to achieve this behavior. +% See for more info on the arguments the manual. +% \begin{macrocode} +\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]}% +} +% \end{macrocode} +% \begin{macro}{\HAP@@@dualslide} +% Workhorse for |\dualslide|. This macro creates the dualslide construct. +% \begin{macrocode} +\long\def\HAP@@@dualslide[#1][#2][#3]#4#5#6{% +% \end{macrocode} +% Set default dimensions. +% \begin{macrocode} + \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}% +% \end{macrocode} +% Load options. +% \begin{macrocode} + \xsetkeys{HAP@keys@dual}{#4}% +% \end{macrocode} +% The next section computes the height of the dualslide construct. +% We start with left content height. +% \begin{macrocode} + \sbox\HAP@tba{\begin{minipage}{\HAP@lcolwidth}#5\end{minipage}}% + \setlength{\HAP@tlc}{\the\ht\HAP@tba}% + \addtolength{\HAP@tlc}{\the\dp\HAP@tba}% +% \end{macrocode} +% Right content height. +% \begin{macrocode} + \sbox\HAP@tbb{\begin{minipage}{\HAP@rcolwidth}#6\end{minipage}}% + \setlength{\HAP@tld}{\the\ht\HAP@tbb}% + \addtolength{\HAP@tld}{\the\dp\HAP@tbb}% +% \end{macrocode} +% Take the maximum of left and right content. +% \begin{macrocode} + \setlength{\HAP@tlc}{\HAP@maxdim{\HAP@tlc}{\HAP@tld}}% +% \end{macrocode} +% If a left frame is requested, compute max height again. +% \begin{macrocode} + \ifx\HAP@lfrheight\@undefined\else + \setlength{\HAP@tlc}{\HAP@maxdim{\HAP@lfrheight}{\HAP@tlc}}% + \fi +% \end{macrocode} +% If a line is requested, compute max height again. +% \begin{macrocode} + \ifx\HAP@lineheight\@undefined\else + \setlength{\HAP@tlc}{\HAP@maxdim{\HAP@lineheight}{\HAP@tlc}}% + \fi +% \end{macrocode} +% Finally, evaluate the height of the right frame and compute the max again. +% \begin{macrocode} + \ifx\HAP@rfrheight\@undefined\else + \setlength{\HAP@tlc}{\HAP@maxdim{\HAP@rfrheight}{\HAP@tlc}}% + \fi +% \end{macrocode} +% Now we know the height of the construct, create vertical space +% with a |pspicture| on which we position the elements. In between +% creating elements, we compute a bit with lengths to calculate the +% positions of the elements depending on all the inputs. The code +% below contains references to points. These points can be found in +% the picture below, which shows the top part of the dualslide +% construct to be created by |\HAP@@@dualslide|.\par +%\setlength{\unitlength}{.7cm} +%\begin{picture}(14,2)(0,.5) +%\put(0,.5){\line(0,1){2}} +%\put(0,2.5){\line(1,0){6}} +%\put(6,2.5){\line(0,-1){2}} +%\put(7,.5){\line(0,1){2}} +%\put(8,.5){\line(0,1){2}} +%\put(8,2.5){\line(1,0){6}} +%\put(14,2.5){\line(0,-1){2}} +%\dashline{2}(.75,.5)(.75,1.125)(.75,1.75) +%\dashline{2}(.75,1.75)(1.25,1.75)(1.75,1.75)% +%(2.25,1.75)(2.75,1.75)(3.25,1.75)(3.75,1.75)% +%(4.25,1.75)(4.75,1.75)(5.25,1.75) +%\dashline{2}(5.25,.5)(5.25,1.125)(5.25,1.75) +%\dashline{2}(8.75,.5)(8.75,1.125)(8.75,1.75) +%\dashline{2}(8.75,1.75)(9.25,1.75)(9.75,1.75)% +%(10.25,1.75)(10.75,1.75)(11.25,1.75)(11.75,1.75)% +%(12.25,1.75)(12.75,1.75)(13.25,1.75) +%\dashline{2}(13.25,.5)(13.25,1.125)(13.25,1.75) +%\put(.75,1){\circle*{.15}} +%\put(.35,1){|1|} +%\put(5.25,1){\circle*{.15}} +%\put(4.85,1){|2|} +%\put(6,1){\circle*{.15}} +%\put(5.6,1){|3|} +%\put(7,1){\circle*{.15}} +%\put(6.6,1){|4|} +%\put(8.75,1){\circle*{.15}} +%\put(8.35,1){|5|} +%\put(8,1){\circle*{.15}} +%\put(7.6,1){|6|} +%\put(14,1){\circle*{.15}} +%\put(13.6,1){|7|} +%\end{picture} +% \par +% The starting point is |1|. +% \begin{macrocode} + \pspicture(-\HAP@indent,\HAP@topsep)(\linewidth,-\HAP@tlc)% +% \end{macrocode} +% Set defaults for linewidth and color. +% \begin{macrocode} + \psset{unit=1pt,linewidth=.25pt,linecolor=HAP@framecolor}% +% \end{macrocode} +% The next line brings us to point |2|. +% \begin{macrocode} + \setlength{\HAP@tla}{\HAP@lcolwidth}% +% \end{macrocode} +% And the next to point |3|. +% \begin{macrocode} + \addtolength{\HAP@tla}{\HAP@frsep}% +% \end{macrocode} +% Create the left frame. +% \begin{macrocode} + \ifx\HAP@lfrheight\@undefined\else + \psframe[#1](-\HAP@frsep,\HAP@frsep)(\HAP@tla,-\HAP@lfrheight)% + \fi +% \end{macrocode} +% Put the left content. +% \begin{macrocode} + \rput[tl](0,0){\usebox{\HAP@tba}}% +% \end{macrocode} +% We are back at |2| with the next line. +% \begin{macrocode} + \setlength{\HAP@tla}{\HAP@lcolwidth}% +% \end{macrocode} +% This line moves us on to point |4|. +% \begin{macrocode} + \addtolength{\HAP@tla}{.5\HAP@colsep}% +% \end{macrocode} +% Create the line. +% \begin{macrocode} + \ifx\HAP@lineheight\@undefined\else + \psline[#2](\HAP@tla,\HAP@frsep)(\HAP@tla,-\HAP@lineheight)% + \fi +% \end{macrocode} +% And we go further to point |5|. +% \begin{macrocode} + \addtolength{\HAP@tla}{.5\HAP@colsep}% + \setlength{\HAP@tlc}{\HAP@tla}% +% \end{macrocode} +% With the next line, we are at point |6|. +% \begin{macrocode} + \addtolength{\HAP@tla}{-\HAP@frsep}% + \setlength{\HAP@tlb}{\HAP@tla}% +% \end{macrocode} +% And the next two lines give us point |7|. +% \begin{macrocode} + \addtolength{\HAP@tlb}{\HAP@rcolwidth}% + \addtolength{\HAP@tlb}{2\HAP@frsep}% +% \end{macrocode} +% Create the right frame. +% \begin{macrocode} + \ifx\HAP@rfrheight\@undefined\else + \psframe[#3](\HAP@tla,\HAP@frsep)(\HAP@tlb,-\HAP@rfrheight)% + \fi +% \end{macrocode} +% Put the right content. +% \begin{macrocode} + \rput[tl](\HAP@tlc,0){\usebox{\HAP@tbb}}% + \endpspicture\par +} +% \end{macrocode} +% \end{macro} +% \subsubsection{onSlide and OnSlide} +% The macros in this section form a generelization of the following +% macros of \pf{prosper}: |\fromSlide|, |\FromSlide|, |\untilSlide|, +% |\UntilSlide|, |\onlySlide| and |\OnlySlide|. The macros are more +% or less based on these \pf{prosper} macros, but are more general +% and replace all those macros. We start with some counters +% and an if necessary to determine whether material should be +% displayed on the current overlay or not. +% \begin{macrocode} +\newcounter{HAP@onslide@count} +\newcounter{HAP@onslide@end} +\newif\ifHAP@displayMat +\let\HAP@onslide@list\@empty +% \end{macrocode} +% \begin{macro}{\onSlide} +% \HAPcmd{\ci{onSlide}\marg{overlays}\marg{mat}} +% This macro allows for +% comma seperated inputs like |\onSlide{-2,4,6-8,10-}|. |\onSlide| +% has a starred version which doesn't move the cursor in case the +% material is not displayed on the slide. +% \begin{macrocode} +\def\onSlide{\@ifstar{\HAP@onSlide{1}}{\HAP@onSlide{0}}} +\long\def\HAP@onSlide#1#2{% +% \end{macrocode} +% Split the comma seperated list into parts to be read by |\HAP@read|. +% The macro will set |\ifHAP@displayMat| which tells us to display +% the material on the current slide or not. +% \begin{macrocode} + \HAP@split#2,\relax,% + \let\HAP@next\@gobble + \ifDVItoPS + \ifAccumulate +% \end{macrocode} +% Just display the material in case of printing slides. +% \begin{macrocode} + \let\HAP@next\@iden% + \fi + \else + \ifHAP@displayMat +% \end{macrocode} +% We should display it. +% \begin{macrocode} + \let\HAP@next\@iden% +% \end{macrocode} +% Reset |\ifHAP@displayMat| for future use. +% \begin{macrocode} + \HAP@displayMatfalse + \else +% \end{macrocode} +% If no star, move the cursor using \pf{prosper}'s |PSTricks| construct. +% \begin{macrocode} + \ifnum#1=\z@ + \let\HAP@next\@on@overlay@one% + \fi + \fi + \fi +% \end{macrocode} +% Put the material on the slide. This can be |\@gobble|. +% \begin{macrocode} + \HAP@next +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\OnSlide} +% \HAPcmd{\ci{OnSlide}\marg{overlays}} +% This macro also allows for comma seperated lists, but takes only +% one argument and masks or not all the following material. +% \begin{macrocode} +\def\OnSlide#1{% +% \end{macrocode} +% Split the comma seperated list into parts to be read by |\HAP@read|. +% \begin{macrocode} + \HAP@split#1,\relax,% + \ifDVItoPS\else +% \end{macrocode} +% We should display the following material; don't hide it. +% \begin{macrocode} + \ifHAP@displayMat +% \end{macrocode} +% Reset |\ifHAP@displayMat|. +% \begin{macrocode} + \HAP@displayMatfalse + \else +% \end{macrocode} +% Hide it using \pf{prosper}'s |\overlay|. +% \begin{macrocode} + \overlay{1}% + \fi + \fi +} +% \end{macrocode} +% \end{macro} +% \DescribeMacro{\HAP@split} +% Splits the comma seperated list into parts and reads them one by one. +% This is based on \pf{keyval}'s |\KV@do|. +% \begin{macrocode} +\def\HAP@split#1,{% + \ifx\relax#1\@empty\else + \HAP@read#1--\relax + \expandafter\HAP@split + \fi +} +% \end{macrocode} +% \begin{macro}{\HAP@read} +% This macro reads the argument between two commas supplied by |\HAP@split|. +% We distinct 4 cases: $x$, -$x$, $x$- and $x$-$y$ where $x$ and $y$ are positive +% integers with $y\geq x$. We will not check the argument for specification; +% the responsibility is with the user. The macro first sets a range from +% the inputs, then runs over this range to check wether the current +% overlay is inside the range and hence material should be displayed. +% \begin{macrocode} +\def\HAP@read#1-#2-#3\relax{% + \def\HAP@tempa{#1}% + \def\HAP@tempb{#2}% + \def\HAP@tempc{#3}% + \ifx\HAP@tempa\@empty +% \end{macrocode} +% If |#1| empty, we have -$x$. Set the counter to the starting overlay. +% \begin{macrocode} + \setcounter{HAP@onslide@count}{1}% + \else +% \end{macrocode} +% Else, we have something that starts with $x$ or $+x$, but we don't know the +% exact specification yet. Check whether the input starts with a |+|. +% \begin{macrocode} + \HAP@sp\HAP@tempd{#1}% + \ifHAP@plus +% \end{macrocode} +% If a plus sign, make displaying relative to the current |\xitem|. +% \begin{macrocode} + \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 +% \end{macrocode} +% If both |#2| and |#3| empty, we have the case $x$ or $+x$. +% \begin{macrocode} + \HAP@sp\HAP@tempd{#1}% + \ifHAP@plus +% \end{macrocode} +% If a plus sign, make displaying relative to the current |\xitem|. +% \begin{macrocode} + \setcounter{HAP@onslide@end}{\value{item@step}}% + \addtocounter{HAP@onslide@end}{\HAP@tempd}% + \else + \setcounter{HAP@onslide@end}{#1}% + \fi + \else +% \end{macrocode} +% If |#2| empty, but |#3| not (has value |-|), we have the case $x$- or $+x$-. +% \begin{macrocode} + \setcounter{HAP@onslide@end}{\value{limitOverlays}}% + \fi + \else +% \end{macrocode} +% If both |#2| and |#3| non-empty, we have the case $x$-$y$ or a +% variation with |+| signs. +% \begin{macrocode} + \HAP@sp\HAP@tempd{#2}% + \ifHAP@plus +% \end{macrocode} +% If a plus sign, make displaying relative to the current |\xitem|. +% \begin{macrocode} + \setcounter{HAP@onslide@end}{\value{item@step}}% + \addtocounter{HAP@onslide@end}{\HAP@tempd}% + \else + \setcounter{HAP@onslide@end}{#2}% + \fi + \fi +% \end{macrocode} +% Check on input. +% \begin{macrocode} + \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.}% +% \end{macrocode} +% Add current slide number to a list to avoid multiple errors per slide. +% \begin{macrocode} + \xdef\HAP@onslide@list{% + \HAP@onslide@list + \ifx\HAP@onslide@list\@empty\else,\fi + \theslide + }% + \fi + \else +% \end{macrocode} +% If the current overlay number is in the range, material should be +% displayed. +% \begin{macrocode} + \ifnum\value{HAP@onslide@count}>\value{overlaysCount}\else + \ifnum\value{HAP@onslide@end}<\value{overlaysCount}\else + \HAP@displayMattrue + \fi\fi + \fi +} +% \end{macrocode} +% \end{macro} +% Code to strip the |+| sign from the start of a list of tokens. +% This is necessary since the input to |\HAP@read| can also +% contain |\value{item@step}|. The code is based on the \pf{keyval} +% macro |\KV@@sp@def|. +% \begin{macrocode} +\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@}} +% \end{macrocode} +% \subsubsection{Miscellaneous} +% \DescribeMacro{\xitemwait} +% Tells \pf{HA-prosper} to wait some overlays before continuing +% incrementally displayed items. +% \begin{macrocode} +\newcommand{\xitemwait}[1][1]{\addtocounter{item@step}{#1}} +% \end{macrocode} +% \DescribeMacro{\HAP@TSNav} +% Entrance point for navigational elements on the title slide. This +% macro takes the value specified by the |tsnav| global key and can +% be used to put navigational components on slides through a style file. +% \begin{macrocode} +\define@key{HAP@keys@globalonly}{tsnav}{\gdef\HAP@TSNav{#1}} +% \end{macrocode} +% \DescribeMacro{\TitleSlideNav} +% Backward compatibility for earlier version of \pf{HA-prosper} which +% where not using the |\HAPsetup| user interface yet. +% \begin{macrocode} +\def\TitleSlideNav#1{\gdef\HAP@TSNav{#1}} +% \end{macrocode} +% \DescribeMacro{\HAP@NSNav} +% Entrance point for navigational elements on normal slides. +% \begin{macrocode} +\define@key{HAP@keys@globalonly}{nsnav}{\gdef\HAP@NSNav{#1}} +% \end{macrocode} +% \DescribeMacro{\NormalSlideNav} +% Backward compatibility for older presentations. +% \begin{macrocode} +\def\NormalSlideNav#1{\gdef\HAP@NSNav{#1}} +% \end{macrocode} +% Simple interface for the total number of slides in the presentation. +% \begin{macrocode} +\def\totalpages{\realpageref{last@page}} +% \end{macrocode} +% \subsection{Postamble and defaults} +% This section of code contains the finalizing elements like loading +% the requested style, setting defaults and creating extra slide environments. +% \subsubsection{Defaults (1)} +% \DescribeMacro{\HAPsetup} +% Allows for setting some options globally. +% \begin{macrocode} +\def\HAPsetup#1{% + \xsetkeys{HAP@keys@globalonly,HAP@keys@slide,HAP@keys@step}{#1}% +} +% \end{macrocode} +% Set global defaults to prevent errors when the user decides to delete +% a line from the |HA-prosper.cfg| file. +% \begin{macrocode} +\HAPsetup{lf=,rf=,trans=\@defaultTransition,template=slide,sstart=1, + stype=0,iacolor=lightgray,tsnav=FullScreen,nsnav=ShowBookmarks, + sn={-~p.~\thepage\ifallPages/\totalpages\fi},counters= +} +% \end{macrocode} +% Load defaults for global options. Refer to section~\ref{sec:config} for +% the |HA-prosper.cfg| file. +% \begin{macrocode} +\input{HA-prosper.cfg} +% \end{macrocode} +% PDF page cropping default. +% \begin{macrocode} +\hypersetup{pdfpagescrop={0 0 595 840}} +% \end{macrocode} +% PDF creator. +% \begin{macrocode} +\AtBeginDocument{\def\@pdfcreator{LaTeX with hyperref and + HA-prosper packages}} +% \end{macrocode} +% Calibration of commands like |\small| to default font sizes. +% \begin{macrocode} +\ptsize{10} +% \end{macrocode} +% \subsubsection{Load the style} +% First undefine |\slidetitle| since it is already defined by \pf{prosper}. +% \begin{macrocode} +\let\slidetitle\@undefined +% \end{macrocode} +% Load the requested style. +% \begin{macrocode} +\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}} +% \end{macrocode} +% \subsubsection{Extra slide definitions} +% \DescribeMacro{\HAPR@normalslide} +% Check that the normal slide template has been defined by the template. +% \begin{macrocode} +\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 +% \end{macrocode} +% \DescribeMacro{\HAPR@wideslide} +% If |\HAPR@wideslide| defined, use it to create the |wideslide| environment. +% \begin{macrocode} + \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 +% \end{macrocode} +% \DescribeMacro{\HAPR@partslide} +% If |\HAPR@partslide| defined, use it to create the |partslide| environment. +% \begin{macrocode} + \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 +% \end{macrocode} +% \DescribeMacro{\maketitle} +% If both |\HAPR@normalslide| and |\HAPR@titleslide| defined, use these +% to redefine the |\maketitle| macro which switches back to the normal +% template automatically after creating the title slide on the title template. +% \begin{macrocode} +\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 +% \end{macrocode} +% \subsubsection{Defaults (2)} +% Here we check wether certain vital macros have been defined +% by the template and if not, define them. See the section containing +% developers information in the manual for more information +% about a specific macro listed below. +% \begin{macrocode} +\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{% +% \end{macrocode} +% By default, put text in a |\parbox| for multi-line toc entries. +% \begin{macrocode} + \parbox[b]{\HAP@twidth}{\raggedright\HAP@toctext}% + }% +\fi +\ifx\HAP@hltocentry\@undefined + \def\HAP@hltocentry{% +% \end{macrocode} +% By default, put text in |\parbox| and in |\psframebox| to create the frame. +% \begin{macrocode} + \psframebox*[framesep=\HAP@tborder,fillcolor=HAP@hcolor,boxsep=false]% + {\parbox[b]{\HAP@twidth}{\raggedright{\HAP@htcolor\HAP@toctext}}}% + }% +\fi +% \end{macrocode} +% \subsubsection{ppr-prv entrance point} +% Allow \pf{ppr-prv} to redefine \pf{HA-prosper} macros easily. +% \begin{macrocode} +\@ifclassloaded{ppr-prv}{\InputIfFileExists{HAP-ppr-prv.def}{}{}}{} +% +% \end{macrocode} +% \subsection{Default configuration}\label{sec:config} +% The file |HA-prosper.cfg| generated from the code below contains the +% global configuration settings of \pf{HA-prosper}. We start with a small +% preamble. +% \begin{macrocode} +%<*config> +%% +%% Global defaults of HA-prosper. +%% ============================== +%% +%% You can change this file but be careful since it will +%% affect all of your presentations. See for more information +%% the documentation of the HA-prosper package. +%% +\HAPsetup{% +% \end{macrocode} +% Left footer. +% \begin{macrocode} + lf=, +% \end{macrocode} +% Right footer. +% \begin{macrocode} + rf=, +% \end{macrocode} +% Transition, using \pf{prosper} default for backward compatibility. +% \begin{macrocode} + trans=\@defaultTransition, +% \end{macrocode} +% Template for parts. +% \begin{macrocode} + template=slide, +% \end{macrocode} +% Starting overlay of stepping environments. +% \begin{macrocode} + sstart=1, +% \end{macrocode} +% Type of stepping environment. +% \begin{macrocode} + stype=0, +% \end{macrocode} +% Inactive color for stepping environments. +% \begin{macrocode} + iacolor=lightgray, +% \end{macrocode} +% Title slide navigation. +% \begin{macrocode} + tsnav=FullScreen, +% \end{macrocode} +% Normal slide navigation. +% \begin{macrocode} + nsnav=ShowBookmarks, +% \end{macrocode} +% Slide number layout. +% \begin{macrocode} + sn={-~p.~\thepage\ifallPages/\totalpages\fi}, +% \end{macrocode} +% Counters that should be protected on overlays. +% \begin{macrocode} + counters= +} +% +% \end{macrocode} +% \Finale +\endinput diff --git a/Master/texmf-dist/tex/latex/HA-prosper/HA-prosper.cfg b/Master/texmf-dist/tex/latex/HA-prosper/HA-prosper.cfg deleted file mode 100644 index 55908f75642..00000000000 --- a/Master/texmf-dist/tex/latex/HA-prosper/HA-prosper.cfg +++ /dev/null @@ -1,46 +0,0 @@ -%% -%% This is file `HA-prosper.cfg', -%% generated with the docstrip utility. -%% -%% The original source files were: -%% -%% HA-prosper.dtx (with options: `config') -%% -%% ------------------------------------------ -%% 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. -%% -%% -%% Global defaults of HA-prosper. -%% ============================== -%% -%% You can change this file but be careful since it will -%% affect all of your presentations. See for more information -%% the documentation of the HA-prosper package. -%% -\HAPsetup{% - lf=, - rf=, - trans=\@defaultTransition, - template=slide, - sstart=1, - stype=0, - iacolor=lightgray, - tsnav=FullScreen, - nsnav=ShowBookmarks, - sn={-~p.~\thepage\ifallPages/\totalpages\fi}, - counters= -} -\endinput -%% -%% End of file `HA-prosper.cfg'. diff --git a/Master/texmf-dist/tex/latex/HA-prosper/HA-prosper.sty b/Master/texmf-dist/tex/latex/HA-prosper/HA-prosper.sty deleted file mode 100644 index 087c8704291..00000000000 --- a/Master/texmf-dist/tex/latex/HA-prosper/HA-prosper.sty +++ /dev/null @@ -1,1083 +0,0 @@ -%% -%% 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'. diff --git a/Master/texmf-dist/tex/latex/HA-prosper/Styles/Aggie/AMLogo.eps b/Master/texmf-dist/tex/latex/HA-prosper/Styles/Aggie/AMLogo.eps deleted file mode 100644 index 1d32dfc4786..00000000000 --- a/Master/texmf-dist/tex/latex/HA-prosper/Styles/Aggie/AMLogo.eps +++ /dev/null @@ -1,971 +0,0 @@ -%!PS-Adobe-3.0 EPSF-3.0 -%%BoundingBox: 0 6 135 139 -%%HiResBoundingBox: 0.000000 6.960000 134.880005 138.000005 -%......................................... -%%Creator: AFPL Ghostscript 811 (epswrite) -%%CreationDate: 2004/03/14 10:10:45 -%%DocumentData: Clean7Bit -%%LanguageLevel: 2 -%%EndComments -%%BeginProlog -% This copyright applies to everything between here and the %%EndProlog: -% Copyright (C) 2003 artofcode LLC, Benicia, CA. All rights reserved. -%%BeginResource: procset GS_epswrite_2_0_1001 -/GS_epswrite_2_0_1001 80 dict dup begin -/PageSize 2 array def/setpagesize{ PageSize aload pop 3 index eq exch -4 index eq and{ pop pop pop}{ PageSize dup 1 -5 -1 roll put 0 4 -1 roll put dup null eq {false} {dup where} ifelse{ exch get exec} -{ pop/setpagedevice where -{ pop 1 dict dup /PageSize PageSize put setpagedevice} -{ /setpage where{ pop PageSize aload pop pageparams 3 {exch pop} repeat -setpage}if}ifelse}ifelse}ifelse} bind def -/!{bind def}bind def/#{load def}!/N/counttomark # -/rG{3{3 -1 roll 255 div}repeat setrgbcolor}!/G{255 div setgray}!/K{0 G}! -/r6{dup 3 -1 roll rG}!/r5{dup 3 1 roll rG}!/r3{dup rG}! -/w/setlinewidth #/J/setlinecap # -/j/setlinejoin #/M/setmiterlimit #/d/setdash #/i/setflat # -/m/moveto #/l/lineto #/c/rcurveto # -/p{N 2 idiv{N -2 roll rlineto}repeat}! -/P{N 0 gt{N -2 roll moveto p}if}! -/h{p closepath}!/H{P closepath}! -/lx{0 rlineto}!/ly{0 exch rlineto}!/v{0 0 6 2 roll c}!/y{2 copy c}! -/re{4 -2 roll m exch dup lx exch ly neg lx h}! -/^{3 index neg 3 index neg}! -/f{P fill}!/f*{P eofill}!/s{H stroke}!/S{P stroke}! -/q/gsave #/Q/grestore #/rf{re fill}! -/Y{P clip newpath}!/Y*{P eoclip newpath}!/rY{re Y}! -/|={pop exch 4 1 roll 1 array astore cvx 3 array astore cvx exch 1 index def exec}! -/|{exch string readstring |=}! -/+{dup type/nametype eq{2 index 7 add -3 bitshift 2 index mul}if}! -/@/currentfile #/${+ @ |}! -/B{{2 copy string{readstring pop}aload pop 4 array astore cvx -3 1 roll}repeat pop pop true}! -/Ix{[1 0 0 1 11 -2 roll exch neg exch neg]exch}! -/,{true exch Ix imagemask}!/If{false exch Ix imagemask}!/I{exch Ix image}! -/Ic{exch Ix false 3 colorimage}! -/F{/Columns counttomark 3 add -2 roll/Rows exch/K -1/BlackIs1 true>> -/CCITTFaxDecode filter}!/FX{<nT1B7CT!!!!TbaC6ezB$AL!s8W-!s8W-!s8W-!s8W,Cb[phTz -!1D'T1B7CT!!!!TREY^2s8W-!s8W-!s8W-!s8W-!s3-lezz!!!"2s8W-!AcMfeREY^2s8W-!s8W,C -R/d3e!!!!TR@+$Tz!+sI!s3-lez!!"h!AcMf2!!!!Tbfp+es8W-!s8W-!s8W-!s8Uo2AcMf2 -!!!!TREY^2s8W-!s8W-!s8W-!s8W-!baC6ezz!!$X2s8W+2!!"gCbl@_Cs8W-!s8U<2z!!"gCbaC6ez -!&L%eAcMf2zB$AJ2z!!"h!bl@_Cs8W-!s8W-!s8W-!baE'TAnGXeAsples8U<2AnGXeAnGYCbfp+e -s8W-!s8W-!s8W-!s8W,CR:^&CAnGXeAnGXeAsr]!s8U;TAnIITs8W-!s8W-!s3-mCAnGXeAnIIT -baE'TAnGXeAspl2AnGXeAnGYCbflJeAnGXeAnK92s8W-!s8W-!s8W-!s8W,CR54gCzB$AL!s3-lez -!!$WTbl@_Cs8W-!s8W-!s8W-!s8U<21B7CTzzB)ho2s-Wie1RZJes8W-!s8W-!baC6ez1RZJ2AcMf2z -B$=iez!&L%ebaC6ezB$AL!s8W-!s8W-!s8W-!s8U<21B7CT!!!"2bfp+ebaC6ez!+sI!s8W-!s8W-! -s8W-!s8W-!s3-lezz!!!"2s8W-!AcMfeREY^2s8W-!s8W,CR/d3e!!!!TREWlez!!!"2bVK5!z1RZJ2 -AcMf2!!!!Tbfp+es8W-!s8W-!s8W-!bflJeAnGXeAnIITs8W,CbaE'TAnGXeB$AL!s8W-!s8W-! -s8W-!s8W-!baE'TAnGXeAnGXeAnIJ2s8W,CAnGYCbl@_Cs8W-!s8U<2AnGXeAnGYCbflJeAnGXe -AnGYCAnGXeAnGYCbfn;!AnGXeAnGZ!bl@_Cs8W-!s8W-!s8W,Cb[phTz1RZJes8UnT1B7CTzz!!"h!bfn:Cz!!"h!bl@_Cs8W-!s8W-!s8U -Q -cleartomark end end pagesave restore showpage -%%PageTrailer -%%Trailer -%%Pages: 1 diff --git a/Master/texmf-dist/tex/latex/HA-prosper/Styles/Aggie/HAPAggie.sty b/Master/texmf-dist/tex/latex/HA-prosper/Styles/Aggie/HAPAggie.sty deleted file mode 100644 index 1ed1c7922da..00000000000 --- a/Master/texmf-dist/tex/latex/HA-prosper/Styles/Aggie/HAPAggie.sty +++ /dev/null @@ -1,216 +0,0 @@ -%============================================================================== -% -% HAPAggie -- style file for use with HA-prosper. -% -% Created by: Jack Stalnaker -% stalnaker@tamu.edu -% Texas A&M University -% -% Copyright (c) 2004 Jack Stalnaker. All rights reserved. -% -% This program 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. -% -% This program consists of the files listed in files.txt present in this package. -% -% Credit goes to Hendri Adriaens for creating HA-Prosper, and because this -% style is based on an amalgamation of his HA style and the CentER style. -% I made it more Texas A&M-like and added the curves and gradients. -% I also changed the way the toc entries were highlighted in order to -% allow multi-line entries. This was accomplished with strategically placed -% \parboxes and \psframeboxes. -% -% N.B. This looks best when "Smooth line art" has been checked under -% Acrobat Reader-->Edit-->Preferences-->General. Also, this would look -% good with your logo(s) between the footers, as in the CentER style. -%============================================================================== - -\NeedsTeXFormat{LaTeX2e}[1995/12/01] -\ProvidesPackage{HAPAggie}[2004/05/16] -\typeout{`Aggie' style for HA-prosper} -\typeout{(c) 2004 Jack Stalnaker, College Station, Texas} -\typeout{Package version: 1.1} -\typeout{ } - -% Color definitions -\newrgbcolor{HAP@textc}{.17 .31 .44} -\newrgbcolor{maroon}{.51 .13 .16} -\newrgbcolor{HAP@framecolor}{.00 .37 .00} -\newrgbcolor{ccopperd}{.89 .85 .69} -\newrgbcolor{ccopperl}{.96 .94 .89} - -% Highlighting definitions -\newrgbcolor{HAP@hcolor}{.51 .13 .16} % Highlight frame color -\newrgbcolor{HAP@htcolor}{.99 .99 .99} % Highlight text color - -% Font definitions -\FontTitle{\usefont{T1}{uag}{b}{n}\fontsize{14.4pt}{14pt}\selectfont\maroon}% - {\usefont{T1}{phv}{b}{n}\fontsize{14.4pt}{14pt}\selectfont\maroon} -\FontText{\usefont{T1}{phv}{m}{n}\fontsize{10pt}{10pt}\selectfont\HAP@textc}% - {\usefont{T1}{phv}{m}{n}\fontsize{10pt}{10pt}\selectfont\HAP@textc} -\FontLeftFoot{\@fontTextColor\fontsize{4pt}{4pt}\selectfont}% - {\@fontTextColor\fontsize{4pt}{4pt}\selectfont} -\FontRightFoot{\@fontTextColor\fontsize{4pt}{4pt}\selectfont}% - {\@fontTextColor\fontsize{4pt}{4pt}\selectfont} -\ifHAP@portrait% - \FontToc{\@fontTextColor\fontsize{4pt}{6pt}\selectfont}% - {\@fontTextColor\fontsize{4pt}{6pt}\selectfont} -\else% - \FontToc{\@fontTextColor\fontsize{6pt}{7.5pt}\selectfont}% - {\@fontTextColor\fontsize{6pt}{7.5pt}\selectfont} -\fi - -% Slide style definitions -\RequirePackage{pst-grad} -\newcommand{\TitleSlide}[1]{% - \ifHAP@portrait% - \psframe[linestyle=none,fillstyle=solid,% - fillcolor=ccopperl](-2.1,-2.3)(12.7,8.4)% - \psframe[linestyle=none,fillstyle=solid,% - fillcolor=ccopperd](-2.1,8.35)(12.5,8.4)% - \psellipse[linestyle=solid,linecolor=maroon,fillstyle=solid,% - fillcolor=ccopperd](4,-1)(10,2)% - \rput[lb](-0.5,8.8){% - \@ifundefined{HAP@TSNav}% - {\includegraphics[scale=.35]{AMLogo.eps}}% - {\Acrobatmenu{\HAP@TSNav}{\includegraphics[scale=.35]{AMLogo.eps}}}% - }% - \HAP@PutLF{tl}{-0.95,-.35}% - \HAP@PutRF{tr}{8.6,-.35}% - \else% - \psframe[linestyle=none,fillstyle=solid,% - fillcolor=ccopperl](-2.1,-2.1)(12.7,7.4)% - \psframe[linestyle=none,fillstyle=solid,% - fillcolor=maroon](-2.1,7.35)(12.5,7.4)% - \psellipse[linestyle=solid,linecolor=maroon,fillstyle=solid,% - fillcolor=ccopperd](4.5,-1.5)(10,1.5)% - \rput[lb](-1.5,6.6){% - \@ifundefined{HAP@TSNav}% - {\includegraphics[scale=.35]{AMLogo.eps}}% - {\Acrobatmenu{\HAP@TSNav}{\includegraphics[scale=.35]{AMLogo.eps}}}% - }% - \HAP@PutLF{tl}{-1.65,-.9}% - \HAP@PutRF{tr}{11.35,-.9}% - \fi% - {#1}}% - -\newcommand{\NormalSlide}[1]{% - \ifHAP@portrait% - \psframe[linestyle=none,fillstyle=gradient,% - gradbegin=ccopperl,gradend=white,gradmidpoint=0](-2.3,12)(.9,-.43)% - \psellipse[linestyle=none,fillstyle=solid,% - fillcolor=white](1.3,4.5)(1.5,8)% - \psframe[linestyle=none,fillstyle=solid,% - fillcolor=ccopperd](-2.1,-.6)(12.5,-.2)% - \psline[linecolor=maroon,linewidth=.5pt](-2.1,-.21)(12.5,-.21)% - \psframe[linestyle=none,fillstyle=solid,% - fillcolor=ccopperl](-2.1,-2.3)(12.5,-.57)% - \psframe[linestyle=none,fillstyle=solid,% - fillcolor=maroon](-2.1,-2.2)(12.5,-2.3)% - \rput[lb](-1,9.7){% - \@ifundefined{HAP@NSNav}% - {\includegraphics[scale=.25]{AMLogo.eps}}% - {\Acrobatmenu{\HAP@NSNav}{\includegraphics[scale=.25]{AMLogo.eps}}}% - }% - \ifHAP@toc% - \rput[tr](3.7,-.8){\begin{minipage}[t]{2cm}\HAP@tsections\end{minipage}}% - \rput[tl](4.1,-.8){\begin{minipage}[t]{2cm}\HAP@tcontent\end{minipage}}% - \fi% - \HAP@PutLF{tl}{-0.95,-.35}% - \HAP@PutRF{tr}{8.6,-.35}% - \else% - \psframe[linestyle=none,fillstyle=gradient,% - gradbegin=ccopperl,gradend=white,gradmidpoint=0](-2.3,9)(.7,-.53)% - \psellipse[linestyle=none,fillstyle=solid,% - fillcolor=white](3.3,4.3)(3,10)% - \ifHAP@toc% - \rput[lt](-1.7,6.55){\begin{minipage}[t]{2cm}\HAP@toc\end{minipage}}% - \fi% - \psframe[linestyle=none,fillstyle=solid,% - fillcolor=ccopperd](-2.1,-1.5)(12.5,-.5)% - \psline[linecolor=maroon,linewidth=.5pt](-2.1,-.51)(12.5,-.51)% - \rput[lb](-1.4,7.2){% - \@ifundefined{HAP@NSNav}% - {\includegraphics[scale=.25]{AMLogo.eps}}% - {\Acrobatmenu{\HAP@NSNav}{\includegraphics[scale=.25]{AMLogo.eps}}}% - }% - \HAP@PutLF{tl}{-1.65,-.9}% - \HAP@PutRF{tr}{11.35,-.9}% - \fi% - {#1}}% - -\newcommand{\SpecialSlide}[1]{% - \ifHAP@portrait% - \psframe[linestyle=none,fillstyle=gradient,% - gradbegin=ccopperl,gradend=white,gradmidpoint=0](-2.3,12)(.9,-.43)% - \psellipse[linestyle=none,fillstyle=solid,% - fillcolor=white](1.3,4.5)(1.5,8)% - \psframe[linestyle=none,fillstyle=solid,% - fillcolor=ccopperd](-2.1,-.6)(12.5,-.2)% - \psline[linecolor=maroon,linewidth=.5pt](-2.1,-.21)(12.5,-.21)% - \psframe[linestyle=none,fillstyle=solid,% - fillcolor=ccopperl](-2.1,-2.3)(12.5,-.57)% - \psframe[linestyle=none,fillstyle=solid,% - fillcolor=maroon](-2.1,-2.2)(12.5,-2.3)% - \rput[lb](-1,9.7){% - \@ifundefined{HAP@NSNav}% - {\includegraphics[scale=.25]{AMLogo.eps}}% - {\Acrobatmenu{\HAP@NSNav}{\includegraphics[scale=.25]{AMLogo.eps}}}% - }% - \ifHAP@toc% - \rput[tr](3.7,-.8){\begin{minipage}[t]{2cm}\HAP@tsections\end{minipage}}% - \rput[tl](4.1,-.8){\begin{minipage}[t]{2cm}\HAP@tcontent\end{minipage}}% - \fi% - \HAP@PutLF{tl}{-0.95,-.35}% - \HAP@PutRF{tr}{8.6,-.35}% - \else% - \psframe[linestyle=none,fillstyle=solid,% - fillcolor=ccopperd](-2.1,-1.5)(12.5,-.5)% - \psframe[linestyle=none,fillstyle=gradient,gradbegin=ccopperl,% - gradend=white,gradmidpoint=1,gradangle=90](-2.1,7.65)(12.5,9.0) - \rput[lb](-1.4,7.2){% - \@ifundefined{HAP@NSNav}% - {\includegraphics[scale=.25]{AMLogo.eps}}% - {\Acrobatmenu{\HAP@NSNav}{\includegraphics[scale=.25]{AMLogo.eps}}}% - }% - \psline[linecolor=maroon,linewidth=.5pt](-2.1,-.51)(12.5,-.51)% - \HAP@PutLF{tl}{-1.65,-.9}% - \HAP@PutRF{tr}{11.35,-.9}% - \fi% - {#1}}% - -\ifHAP@portrait - \newcommand{\HAPR@titleSlide}{\NewSlideStyle[8.4cm]{t}{3.85,2.4}{TitleSlide}} - \newcommand{\HAPR@normalSlide}{\NewSlideStyle[7.8cm]{tl}{.77,4}{NormalSlide}} - \newcommand{\HAPR@wideSlide}{\NewSlideStyle[8.3cm]{tl}{-0.5,4}{SpecialSlide}} - \newcommand{\slidetitle}[1]{\rput[Bl](.77,4.9){\fontTitle{\textsl{#1}}}} -\else - \newcommand{\HAPR@titleSlide}{\NewSlideStyle[11cm]{t}{4.67,2.4}{TitleSlide}} - \newcommand{\HAPR@normalSlide}{\NewSlideStyle[9.78cm]{tl}{.77,3.7}{NormalSlide}} - \newcommand{\HAPR@wideSlide}{\NewSlideStyle[12.3cm]{tl}{-1.4,3.3}{SpecialSlide}} - \newcommand{\slidetitle}[1]{\rput[Bl](.77,4.4){\fontTitle{\textsl{#1}}}} -\fi - -% List item definitions -\RequirePackage{pifont} -\myitem{1}{\ifHAP@active\maroon\fi\raisebox{1pt}{\fontsize{6pt}{6pt}\selectfont\ding{108}}} -\myitem{2}{\ifHAP@active\maroon\fi\raisebox{1pt}{\fontsize{7pt}{7pt}\selectfont\ding{70}}} -\myitem{3}{\ifHAP@active\maroon\fi\raisebox{1pt}{\fontsize{5pt}{5pt}\selectfont\ding{110}}} - -% Style of table of contents entries -\newcommand{\HAP@tline}[1]{\ding{118}\,\parbox[t]{1.7cm}{\raggedright#1}} -\newcommand{\HAP@tlineonly}[1]{\parbox[t]{1.7cm}{\raggedright#1}} -\newcommand{\HAP@tsection}[1]{\parbox[b]{1.9cm}{\raggedright#1}} -\newcommand{\HAP@tsectionm}{% - \ifHAP@portrait\else - \psline[linecolor=maroon,linewidth=.25pt](-.05,-.05)(2,-.05)% - \fi -} -\newcommand{\HAP@tsectiononly}[1]{\parbox{1.7cm}{\raggedright#1\,}} - -\endinput diff --git a/Master/texmf-dist/tex/latex/HA-prosper/Styles/Aggie/files.txt b/Master/texmf-dist/tex/latex/HA-prosper/Styles/Aggie/files.txt deleted file mode 100644 index 6d184ad103f..00000000000 --- a/Master/texmf-dist/tex/latex/HA-prosper/Styles/Aggie/files.txt +++ /dev/null @@ -1,9 +0,0 @@ -Files included in the 'Aggie' style package for HA-Prosper -=========================================================== -1) HAPAggie.sty -- the actual style file -2) AMLogo.eps -- Texas A&M logo. Replace with your own, if you so desire. -3) files.txt -- You're reading it. - -If you need help contact Jack Stalnaker at stalnaker@tamu.edu - ---Jack diff --git a/Master/texmf-dist/tex/latex/HA-prosper/Styles/Capsules/HAPcapsules.sty b/Master/texmf-dist/tex/latex/HA-prosper/Styles/Capsules/HAPcapsules.sty deleted file mode 100644 index fb0cd8e4f4b..00000000000 --- a/Master/texmf-dist/tex/latex/HA-prosper/Styles/Capsules/HAPcapsules.sty +++ /dev/null @@ -1,165 +0,0 @@ -%============================================================================== -% HA-prosper -- (HAPcapsules.sty) Style file -% A LaTeX class for creating slides -% Author: Mathieu Goutelle (mgoutell[at]users[dot]sourceforge[dot]net) -% UREC CNRS, France -% -% Copyright (c) 2004 Mathieu Goutelle -% All rights reserved. -% -% This program 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] -\ProvidesPackage{HAPcapsules}[2004/06/10] -\typeout{capsules style for HA-prosper} -\typeout{(c) 2004 Mathieu Goutelle, UREC CNRS, France} -\typeout{ } - -\ifHAP@portrait - \PackageError{HAPcapsules}{This template does not support portrait slides}% - {Sorry, no additional help}% -\fi - -% Required packages -\RequirePackage{amssymb} -\RequirePackage{palatino,mathpazo} - -% Colors -\newrgbcolor{mylightgreen}{0.6 0.8 0.6} -\newrgbcolor{mygreen}{0 0.4 0.4} -\newrgbcolor{myblue}{0 0.2 0.4} -\newrgbcolor{HAP@textc}{0 0.2 0.4} -\newrgbcolor{HAP@framecolor}{.17 .31 .44} - -% Highlighting definitions -\newrgbcolor{HAP@hcolor}{0 0.2 0.4} % Highlight frame color -\newrgbcolor{HAP@htcolor}{1 1 1} % Highlight text color - -% Font definitions -\FontTitle{\usefont{T1}{phv}{b}{n}\fontsize{14.4pt}{14pt}\selectfont\mygreen}% - {\usefont{T1}{phv}{b}{n}\fontsize{14.4pt}{14pt}\selectfont\mygreen} -\FontSubtitle{\usefont{T1}{phv}{m}{n}\fontsize{10pt}{10pt}\selectfont\myblue}% - {\usefont{T1}{phv}{m}{n}\fontsize{10pt}{10pt}\selectfont\myblue} -\FontText{\usefont{T1}{phv}{m}{n}\fontsize{10pt}{10pt}\selectfont\HAP@textc}% - {\usefont{T1}{phv}{m}{n}\fontsize{10pt}{10pt}\selectfont\HAP@textc} -\FontLeftFoot{\@fontTextColor\fontsize{4pt}{4pt}\selectfont}% - {\@fontTextColor\fontsize{4pt}{4pt}\selectfont} -\FontRightFoot{\@fontTextColor\fontsize{4pt}{4pt}\selectfont}% - {\@fontTextColor\fontsize{4pt}{4pt}\selectfont} - -\newcommand{\TitleSlide}[1]{ - \psframe[fillstyle=solid,fillcolor=mylightgreen,linestyle=none,linewidth=0pt](-2,-2)(5,9)% - \pscircle[fillstyle=solid,fillcolor=white,linestyle=none,linewidth=0pt](0.5,5.5){1}% - \psframe[fillstyle=solid,fillcolor=white,linestyle=none,linewidth=0pt](0.5,4.5)(5.41,6.5)% - - \pscircle[fillstyle=solid,fillcolor=myblue,linestyle=none,linewidth=0pt](11,1){0.2}% - \psframe[fillstyle=solid,fillcolor=myblue,linestyle=none,linewidth=0pt](4,0.8)(11,1.2)% - - \HAP@PutLF{tl}{-1.65,-.9}% - \HAP@PutRF{tr}{11.35,-.9}% - - {#1}} - -\newcommand{\NormalSlide}[1]{ - \psframe[fillstyle=solid,fillcolor=mylightgreen,linestyle=none,linewidth=0pt](-2,-2)(0.4,9)% - \psframe[fillstyle=solid,fillcolor=mylightgreen,linestyle=none,linewidth=0pt](0,7.5)(5,9)% - \pscircle[fillstyle=solid,fillcolor=white,linestyle=none,linewidth=0pt](0.9,7.5){0.5}% - \psframe[fillstyle=solid,fillcolor=white,linestyle=none,linewidth=0pt](0.9,7.49)(5.41,8)% - - \pscircle[fillstyle=solid,fillcolor=myblue,linestyle=none,linewidth=0pt](-0.1,6.8){0.2}% - \psframe[fillstyle=solid,fillcolor=myblue,linestyle=none,linewidth=0pt](-0.1,6.6)(9.4,7)% - - \ifHAP@toc% - \rput[lt](-1.7,6.25){\begin{minipage}[t]{2cm}\HAP@toc\end{minipage}}% - \fi% - - \HAP@PutLF{tl}{-1.65,-.9}% - \HAP@PutRF{tr}{11.35,-.9}% - - {#1}} - -\newcommand{\SpecialSlide}[1]{ - \psframe[fillstyle=solid,fillcolor=mylightgreen,linestyle=none,linewidth=0pt](-2,-2)(-1,9)% - \psframe[fillstyle=solid,fillcolor=mylightgreen,linestyle=none,linewidth=0pt](-1,7.5)(5,9)% - \pscircle[fillstyle=solid,fillcolor=white,linestyle=none,linewidth=0pt](-0.5,7.5){0.5}% - \psframe[fillstyle=solid,fillcolor=white,linestyle=none,linewidth=0pt](-0.5,7.49)(5.41,8)% - - \pscircle[fillstyle=solid,fillcolor=myblue,linestyle=none,linewidth=0pt](-1.5,6.8){0.2}% - \psframe[fillstyle=solid,fillcolor=myblue,linestyle=none,linewidth=0pt](-1.5,6.6)(9.4,7)% - - \HAP@PutLF{tl}{-1.65,-.9}% - \HAP@PutRF{tr}{11.35,-.9}% - - {#1}} - -\newcommand{\HAPR@titleSlide}{% - \NewSlideStyle[11.5cm]{tl}{-0.8,2.6}{TitleSlide}} -\newcommand{\HAPR@normalSlide}{% - \global\let\slidetitle=\normal@slidetitle - \NewSlideStyle[9.78cm]{tl}{1.17,2.7}{NormalSlide}} -\newcommand{\HAPR@wideSlide}{% - \global\let\slidetitle=\special@slidetitle - \NewSlideStyle[11.5cm]{tl}{-0.7,2.7}{SpecialSlide}} - -\def\special@slidetitle#1{\rput[lb](-0.8,3.6){% - \parbox{11.5cm}{\fontTitle{\mygreen\baselineskip=0pt #1}}}}% -\def\normal@slidetitle#1{\rput[lb](0.6,3.6){% - \parbox{10.7cm}{\fontTitle{\mygreen\baselineskip=0pt #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}% - \vskip2em - \ifx\@Subtitle\@empty\else - {\mbox{}\hfill - \parbox{0.45\linewidth}{\raggedleft - \ifinColor\@fontSubtitleColor\else\@fontSubtitleBW\fi\@Subtitle\par}% - \vskip1em - } - \fi - {\ifinColor\@fontAuthorColor\else\@fontAuthorBW\fi - \begin{tabular}[t]{c}\@author\end{tabular}\par}% - \vfill - \end{center}% - \end{slide}% -} - -\myitem{1}{\scriptsize\raisebox{1pt}{\ensuremath{\blacksquare}}} -\myitem{2}{\scriptsize\raisebox{1pt}{\ensuremath{\blacklozenge}}} -\myitem{3}{\scriptsize\raisebox{1pt}{\ensuremath{\bullet}}} - -% Style of table of contents entries -\newcommand{\HAP@tline}[1]{\guillemotright\,#1} -\newcommand{\HAP@tsectionm}{\psline[linecolor=myblue,linewidth=.25pt](-.05,-.05)(2,-.05)} - -\endinput - -%%% Local Variables: -%%% mode: latex -%%% TeX-master: t -%%% End: diff --git a/Master/texmf-dist/tex/latex/HA-prosper/Styles/Ciment/HAPciment.sty b/Master/texmf-dist/tex/latex/HA-prosper/Styles/Ciment/HAPciment.sty deleted file mode 100644 index 96dc3a3c2fe..00000000000 --- a/Master/texmf-dist/tex/latex/HA-prosper/Styles/Ciment/HAPciment.sty +++ /dev/null @@ -1,126 +0,0 @@ -%============================================================================== -% HA-prosper -- (HAPciment.sty) Style file -% A LaTeX class for creating slides -% Author: Mathieu Goutelle (mgoutell[at]users[dot]sourceforge[dot]net) -% UREC CNRS, France -% -% Copyright (c) 2004 Mathieu Goutelle -% All rights reserved. -% -% This program 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] -\ProvidesPackage{HAPciment}[2004/06/17] -\typeout{ciment style for HA-prosper} -\typeout{(c) 2004 Mathieu Goutelle, UREC CNRS, France} -\typeout{ } - -\ifHAP@portrait - \PackageError{HAPcapsules}{This template does not support portrait slides}% - {Sorry, no additional help}% -\fi - -% Required packages -\RequirePackage{amssymb} -\RequirePackage{semhelv,mathpazo} -\RequirePackage{multido} - -% Colors -\newrgbcolor{mydarkred}{0.7 0.1 0.1} -\newrgbcolor{mydarkgray}{0.2 0.2 0.2} -\newrgbcolor{mylightgray}{0.7 0.7 0.7} -\newrgbcolor{HAP@textc}{0 0 0} -\newrgbcolor{HAP@framecolor}{0.2 0.2 0.2} - -\newrgbcolor{HAP@hcolor}{0.7 0.1 0.1} % Highlight frame color -\newrgbcolor{HAP@htcolor}{1 1 1} % Highlight text color - -% The fonts -\FontTitle{% - \usefont{T1}{phv}{b}{n}\fontsize{14.4pt}{14.4pt}\selectfont\mydarkred}{% - \usefont{T1}{phv}{b}{n}\fontsize{14.4pt}{14.4pt}\selectfont\mydarkred} -\FontText{% - \usefont{T1}{phv}{m}{n}\fontsize{10pt}{10pt}\selectfont\black}{% - \usefont{T1}{phv}{m}{n}\fontsize{10pt}{10pt}\selectfont\black} - -\def\@fontSubtitleColor{\@fontTitleColor\fontsize{14pt}{14pt}\selectfont\itshape} - -\FontLeftFoot{\@fontTextColor\fontsize{4pt}{4pt}\selectfont\mydarkgray}% - {\@fontTextColor\fontsize{4pt}{4pt}\selectfont\mydarkgray} -\FontRightFoot{\@fontTextColor\fontsize{4pt}{4pt}\selectfont\mydarkgray}% - {\@fontTextColor\fontsize{4pt}{4pt}\selectfont\mydarkgray} - -% Positionning of the title of a slide. -\newlength{\CimentTitleLength} -\setlength{\parindent}{0pt} -\def\slidetitle#1{% - \rput[lt](-0.8,4.8){% - \parbox[t]{11cm}{% - \settowidth{\CimentTitleLength}{\fontTitle{#1}}% - \addtolength{\CimentTitleLength}{0.1cm}% - {\fontTitle{#1}}\\% - \psline[linewidth=3pt,linecolor=mydarkred](-0.05,0.4)(\CimentTitleLength,0.4)% - \psline[linewidth=1pt,linecolor=mydarkred](\CimentTitleLength,0.424)(12.1,0.424)% - }% - }% - \null\\[-1.2cm]% -} - -\newcommand{\TitleSlide}[1]{ - \multirput(0,2pt){160}{\psline[linecolor=mylightgray,linewidth=0.5pt](-2,-2)(13,-2)}% - - \psline[linewidth=1pt,linecolor=mydarkred](-1.5,-0.8)(11.4,-0.8)% - \HAP@PutLF{tl}{-1.45,-.9}% - \HAP@PutRF{tr}{11.35,-.9}% - - {#1}} - -\newcommand{\NormalSlide}[1]{ - \multirput(0,2pt){160}{\psline[linecolor=mylightgray,linewidth=0.5pt](-2,-2)(13,-2)}% - \psframe[fillstyle=solid,fillcolor=mylightgray,linestyle=none,linewidth=0pt](-2,-0.17)(0.4,7.15)% - \ifHAP@toc% - \rput[lt](-1.7,7){\begin{minipage}[t]{2cm}\HAP@toc\end{minipage}}% - \fi% - - \psline[linewidth=1pt,linecolor=mydarkred](-1.5,-0.8)(11.4,-0.8)% - \HAP@PutLF{tl}{-1.45,-.9}% - \HAP@PutRF{tr}{11.35,-.9}% - - {#1}} - -\newcommand{\SpecialSlide}[1]{ - \multirput(0,2pt){160}{\psline[linecolor=mylightgray,linewidth=0.5pt](-2,-2)(13,-2)}% - - \psline[linewidth=1pt,linecolor=mydarkred](-1.5,-0.8)(11.4,-0.8)% - \HAP@PutLF{tl}{-1.45,-.9}% - \HAP@PutRF{tr}{11.35,-.9}% - - {#1}} - -% Style of table of contents entries -\newcommand{\HAP@tline}[1]{\guillemotright\,#1} -\newcommand{\HAP@tsectionm}{\psline[linecolor=mydarkred,linewidth=.25pt](-.05,-.05)(2,-.05)} - -\myitem{1}{\raisebox{1pt}{\scriptsize\ensuremath{\blacksquare}}} -\myitem{2}{\scriptsize\ensuremath{\blacklozenge}} -\myitem{3}{\raisebox{1pt}{\scriptsize\ensuremath{\bullet}}} - -\newcommand{\HAPR@titleSlide}{\NewSlideStyle[12.3cm]{tl}{-1,2.75}{TitleSlide}} -\newcommand{\HAPR@normalSlide}{\NewSlideStyle[9.78cm]{tl}{1.17,2.7}{NormalSlide}} -\newcommand{\HAPR@wideSlide}{\NewSlideStyle[12.3cm]{tl}{-1.2,2.7}{SpecialSlide}} - -% \NewSlideStyle{t}{5.3,2.9}{CimentFrame} - -\endinput - -%%% Local Variables: -%%% mode: latex -%%% TeX-master: t -%%% End: diff --git a/Master/texmf-dist/tex/latex/HA-prosper/Styles/Fyma/HAPFyma.sty b/Master/texmf-dist/tex/latex/HA-prosper/Styles/Fyma/HAPFyma.sty deleted file mode 100644 index ef8e20357a1..00000000000 --- a/Master/texmf-dist/tex/latex/HA-prosper/Styles/Fyma/HAPFyma.sty +++ /dev/null @@ -1,352 +0,0 @@ -%============================================================================== -% -% HAPFyma -- style file for use with HA-prosper. -% -% Created by: Laurent Jacques -% http://www.fyma.ucl.ac.be/~ljacques -% Institute of Theoretical Physics -% Universiti catholique de Louvain, Belgium -% -% Copyright (c) 2003-2004 Hendri Adriaens. All rights reserved. -% -% This program 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. -% -% This program consists of the files listed in files.txt present in this package. -% -%============================================================================== -% Changelog: -% -% V.1.1: -% * Adapting the code to the definition of \HAP@hltocentry and -% \HAP@twidth -% * Adapting code to definition of \HAP@tsectionm -% * Adding parbox in the slide title to cut very long titles. This -% uses the definition of the new length \FymaMaxTitleLength which is -% adapted to the slide format and to the presence of toc. -% * Removing the filled rectangle surrounding selected toc entriy and -% replacing it by a simple red coloring of the text. -% * Removing \dblue from \myitem to allow gray coloring when items are -% deactived -% * Adding missing gradient (in comparison with the first PPRFyma) -% * Raising the previous parbox for tsection to obtain a well placed -% horizontal rule. -% * Placing a parbox in \HAP@tline for long material (like in the -% Aggie style). This avoids them to exceed the toc width on slide. -% -% V.1.0: intial release added to HA-prosper 4.1 - -\NeedsTeXFormat{LaTeX2e}[1995/12/01] -\ProvidesPackage{HAPFyma}[2004/05/16] -\typeout{Fyma style for HA-prosper} -\typeout{(c) 2003-2004 Laurent Jacques, FYMA/UCL, Belgium} -\typeout{Package version: 1.1} -\typeout{ } - -\ifHAP@portrait - \PackageError{HAPFyma}{This template does not support portrait slides}% - {Sorry, no additional help}% -\fi% - -% Controlling the a4paper possibility by defining the condition -% \ifFymaAFourPaper. -% User has just to write \FymaAFour in his preamble -% to obtain the A4 support, otherwise, the us letter -% format is used. -\newif\ifFymaAFourPaper -\def\FymaAFour{\FymaAFourPapertrue} -\def\FymaNotAFour{\FymaAFourPaperfalse} - -% Color definitions -\newrgbcolor{ddblue}{0.06 0.25 0.41} -\newrgbcolor{HAP@textc}{0.06 0.25 0.44} -\newrgbcolor{dblue}{0.14 0.34 0.55} -\newrgbcolor{lblue}{0.24 0.45 0.70} -\newrgbcolor{llblue}{0.43 0.61 0.84} -\newrgbcolor{lllblue}{0.88 0.95 1.00} -\newrgbcolor{llllblue}{0.98 0.99 1.00} -\newrgbcolor{HAP@framecolor}{0.06 0.25 0.41} - -% Highlighting definitions -\newrgbcolor{HAP@hcolor}{0.14 0.34 0.55} % Highlight frame color in TOC -\newrgbcolor{HAP@htcolor}{1 0.15 0.24} % Highlight text color in TOC - -% Font definitions -\FontTitle{\usefont{T1}{phv}{b}{n}\fontsize{12.4pt}{12pt}\selectfont\dblue}% - {\usefont{T1}{phv}{b}{n}\fontsize{12.4pt}{12pt}\selectfont\dblue} -\FontText{\usefont{T1}{phv}{m}{n}\fontsize{10pt}{10pt}\selectfont\HAP@textc}% - {\usefont{T1}{phv}{m}{n}\fontsize{10pt}{10pt}\selectfont\HAP@textc} -\FontLeftFoot{\@fontTextColor\fontsize{4pt}{4pt}\selectfont}% - {\@fontTextColor\fontsize{4pt}{4pt}\selectfont} -\FontRightFoot{\@fontTextColor\fontsize{4pt}{4pt}\selectfont}% - {\@fontTextColor\fontsize{4pt}{4pt}\selectfont} - -% General function to create the complete border set of the FYMA -% style. Used by TitleSlide, NormalSlide, PartSlide, etc... -\RequirePackage{pst-grad} -\newcommand{\MakeFymaMainGradient}{% -\ifFymaAFourPaper% -\psframe[linestyle=none, fillstyle=gradient, - gradbegin=lllblue,gradend=white,gradmidpoint=0](-1.37,-0.77)(11.97,8.47)% -\else -\psframe[linestyle=none, fillstyle=gradient, - gradbegin=lllblue,gradend=white,gradmidpoint=0](-1.37,-0.77)(11.125,8.47)% -\fi -} - -\newcommand{\MakeFymaFrame}{% -\ifFymaAFourPaper% -% Top line -\psframe[linestyle=none,fillstyle=solid,linewidth=2pt, -fillcolor=lblue](-1.5,8.5)(12.1,8.4)% -% Top left cross -\psframe[linestyle=none,fillstyle=solid,linewidth=2pt, -fillcolor=lblue](-1.4,8.6)(-1.3,8.25)% -% Top right cross -\psframe[linestyle=none,fillstyle=solid,linewidth=2pt, -fillcolor=lblue](11.9,8.6)(12.0,8.25)% -% Bottom line -\psframe[linestyle=none,fillstyle=solid,linewidth=2pt, -fillcolor=lblue](-1.5,-0.8)(12.1,-0.7)% -% Bottom left cross -\psframe[linestyle=none,fillstyle=solid,linewidth=2pt, -fillcolor=lblue](-1.4,-0.9)(-1.3,-0.55)% -% Bottom right cross -\psframe[linestyle=none,fillstyle=solid,linewidth=2pt, -fillcolor=lblue](11.9,-0.9)(12,-0.55)% -\HAP@PutLF{tl}{-1.22,-.9}% -\HAP@PutRF{tr}{11.7,-.9}% -\else %%% of \ifFymaAFourPaper -% Top line -\psframe[linestyle=none,fillstyle=solid,linewidth=2pt, -fillcolor=lblue](-1.5,8.5)(11.25,8.4)% -% Top left cross -\psframe[linestyle=none,fillstyle=solid,linewidth=2pt, -fillcolor=lblue](-1.4,8.6)(-1.3,8.25)% -% Top right cross -\psframe[linestyle=none,fillstyle=solid,linewidth=2pt, -fillcolor=lblue](11.05,8.6)(11.15,8.25)% -% Bottom line -\psframe[linestyle=none,fillstyle=solid,linewidth=2pt, -fillcolor=lblue](-1.5,-0.8)(11.25,-0.7)% -% Bottom left cross -\psframe[linestyle=none,fillstyle=solid,linewidth=2pt, -fillcolor=lblue](-1.4,-0.9)(-1.3,-0.55)% -% Bottom right cross -\psframe[linestyle=none,fillstyle=solid,linewidth=2pt, -fillcolor=lblue](11.05,-0.9)(11.15,-0.55)% -\HAP@PutLF{tl}{-1.22,-.9}% -\HAP@PutRF{tr}{10.85,-.9}% -\fi% -} - -\newcommand{\TitleSlide}[1]{% -\MakeFymaMainGradient% -\MakeFymaFrame% -{#1}}% - -\newcommand{\NormalSlide}[1]{% -\MakeFymaMainGradient% -\ifHAP@toc% -% Vertical left band in very light blue -\psframe[linestyle=none, fillstyle=gradient, - gradbegin=white,gradend=lllblue,gradmidpoint=0](-1.4,8.5)(0.8,-0.8)% -% The TOC -\rput[lt](-1.27,6.55){\begin{minipage}[t]{2cm}\HAP@toc\end{minipage}}% -\fi% -\MakeFymaFrame% -{#1}}% - -\newcommand{\WideSlide}[1]{% -\MakeFymaMainGradient% -\MakeFymaFrame% -{#1}}% - -\newcommand{\PartSlide}[1]{% -% Drawing four bands before the borders -\ifFymaAFourPaper -\psframe[linestyle=none,fillstyle=solid,linewidth=2pt, -fillcolor=llllblue](-1.4,8.5)(12,5.9)% -\psframe[linestyle=none,fillstyle=solid,linewidth=2pt, -fillcolor=llllblue](-1.4,-0.8)(12,2.8)% -\psframe[linestyle=none,fillstyle=solid,linewidth=2pt, -fillcolor=llllblue](-1.4,8.5)(1.7,-0.8)% -\psframe[linestyle=none,fillstyle=solid,linewidth=2pt, -fillcolor=llllblue](8.9,8.5)(12,-0.8)% -% Target around title -% Top line -\psframe[linestyle=none,fillstyle=solid,linewidth=2pt, -fillcolor=lblue](1.5,6)(9.1,5.9)% -% Top left cross -\psframe[linestyle=none,fillstyle=solid,linewidth=2pt, -fillcolor=lblue](1.6,6.1)(1.7,5.75)% -% Top right cross -\psframe[linestyle=none,fillstyle=solid,linewidth=2pt, -fillcolor=lblue](8.9,6.1)(9.0,5.75)% -% Bottom line -\psframe[linestyle=none,fillstyle=solid,linewidth=2pt, -fillcolor=lblue](1.5,2.7)(9.1,2.8)% -% Bottom left cross -\psframe[linestyle=none,fillstyle=solid,linewidth=2pt, -fillcolor=lblue](1.6,2.6)(1.7,2.95)% -% Bottom right cross -\psframe[linestyle=none,fillstyle=solid,linewidth=2pt, -fillcolor=lblue](8.9,2.6)(9,2.95)% -\else %%% of \ifFymaAFourPaper -\psframe[linestyle=none,fillstyle=solid,linewidth=2pt, -fillcolor=llllblue](-1.4,8.5)(11.25,5.9)% -\psframe[linestyle=none,fillstyle=solid,linewidth=2pt, -fillcolor=llllblue](-1.4,-0.8)(11.25,2.8)% -\psframe[linestyle=none,fillstyle=solid,linewidth=2pt, -fillcolor=llllblue](-1.4,8.5)(1.7,-0.8)% -\psframe[linestyle=none,fillstyle=solid,linewidth=2pt, -fillcolor=llllblue](8.4,8.5)(11.25,-0.8)% -% Target around title -% Top line -\psframe[linestyle=none,fillstyle=solid,linewidth=2pt, -fillcolor=lblue](1.5,6)(8.6,5.9)% -% Top left cross -\psframe[linestyle=none,fillstyle=solid,linewidth=2pt, -fillcolor=lblue](1.6,6.1)(1.7,5.75)% -% Top right cross -\psframe[linestyle=none,fillstyle=solid,linewidth=2pt, -fillcolor=lblue](8.4,6.1)(8.5,5.75)% -% Bottom line -\psframe[linestyle=none,fillstyle=solid,linewidth=2pt, -fillcolor=lblue](1.5,2.7)(8.6,2.8)% -% Bottom left cross -\psframe[linestyle=none,fillstyle=solid,linewidth=2pt, -fillcolor=lblue](1.6,2.6)(1.7,2.95)% -% Bottom right cross -\psframe[linestyle=none,fillstyle=solid,linewidth=2pt, -fillcolor=lblue](8.4,2.6)(8.5,2.95)% -\fi% -\MakeFymaFrame% -{#1}}% - -%% Embedding Title Slide -\newcommand{\HAPR@titleSlide}{ -\ifFymaAFourPaper -\NewSlideStyle[12.3cm]{t}{5.4,2.9}{TitleSlide}% -\else -\NewSlideStyle[12.3cm]{t}{4.9,2.9}{TitleSlide}% -\fi -} - -%% Embedding NormalSlide -\newcommand{\HAPR@normalSlide}{ -\ifHAP@toc -\ifFymaAFourPaper -\NewSlideStyle[10cm]{tl}{1.2,3.6}{NormalSlide} -\else -\NewSlideStyle[9.5cm]{tl}{1.2,3.6}{NormalSlide} -\fi -\else -\ifFymaAFourPaper -\NewSlideStyle[12.8cm]{tl}{-1.1,3.6}{NormalSlide} -\else -\NewSlideStyle[11.8cm]{tl}{-1.1,3.6}{NormalSlide} -\fi -\fi}% - -%% Embedding WideSlide -\newcommand{\HAPR@wideSlide}{ -\ifFymaAFourPaper -\NewSlideStyle[12.3cm]{tl}{-1,3.6}{WideSlide} -\else -\NewSlideStyle[11.8cm]{tl}{-1.2,3.6}{WideSlide} -\fi -} - -%% Redefining wideslide environment to redefine \slidetitle -\AtBeginDocument{% - \def\wideslide{\@ifnextchar[\HAP@wideslide{\HAP@wideslide[]}}% - \def\HAP@wideslide[#1]#2{% - \def\slidetitle##1{% - \rput[lt](-1.2,4.5){% - \settowidth{\FymaTitleLength}{\fontTitle{##1}}% - \addtolength{\FymaTitleLength}{0.2cm}% - \psframe[linestyle=none,fillstyle=solid,linewidth=2pt,% - fillcolor=lblue](-0.05,-0.2)(\FymaTitleLength,-0.25)% - {\ddblue \fontTitle{##1}}% - \ \\[-2mm]% - }% - }% - \HAPR@wideSlide - \begin{slide}[#1]{#2}% - }% - \def\endwideslide{\end{slide}\HAPR@normalSlide}% -} - -%% Embedding Part Slide -\newcommand{\HAPR@partSlide}{ -\ifFymaAFourPaper -\NewSlideStyle[12.3cm]{tl}{-1.1,2.5}{PartSlide}% -\else %%% of \ifFymaAFourPaper -\NewSlideStyle[11.8cm]{tl}{-1.1,2.5}{PartSlide}% -\fi -} -\HAPsetup{template=partslide} - -% Slide title definition -\newlength{\FymaTitleLength} -\newlength{\FymaMaxTitleLength} -\newcommand{\slidetitle}[1]{% - \ifHAP@toc - \ifFymaAFourPaper - \setlength{\FymaMaxTitleLength}{10.5cm} - \else - \setlength{\FymaMaxTitleLength}{9.5cm} - \fi - \rput[lt](1,4.5){% - \settowidth{\FymaTitleLength}{\fontTitle{#1}} - \ifdim \FymaTitleLength > \FymaMaxTitleLength - \setlength{\FymaTitleLength}{\FymaMaxTitleLength}% - \fi - \addtolength{\FymaTitleLength}{0.2cm}% - \psframe[linestyle=none,fillstyle=solid,linewidth=2pt,% - fillcolor=lblue](-0.05,-0.2)(\FymaTitleLength,-0.25)% - {\ddblue \fontTitle{\parbox[b]{\FymaMaxTitleLength}{#1}}}% - \ \\[-2mm]% - }% - \else - \ifFymaAFourPaper - \setlength{\FymaMaxTitleLength}{12.7cm} - \else - \setlength{\FymaMaxTitleLength}{11.7cm} - \fi - \rput[lt](-1.1,4.5){% - \settowidth{\FymaTitleLength}{\fontTitle{#1}}% - \ifdim \FymaTitleLength > \FymaMaxTitleLength - \setlength{\FymaTitleLength}{\FymaMaxTitleLength}% - \fi - \addtolength{\FymaTitleLength}{0.2cm}% - \psframe[linestyle=none,fillstyle=solid,linewidth=2pt,% - fillcolor=lblue](-0.05,-0.2)(\FymaTitleLength,-0.25)% - {\ddblue \fontTitle{\parbox[b]{\FymaMaxTitleLength}{#1}}}% - \ \\[-2mm]% - }% - \fi -} - -% List item definitions -\myitem{1}{\raisebox{1pt}{\fontsize{7pt}{7pt}\ensuremath{\bullet}}} -\myitem{2}{\raisebox{1pt}{\fontsize{7pt}{7pt}\ensuremath{\circ}}} -\myitem{3}{\raisebox{1pt}{\fontsize{5pt}{5pt}\ensuremath{\circ}}} - -% Style of table of contents entries -\newcommand{\HAP@tline}[1]{\ensuremath{\bullet}\,% - \parbox[t]{1.7cm}{\raggedright#1}} -\newcommand{\HAP@tsectionm}{% - \psline[linecolor=dblue,linewidth=.25pt](-.05,-.05)(2,-.05)% -} -\def\HAP@hltocentry{\parbox[b]{\HAP@twidth}{\raggedright{\HAP@htcolor\HAP@toctext}}} -\newcommand{\HAP@tsectionskip}{2em} -\newcommand{\HAP@titemskip}{0em} - -\endinput diff --git a/Master/texmf-dist/tex/latex/HA-prosper/Styles/HA/HAPHA.sty b/Master/texmf-dist/tex/latex/HA-prosper/Styles/HA/HAPHA.sty deleted file mode 100644 index 7be406d6877..00000000000 --- a/Master/texmf-dist/tex/latex/HA-prosper/Styles/HA/HAPHA.sty +++ /dev/null @@ -1,185 +0,0 @@ -%============================================================================== -% -% HAPHA -- style file for use with HA-prosper. -% -% Created by: Hendri Adriaens -% http://center.uvt.nl/phd_stud/adriaens -% Center for Economic Research -% Tilburg University, the Netherlands -% -% Copyright (c) 2003-2004 Hendri Adriaens. All rights reserved. -% -% This program 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. -% -% This program consists of the files listed in files.txt present in this package. -% -%============================================================================== - -\NeedsTeXFormat{LaTeX2e}[1995/12/01] -\ProvidesPackage{HAPHA}[2004/05/16] -\typeout{`HA' style for HA-prosper} -\typeout{(c) 2003-2004 Hendri Adriaens, Tilburg, the Netherlands} -\typeout{Package version: 1.5} -\typeout{ } - -% Color definitions -\newrgbcolor{ddblue}{.17 .31 .44} -\newrgbcolor{HAP@textc}{.17 .31 .44} -\newrgbcolor{dblue}{.19 .44 .61} -\newrgbcolor{lblue}{.75 .85 .92} -\newrgbcolor{llblue}{.90 .95 .98} -\newrgbcolor{HAP@framecolor}{.17 .31 .44} - -% Highlighting definitions -\newrgbcolor{HAP@hcolor}{.17 .31 .44} % Highlight frame color -\newrgbcolor{HAP@htcolor}{.90 .95 .98} % Highlight text color - -% Font definitions -\FontTitle{\usefont{T1}{phv}{b}{n}\fontsize{14.4pt}{14pt}\selectfont\ddblue}% - {\usefont{T1}{phv}{b}{n}\fontsize{14.4pt}{14pt}\selectfont\ddblue} -\FontText{\usefont{T1}{phv}{m}{n}\fontsize{10pt}{10pt}\selectfont\HAP@textc}% - {\usefont{T1}{phv}{m}{n}\fontsize{10pt}{10pt}\selectfont\HAP@textc} -\FontLeftFoot{\@fontTextColor\fontsize{4pt}{4pt}\selectfont}% - {\@fontTextColor\fontsize{4pt}{4pt}\selectfont} -\FontRightFoot{\@fontTextColor\fontsize{4pt}{4pt}\selectfont}% - {\@fontTextColor\fontsize{4pt}{4pt}\selectfont} - -% Slide style definitions -\newcommand{\TitleSlide}[1]{% - \ifHAP@portrait% - \psframe[linestyle=none,fillstyle=solid,% - fillcolor=llblue](-2.1,-2.3)(12.7,8.4)% - \psframe[linestyle=none,fillstyle=solid,% - fillcolor=ddblue](-2.1,8.35)(12.5,8.4)% - \HAP@PutLF{tl}{-0.95,-.35}% - \HAP@PutRF{tr}{8.6,-.35}% - \else% - \psframe[linestyle=none,fillstyle=solid,% - fillcolor=llblue](-2.1,-2.1)(12.7,7.4)% - \psframe[linestyle=none,fillstyle=solid,% - fillcolor=ddblue](-2.1,7.35)(12.5,7.4)% - \HAP@PutLF{tl}{-1.65,-.9}% - \HAP@PutRF{tr}{11.35,-.9}% - \fi% - {#1}}% - -\newcommand{\NormalSlide}[1]{% - \ifHAP@portrait% - \psframe[linestyle=none,fillstyle=solid,% - fillcolor=llblue](-2.3,9.965)(.537,-.43)% - \psframe[linestyle=none,fillstyle=solid,% - fillcolor=llblue](-2.3,12)(12.5,9.935)% - \psframe[linestyle=none,fillstyle=solid,% - fillcolor=lblue](-2.1,-.6)(12.5,-.2)% - \psframe[linestyle=none,fillstyle=solid,% - fillcolor=llblue](-2.1,-2.3)(12.5,-.57)% - \psframe[linestyle=none,fillstyle=solid,% - fillcolor=dblue](-2.1,-2.2)(12.5,-2.3)% - \rput[lb](-2.3,9.95){% - \@ifundefined{HAP@NSNav}% - {\includegraphics[scale=.14]{flower.ps}}% - {\Acrobatmenu{\HAP@NSNav}{\includegraphics[scale=.14]{flower.ps}}}% - }% - \ifHAP@toc% - \rput[tr](3.7,-.8){\begin{minipage}[t]{2cm}\HAP@tsections\end{minipage}}% - \rput[tl](4.1,-.8){\begin{minipage}[t]{2cm}\HAP@tcontent\end{minipage}}% - \fi% - \HAP@PutLF{tl}{-0.95,-.35}% - \HAP@PutRF{tr}{8.6,-.35}% - \else% - \psframe[linestyle=none,fillstyle=solid,% - fillcolor=llblue](-2.3,7.72)(.537,-.43)% - \ifHAP@toc% - \rput[lt](-1.7,6.55){\begin{minipage}[t]{2cm}\HAP@toc\end{minipage}}% - \fi% - \psframe[linestyle=none,fillstyle=solid,% - fillcolor=llblue](-2.3,8.9)(12.5,7.685)% - \psframe[linestyle=none,fillstyle=solid,% - fillcolor=lblue](-2.1,-1.3)(12.5,-.4)% - \psframe[linestyle=none,fillstyle=solid,% - fillcolor=dblue](-2.1,-1.32)(12.5,-1.27)% - \rput[lb](-2.3,7.7){% - \@ifundefined{HAP@NSNav}% - {\includegraphics[scale=.14]{flower.ps}}% - {\Acrobatmenu{\HAP@NSNav}{\includegraphics[scale=.14]{flower.ps}}}% - }% - \HAP@PutLF{tl}{-1.65,-.9}% - \HAP@PutRF{tr}{11.35,-.9}% - \fi% - {#1}}% - -\newcommand{\SpecialSlide}[1]{% - \ifHAP@portrait% - \psframe[linestyle=none,fillstyle=solid,% - fillcolor=llblue](-2.3,9.965)(.537,-.43)% - \psframe[linestyle=none,fillstyle=solid,% - fillcolor=llblue](-2.3,12)(12.5,9.935)% - \psframe[linestyle=none,fillstyle=solid,% - fillcolor=lblue](-2.1,-.6)(12.5,-.2)% - \psframe[linestyle=none,fillstyle=solid,% - fillcolor=llblue](-2.1,-2.3)(12.5,-.57)% - \psframe[linestyle=none,fillstyle=solid,% - fillcolor=dblue](-2.1,-2.2)(12.5,-2.3)% - \rput[lb](-2.3,9.95){% - \@ifundefined{HAP@NSNav}% - {\includegraphics[scale=.14]{flower.ps}}% - {\Acrobatmenu{\HAP@NSNav}{\includegraphics[scale=.14]{flower.ps}}}% - }% - \ifHAP@toc% - \rput[tr](3.7,-.8){\begin{minipage}[t]{2cm}\HAP@tsections\end{minipage}}% - \rput[tl](4.1,-.8){\begin{minipage}[t]{2cm}\HAP@tcontent\end{minipage}}% - \fi% - \HAP@PutLF{tl}{-0.95,-.35}% - \HAP@PutRF{tr}{8.6,-.35}% - \else% - \psframe[linestyle=none,fillstyle=solid,% - fillcolor=llblue](-2.3,8.9)(12.5,7.685)% - \psframe[linestyle=none,fillstyle=solid,% - fillcolor=lblue](-2.1,-1.3)(12.5,-.4)% - \psframe[linestyle=none,fillstyle=solid,% - fillcolor=dblue](-2.1,-1.32)(12.5,-1.27)% - \rput[lb](-2.3,7.7){% - \@ifundefined{HAP@NSNav}% - {\includegraphics[scale=.14]{flower.ps}}% - {\Acrobatmenu{\HAP@NSNav}{\includegraphics[scale=.14]{flower.ps}}}% - }% - \HAP@PutLF{tl}{-1.65,-.9}% - \HAP@PutRF{tr}{11.35,-.9}% - \fi% - {#1}}% - -\ifHAP@portrait - \newcommand{\HAPR@titleSlide}{\NewSlideStyle[8.4cm]{t}{3.85,2.4}{TitleSlide}} - \newcommand{\HAPR@normalSlide}{\NewSlideStyle[7.8cm]{tl}{.77,4}{NormalSlide}} - \newcommand{\HAPR@wideSlide}{\NewSlideStyle[7.8cm]{tl}{.77,4}{SpecialSlide}} - \newcommand{\slidetitle}[1]{\rput[Bl](.77,4.9){\fontTitle{#1}}} -\else - \newcommand{\HAPR@titleSlide}{\NewSlideStyle[11cm]{t}{4.67,2.4}{TitleSlide}} - \newcommand{\HAPR@normalSlide}{\NewSlideStyle[9.78cm]{tl}{.77,3}{NormalSlide}} - \newcommand{\HAPR@wideSlide}{\NewSlideStyle[12.3cm]{tl}{-1.4,3}{SpecialSlide}} - \newcommand{\slidetitle}[1]{\rput[Bl](.77,4.4){\fontTitle{#1}}} -\fi - -% List item definitions -\RequirePackage{pifont} -\myitem{1}{\raisebox{1pt}{\fontsize{7pt}{7pt}\selectfont\ding{110}}} -\myitem{2}{\raisebox{1pt}{\fontsize{7pt}{7pt}\selectfont\ding{117}}} -\myitem{3}{\raisebox{1pt}{\fontsize{5pt}{5pt}\selectfont\ding{110}}} - -% Style of table of contents entries -\newcommand{\HAP@tline}[1]{\ding{108}\,\parbox[t]{1.88cm}{\raggedright#1}} -\newcommand{\HAP@tlineonly}[1]{\parbox{2cm}{\raggedright#1}} -\newcommand{\HAP@tsectionm}{% - \ifHAP@portrait\else - \psline[linecolor=ddblue,linewidth=.25pt](-.05,-.05)(2.04,-.05)% - \fi -} -\newcommand{\HAP@tsectiononly}[1]{\parbox{2cm}{\raggedleft#1}} - -\endinput diff --git a/Master/texmf-dist/tex/latex/HA-prosper/Styles/HA/flower.ps b/Master/texmf-dist/tex/latex/HA-prosper/Styles/HA/flower.ps deleted file mode 100644 index 71683ca5cd9..00000000000 --- a/Master/texmf-dist/tex/latex/HA-prosper/Styles/HA/flower.ps +++ /dev/null @@ -1,109 +0,0 @@ -%!PS-Adobe-3.0 EPSF-3.0 -%%Creator: jpeg2ps V1.8 by Thomas Merz -%%Title: flower.jpg -%%CreationDate: Thu Sep 04 15:25:36 2003 -%%BoundingBox: 20 20 592 284 -%%DocumentData: Clean7Bit -%%LanguageLevel: 2 -%%EndComments -%%BeginProlog -%%EndProlog -%%Page: 1 1 -/languagelevel where {pop languagelevel 2 lt}{true} ifelse { - (JPEG file 'flower.jpg' needs PostScript Level 2!\n) dup print flush - /Helvetica findfont 20 scalefont setfont 100 100 moveto show showpage stop -} if -save -/RawData currentfile /ASCII85Decode filter def -/Data RawData << >> /DCTDecode filter def -20 20 translate -572.00 264.00 scale -/DeviceRGB setcolorspace -{ << /ImageType 1 - /Width 130 - /Height 60 - /ImageMatrix [ 130 0 0 -60 0 60 ] - /DataSource Data - /BitsPerComponent 8 - /Decode [0 1 0 1 0 1] - >> image - Data closefile - RawData flushfile - showpage - restore -} exec -s4IA0!"_al8O`[\!WW42!+Z'0s6K^t7!3!TGlRjF"98E%49,B]mJm__A8bpg!+`k -F!!!'"gAlm,"p>&3"U##5"U58;"U58@#R1J=$Od@L$OR4L&.AsU$k*OU$k!!*-(!sAf5#6P)2z!3i0a0iV'F%ECEM4R3JWWi>,8CHg_9kS*;\nkSU ->bX*1h2^q&HDh7!!EE,":553z!!*'3!WsT#&d1Kt'*[l6EIjf-16JiXdIBOJ1DJf -B,S^O`g&MN`!<<05!tbMt!:(f:P\/(]CAkV"H=Pldo3Re8T<1>XN3Z:X6s;cH_#n -are&,T53dks\9SG$Zl5G#oW3*g6DlV0*;Q"Dmm:LhSB?`Xim1@:M<4\dbIWfbJ8[ -Z2Wb>WrU:KT\H0AcE]4Cdt2ZEZ&_ci]542OhlYL#G%QbasVUdYZCKE>TE4bne-\m -o0'UR7FhZnKC`hAN((=`[JX\Ten:'QLe_S->qt>/VIqq];k^sGN?=?(11jG?2L/4 -W7kH4<'jZ3L0Lm6iA:*rD6ADd1-F5had59Rc$&74PFHU_$:WdN'UKH*;PJgW&?0f -L:kQ:F,7Va,q.+si!:`leK2B7)fp8+*T@=0e&dDf[;K3cF-6H85!(ke7N.Tqie]#_n[a2d+dl -ruE!Sd#6LZ44/YXl/2A\3%\P>][-6=c[dh+lVDWHFf!bIX"@l>A5*6TLtMg"R:WG -?mM0RZB=#r(bku*a2ujo88Mn2@QtXHjWN!@/g4/af(4*CF-4M4GkSZBi(0OE?K=' -"U+B8R1;)?rPnF#Lbq]]?!IL^g//JLP4DE1gZjBIGpu=m/Mbo;_P+SK6AF.G9u\Y -g7I'_EUSk&mT,U]UN5oTck)I;1%!,B#1.H;f5DRc;6+]C).$r8tB -En'kOLgG:MBN[b^oB#mDeVHmo[4@in*LWeQEe? -#J_dSJrLX*D^u\?emhGa)2f+PJfj"?>3]=;74hrrA:k'ffd%lP@c1G_NFT -pQVXJ>"Vh]*#/1QT%G$k2HTF98hGt+dt]f`,1&'dH+1/gjXs36d-QA<;Zh3=\3Y( -P'W%b-6c)O'5C>,r?KZ?FZhf"aXgE]]aX1E\>(K=MHR6LjI#/tl:3!"S+cORqR\A -1*?GfR(cCjBMj#WHU#G=EL\$E@!J7,4;7s0K1),:8_?m@49i`,/Er5RdQou4Kc8f -HG^[\)b4ZdOO>pVEb$\Y0/NNCfN<>]:1,VQTG,V+L5UbA-EN`h^qV9HNsJ81A,&g -0u$Z2P$OtRpPB2:kggek.%?2 -@CN^cAS=V%LrD!RE]l,V!,#hsGqAPQl&7!WFR-%NXrK^Q]Z-j]B7.R8q=Q6">`@RQD(F8)M3f]N -_OT$I6ZKh*?-pdCoiB9-l(7c'5-=j:u*WkVB<40-2mg4]nr<#6QJC6;_V_Q%W5b6 -[_ZI@)>V-69dM1-[KcGuFI=h)A9_F_e\FbU't4.[,m43!=m;m@Y(f6tj;B]FIYkh -<:?Y>d0H"+.Fp]eUEUcZ?Gu+o_7fH%46IBIe_s-B2,8DkZ&bID+O^%7.4dT, --.7m7ZI>$74c*\&Og)9/dbVe;^eMih&i/*[8F-BnoQ??A))SL6&:qmX0/Y8.e^*Tcrr?;$a$4n2PE*(@"i9EJ2Y?'N#U#o0Dd% -71(P.mfEI^fi1CE';%:$UInL@hLSAZq2>?B)V9f773#Sa%/fP(1PVKmU8, -3IZ0LT[.M6CTG-*R\2c-qQ3EOcNU=N<+"I&mt1jk`ssINg2nFk2OpG.[`q#,Yg[* -cD)S)(r0:r5&!^[32`2lU<.Wel=P'6+Hb:b'TF7=WSVmr&A,dDDBrL2d -q;"dK63LFYZEWWHLCIL-q+LA(TVk68^m4$V)\VB'%G76+4Xd`,(>/0WT?'9p=c0h -YH0D8;ld2piiDAIbA!@\(A'#?"7@F6-'E5kNr9+4dB`fAU?e@/'''e@4Ve>WTh-D -5PE@)uN'G6%g[4I(Sc7e&CZ,n;LK -gj^03#"laJpqCCQ7OYihZP3&NNKd1G.g`C/kC%1liOW#APUGo3@G@eBKeA%gk:UO -h)BVjCkQr>=K#_O]2+*V1.S]>INQCDlP -+mB/pMf3)H>>D,AN"^f5;*a^Ma@>uFk_ZL^UVnP62Y,2pBcKe0;9KeLRQ#7iZO." -N?lpZ9H9,bj7TVp[:&+!>q)tl(s-=A#>2DPm[c`O8Q@40LLA,Oekq%B;.C>4C -NcNs9UV;[e[@3Xo9(d89=t/O.j<&A;GQGZ)5q+tc7s<[Ou,Hb.?`ERdY62I4GM9i -[$o@;Q"Hg;T+E\3FE$9/Dn!S6,[/rS6BG$;QrLp%!%@)*o1*-^G(#S.,\!4bZLtb -/)kkAcdXcn7=VIpjp93n:_fg8.@2&gT*L_I=4V]'C60# -M=\-QTAfqA.?Yq47_/N8r5P(nO -.L4CaK6d1su\`=nTi*iR3^KLH>A.G#M@;DiF-K,8>8Qo(p5s[7TD'-)Va\HdmifAE)?G@Co^+'VpLO8t\pO.KNGaP>,7+*/'9`Gi4W$b/N\eT=ITr(@ -J'Y[4+hu,g[6hm,C85B*0C;,S8a3b%\iJ#bF2c]h630i_lEu:rf:QL`A0D_.7=Bm -FY,_21q>u!W-7[gW)0f$IE)CY,ZEp"=WE0M+;M?mY^4qaJ^iS[/U-eIe3R>njZn& -7"2$VUIjUP/gXXp?$Ma@"_VtHg0"KCM4[WAikYAhFl[92cO^^<#Q!*oeppg3MIVp -?X*K$].J=G6*k33!V^R7<&ZPS,Rb:]Q.7Ot$(_\QIirLLM:*j"2EfPVFRB>7*jc5 -/eBp@*fFdZ#V6!rRlYI/OgU'.S.:o@_D.cD0[qN*os>f3^,938+oC*_sdELLI/I0 --u:N!I8DJlO=+Z-72hS?LN29q`h\8PE:R%5(d(bmDHALPAR3S^!ec>#tg]onIcJ,%!dl` -]%l%#(_APEA]N/GW7TQ$`.qn=b#dBYXm7oHeoo5`i3pg0N04Me>H%`?W;-KA<`QF -GmpWZ!Y[grNkLoOB?>BS?P#sKQ?E\"9l\@jHgQ]8gEr@:L3n[5F2RDg'.0+I564l -noX/l&!o_J)"UGQoLLXM^`%GnLp?#rGhVe.L7d[NR?d"RW'2\f6[1'>VScBuT,X0 -.RaX-Tku^QtGu.0i]Q1-3SD:t';ZC@eGS8/s^EP;MY3Xts8f=q$!m!3E8aCOXhX/ -_hipL.[e+-*gF"nm*e$9F[qS=iu(Y<:-Fa)FKoIh[_4h"LVR8k^6&?p&,?St.%L;;4` -o:)q#%X7S:'r-L\Y4Oe]W^n`f1md:F-nO#E8X`IIf*UnF5;[lODZ7fdT:KeYf)^T -=`;X`$ -npG'aXliDYR_,9-htDtU\l>!F(LZ;R3,@gDYD,ODg88V[d@>J'kjKQf=Vg.>l@e: -p(Pb]a!)e7aF.ZDFB;sFABpUDk>WOg-SeC:[<+b!ni.t>!CNh+ -%%EOF diff --git a/Master/texmf-dist/tex/latex/HA-prosper/Styles/Lakar/HAPLakar.sty b/Master/texmf-dist/tex/latex/HA-prosper/Styles/Lakar/HAPLakar.sty deleted file mode 100644 index 32204e9211f..00000000000 --- a/Master/texmf-dist/tex/latex/HA-prosper/Styles/Lakar/HAPLakar.sty +++ /dev/null @@ -1,212 +0,0 @@ -%============================================================================== -% -% HAPLakar -- style file for use with HA-prosper. -% -% Created by: Hendri Adriaens -% http://center.uvt.nl/phd_stud/adriaens -% Center for Economic Research -% Tilburg University, the Netherlands -% -% Copyright (c) 2003-2004 Hendri Adriaens. All rights reserved. -% -% This program 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. -% -% This program consists of the files listed in files.txt present in this package. -% -%============================================================================== - -\NeedsTeXFormat{LaTeX2e}[1995/12/01] -\ProvidesPackage{HAPLakar}[2004/05/16] -\typeout{`Lakar' style for HA-prosper} -\typeout{(c) 2003-2004 Hendri Adriaens, Tilburg, the Netherlands} -\typeout{Package version: 1.6} -\typeout{ } - -% Color definitions -\newrgbcolor{lkdblue}{0 .32 .46} -\newrgbcolor{HAP@textc}{0 .32 .46} -\newrgbcolor{lklblue}{.20 .45 .57} -\newrgbcolor{lkgreen}{.68 .64 .11} -\newrgbcolor{lklgreen}{.87 .85 .70} -\newrgbcolor{HAP@framecolor}{0 .32 .46} - -% Highlighting definitions -\ifHAP@portrait - \newrgbcolor{HAP@hcolor}{0 .32 .46} - \newrgbcolor{HAP@htcolor}{1 1 1} -\else - \newrgbcolor{HAP@hcolor}{.68 .64 .11} - \newrgbcolor{HAP@htcolor}{0 .32 .46} -\fi - -% Font definitions -\FontTitle{\usefont{T1}{phv}{b}{n}\fontsize{14.4pt}{14pt}\selectfont\lkdblue}% - {\usefont{T1}{phv}{b}{n}\fontsize{14.4pt}{14pt}\selectfont\lkdblue} -\FontText{\usefont{T1}{phv}{m}{n}\fontsize{10pt}{10pt}\selectfont\HAP@textc}% - {\usefont{T1}{phv}{m}{n}\fontsize{10pt}{10pt}\selectfont\HAP@textc} -\FontLeftFoot{\@fontTextColor\fontsize{4pt}{4pt}\selectfont\white}% - {\@fontTextColor\fontsize{4pt}{4pt}\selectfont\white} -\FontRightFoot{\@fontTextColor\fontsize{4pt}{4pt}\selectfont\white}% - {\@fontTextColor\fontsize{4pt}{4pt}\selectfont\white} -\FontToc{\@fontTextColor\fontsize{4pt}{6pt}\selectfont\white}% - {\@fontTextColor\fontsize{4pt}{6pt}\selectfont\white} - -% Slide style definitions -\newcommand{\TitleSlide}[1]{% - \ifHAP@portrait% - \psframe[linestyle=none,fillstyle=solid,% - fillcolor=lklgreen](-2.1,-1.32)(12.5,9.685)% - \psframe[linestyle=none,fillstyle=solid,% - fillcolor=lkgreen](-1.3,-3)(11,-.15)% - \psline[linecolor=lklblue,linewidth=1pt](-1.3,-.15)(11,-.15)% - \psline[linecolor=lklblue,linewidth=1pt](-2.3,9.69)(12.5,9.69)% - \HAP@PutLF{tl}{-0.95,-.35}% - \HAP@PutRF{tr}{8.6,-.35}% - \else% - \psframe[linestyle=none,fillstyle=solid,% - fillcolor=lklgreen](-2.1,-1.32)(12.5,7.69)% - \psframe[linestyle=none,fillstyle=solid,% - fillcolor=lkgreen](-2.1,-1.32)(12.5,-.6)% - \psline[linecolor=lklblue,linewidth=1pt](-2.3,-.6)(12.5,-.6)% - \psline[linecolor=lklblue,linewidth=1pt](-2.3,7.69)(12.5,7.69)% - \HAP@PutLF{tl}{-1.65,-.9}% - \HAP@PutRF{tr}{11.35,-.9}% - \fi% - {#1}}% - -\newcommand{\NormalSlide}[1]{% - \ifHAP@portrait% - \psframe[linestyle=none,fillstyle=solid,% - fillcolor=lklgreen](-2.1,-1.32)(12.5,11.5)% - \psframe[linestyle=none,fillstyle=solid,% - fillcolor=lkgreen](-1.3,-3)(11,-.15)% - \psline[linecolor=lklblue,linewidth=1pt](-1.3,-.15)(11,-.15)% - \psframe[linestyle=none,fillstyle=solid,% - fillcolor=lkgreen](-2.3,11.5)(12.5,9.685)% - \psline[linecolor=lklblue,linewidth=1pt](-2.3,9.69)(12.5,9.69)% - \psellipse*[linecolor=lkdblue](-.2,10.2)(1.3,.7)% - \psellipse[linecolor=lklblue](-.2,10.2)(1.3,.7)% - \ifHAP@toc% - \rput[tr](3.7,-.8){\begin{minipage}[t]{2cm}\HAP@tsections\end{minipage}}% - \rput[tl](4.1,-.8){\begin{minipage}[t]{2cm}\HAP@tcontent\end{minipage}}% - \fi% - \HAP@PutLF{tl}{-0.95,-.35}% - \HAP@PutRF{tr}{8.6,-.35}% - \else% - \psframe[linestyle=none,fillstyle=solid,% - fillcolor=lklgreen](-2.1,-1.32)(12.5,8.9)% - \psframe[linestyle=none,fillstyle=solid,% - fillcolor=lkgreen](-2.1,-1.32)(12.5,-.6)% - \psline[linecolor=lklblue,linewidth=1pt](-2.3,-.6)(12.5,-.6)% - \psframe[linestyle=none,fillstyle=solid,% - fillcolor=lklblue](-2.3,7.72)(.537,-.6)% - \psframe[linestyle=none,fillstyle=solid,% - fillcolor=lkgreen](-2.3,8.9)(12.5,7.685)% - \psline[linecolor=lklblue,linewidth=1pt](-2.3,7.69)(12.5,7.69)% - \psellipse*[linecolor=lkdblue](-.7,8.2)(1.3,.7)% - \psellipse[linecolor=lklblue](-.7,8.2)(1.3,.7)% - \ifHAP@toc% - \rput[lt](-1.65,6.85){\begin{minipage}[t]{2cm}\HAP@toc\end{minipage}}% - \fi% - \HAP@PutLF{tl}{-1.65,-.9}% - \HAP@PutRF{tr}{11.35,-.9}% - \fi% - {#1}}% - -\newcommand{\SpecialSlide}[1]{% - \ifHAP@portrait% - \psframe[linestyle=none,fillstyle=solid,% - fillcolor=lklgreen](-2.1,-1.32)(12.5,11.5)% - \psframe[linestyle=none,fillstyle=solid,% - fillcolor=lkgreen](-1.3,-3)(11,-.15)% - \psline[linecolor=lklblue,linewidth=1pt](-1.3,-.15)(11,-.15)% - \psframe[linestyle=none,fillstyle=solid,% - fillcolor=lkgreen](-2.3,11.5)(12.5,9.685)% - \psline[linecolor=lklblue,linewidth=1pt](-2.3,9.69)(12.5,9.69)% - \psellipse*[linecolor=lkdblue](-.2,10.2)(1.3,.7)% - \psellipse[linecolor=lklblue](-.2,10.2)(1.3,.7)% - \ifHAP@toc% - \rput[tr](3.7,-.8){\begin{minipage}[t]{2cm}\HAP@tsections\end{minipage}}% - \rput[tl](4.1,-.8){\begin{minipage}[t]{2cm}\HAP@tcontent\end{minipage}}% - \fi% - \HAP@PutLF{tl}{-0.95,-.35}% - \HAP@PutRF{tr}{8.6,-.35}% - \else% - \psframe[linestyle=none,fillstyle=solid,% - fillcolor=lklgreen](-2.1,-1.32)(12.5,8.9)% - \psframe[linestyle=none,fillstyle=solid,% - fillcolor=lkgreen](-2.1,-1.32)(12.5,-.6)% - \psline[linecolor=lklblue,linewidth=1pt](-2.3,-.6)(12.5,-.6)% - \psframe[linestyle=none,fillstyle=solid,% - fillcolor=lkgreen](-2.3,8.9)(12.5,7.685)% - \psline[linecolor=lklblue,linewidth=1pt](-2.3,7.69)(12.5,7.69)% - \psellipse*[linecolor=lkdblue](-.7,8.2)(1.3,.7)% - \psellipse[linecolor=lklblue](-.7,8.2)(1.3,.7)% - \HAP@PutLF{tl}{-1.65,-.9}% - \HAP@PutRF{tr}{11.35,-.9}% - \fi% - {#1}}% - -\newcommand{\PartSlide}[1]{% - \ifHAP@portrait% - \psframe[linestyle=none,fillstyle=solid,% - fillcolor=lklgreen](-2.1,-1.32)(12.5,11.5)% - \psframe[linestyle=none,fillstyle=solid,% - fillcolor=lkgreen](-1.3,-3)(11,-.15)% - \psline[linecolor=lklblue,linewidth=1pt](-1.3,-.15)(11,-.15)% - \psframe[linestyle=none,fillstyle=solid,% - fillcolor=lkgreen](-2.3,11.5)(12.5,9.685)% - \psline[linecolor=lklblue,linewidth=1pt](-2.3,9.69)(12.5,9.69)% - \ifHAP@toc% - \rput[tr](3.7,-.8){\begin{minipage}[t]{2cm}\HAP@tsections\end{minipage}}% - \rput[tl](4.1,-.8){\begin{minipage}[t]{2cm}\HAP@tcontent\end{minipage}}% - \fi% - \HAP@PutLF{tl}{-0.95,-.35}% - \HAP@PutRF{tr}{8.6,-.35}% - \else% - \psframe[linestyle=none,fillstyle=solid,% - fillcolor=lklgreen](-2.1,-1.32)(12.5,8.9)% - \psframe[linestyle=none,fillstyle=solid,% - fillcolor=lkgreen](-2.1,-1.32)(12.5,-.6)% - \psline[linecolor=lklblue,linewidth=1pt](-2.3,-.6)(12.5,-.6)% - \psframe[linestyle=none,fillstyle=solid,% - fillcolor=lkgreen](-2.3,8.9)(12.5,7.685)% - \psline[linecolor=lklblue,linewidth=1pt](-2.3,7.69)(12.5,7.69)% - \HAP@PutLF{tl}{-1.65,-.9}% - \HAP@PutRF{tr}{11.35,-.9}% - \fi% - {#1}}% - -\ifHAP@portrait - \newcommand{\HAPR@titleSlide}{\NewSlideStyle[9cm]{t}{3.8,2.9}{TitleSlide}} - \newcommand{\HAPR@normalSlide}{\NewSlideStyle[9cm]{tl}{-.75,3.3}{NormalSlide}} - \newcommand{\HAPR@wideSlide}{\NewSlideStyle[9cm]{tl}{-.75,3.3}{SpecialSlide}} - \newcommand{\HAPR@partSlide}{\NewSlideStyle[9cm]{tl}{-.75,3.3}{PartSlide}} - \newcommand{\slidetitle}[1]{\rput[Bl](-.75,4.7){\fontTitle{\white{#1}}}} -\else - \newcommand{\HAPR@titleSlide}{\NewSlideStyle[11cm]{t}{4.67,2.8}{TitleSlide}} - \newcommand{\HAPR@normalSlide}{\NewSlideStyle[9.78cm]{tl}{.77,3.3}{NormalSlide}} - \newcommand{\HAPR@wideSlide}{\NewSlideStyle[12.3cm]{tl}{-1.4,3.3}{SpecialSlide}} - \newcommand{\HAPR@partSlide}{\NewSlideStyle[12.3cm]{tl}{-1.4,3.3}{PartSlide}} - \newcommand{\slidetitle}[1]{\rput[Bl](-1.7,4.45){\fontTitle{\white{#1}}}} -\fi - -% List item definitions -\RequirePackage{pifont} -\myitem{1}{\raisebox{1pt}{\fontsize{7pt}{7pt}\selectfont\ding{110}}} -\myitem{2}{\raisebox{1pt}{\fontsize{7pt}{7pt}\selectfont\ding{117}}} -\myitem{3}{\raisebox{1pt}{\fontsize{5pt}{5pt}\selectfont\ding{110}}} - -% Style of table of contents entries -\newcommand{\HAP@tline}[1]{\parbox{2cm}{\raggedleft#1\,}} -\newcommand{\HAP@tsection}[1]{\parbox[b]{2cm}{\raggedleft#1\,}} -\newcommand{\HAP@tsectionm}{\psline[linecolor=lkgreen,linewidth=.25pt](-.05,-.05)(2,-.05)} -\newcommand{\HAP@tsectiononly}[1]{\parbox{2cm}{\raggedleft#1\,}} - -\endinput diff --git a/Master/texmf-dist/tex/latex/HA-prosper/Styles/Simple/HAPsimple.sty b/Master/texmf-dist/tex/latex/HA-prosper/Styles/Simple/HAPsimple.sty deleted file mode 100644 index cfd63706d44..00000000000 --- a/Master/texmf-dist/tex/latex/HA-prosper/Styles/Simple/HAPsimple.sty +++ /dev/null @@ -1,129 +0,0 @@ -%============================================================================== -% -% HAPSimple -- style file for use with HA-prosper. -% -% Created by: Hendri Adriaens -% http://center.uvt.nl/phd_stud/adriaens -% Center for Economic Research -% Tilburg University, the Netherlands -% -% Copyright (c) 2003-2004 Hendri Adriaens. All rights reserved. -% -% This program 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. -% -% This program consists of the files listed in files.txt present in this package. -% -%============================================================================== - -\NeedsTeXFormat{LaTeX2e}[1995/12/01] -\ProvidesPackage{HAPsimple}[2004/05/16] -\typeout{`simple' style for HA-prosper} -\typeout{(c) 2003-2004 Hendri Adriaens, Tilburg, the Netherlands} -\typeout{Package version: 1.5} -\typeout{ } - -% Highlighting definitions -\newrgbcolor{HAP@hcolor}{0 0 0} % Highlight frame color -\newrgbcolor{HAP@htcolor}{1 1 1} % Highlight text color -\newrgbcolor{HAP@framecolor}{0 0 0} -\newrgbcolor{HAP@textc}{0 0 0} - -% Font definitions -\FontTitle{\usefont{T1}{phv}{b}{n}\fontsize{14.4pt}{14pt}\selectfont\black}% - {\usefont{T1}{phv}{b}{n}\fontsize{14.4pt}{14pt}\selectfont\black} -\FontText{\usefont{T1}{phv}{m}{n}\fontsize{10pt}{10pt}\selectfont\black}% - {\usefont{T1}{phv}{m}{n}\fontsize{10pt}{10pt}\selectfont\black} -\FontLeftFoot{\@fontTextColor\fontsize{4pt}{4pt}\selectfont}% - {\@fontTextBW\fontsize{4pt}{4pt}\selectfont} -\FontRightFoot{\@fontTextColor\fontsize{4pt}{4pt}\selectfont}% - {\@fontTextBW\fontsize{4pt}{4pt}\selectfont} - -% Slide style definitions -\newcommand{\TitleSlide}[1]{% - \ifHAP@portrait% - \psline[linecolor=black](-2.1,8.70)(12.5,8.70)% - \HAP@PutLF{tl}{-0.95,-.35}% - \HAP@PutRF{tr}{8.6,-.35}% - \else% - \psframe[linestyle=none,fillstyle=solid,% - fillcolor=black](-2.1,7.35)(12.5,7.4)% - \HAP@PutLF{tl}{-1.65,-.9}% - \HAP@PutRF{tr}{11.35,-.9}% - \fi% - {#1}}% - -\newcommand{\NormalSlide}[1]{% - \ifHAP@portrait% - \psframe[fillstyle=solid,% - fillcolor=white](-2.3,8.72)(12.5,-.15)% - \ifHAP@toc% - \rput[tr](3.7,-.8){\begin{minipage}[t]{2cm}\HAP@tsections\end{minipage}}% - \rput[tl](4.1,-.8){\begin{minipage}[t]{2cm}\HAP@tcontent\end{minipage}}% - \fi% - \HAP@PutLF{tl}{-0.95,-.35}% - \HAP@PutRF{tr}{8.6,-.35}% - \else% - \psframe[fillstyle=solid,% - fillcolor=white](-2.3,7.72)(.537,-.43)% - \psframe[fillstyle=solid,% - fillcolor=white](.515,-.43)(12.5,7.72)% - \ifHAP@toc% - \rput[lt](-1.66,6.35){\begin{minipage}[t]{2cm}\HAP@toc\end{minipage}}% - \fi% - \HAP@PutLF{tl}{-1.65,-.9}% - \HAP@PutRF{tr}{11.35,-.9}% - \fi% - {#1}}% - -\newcommand{\SpecialSlide}[1]{% - \ifHAP@portrait% - \psframe[fillstyle=solid,% - fillcolor=white](-2.3,8.72)(12.5,-.15)% - \ifHAP@toc% - \rput[tr](3.7,-.8){\begin{minipage}[t]{2cm}\HAP@tsections\end{minipage}}% - \rput[tl](4.1,-.8){\begin{minipage}[t]{2cm}\HAP@tcontent\end{minipage}}% - \fi% - \HAP@PutLF{tl}{-0.95,-.35}% - \HAP@PutRF{tr}{8.6,-.35}% - \else% - \psframe[fillstyle=solid,% - fillcolor=white](-2.3,7.72)(12.5,-.43)% - \HAP@PutLF{tl}{-1.65,-.9}% - \HAP@PutRF{tr}{11.35,-.9}% - \fi% - {#1}}% - -\ifHAP@portrait - \newcommand{\slidetitle}[1]{\rput[Bl](-.75,4.4){\fontTitle{#1}}} - \newcommand{\HAPR@titleSlide}{\NewSlideStyle[9cm]{t}{3.8,3.0}{TitleSlide}} - \newcommand{\HAPR@normalSlide}{\NewSlideStyle[9cm]{tl}{-.75,2.8}{NormalSlide}} - \newcommand{\HAPR@wideSlide}{\NewSlideStyle[9cm]{tl}{-.75,2.8}{SpecialSlide}} -\else - \newcommand{\slidetitle}[1]{\rput[Bl](.77,4.4){\fontTitle{#1}}} - \newcommand{\HAPR@titleSlide}{\NewSlideStyle[11cm]{t}{4.67,2.4}{TitleSlide}} - \newcommand{\HAPR@normalSlide}{\NewSlideStyle[9.78cm]{tl}{.77,2.8}{NormalSlide}} - \newcommand{\HAPR@wideSlide}{\NewSlideStyle[12.3cm]{tl}{-1.4,2.8}{SpecialSlide}} -\fi - -% List item definitions -\RequirePackage{pifont} -\myitem{1}{\raisebox{1pt}{\fontsize{7pt}{7pt}\selectfont\ding{110}}} -\myitem{2}{\raisebox{1pt}{\fontsize{7pt}{7pt}\selectfont\ding{117}}} -\myitem{3}{\raisebox{1pt}{\fontsize{5pt}{5pt}\selectfont\ding{110}}} - -% Style of table of contents entries -\newcommand{\HAP@tline}[1]{\ding{108}\,#1} -\newcommand{\HAP@tsectionm}{% - \ifHAP@portrait\else - \psline[linecolor=black,linewidth=.25pt](-.05,-.05)(2,-.05)% - \fi -} -\newcommand{\HAP@tsectiononly}[1]{\parbox{2cm}{\raggedleft#1\,}} - -\endinput diff --git a/Master/texmf-dist/tex/latex/HA-prosper/Styles/TCS/HAPTCS.sty b/Master/texmf-dist/tex/latex/HA-prosper/Styles/TCS/HAPTCS.sty deleted file mode 100644 index c06f8d6dc7a..00000000000 --- a/Master/texmf-dist/tex/latex/HA-prosper/Styles/TCS/HAPTCS.sty +++ /dev/null @@ -1,142 +0,0 @@ -%============================================================================== -% -% HAPTCS -- style file for use with HA-prosper. -% -% Created by: Chris Ellison -% -% Copyright (c) 2003-2004 Chris Ellison. All rights reserved. -% -% This program 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. -% -% This style consists of the files listed in files.txt -% -%============================================================================= -% -% 2003/12/21 -% The colors for this style were inspired by the HA style. -% The layout of this style was inspired by the CentER style. -% The HA and CentER styles were created by Hendri Adriaens. -% 2004/05/15 -% Small changes for HA-prosper 4.2 -% Replaced \NormalSlideNav and \TitleSlideNav for \HAPsetup -% Made bullets be triangle, circle, and square -% Added \parbox for TOC and title -% -%============================================================================= - -\NeedsTeXFormat{LaTeX2e}[1995/12/01] -\ProvidesPackage{HAPTCS}[2004/05/16] -\typeout{`TCS' style for HA-prosper} -\typeout{(c) 2004 Chris Ellison} -\typeout{Package version: 1.5} -\typeout{ } - -\ifHAP@portrait% - \PackageError{HAPTCS}{This template does not support portrait slides}% - {Sorry, no additional help}% -\fi% - -% Color definitions -\newrgbcolor{ddblue}{.17 .31 .44} -\newrgbcolor{dblue}{.19 .44 .61} -\newrgbcolor{lblue}{.75 .85 .92} -\newrgbcolor{llblue}{.90 .95 .98} -\newrgbcolor{HAP@framecolor}{.17 .31 .44} -\newrgbcolor{HAP@textc}{.17 .31 .44} - -% Highlighting definitions -\newrgbcolor{HAP@hcolor}{.17 .31 .44} % Highlight frame color -\newrgbcolor{HAP@htcolor}{.90 .95 .98} % Highlight text color - -% Font definitions -\FontTitle{% - \usefont{T1}{phv}{b}{n}\fontsize{14.4pt}{14pt}\selectfont\ddblue}{% - \usefont{T1}{phv}{b}{n}\fontsize{14.4pt}{14pt}\selectfont\ddblue} -\FontText{% - \usefont{T1}{phv}{m}{n}\fontsize{10pt}{10pt}\selectfont\ddblue}{% - \usefont{T1}{phv}{m}{n}\fontsize{10pt}{10pt}\selectfont\ddblue} -\FontLeftFoot{% - \@fontTextColor\fontsize{4pt}{4pt}\selectfont}{% - \@fontTextColor\fontsize{4pt}{4pt}\selectfont} -\FontRightFoot{% - \@fontTextColor\fontsize{4pt}{4pt}\selectfont}{% - \@fontTextColor\fontsize{4pt}{4pt}\selectfont} - -% Slide style definitions -\newcommand{\TitleSlide}[1]{% - \psframe[linestyle=none,fillstyle=solid,% - fillcolor=llblue](-2.1,-2.1)(12.7,7.4)% - \Logo(-2.17,7.08){% - \@ifundefined{HAP@TSNav}% - {\includegraphics[scale=.3]{TCSlogo.ps}}% - {\Acrobatmenu{\HAP@TSNav}{\includegraphics[scale=.3]{TCSlogo.ps}}}% - }% - \psframe[linestyle=none,fillstyle=solid,% - fillcolor=ddblue](-2.1,7.35)(12.5,7.4)% - \PutLogo% - \HAP@PutLF{tl}{-1.65,-.8}% - \HAP@PutRF{tr}{11.35,-.8}% - {#1}}% - -\newcommand{\NormalSlide}[1]{% - \Logo(-2.17,7.08){% - \@ifundefined{HAP@NSNav}% - {\includegraphics[scale=.3]{TCSlogo.ps}}% - {\Acrobatmenu{\HAP@NSNav}{\includegraphics[scale=.3]{TCSlogo.ps}}}% - }% - \ifHAP@toc% - \rput[lt](-1.7,6.55){\begin{minipage}[t]{2cm}\HAP@toc\end{minipage}}% - \fi% - \psframe[linestyle=none,fillstyle=solid,% - fillcolor=llblue](-2.1,-1.3)(12.5,-.4)% - \psframe[linestyle=none,fillstyle=solid,% - fillcolor=dblue](-2.1,-1.32)(12.5,-1.27)% - \PutLogo% - \HAP@PutLF{tl}{-1.65,-.8}% - \HAP@PutRF{tr}{11.35,-.8}% - {#1}}% - -\newcommand{\SpecialSlide}[1]{% - \Logo(-2.17,7.08){% - \@ifundefined{HAP@NSNav}% - {\includegraphics[scale=.3]{TCSlogo.ps}}% - {\Acrobatmenu{\HAP@NSNav}{\includegraphics[scale=.3]{TCSlogo.ps}}}% - }% - \psframe[linestyle=none,fillstyle=solid,% - fillcolor=llblue](-2.1,-1.3)(12.5,-.4)% - \psframe[linestyle=none,fillstyle=solid,% - fillcolor=dblue](-2.1,-1.32)(12.5,-1.27)% - \PutLogo% - \HAP@PutLF{tl}{-1.65,-.8}% - \HAP@PutRF{tr}{11.35,-.8}% - {#1}}% - -\newcommand{\HAPR@titleSlide}{\NewSlideStyle[11cm]{t}{4.67,2.4}{TitleSlide}} -\newcommand{\HAPR@normalSlide}{\NewSlideStyle[9.78cm]{tl}{.77,3}{NormalSlide}} -\newcommand{\HAPR@wideSlide}{\NewSlideStyle[12.3cm]{tl}{-1.4,3}{SpecialSlide}} - -% List item definitions -\RequirePackage{pifont} -\myitem{1}{\ifHAP@active\ddblue\fi\raisebox{1pt}{\fontsize{7pt}{7pt}\selectfont\ding{115}}} -\myitem{2}{\ifHAP@active\dblue\fi\raisebox{1pt}{\fontsize{7pt}{7pt}\selectfont\ding{108}}} -\myitem{3}{\ifHAP@active\lblue\fi\raisebox{1pt}{\fontsize{7pt}{7pt}\selectfont\ding{110}}} - -% Style of table of contents entries -\newcommand{\HAP@tline}[1]{\ding{242}\,\parbox[t]{1.7cm}{\raggedright#1}} -\newcommand{\HAP@tlineonly}[1]{\parbox[t]{1.7cm}{\raggedright#1}} -\newcommand{\HAP@tsection}[1]{\parbox[b]{1.9cm}{\raggedright#1}} -\newcommand{\HAP@tsectionm}{\psline[linecolor=ddblue,linewidth=.25pt](-.05,-.05)(2,-.05)} - -% Placement of slide title -\newcommand{\slidetitle}[1]{\rput[Bl](.77,4.2){\fontTitle{\parbox[c]{10.3cm}{\raggedright#1}}}} - -% Declare default behaviors for hidden navigation -\HAPsetup{tsnav=FullScreen,nsnav=ShowBookmarks} - -\endinput diff --git a/Master/texmf-dist/tex/latex/HA-prosper/Styles/TCS/HAPTCSTealBlue.sty b/Master/texmf-dist/tex/latex/HA-prosper/Styles/TCS/HAPTCSTealBlue.sty deleted file mode 100644 index 4c5c370f1de..00000000000 --- a/Master/texmf-dist/tex/latex/HA-prosper/Styles/TCS/HAPTCSTealBlue.sty +++ /dev/null @@ -1,170 +0,0 @@ -%============================================================================== -% -% HAPTCSTealBlue-- style file for use with HA-prosper. -% -% Created by: Chris Ellison -% -% Copyright (c) 2004 Chris Ellison. All rights reserved. -% -% This program 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. -% -% This style consists of the files listed in files.txt -% -%============================================================================= -% -% 2003/05/15 -% Modifications to the TCS style -% Modifications inspired by PPRfyma -% Added \parbox for the TOC and title -% Ready for HA-prosper 4.2 -% -%============================================================================= - -\NeedsTeXFormat{LaTeX2e}[1995/12/01] -\ProvidesPackage{HAPTCSTealBlue}[2004/05/16] -\typeout{`TCSTealBlue' style for HA-prosper} -\typeout{(c) 2004 Chris Ellison} -\typeout{Package version: 1.0} -\typeout{ } - -\ifHAP@portrait - \PackageError{HAPTCSTealBlue}{This template does not support portrait slides}% - {Sorry, no additional help}% -\fi - -% Loading packages necessary for gradients -\IfFileExists{pst-grad}{\RequirePackage{pst-grad}}{\RequirePackage{gradient}} -\RequirePackage{pst-slpe} - -% Color Definitions -\newrgbcolor{TCStealblue}{0 0.4 0.4} -\newrgbcolor{TCSbrickred}{.4 .1255 0} -\newrgbcolor{TCSbulletone}{0 1 .6} -\newrgbcolor{TCSbullettwo}{.725 .937 .933} -\newrgbcolor{TCSbulletthree}{.8 1 .4} -\newrgbcolor{TCSdarkblue}{0.14 0.34 0.55} -\newrgbcolor{TCSfaintblue}{0.88 0.95 1.00} -\newrgbcolor{HAP@framecolor}{1 0 0} -\newrgbcolor{HAP@textc}{1 1 1} - -% Star -\def\TCSstar{% - \SpecialCoor - \begin{pspicture}(-.5,-.5)(.5,.5)% - \pspolygon[fillstyle=ccslopes,% - slopecolors= 0 .3906 .1289 0 .9 .2656 .2148 .125 2 .0547 .2695 .2344 3,% - linestyle=none](.5;0)(.25;22.5)(.5;45)(.25;67.2)(.5;90)(.25;112.5)% - (.5;135)(.25;157.5)(.5;180)(.25;202.5)(.5;225)(.25;247.5)(.5;270)% - (.25;292.5)(.5;315)(.25;337.5)% - \end{pspicture}% - \NormalCoor -} - -% Highlighting definitions -\newrgbcolor{HAP@hcolor}{0 .4 .4} % Highlight frame color for TOC -\newrgbcolor{HAP@htcolor}{.8 1 .4} % Highlight text color for TOC - -% Font definitions -\FontTitle{% - \usefont{T1}{phv}{b}{n}\fontsize{14.4pt}{14pt}\selectfont\TCSbullettwo}{% - \usefont{T1}{phv}{b}{n}\fontsize{14.4pt}{14pt}\selectfont\TCSbullettwo} -\FontText{% - \usefont{T1}{phv}{m}{n}\fontsize{10pt}{10pt}\selectfont\HAP@textc}{% - \usefont{T1}{phv}{m}{n}\fontsize{10pt}{10pt}\selectfont\HAP@textc} -\FontLeftFoot{% - \@fontTextColor\fontsize{4pt}{4pt}\selectfont}{% - \@fontTextColor\fontsize{4pt}{4pt}\selectfont} -\FontRightFoot{% - \@fontTextColor\fontsize{4pt}{4pt}\selectfont}{% - \@fontTextColor\fontsize{4pt}{4pt}\selectfont} - -% Slide style definitions -\newcommand{\TitleSlide}[1]{% - % color of bottom portion - \psframe[linestyle=none,fillstyle=solid,% - fillcolor=TCStealblue](-2.1,-2.1)(12.7,7.4)% - \Logo(-1.17,7.4){% - \@ifundefined{HAP@TSNav}% - {\TCSstar}% - {\Acrobatmenu{\HAP@TSNav}{\TCSstar}} - }% - % Main gradient - \ifisDraft - \else - \psframe[linestyle=none, fillstyle=gradient,% - gradbegin=black,gradend=TCStealblue,gradmidpoint=0](-2.1,-1.5)(12.5,9) - % (-2.1,-.57)(12.5,8.47) (llc)(urc) - \fi - \PutLogo% - \HAP@PutLF{tl}{-1.65,-.97}% - \HAP@PutRF{tr}{11.35,-.97}% - {#1}}% - -\newcommand{\NormalSlide}[1]{% - \Logo(-1.17,7.4){% - \@ifundefined{HAP@NSNav}% - {\TCSstar}% - {\Acrobatmenu{\HAP@NSNav}{\TCSstar}}% - }% - % Main gradient - \ifisDraft - \else - \psframe[linestyle=none, fillstyle=gradient,% - gradbegin=black,gradend=TCStealblue,gradmidpoint=0](-2.1,-1.5)(12.5,9) - \fi - \ifHAP@toc% - \rput[lt](-1.7,6.55){\begin{minipage}[t]{2cm}\HAP@toc\end{minipage}}% - \fi% - \PutLogo% - \HAP@PutLF{tl}{-1.65,-.97}% - \HAP@PutRF{tr}{11.35,-.97}% - {#1}}% - -\newcommand{\SpecialSlide}[1]{% - \Logo(-1.17,7.4){% - \@ifundefined{HAP@NSNav}% - {\TCSstar}% - {\Acrobatmenu{\HAP@NSNav}{\TCSstar}}% - }% - % Main gradient - \ifisDraft - \else - \psframe[linestyle=none, fillstyle=gradient,%1.37 - gradbegin=black,gradend=TCStealblue,gradmidpoint=0](-2.1,-1.5)(12.5,9) - \fi - \PutLogo% - \HAP@PutLF{tl}{-1.65,-.97}% - \HAP@PutRF{tr}{11.35,-.97}% - {#1}}% - -\newcommand{\HAPR@titleSlide}{\NewSlideStyle[11cm]{t}{4.67,2.4}{TitleSlide}} -\newcommand{\HAPR@normalSlide}{\NewSlideStyle[9.78cm]{tl}{.77,3}{NormalSlide}} -\newcommand{\HAPR@wideSlide}{\NewSlideStyle[12.3cm]{tl}{-1.4,3}{SpecialSlide}} - -% List item definitions -\RequirePackage{pifont} -\myitem{1}{\ifHAP@active\TCSbulletone\fi\raisebox{1pt}{\fontsize{7pt}{7pt}\selectfont\ding{115}}} -\myitem{2}{\ifHAP@active\TCSbullettwo\fi\raisebox{1pt}{\fontsize{7pt}{7pt}\selectfont\ding{108}}} -\myitem{3}{\ifHAP@active\TCSbulletthree\fi\raisebox{1pt}{\fontsize{7pt}{7pt}\selectfont\ding{110}}} - -% Style of table of contents entries -\newcommand{\HAP@tline}[1]{\ding{242}\,\parbox[t]{1.7cm}{\raggedright#1}} -\newcommand{\HAP@tlineonly}[1]{\parbox[t]{1.7cm}{\raggedright#1}} -\newcommand{\HAP@tsection}[1]{\parbox[b]{1.9cm}{\raggedright#1}} -\newcommand{\HAP@tsectionm}{\psline[linecolor=white,linewidth=.25pt](-.05,-.05)(2,-.05)} -% make is so that the highlight frame color is not present in TOC -\def\HAP@hltocentry{\parbox[b]{\HAP@twidth}{\raggedright{\HAP@htcolor\HAP@toctext}}} - -% Placement of slide title -\newcommand{\slidetitle}[1]{\rput[Bl](.77,4.15){\fontTitle{\parbox[c]{10.3cm}{\raggedright#1}}}} - -% Declare default behaviors for hidden navigation -\HAPsetup{tsnav=FullScreen,nsnav=ShowBookmarks} - -\endinput diff --git a/Master/texmf-dist/tex/latex/HA-prosper/Styles/TCS/HAPTCSgrad.sty b/Master/texmf-dist/tex/latex/HA-prosper/Styles/TCS/HAPTCSgrad.sty deleted file mode 100644 index 2b08f3de362..00000000000 --- a/Master/texmf-dist/tex/latex/HA-prosper/Styles/TCS/HAPTCSgrad.sty +++ /dev/null @@ -1,155 +0,0 @@ -%============================================================================== -% -% HAPTCSgrad -- style file for use with HA-prosper. -% -% Created by: Chris Ellison -% -% Copyright (c) 2003-2004 Chris Ellison. All rights reserved. -% -% This program 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. -% -% This style consists of the files listed in files.txt -% -%============================================================================= -% -% 2004/05/01 -% Modifications to TCS style inspired by PPRfyma -% 2004/05/15 -% Small changes for HA-prosper 4.2 -% Replaced \NormalSlideNav and \TitleSlideNav for \HAPsetup -% Added \parbox for TOC and title -% -%============================================================================= - -\NeedsTeXFormat{LaTeX2e}[1995/12/01] -\ProvidesPackage{HAPTCSgrad}[2004/05/16] -\typeout{`TCSgrad' style for HA-prosper} -\typeout{(c) 2004 Chris Ellison} -\typeout{Package version: 1.1} -\typeout{ } - -\ifHAP@portrait - \PackageError{HAPTCSgrad}{This template does not support portrait slides}% - {Sorry, no additional help}% -\fi - -% Loading packages necessary for gradients -\IfFileExists{pst-grad}{\RequirePackage{pst-grad}}{\RequirePackage{gradient}} - -% Color Definitions -\newrgbcolor{darkdarkblue}{.17 .31 .44} % 1st bullet -%\newrgbcolor{darkblue}{0.14 0.34 0.55} -\newrgbcolor{darkblue}{.19 .44 .61} % color of text, 2nd bullet -\newrgbcolor{lightblue}{0.43 0.61 0.84} % separates footers, 3rd bullet -\newrgbcolor{faintblue}{0.88 0.95 1.00} % first color for gradient -\newrgbcolor{HAP@framecolor}{.14 .31 .44} -\newrgbcolor{HAP@textc}{.17 .31 .44} - -% Highlighting definitions -\newrgbcolor{HAP@hcolor}{.17 .31 .44} % Highlight frame color -\newrgbcolor{HAP@htcolor}{.90 .95 .98} % Highlight text color - -% Font definitions -\FontTitle{% - \usefont{T1}{phv}{b}{n}\fontsize{14.4pt}{14pt}\selectfont\darkdarkblue}{% - \usefont{T1}{phv}{b}{n}\fontsize{14.4pt}{14pt}\selectfont\darkdarkblue} -\FontText{% - \usefont{T1}{phv}{m}{n}\fontsize{10pt}{10pt}\selectfont\darkdarkblue}{% - \usefont{T1}{phv}{m}{n}\fontsize{10pt}{10pt}\selectfont\darkdarkblue} -\FontLeftFoot{% - \@fontTextColor\fontsize{4pt}{4pt}\selectfont}{% - \@fontTextColor\fontsize{4pt}{4pt}\selectfont} -\FontRightFoot{% - \@fontTextColor\fontsize{4pt}{4pt}\selectfont}{% - \@fontTextColor\fontsize{4pt}{4pt}\selectfont} - -% Slide style definitions -\newcommand{\TitleSlide}[1]{% - % color of bottom portion - \psframe[linestyle=none,fillstyle=solid,% - fillcolor=faintblue](-2.1,-2.1)(12.7,7.4)% - \Logo(-2.17,7.08){% - \@ifundefined{HAP@TSNav}% - {\includegraphics[scale=.3]{TCSgradlogo.ps}}% - {\Acrobatmenu{\HAP@TSNav}{\includegraphics[scale=.3]{TCSgradlogo.ps}}}% - }% - \psframe[linestyle=none,fillstyle=solid,% - fillcolor=darkblue](-2.1,7.35)(12.5,7.4)% - \PutLogo% - \HAP@PutLF{tl}{-1.65,-.97}% - \HAP@PutRF{tr}{11.35,-.97}% - {#1}}% - - -\newcommand{\NormalSlide}[1]{% - \Logo(-2.17,7.08){% - \@ifundefined{HAP@NSNav}% - {\includegraphics[scale=.3]{TCSgradlogo.ps}}% - {\Acrobatmenu{\HAP@NSNav}{\includegraphics[scale=.3]{TCSgradlogo.ps}}}% - }% - % Main gradient - \ifisDraft - \else - \psframe[linestyle=none, fillstyle=gradient,% - gradbegin=faintblue,gradend=white,gradmidpoint=0](-2.1,-0.77)(12.5,8.47) - \fi - % Bottom line - \psframe[linestyle=none,fillstyle=solid,% - linewidth=2pt,fillcolor=lightblue](-2.1,-0.8)(12.1,-0.7) - \ifHAP@toc% - \rput[lt](-1.7,6.55){\begin{minipage}[t]{2cm}\HAP@toc\end{minipage}}% - \fi% - \PutLogo% - \HAP@PutLF{tl}{-1.65,-.97}% - \HAP@PutRF{tr}{11.35,-.97}% - {#1}}% - -\newcommand{\SpecialSlide}[1]{% - \Logo(-2.17,7.08){% - \@ifundefined{HAP@NSNav}% - {\includegraphics[scale=.3]{TCSgradlogo.ps}}% - {\Acrobatmenu{\HAP@NSNav}{\includegraphics[scale=.3]{TCSgradlogo.ps}}}% - }% - % Main gradient - \ifisDraft - \else - \psframe[linestyle=none, fillstyle=gradient,%1.37 - gradbegin=faintblue,gradend=white,gradmidpoint=0](-2.1,-0.77)(12.5,8.47) - \fi - % Bottom line - \psframe[linestyle=none,fillstyle=solid,% - linewidth=2pt,fillcolor=lightblue](-2.1,-0.8)(12.1,-0.7) - \PutLogo% - \HAP@PutLF{tl}{-1.65,-.97}% - \HAP@PutRF{tr}{11.35,-.97}% - {#1}}% - -\newcommand{\HAPR@titleSlide}{\NewSlideStyle[11cm]{t}{4.67,2.4}{TitleSlide}} -\newcommand{\HAPR@normalSlide}{\NewSlideStyle[9.78cm]{tl}{.77,3}{NormalSlide}} -\newcommand{\HAPR@wideSlide}{\NewSlideStyle[12.3cm]{tl}{-1.4,3}{SpecialSlide}} - -% List item definitions -\RequirePackage{pifont} -\myitem{1}{\ifHAP@active\darkdarkblue\fi\raisebox{1pt}{\fontsize{7pt}{7pt}\selectfont\ding{115}}} -\myitem{2}{\ifHAP@active\darkblue\fi\raisebox{1pt}{\fontsize{7pt}{7pt}\selectfont\ding{108}}} -\myitem{3}{\ifHAP@active\lightblue\fi\raisebox{1pt}{\fontsize{7pt}{7pt}\selectfont\ding{110}}} - -% Style of table of contents entries -\newcommand{\HAP@tline}[1]{\ding{242}\,\parbox[t]{1.7cm}{\raggedright#1}} -\newcommand{\HAP@tlineonly}[1]{\parbox[t]{1.7cm}{\raggedright#1}} -\newcommand{\HAP@tsection}[1]{\parbox[b]{1.9cm}{\raggedright#1}} -\newcommand{\HAP@tsectionm}{\psline[linecolor=darkblue,linewidth=.25pt](-.05,-.05)(2,-.05)} - -% Placement of slide title -\newcommand{\slidetitle}[1]{\rput[Bl](.77,4.2){\fontTitle{\parbox[c]{10.3cm}{\raggedright#1}}}} - -% Declare default behaviors for hidden navigation -\HAPsetup{tsnav=FullScreen,nsnav=ShowBookmarks} - -\endinput diff --git a/Master/texmf-dist/tex/latex/HA-prosper/Styles/TCS/TCSgradlogo.ps b/Master/texmf-dist/tex/latex/HA-prosper/Styles/TCS/TCSgradlogo.ps deleted file mode 100644 index ed2093af37f..00000000000 --- a/Master/texmf-dist/tex/latex/HA-prosper/Styles/TCS/TCSgradlogo.ps +++ /dev/null @@ -1,46 +0,0 @@ -%!PS-Adobe-3.0 EPSF-3.0 -%%Title: BCenter Logo -%%BoundingBox: 0 0 302 172 - -% dark dark blue color -.17 .31 .44 setrgbcolor - -% draw triangle -newpath -60 60 moveto -90 112 lineto -120 60 lineto -60 60 moveto -fill - -% dark blue color -%.14 .34 .55 setrgbcolor -.19 .44 .61 setrgbcolor - - -% make the circle -% first 2 numbers are coordinates -% next number is diameter/radius -% next two numbers tell how much of circle to show -newpath -150 86 27 0 360 arc -fill - -% light blue color -%.75 .85 .92 setrgbcolor -.43 .61 .84 setrgbcolor - - - -% draw square -newpath -190 60 moveto -190 112 lineto -242 112 lineto -242 60 lineto -190 60 lineto -fill - - - - diff --git a/Master/texmf-dist/tex/latex/HA-prosper/Styles/TCS/TCSlogo.ps b/Master/texmf-dist/tex/latex/HA-prosper/Styles/TCS/TCSlogo.ps deleted file mode 100644 index 355020d6a70..00000000000 --- a/Master/texmf-dist/tex/latex/HA-prosper/Styles/TCS/TCSlogo.ps +++ /dev/null @@ -1,41 +0,0 @@ -%!PS-Adobe-3.0 EPSF-3.0 -%%Title: BCenter Logo -%%BoundingBox: 0 0 302 172 - -% dark dark blue color -.17 .31 .44 setrgbcolor - -% draw triangle -newpath -60 60 moveto -90 112 lineto -120 60 lineto -60 60 moveto -fill - -% dark blue color -.19 .44 .61 setrgbcolor - -% make the circle -% first 2 numbers are coordinates -% next number is diameter/radius -% next two numbers tell how much of circle to show -newpath -150 86 27 0 360 arc -fill - -% light blue color -.75 .85 .92 setrgbcolor - -% draw square -newpath -190 60 moveto -190 112 lineto -242 112 lineto -242 60 lineto -190 60 lineto -fill - - - - diff --git a/Master/texmf-dist/tex/latex/HA-prosper/Styles/Tycja/HAPTycja.sty b/Master/texmf-dist/tex/latex/HA-prosper/Styles/Tycja/HAPTycja.sty deleted file mode 100644 index c2174743deb..00000000000 --- a/Master/texmf-dist/tex/latex/HA-prosper/Styles/Tycja/HAPTycja.sty +++ /dev/null @@ -1,160 +0,0 @@ -%============================================================================== -% -% HAPTycja -- style file for use with HA-prosper. -% -% Created by: Hendri Adriaens -% http://center.uvt.nl/phd_stud/adriaens -% Center for Economic Research -% Tilburg University, the Netherlands -% -% Copyright (c) 2003-2004 Hendri Adriaens. All rights reserved. -% -% This program 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. -% -% This program consists of the files listed in files.txt present in this package. -% -%============================================================================== - -\NeedsTeXFormat{LaTeX2e}[1995/12/01] -\ProvidesPackage{HAPTycja}[2004/05/16] -\typeout{`Tycja' style for HA-prosper} -\typeout{(c) 2003-2004 Hendri Adriaens, Tilburg, the Netherlands} -\typeout{Package version: 1.5} -\typeout{ } - -% Color definitions -\newrgbcolor{tjlblue}{.78 .82 .85} -\newrgbcolor{tjblue}{.19 .39 .61} -\newrgbcolor{tjdblue}{.09 .27 .47} -\newrgbcolor{HAP@textc}{.09 .27 .47} -\newrgbcolor{tjyellow}{1 .81 .42} -\newrgbcolor{tjlyellow}{1 .97 .84} -\newrgbcolor{HAP@framecolor}{.09 .27 .47} - -% Highlighting definitions -\newrgbcolor{HAP@hcolor}{.09 .27 .47} % Highlight frame color -\newrgbcolor{HAP@htcolor}{1 .97 .84} % Highlight text color - -% Font definitions -\FontTitle{\usefont{T1}{phv}{b}{n}\fontsize{14.4pt}{14pt}\selectfont\tjdblue}% - {\usefont{T1}{phv}{b}{n}\fontsize{14.4pt}{14pt}\selectfont\tjdblue} -\FontText{\usefont{T1}{phv}{m}{n}\fontsize{10pt}{10pt}\selectfont\HAP@textc}% - {\usefont{T1}{phv}{m}{n}\fontsize{10pt}{10pt}\selectfont\HAP@textc} -\FontLeftFoot{\@fontTextColor\fontsize{4pt}{4pt}\selectfont\tjdblue}% - {\@fontTextColor\fontsize{4pt}{4pt}\selectfont\tjdblue} -\FontRightFoot{\@fontTextColor\fontsize{4pt}{4pt}\selectfont\tjdblue}% - {\@fontTextColor\fontsize{4pt}{4pt}\selectfont\tjdblue} - -% Slide style definitions -\RequirePackage{pst-grad} -\newcommand{\TitleSlide}[1]{% - \ifHAP@portrait - \psframe[linestyle=none,fillcolor=tjlyellow,fillstyle=solid](-2,11.5)(12.5,-.9)% - \psline[linewidth=.3pt,linecolor=tjdblue]{C-C}(-2,9.1)(-1,9.1)% - \psline[linewidth=.3pt,linecolor=tjdblue]{C-C}(-1,9.1)(-1,9.4)% - \psline[linewidth=.3pt,linecolor=tjdblue]{C-C}(-1,9.4)(12.5,9.4)% - \psframe[linestyle=none,fillstyle=gradient,gradbegin=tjlblue,gradend=tjblue,gradmidpoint=1](-2,-.15)(12.5,-2.26)% - \HAP@PutLF{tl}{-0.95,-.35}% - \HAP@PutRF{tr}{8.6,-.35}% - \else% - \psframe[linestyle=none,fillcolor=tjlyellow,fillstyle=solid](-2,9)(12.5,-.6)% - \psline[linewidth=.3pt,linecolor=tjdblue]{C-C}(-2,7.6)(-1,7.6)% - \psline[linewidth=.3pt,linecolor=tjdblue]{C-C}(-1,7.6)(-1,7.9)% - \psline[linewidth=.3pt,linecolor=tjdblue]{C-C}(-1,7.9)(12.5,7.9)% - \psframe[linestyle=none,fillstyle=gradient,gradbegin=tjlblue,gradend=tjblue,gradmidpoint=1](-2,-.5)(12.5,-1.32)% - \HAP@PutLF{tl}{-1.65,-.9}% - \HAP@PutRF{tr}{11.35,-.9}% - \fi% - {#1}}% - -\newcommand{\NormalSlide}[1]{% - \ifHAP@portrait% - \psframe[linestyle=none,fillcolor=tjlyellow,fillstyle=solid](-2,11.5)(12.5,-.9)% - \psline[linewidth=.3pt,linecolor=tjdblue]{C-C}(-2,9.1)(-1,9.1)% - \psline[linewidth=.3pt,linecolor=tjdblue]{C-C}(-1,9.1)(-1,9.4)% - \psline[linewidth=.3pt,linecolor=tjdblue]{C-C}(-1,9.4)(12.5,9.4)% - \psframe[linestyle=none,fillstyle=gradient,gradbegin=tjyellow,gradend=tjlyellow,gradmidpoint=1](8.4,11.5)(10,-2)% - \psframe[linestyle=none,fillstyle=gradient,gradbegin=tjlblue,gradend=tjblue,gradmidpoint=1](-2,-.15)(12.5,-5)% - \ifHAP@toc% - \rput[tr](3.7,-.8){\begin{minipage}[t]{2cm}\HAP@tsections\end{minipage}}% - \rput[tl](4.1,-.8){\begin{minipage}[t]{2cm}\HAP@tcontent\end{minipage}}% - \fi% - \HAP@PutLF{tl}{-0.95,-.35}% - \HAP@PutRF{tr}{8.6,-.35}% - \else% - \psframe[linestyle=none,fillcolor=tjlyellow,fillstyle=solid](-2,9)(9.4,-.6)% - \psline[linewidth=.3pt,linecolor=tjdblue]{C-C}(-2,7.6)(-1,7.6)% - \psline[linewidth=.3pt,linecolor=tjdblue]{C-C}(-1,7.6)(-1,7.9)% - \psline[linewidth=.3pt,linecolor=tjdblue]{C-C}(-1,7.9)(9.4,7.9)% - \psframe[linestyle=none,fillstyle=gradient,gradbegin=tjyellow,gradend=tjlyellow,gradmidpoint=1](9.3,9)(12.5,-2)% - \psframe[linestyle=none,fillstyle=gradient,gradbegin=tjlblue,gradend=tjblue,gradmidpoint=1](-2,-.5)(12.5,-1.32)% - \ifHAP@toc% - \rput[lt](9.475,7.25){\begin{minipage}[t]{2cm}\HAP@toc\end{minipage}}% - \fi% - \HAP@PutLF{tl}{-1.65,-.9}% - \HAP@PutRF{tr}{11.35,-.9}% - \fi% - {#1}}% - -\newcommand{\SpecialSlide}[1]{% - \ifHAP@portrait% - \psframe[linestyle=none,fillcolor=tjlyellow,fillstyle=solid](-2,11.5)(12.5,-.9)% - \psline[linewidth=.3pt,linecolor=tjdblue]{C-C}(-2,9.1)(-1,9.1)% - \psline[linewidth=.3pt,linecolor=tjdblue]{C-C}(-1,9.1)(-1,9.4)% - \psline[linewidth=.3pt,linecolor=tjdblue]{C-C}(-1,9.4)(12.5,9.4)% - \psframe[linestyle=none,fillstyle=gradient,gradbegin=tjyellow,gradend=tjlyellow,gradmidpoint=1](8.4,11.5)(10,-.2)% - \psframe[linestyle=none,fillstyle=gradient,gradbegin=tjlblue,gradend=tjblue,gradmidpoint=1](-2,-.15)(12.5,-5)% - \ifHAP@toc% - \rput[tr](3.7,-.8){\begin{minipage}[t]{2cm}\HAP@tsections\end{minipage}}% - \rput[tl](4.1,-.8){\begin{minipage}[t]{2cm}\HAP@tcontent\end{minipage}}% - \fi% - \HAP@PutLF{tl}{-0.95,-.35}% - \HAP@PutRF{tr}{8.6,-.35}% - \else% - \psframe[linestyle=none,fillcolor=tjlyellow,fillstyle=solid](-2,9)(9.4,-.6)% - \psframe[linestyle=none,fillstyle=gradient,gradbegin=tjyellow,gradend=tjlyellow,gradmidpoint=1](9.3,9)(12.5,-2)% - \psframe[linestyle=none,fillcolor=tjlyellow,fillstyle=solid](9.2,7.91)(12.5,-2)% - \psline[linewidth=.3pt,linecolor=tjdblue]{C-C}(-2,7.6)(-1,7.6)% - \psline[linewidth=.3pt,linecolor=tjdblue]{C-C}(-1,7.6)(-1,7.9)% - \psline[linewidth=.3pt,linecolor=tjdblue]{C-C}(-1,7.9)(12.5,7.9)% - \psframe[linestyle=none,fillstyle=gradient,gradbegin=tjlblue,gradend=tjblue,gradmidpoint=1](-2,-.5)(12.5,-1.32)% - \HAP@PutLF{tl}{-1.65,-.9}% - \HAP@PutRF{tr}{11.35,-.9}% - \fi% - {#1}}% - -\ifHAP@portrait - \newcommand{\HAPR@titleSlide}{\NewSlideStyle[9cm]{tl}{-.65,2.9}{TitleSlide}} - \newcommand{\HAPR@normalSlide}{\NewSlideStyle[8.7cm]{tl}{-.65,3.3}{NormalSlide}} - \newcommand{\HAPR@wideSlide}{\NewSlideStyle[8.7cm]{tl}{-.65,3.3}{NormalSlide}} - \newcommand{\HAPR@dualSlide}{\NewSlideStyle[4.2cm]{tl}{-.65,3.3}{NormalSlide}} - \newcommand{\slidetitle}[1]{\rput[Br](8.3,4.55){\fontTitle{#1}}} -\else - \newcommand{\HAPR@titleSlide}{\NewSlideStyle[11.7cm]{tl}{-.6,3.4}{TitleSlide}} - \newcommand{\HAPR@normalSlide}{\NewSlideStyle[9.5cm]{tl}{-.6,3.7}{NormalSlide}} - \newcommand{\HAPR@wideSlide}{\NewSlideStyle[11.7cm]{tl}{-.6,3.7}{SpecialSlide}} - \newcommand{\HAPR@dualSlide}{\NewSlideStyle[5.5cm]{tl}{-.6,3.7}{SpecialSlide}} - \newcommand{\slidetitle}[1]{\rput[Br](9.2,4.55){\fontTitle{#1}}} -\fi - -% List item definitions -\RequirePackage{pifont} -\myitem{1}{\raisebox{1pt}{\fontsize{7pt}{7pt}\selectfont\ding{110}}} -\myitem{2}{\raisebox{1pt}{\fontsize{7pt}{7pt}\selectfont\ding{117}}} -\myitem{3}{\raisebox{1pt}{\fontsize{5pt}{5pt}\selectfont\ding{110}}} - -% Style of table of contents entries -\newcommand{\HAP@tsectionm}{% - \ifHAP@portrait\else - \psline[linecolor=tjdblue,linewidth=.25pt](-.04,-.05)(2,-.05)% - \fi -} -\newcommand{\HAP@tsectiononly}[1]{\parbox{2cm}{\raggedleft#1\,}} - -\endinput diff --git a/Master/texmf-dist/tex/latex/ha-prosper/HA-prosper.cfg b/Master/texmf-dist/tex/latex/ha-prosper/HA-prosper.cfg new file mode 100644 index 00000000000..55908f75642 --- /dev/null +++ b/Master/texmf-dist/tex/latex/ha-prosper/HA-prosper.cfg @@ -0,0 +1,46 @@ +%% +%% This is file `HA-prosper.cfg', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% HA-prosper.dtx (with options: `config') +%% +%% ------------------------------------------ +%% 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. +%% +%% +%% Global defaults of HA-prosper. +%% ============================== +%% +%% You can change this file but be careful since it will +%% affect all of your presentations. See for more information +%% the documentation of the HA-prosper package. +%% +\HAPsetup{% + lf=, + rf=, + trans=\@defaultTransition, + template=slide, + sstart=1, + stype=0, + iacolor=lightgray, + tsnav=FullScreen, + nsnav=ShowBookmarks, + sn={-~p.~\thepage\ifallPages/\totalpages\fi}, + counters= +} +\endinput +%% +%% End of file `HA-prosper.cfg'. 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'. diff --git a/Master/texmf-dist/tex/latex/ha-prosper/Styles/Aggie/AMLogo.eps b/Master/texmf-dist/tex/latex/ha-prosper/Styles/Aggie/AMLogo.eps new file mode 100644 index 00000000000..1d32dfc4786 --- /dev/null +++ b/Master/texmf-dist/tex/latex/ha-prosper/Styles/Aggie/AMLogo.eps @@ -0,0 +1,971 @@ +%!PS-Adobe-3.0 EPSF-3.0 +%%BoundingBox: 0 6 135 139 +%%HiResBoundingBox: 0.000000 6.960000 134.880005 138.000005 +%......................................... +%%Creator: AFPL Ghostscript 811 (epswrite) +%%CreationDate: 2004/03/14 10:10:45 +%%DocumentData: Clean7Bit +%%LanguageLevel: 2 +%%EndComments +%%BeginProlog +% This copyright applies to everything between here and the %%EndProlog: +% Copyright (C) 2003 artofcode LLC, Benicia, CA. All rights reserved. +%%BeginResource: procset GS_epswrite_2_0_1001 +/GS_epswrite_2_0_1001 80 dict dup begin +/PageSize 2 array def/setpagesize{ PageSize aload pop 3 index eq exch +4 index eq and{ pop pop pop}{ PageSize dup 1 +5 -1 roll put 0 4 -1 roll put dup null eq {false} {dup where} ifelse{ exch get exec} +{ pop/setpagedevice where +{ pop 1 dict dup /PageSize PageSize put setpagedevice} +{ /setpage where{ pop PageSize aload pop pageparams 3 {exch pop} repeat +setpage}if}ifelse}ifelse}ifelse} bind def +/!{bind def}bind def/#{load def}!/N/counttomark # +/rG{3{3 -1 roll 255 div}repeat setrgbcolor}!/G{255 div setgray}!/K{0 G}! +/r6{dup 3 -1 roll rG}!/r5{dup 3 1 roll rG}!/r3{dup rG}! +/w/setlinewidth #/J/setlinecap # +/j/setlinejoin #/M/setmiterlimit #/d/setdash #/i/setflat # +/m/moveto #/l/lineto #/c/rcurveto # +/p{N 2 idiv{N -2 roll rlineto}repeat}! +/P{N 0 gt{N -2 roll moveto p}if}! +/h{p closepath}!/H{P closepath}! +/lx{0 rlineto}!/ly{0 exch rlineto}!/v{0 0 6 2 roll c}!/y{2 copy c}! +/re{4 -2 roll m exch dup lx exch ly neg lx h}! +/^{3 index neg 3 index neg}! +/f{P fill}!/f*{P eofill}!/s{H stroke}!/S{P stroke}! +/q/gsave #/Q/grestore #/rf{re fill}! +/Y{P clip newpath}!/Y*{P eoclip newpath}!/rY{re Y}! +/|={pop exch 4 1 roll 1 array astore cvx 3 array astore cvx exch 1 index def exec}! +/|{exch string readstring |=}! +/+{dup type/nametype eq{2 index 7 add -3 bitshift 2 index mul}if}! +/@/currentfile #/${+ @ |}! +/B{{2 copy string{readstring pop}aload pop 4 array astore cvx +3 1 roll}repeat pop pop true}! +/Ix{[1 0 0 1 11 -2 roll exch neg exch neg]exch}! +/,{true exch Ix imagemask}!/If{false exch Ix imagemask}!/I{exch Ix image}! +/Ic{exch Ix false 3 colorimage}! +/F{/Columns counttomark 3 add -2 roll/Rows exch/K -1/BlackIs1 true>> +/CCITTFaxDecode filter}!/FX{<nT1B7CT!!!!TbaC6ezB$AL!s8W-!s8W-!s8W-!s8W,Cb[phTz +!1D'T1B7CT!!!!TREY^2s8W-!s8W-!s8W-!s8W-!s3-lezz!!!"2s8W-!AcMfeREY^2s8W-!s8W,C +R/d3e!!!!TR@+$Tz!+sI!s3-lez!!"h!AcMf2!!!!Tbfp+es8W-!s8W-!s8W-!s8Uo2AcMf2 +!!!!TREY^2s8W-!s8W-!s8W-!s8W-!baC6ezz!!$X2s8W+2!!"gCbl@_Cs8W-!s8U<2z!!"gCbaC6ez +!&L%eAcMf2zB$AJ2z!!"h!bl@_Cs8W-!s8W-!s8W-!baE'TAnGXeAsples8U<2AnGXeAnGYCbfp+e +s8W-!s8W-!s8W-!s8W,CR:^&CAnGXeAnGXeAsr]!s8U;TAnIITs8W-!s8W-!s3-mCAnGXeAnIIT +baE'TAnGXeAspl2AnGXeAnGYCbflJeAnGXeAnK92s8W-!s8W-!s8W-!s8W,CR54gCzB$AL!s3-lez +!!$WTbl@_Cs8W-!s8W-!s8W-!s8U<21B7CTzzB)ho2s-Wie1RZJes8W-!s8W-!baC6ez1RZJ2AcMf2z +B$=iez!&L%ebaC6ezB$AL!s8W-!s8W-!s8W-!s8U<21B7CT!!!"2bfp+ebaC6ez!+sI!s8W-!s8W-! +s8W-!s8W-!s3-lezz!!!"2s8W-!AcMfeREY^2s8W-!s8W,CR/d3e!!!!TREWlez!!!"2bVK5!z1RZJ2 +AcMf2!!!!Tbfp+es8W-!s8W-!s8W-!bflJeAnGXeAnIITs8W,CbaE'TAnGXeB$AL!s8W-!s8W-! +s8W-!s8W-!baE'TAnGXeAnGXeAnIJ2s8W,CAnGYCbl@_Cs8W-!s8U<2AnGXeAnGYCbflJeAnGXe +AnGYCAnGXeAnGYCbfn;!AnGXeAnGZ!bl@_Cs8W-!s8W-!s8W,Cb[phTz1RZJes8UnT1B7CTzz!!"h!bfn:Cz!!"h!bl@_Cs8W-!s8W-!s8U +Q +cleartomark end end pagesave restore showpage +%%PageTrailer +%%Trailer +%%Pages: 1 diff --git a/Master/texmf-dist/tex/latex/ha-prosper/Styles/Aggie/HAPAggie.sty b/Master/texmf-dist/tex/latex/ha-prosper/Styles/Aggie/HAPAggie.sty new file mode 100644 index 00000000000..1ed1c7922da --- /dev/null +++ b/Master/texmf-dist/tex/latex/ha-prosper/Styles/Aggie/HAPAggie.sty @@ -0,0 +1,216 @@ +%============================================================================== +% +% HAPAggie -- style file for use with HA-prosper. +% +% Created by: Jack Stalnaker +% stalnaker@tamu.edu +% Texas A&M University +% +% Copyright (c) 2004 Jack Stalnaker. All rights reserved. +% +% This program 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. +% +% This program consists of the files listed in files.txt present in this package. +% +% Credit goes to Hendri Adriaens for creating HA-Prosper, and because this +% style is based on an amalgamation of his HA style and the CentER style. +% I made it more Texas A&M-like and added the curves and gradients. +% I also changed the way the toc entries were highlighted in order to +% allow multi-line entries. This was accomplished with strategically placed +% \parboxes and \psframeboxes. +% +% N.B. This looks best when "Smooth line art" has been checked under +% Acrobat Reader-->Edit-->Preferences-->General. Also, this would look +% good with your logo(s) between the footers, as in the CentER style. +%============================================================================== + +\NeedsTeXFormat{LaTeX2e}[1995/12/01] +\ProvidesPackage{HAPAggie}[2004/05/16] +\typeout{`Aggie' style for HA-prosper} +\typeout{(c) 2004 Jack Stalnaker, College Station, Texas} +\typeout{Package version: 1.1} +\typeout{ } + +% Color definitions +\newrgbcolor{HAP@textc}{.17 .31 .44} +\newrgbcolor{maroon}{.51 .13 .16} +\newrgbcolor{HAP@framecolor}{.00 .37 .00} +\newrgbcolor{ccopperd}{.89 .85 .69} +\newrgbcolor{ccopperl}{.96 .94 .89} + +% Highlighting definitions +\newrgbcolor{HAP@hcolor}{.51 .13 .16} % Highlight frame color +\newrgbcolor{HAP@htcolor}{.99 .99 .99} % Highlight text color + +% Font definitions +\FontTitle{\usefont{T1}{uag}{b}{n}\fontsize{14.4pt}{14pt}\selectfont\maroon}% + {\usefont{T1}{phv}{b}{n}\fontsize{14.4pt}{14pt}\selectfont\maroon} +\FontText{\usefont{T1}{phv}{m}{n}\fontsize{10pt}{10pt}\selectfont\HAP@textc}% + {\usefont{T1}{phv}{m}{n}\fontsize{10pt}{10pt}\selectfont\HAP@textc} +\FontLeftFoot{\@fontTextColor\fontsize{4pt}{4pt}\selectfont}% + {\@fontTextColor\fontsize{4pt}{4pt}\selectfont} +\FontRightFoot{\@fontTextColor\fontsize{4pt}{4pt}\selectfont}% + {\@fontTextColor\fontsize{4pt}{4pt}\selectfont} +\ifHAP@portrait% + \FontToc{\@fontTextColor\fontsize{4pt}{6pt}\selectfont}% + {\@fontTextColor\fontsize{4pt}{6pt}\selectfont} +\else% + \FontToc{\@fontTextColor\fontsize{6pt}{7.5pt}\selectfont}% + {\@fontTextColor\fontsize{6pt}{7.5pt}\selectfont} +\fi + +% Slide style definitions +\RequirePackage{pst-grad} +\newcommand{\TitleSlide}[1]{% + \ifHAP@portrait% + \psframe[linestyle=none,fillstyle=solid,% + fillcolor=ccopperl](-2.1,-2.3)(12.7,8.4)% + \psframe[linestyle=none,fillstyle=solid,% + fillcolor=ccopperd](-2.1,8.35)(12.5,8.4)% + \psellipse[linestyle=solid,linecolor=maroon,fillstyle=solid,% + fillcolor=ccopperd](4,-1)(10,2)% + \rput[lb](-0.5,8.8){% + \@ifundefined{HAP@TSNav}% + {\includegraphics[scale=.35]{AMLogo.eps}}% + {\Acrobatmenu{\HAP@TSNav}{\includegraphics[scale=.35]{AMLogo.eps}}}% + }% + \HAP@PutLF{tl}{-0.95,-.35}% + \HAP@PutRF{tr}{8.6,-.35}% + \else% + \psframe[linestyle=none,fillstyle=solid,% + fillcolor=ccopperl](-2.1,-2.1)(12.7,7.4)% + \psframe[linestyle=none,fillstyle=solid,% + fillcolor=maroon](-2.1,7.35)(12.5,7.4)% + \psellipse[linestyle=solid,linecolor=maroon,fillstyle=solid,% + fillcolor=ccopperd](4.5,-1.5)(10,1.5)% + \rput[lb](-1.5,6.6){% + \@ifundefined{HAP@TSNav}% + {\includegraphics[scale=.35]{AMLogo.eps}}% + {\Acrobatmenu{\HAP@TSNav}{\includegraphics[scale=.35]{AMLogo.eps}}}% + }% + \HAP@PutLF{tl}{-1.65,-.9}% + \HAP@PutRF{tr}{11.35,-.9}% + \fi% + {#1}}% + +\newcommand{\NormalSlide}[1]{% + \ifHAP@portrait% + \psframe[linestyle=none,fillstyle=gradient,% + gradbegin=ccopperl,gradend=white,gradmidpoint=0](-2.3,12)(.9,-.43)% + \psellipse[linestyle=none,fillstyle=solid,% + fillcolor=white](1.3,4.5)(1.5,8)% + \psframe[linestyle=none,fillstyle=solid,% + fillcolor=ccopperd](-2.1,-.6)(12.5,-.2)% + \psline[linecolor=maroon,linewidth=.5pt](-2.1,-.21)(12.5,-.21)% + \psframe[linestyle=none,fillstyle=solid,% + fillcolor=ccopperl](-2.1,-2.3)(12.5,-.57)% + \psframe[linestyle=none,fillstyle=solid,% + fillcolor=maroon](-2.1,-2.2)(12.5,-2.3)% + \rput[lb](-1,9.7){% + \@ifundefined{HAP@NSNav}% + {\includegraphics[scale=.25]{AMLogo.eps}}% + {\Acrobatmenu{\HAP@NSNav}{\includegraphics[scale=.25]{AMLogo.eps}}}% + }% + \ifHAP@toc% + \rput[tr](3.7,-.8){\begin{minipage}[t]{2cm}\HAP@tsections\end{minipage}}% + \rput[tl](4.1,-.8){\begin{minipage}[t]{2cm}\HAP@tcontent\end{minipage}}% + \fi% + \HAP@PutLF{tl}{-0.95,-.35}% + \HAP@PutRF{tr}{8.6,-.35}% + \else% + \psframe[linestyle=none,fillstyle=gradient,% + gradbegin=ccopperl,gradend=white,gradmidpoint=0](-2.3,9)(.7,-.53)% + \psellipse[linestyle=none,fillstyle=solid,% + fillcolor=white](3.3,4.3)(3,10)% + \ifHAP@toc% + \rput[lt](-1.7,6.55){\begin{minipage}[t]{2cm}\HAP@toc\end{minipage}}% + \fi% + \psframe[linestyle=none,fillstyle=solid,% + fillcolor=ccopperd](-2.1,-1.5)(12.5,-.5)% + \psline[linecolor=maroon,linewidth=.5pt](-2.1,-.51)(12.5,-.51)% + \rput[lb](-1.4,7.2){% + \@ifundefined{HAP@NSNav}% + {\includegraphics[scale=.25]{AMLogo.eps}}% + {\Acrobatmenu{\HAP@NSNav}{\includegraphics[scale=.25]{AMLogo.eps}}}% + }% + \HAP@PutLF{tl}{-1.65,-.9}% + \HAP@PutRF{tr}{11.35,-.9}% + \fi% + {#1}}% + +\newcommand{\SpecialSlide}[1]{% + \ifHAP@portrait% + \psframe[linestyle=none,fillstyle=gradient,% + gradbegin=ccopperl,gradend=white,gradmidpoint=0](-2.3,12)(.9,-.43)% + \psellipse[linestyle=none,fillstyle=solid,% + fillcolor=white](1.3,4.5)(1.5,8)% + \psframe[linestyle=none,fillstyle=solid,% + fillcolor=ccopperd](-2.1,-.6)(12.5,-.2)% + \psline[linecolor=maroon,linewidth=.5pt](-2.1,-.21)(12.5,-.21)% + \psframe[linestyle=none,fillstyle=solid,% + fillcolor=ccopperl](-2.1,-2.3)(12.5,-.57)% + \psframe[linestyle=none,fillstyle=solid,% + fillcolor=maroon](-2.1,-2.2)(12.5,-2.3)% + \rput[lb](-1,9.7){% + \@ifundefined{HAP@NSNav}% + {\includegraphics[scale=.25]{AMLogo.eps}}% + {\Acrobatmenu{\HAP@NSNav}{\includegraphics[scale=.25]{AMLogo.eps}}}% + }% + \ifHAP@toc% + \rput[tr](3.7,-.8){\begin{minipage}[t]{2cm}\HAP@tsections\end{minipage}}% + \rput[tl](4.1,-.8){\begin{minipage}[t]{2cm}\HAP@tcontent\end{minipage}}% + \fi% + \HAP@PutLF{tl}{-0.95,-.35}% + \HAP@PutRF{tr}{8.6,-.35}% + \else% + \psframe[linestyle=none,fillstyle=solid,% + fillcolor=ccopperd](-2.1,-1.5)(12.5,-.5)% + \psframe[linestyle=none,fillstyle=gradient,gradbegin=ccopperl,% + gradend=white,gradmidpoint=1,gradangle=90](-2.1,7.65)(12.5,9.0) + \rput[lb](-1.4,7.2){% + \@ifundefined{HAP@NSNav}% + {\includegraphics[scale=.25]{AMLogo.eps}}% + {\Acrobatmenu{\HAP@NSNav}{\includegraphics[scale=.25]{AMLogo.eps}}}% + }% + \psline[linecolor=maroon,linewidth=.5pt](-2.1,-.51)(12.5,-.51)% + \HAP@PutLF{tl}{-1.65,-.9}% + \HAP@PutRF{tr}{11.35,-.9}% + \fi% + {#1}}% + +\ifHAP@portrait + \newcommand{\HAPR@titleSlide}{\NewSlideStyle[8.4cm]{t}{3.85,2.4}{TitleSlide}} + \newcommand{\HAPR@normalSlide}{\NewSlideStyle[7.8cm]{tl}{.77,4}{NormalSlide}} + \newcommand{\HAPR@wideSlide}{\NewSlideStyle[8.3cm]{tl}{-0.5,4}{SpecialSlide}} + \newcommand{\slidetitle}[1]{\rput[Bl](.77,4.9){\fontTitle{\textsl{#1}}}} +\else + \newcommand{\HAPR@titleSlide}{\NewSlideStyle[11cm]{t}{4.67,2.4}{TitleSlide}} + \newcommand{\HAPR@normalSlide}{\NewSlideStyle[9.78cm]{tl}{.77,3.7}{NormalSlide}} + \newcommand{\HAPR@wideSlide}{\NewSlideStyle[12.3cm]{tl}{-1.4,3.3}{SpecialSlide}} + \newcommand{\slidetitle}[1]{\rput[Bl](.77,4.4){\fontTitle{\textsl{#1}}}} +\fi + +% List item definitions +\RequirePackage{pifont} +\myitem{1}{\ifHAP@active\maroon\fi\raisebox{1pt}{\fontsize{6pt}{6pt}\selectfont\ding{108}}} +\myitem{2}{\ifHAP@active\maroon\fi\raisebox{1pt}{\fontsize{7pt}{7pt}\selectfont\ding{70}}} +\myitem{3}{\ifHAP@active\maroon\fi\raisebox{1pt}{\fontsize{5pt}{5pt}\selectfont\ding{110}}} + +% Style of table of contents entries +\newcommand{\HAP@tline}[1]{\ding{118}\,\parbox[t]{1.7cm}{\raggedright#1}} +\newcommand{\HAP@tlineonly}[1]{\parbox[t]{1.7cm}{\raggedright#1}} +\newcommand{\HAP@tsection}[1]{\parbox[b]{1.9cm}{\raggedright#1}} +\newcommand{\HAP@tsectionm}{% + \ifHAP@portrait\else + \psline[linecolor=maroon,linewidth=.25pt](-.05,-.05)(2,-.05)% + \fi +} +\newcommand{\HAP@tsectiononly}[1]{\parbox{1.7cm}{\raggedright#1\,}} + +\endinput diff --git a/Master/texmf-dist/tex/latex/ha-prosper/Styles/Aggie/files.txt b/Master/texmf-dist/tex/latex/ha-prosper/Styles/Aggie/files.txt new file mode 100644 index 00000000000..6d184ad103f --- /dev/null +++ b/Master/texmf-dist/tex/latex/ha-prosper/Styles/Aggie/files.txt @@ -0,0 +1,9 @@ +Files included in the 'Aggie' style package for HA-Prosper +=========================================================== +1) HAPAggie.sty -- the actual style file +2) AMLogo.eps -- Texas A&M logo. Replace with your own, if you so desire. +3) files.txt -- You're reading it. + +If you need help contact Jack Stalnaker at stalnaker@tamu.edu + +--Jack diff --git a/Master/texmf-dist/tex/latex/ha-prosper/Styles/Capsules/HAPcapsules.sty b/Master/texmf-dist/tex/latex/ha-prosper/Styles/Capsules/HAPcapsules.sty new file mode 100644 index 00000000000..fb0cd8e4f4b --- /dev/null +++ b/Master/texmf-dist/tex/latex/ha-prosper/Styles/Capsules/HAPcapsules.sty @@ -0,0 +1,165 @@ +%============================================================================== +% HA-prosper -- (HAPcapsules.sty) Style file +% A LaTeX class for creating slides +% Author: Mathieu Goutelle (mgoutell[at]users[dot]sourceforge[dot]net) +% UREC CNRS, France +% +% Copyright (c) 2004 Mathieu Goutelle +% All rights reserved. +% +% This program 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] +\ProvidesPackage{HAPcapsules}[2004/06/10] +\typeout{capsules style for HA-prosper} +\typeout{(c) 2004 Mathieu Goutelle, UREC CNRS, France} +\typeout{ } + +\ifHAP@portrait + \PackageError{HAPcapsules}{This template does not support portrait slides}% + {Sorry, no additional help}% +\fi + +% Required packages +\RequirePackage{amssymb} +\RequirePackage{palatino,mathpazo} + +% Colors +\newrgbcolor{mylightgreen}{0.6 0.8 0.6} +\newrgbcolor{mygreen}{0 0.4 0.4} +\newrgbcolor{myblue}{0 0.2 0.4} +\newrgbcolor{HAP@textc}{0 0.2 0.4} +\newrgbcolor{HAP@framecolor}{.17 .31 .44} + +% Highlighting definitions +\newrgbcolor{HAP@hcolor}{0 0.2 0.4} % Highlight frame color +\newrgbcolor{HAP@htcolor}{1 1 1} % Highlight text color + +% Font definitions +\FontTitle{\usefont{T1}{phv}{b}{n}\fontsize{14.4pt}{14pt}\selectfont\mygreen}% + {\usefont{T1}{phv}{b}{n}\fontsize{14.4pt}{14pt}\selectfont\mygreen} +\FontSubtitle{\usefont{T1}{phv}{m}{n}\fontsize{10pt}{10pt}\selectfont\myblue}% + {\usefont{T1}{phv}{m}{n}\fontsize{10pt}{10pt}\selectfont\myblue} +\FontText{\usefont{T1}{phv}{m}{n}\fontsize{10pt}{10pt}\selectfont\HAP@textc}% + {\usefont{T1}{phv}{m}{n}\fontsize{10pt}{10pt}\selectfont\HAP@textc} +\FontLeftFoot{\@fontTextColor\fontsize{4pt}{4pt}\selectfont}% + {\@fontTextColor\fontsize{4pt}{4pt}\selectfont} +\FontRightFoot{\@fontTextColor\fontsize{4pt}{4pt}\selectfont}% + {\@fontTextColor\fontsize{4pt}{4pt}\selectfont} + +\newcommand{\TitleSlide}[1]{ + \psframe[fillstyle=solid,fillcolor=mylightgreen,linestyle=none,linewidth=0pt](-2,-2)(5,9)% + \pscircle[fillstyle=solid,fillcolor=white,linestyle=none,linewidth=0pt](0.5,5.5){1}% + \psframe[fillstyle=solid,fillcolor=white,linestyle=none,linewidth=0pt](0.5,4.5)(5.41,6.5)% + + \pscircle[fillstyle=solid,fillcolor=myblue,linestyle=none,linewidth=0pt](11,1){0.2}% + \psframe[fillstyle=solid,fillcolor=myblue,linestyle=none,linewidth=0pt](4,0.8)(11,1.2)% + + \HAP@PutLF{tl}{-1.65,-.9}% + \HAP@PutRF{tr}{11.35,-.9}% + + {#1}} + +\newcommand{\NormalSlide}[1]{ + \psframe[fillstyle=solid,fillcolor=mylightgreen,linestyle=none,linewidth=0pt](-2,-2)(0.4,9)% + \psframe[fillstyle=solid,fillcolor=mylightgreen,linestyle=none,linewidth=0pt](0,7.5)(5,9)% + \pscircle[fillstyle=solid,fillcolor=white,linestyle=none,linewidth=0pt](0.9,7.5){0.5}% + \psframe[fillstyle=solid,fillcolor=white,linestyle=none,linewidth=0pt](0.9,7.49)(5.41,8)% + + \pscircle[fillstyle=solid,fillcolor=myblue,linestyle=none,linewidth=0pt](-0.1,6.8){0.2}% + \psframe[fillstyle=solid,fillcolor=myblue,linestyle=none,linewidth=0pt](-0.1,6.6)(9.4,7)% + + \ifHAP@toc% + \rput[lt](-1.7,6.25){\begin{minipage}[t]{2cm}\HAP@toc\end{minipage}}% + \fi% + + \HAP@PutLF{tl}{-1.65,-.9}% + \HAP@PutRF{tr}{11.35,-.9}% + + {#1}} + +\newcommand{\SpecialSlide}[1]{ + \psframe[fillstyle=solid,fillcolor=mylightgreen,linestyle=none,linewidth=0pt](-2,-2)(-1,9)% + \psframe[fillstyle=solid,fillcolor=mylightgreen,linestyle=none,linewidth=0pt](-1,7.5)(5,9)% + \pscircle[fillstyle=solid,fillcolor=white,linestyle=none,linewidth=0pt](-0.5,7.5){0.5}% + \psframe[fillstyle=solid,fillcolor=white,linestyle=none,linewidth=0pt](-0.5,7.49)(5.41,8)% + + \pscircle[fillstyle=solid,fillcolor=myblue,linestyle=none,linewidth=0pt](-1.5,6.8){0.2}% + \psframe[fillstyle=solid,fillcolor=myblue,linestyle=none,linewidth=0pt](-1.5,6.6)(9.4,7)% + + \HAP@PutLF{tl}{-1.65,-.9}% + \HAP@PutRF{tr}{11.35,-.9}% + + {#1}} + +\newcommand{\HAPR@titleSlide}{% + \NewSlideStyle[11.5cm]{tl}{-0.8,2.6}{TitleSlide}} +\newcommand{\HAPR@normalSlide}{% + \global\let\slidetitle=\normal@slidetitle + \NewSlideStyle[9.78cm]{tl}{1.17,2.7}{NormalSlide}} +\newcommand{\HAPR@wideSlide}{% + \global\let\slidetitle=\special@slidetitle + \NewSlideStyle[11.5cm]{tl}{-0.7,2.7}{SpecialSlide}} + +\def\special@slidetitle#1{\rput[lb](-0.8,3.6){% + \parbox{11.5cm}{\fontTitle{\mygreen\baselineskip=0pt #1}}}}% +\def\normal@slidetitle#1{\rput[lb](0.6,3.6){% + \parbox{10.7cm}{\fontTitle{\mygreen\baselineskip=0pt #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}% + \vskip2em + \ifx\@Subtitle\@empty\else + {\mbox{}\hfill + \parbox{0.45\linewidth}{\raggedleft + \ifinColor\@fontSubtitleColor\else\@fontSubtitleBW\fi\@Subtitle\par}% + \vskip1em + } + \fi + {\ifinColor\@fontAuthorColor\else\@fontAuthorBW\fi + \begin{tabular}[t]{c}\@author\end{tabular}\par}% + \vfill + \end{center}% + \end{slide}% +} + +\myitem{1}{\scriptsize\raisebox{1pt}{\ensuremath{\blacksquare}}} +\myitem{2}{\scriptsize\raisebox{1pt}{\ensuremath{\blacklozenge}}} +\myitem{3}{\scriptsize\raisebox{1pt}{\ensuremath{\bullet}}} + +% Style of table of contents entries +\newcommand{\HAP@tline}[1]{\guillemotright\,#1} +\newcommand{\HAP@tsectionm}{\psline[linecolor=myblue,linewidth=.25pt](-.05,-.05)(2,-.05)} + +\endinput + +%%% Local Variables: +%%% mode: latex +%%% TeX-master: t +%%% End: diff --git a/Master/texmf-dist/tex/latex/ha-prosper/Styles/Ciment/HAPciment.sty b/Master/texmf-dist/tex/latex/ha-prosper/Styles/Ciment/HAPciment.sty new file mode 100644 index 00000000000..96dc3a3c2fe --- /dev/null +++ b/Master/texmf-dist/tex/latex/ha-prosper/Styles/Ciment/HAPciment.sty @@ -0,0 +1,126 @@ +%============================================================================== +% HA-prosper -- (HAPciment.sty) Style file +% A LaTeX class for creating slides +% Author: Mathieu Goutelle (mgoutell[at]users[dot]sourceforge[dot]net) +% UREC CNRS, France +% +% Copyright (c) 2004 Mathieu Goutelle +% All rights reserved. +% +% This program 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] +\ProvidesPackage{HAPciment}[2004/06/17] +\typeout{ciment style for HA-prosper} +\typeout{(c) 2004 Mathieu Goutelle, UREC CNRS, France} +\typeout{ } + +\ifHAP@portrait + \PackageError{HAPcapsules}{This template does not support portrait slides}% + {Sorry, no additional help}% +\fi + +% Required packages +\RequirePackage{amssymb} +\RequirePackage{semhelv,mathpazo} +\RequirePackage{multido} + +% Colors +\newrgbcolor{mydarkred}{0.7 0.1 0.1} +\newrgbcolor{mydarkgray}{0.2 0.2 0.2} +\newrgbcolor{mylightgray}{0.7 0.7 0.7} +\newrgbcolor{HAP@textc}{0 0 0} +\newrgbcolor{HAP@framecolor}{0.2 0.2 0.2} + +\newrgbcolor{HAP@hcolor}{0.7 0.1 0.1} % Highlight frame color +\newrgbcolor{HAP@htcolor}{1 1 1} % Highlight text color + +% The fonts +\FontTitle{% + \usefont{T1}{phv}{b}{n}\fontsize{14.4pt}{14.4pt}\selectfont\mydarkred}{% + \usefont{T1}{phv}{b}{n}\fontsize{14.4pt}{14.4pt}\selectfont\mydarkred} +\FontText{% + \usefont{T1}{phv}{m}{n}\fontsize{10pt}{10pt}\selectfont\black}{% + \usefont{T1}{phv}{m}{n}\fontsize{10pt}{10pt}\selectfont\black} + +\def\@fontSubtitleColor{\@fontTitleColor\fontsize{14pt}{14pt}\selectfont\itshape} + +\FontLeftFoot{\@fontTextColor\fontsize{4pt}{4pt}\selectfont\mydarkgray}% + {\@fontTextColor\fontsize{4pt}{4pt}\selectfont\mydarkgray} +\FontRightFoot{\@fontTextColor\fontsize{4pt}{4pt}\selectfont\mydarkgray}% + {\@fontTextColor\fontsize{4pt}{4pt}\selectfont\mydarkgray} + +% Positionning of the title of a slide. +\newlength{\CimentTitleLength} +\setlength{\parindent}{0pt} +\def\slidetitle#1{% + \rput[lt](-0.8,4.8){% + \parbox[t]{11cm}{% + \settowidth{\CimentTitleLength}{\fontTitle{#1}}% + \addtolength{\CimentTitleLength}{0.1cm}% + {\fontTitle{#1}}\\% + \psline[linewidth=3pt,linecolor=mydarkred](-0.05,0.4)(\CimentTitleLength,0.4)% + \psline[linewidth=1pt,linecolor=mydarkred](\CimentTitleLength,0.424)(12.1,0.424)% + }% + }% + \null\\[-1.2cm]% +} + +\newcommand{\TitleSlide}[1]{ + \multirput(0,2pt){160}{\psline[linecolor=mylightgray,linewidth=0.5pt](-2,-2)(13,-2)}% + + \psline[linewidth=1pt,linecolor=mydarkred](-1.5,-0.8)(11.4,-0.8)% + \HAP@PutLF{tl}{-1.45,-.9}% + \HAP@PutRF{tr}{11.35,-.9}% + + {#1}} + +\newcommand{\NormalSlide}[1]{ + \multirput(0,2pt){160}{\psline[linecolor=mylightgray,linewidth=0.5pt](-2,-2)(13,-2)}% + \psframe[fillstyle=solid,fillcolor=mylightgray,linestyle=none,linewidth=0pt](-2,-0.17)(0.4,7.15)% + \ifHAP@toc% + \rput[lt](-1.7,7){\begin{minipage}[t]{2cm}\HAP@toc\end{minipage}}% + \fi% + + \psline[linewidth=1pt,linecolor=mydarkred](-1.5,-0.8)(11.4,-0.8)% + \HAP@PutLF{tl}{-1.45,-.9}% + \HAP@PutRF{tr}{11.35,-.9}% + + {#1}} + +\newcommand{\SpecialSlide}[1]{ + \multirput(0,2pt){160}{\psline[linecolor=mylightgray,linewidth=0.5pt](-2,-2)(13,-2)}% + + \psline[linewidth=1pt,linecolor=mydarkred](-1.5,-0.8)(11.4,-0.8)% + \HAP@PutLF{tl}{-1.45,-.9}% + \HAP@PutRF{tr}{11.35,-.9}% + + {#1}} + +% Style of table of contents entries +\newcommand{\HAP@tline}[1]{\guillemotright\,#1} +\newcommand{\HAP@tsectionm}{\psline[linecolor=mydarkred,linewidth=.25pt](-.05,-.05)(2,-.05)} + +\myitem{1}{\raisebox{1pt}{\scriptsize\ensuremath{\blacksquare}}} +\myitem{2}{\scriptsize\ensuremath{\blacklozenge}} +\myitem{3}{\raisebox{1pt}{\scriptsize\ensuremath{\bullet}}} + +\newcommand{\HAPR@titleSlide}{\NewSlideStyle[12.3cm]{tl}{-1,2.75}{TitleSlide}} +\newcommand{\HAPR@normalSlide}{\NewSlideStyle[9.78cm]{tl}{1.17,2.7}{NormalSlide}} +\newcommand{\HAPR@wideSlide}{\NewSlideStyle[12.3cm]{tl}{-1.2,2.7}{SpecialSlide}} + +% \NewSlideStyle{t}{5.3,2.9}{CimentFrame} + +\endinput + +%%% Local Variables: +%%% mode: latex +%%% TeX-master: t +%%% End: diff --git a/Master/texmf-dist/tex/latex/ha-prosper/Styles/Fyma/HAPFyma.sty b/Master/texmf-dist/tex/latex/ha-prosper/Styles/Fyma/HAPFyma.sty new file mode 100644 index 00000000000..ef8e20357a1 --- /dev/null +++ b/Master/texmf-dist/tex/latex/ha-prosper/Styles/Fyma/HAPFyma.sty @@ -0,0 +1,352 @@ +%============================================================================== +% +% HAPFyma -- style file for use with HA-prosper. +% +% Created by: Laurent Jacques +% http://www.fyma.ucl.ac.be/~ljacques +% Institute of Theoretical Physics +% Universiti catholique de Louvain, Belgium +% +% Copyright (c) 2003-2004 Hendri Adriaens. All rights reserved. +% +% This program 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. +% +% This program consists of the files listed in files.txt present in this package. +% +%============================================================================== +% Changelog: +% +% V.1.1: +% * Adapting the code to the definition of \HAP@hltocentry and +% \HAP@twidth +% * Adapting code to definition of \HAP@tsectionm +% * Adding parbox in the slide title to cut very long titles. This +% uses the definition of the new length \FymaMaxTitleLength which is +% adapted to the slide format and to the presence of toc. +% * Removing the filled rectangle surrounding selected toc entriy and +% replacing it by a simple red coloring of the text. +% * Removing \dblue from \myitem to allow gray coloring when items are +% deactived +% * Adding missing gradient (in comparison with the first PPRFyma) +% * Raising the previous parbox for tsection to obtain a well placed +% horizontal rule. +% * Placing a parbox in \HAP@tline for long material (like in the +% Aggie style). This avoids them to exceed the toc width on slide. +% +% V.1.0: intial release added to HA-prosper 4.1 + +\NeedsTeXFormat{LaTeX2e}[1995/12/01] +\ProvidesPackage{HAPFyma}[2004/05/16] +\typeout{Fyma style for HA-prosper} +\typeout{(c) 2003-2004 Laurent Jacques, FYMA/UCL, Belgium} +\typeout{Package version: 1.1} +\typeout{ } + +\ifHAP@portrait + \PackageError{HAPFyma}{This template does not support portrait slides}% + {Sorry, no additional help}% +\fi% + +% Controlling the a4paper possibility by defining the condition +% \ifFymaAFourPaper. +% User has just to write \FymaAFour in his preamble +% to obtain the A4 support, otherwise, the us letter +% format is used. +\newif\ifFymaAFourPaper +\def\FymaAFour{\FymaAFourPapertrue} +\def\FymaNotAFour{\FymaAFourPaperfalse} + +% Color definitions +\newrgbcolor{ddblue}{0.06 0.25 0.41} +\newrgbcolor{HAP@textc}{0.06 0.25 0.44} +\newrgbcolor{dblue}{0.14 0.34 0.55} +\newrgbcolor{lblue}{0.24 0.45 0.70} +\newrgbcolor{llblue}{0.43 0.61 0.84} +\newrgbcolor{lllblue}{0.88 0.95 1.00} +\newrgbcolor{llllblue}{0.98 0.99 1.00} +\newrgbcolor{HAP@framecolor}{0.06 0.25 0.41} + +% Highlighting definitions +\newrgbcolor{HAP@hcolor}{0.14 0.34 0.55} % Highlight frame color in TOC +\newrgbcolor{HAP@htcolor}{1 0.15 0.24} % Highlight text color in TOC + +% Font definitions +\FontTitle{\usefont{T1}{phv}{b}{n}\fontsize{12.4pt}{12pt}\selectfont\dblue}% + {\usefont{T1}{phv}{b}{n}\fontsize{12.4pt}{12pt}\selectfont\dblue} +\FontText{\usefont{T1}{phv}{m}{n}\fontsize{10pt}{10pt}\selectfont\HAP@textc}% + {\usefont{T1}{phv}{m}{n}\fontsize{10pt}{10pt}\selectfont\HAP@textc} +\FontLeftFoot{\@fontTextColor\fontsize{4pt}{4pt}\selectfont}% + {\@fontTextColor\fontsize{4pt}{4pt}\selectfont} +\FontRightFoot{\@fontTextColor\fontsize{4pt}{4pt}\selectfont}% + {\@fontTextColor\fontsize{4pt}{4pt}\selectfont} + +% General function to create the complete border set of the FYMA +% style. Used by TitleSlide, NormalSlide, PartSlide, etc... +\RequirePackage{pst-grad} +\newcommand{\MakeFymaMainGradient}{% +\ifFymaAFourPaper% +\psframe[linestyle=none, fillstyle=gradient, + gradbegin=lllblue,gradend=white,gradmidpoint=0](-1.37,-0.77)(11.97,8.47)% +\else +\psframe[linestyle=none, fillstyle=gradient, + gradbegin=lllblue,gradend=white,gradmidpoint=0](-1.37,-0.77)(11.125,8.47)% +\fi +} + +\newcommand{\MakeFymaFrame}{% +\ifFymaAFourPaper% +% Top line +\psframe[linestyle=none,fillstyle=solid,linewidth=2pt, +fillcolor=lblue](-1.5,8.5)(12.1,8.4)% +% Top left cross +\psframe[linestyle=none,fillstyle=solid,linewidth=2pt, +fillcolor=lblue](-1.4,8.6)(-1.3,8.25)% +% Top right cross +\psframe[linestyle=none,fillstyle=solid,linewidth=2pt, +fillcolor=lblue](11.9,8.6)(12.0,8.25)% +% Bottom line +\psframe[linestyle=none,fillstyle=solid,linewidth=2pt, +fillcolor=lblue](-1.5,-0.8)(12.1,-0.7)% +% Bottom left cross +\psframe[linestyle=none,fillstyle=solid,linewidth=2pt, +fillcolor=lblue](-1.4,-0.9)(-1.3,-0.55)% +% Bottom right cross +\psframe[linestyle=none,fillstyle=solid,linewidth=2pt, +fillcolor=lblue](11.9,-0.9)(12,-0.55)% +\HAP@PutLF{tl}{-1.22,-.9}% +\HAP@PutRF{tr}{11.7,-.9}% +\else %%% of \ifFymaAFourPaper +% Top line +\psframe[linestyle=none,fillstyle=solid,linewidth=2pt, +fillcolor=lblue](-1.5,8.5)(11.25,8.4)% +% Top left cross +\psframe[linestyle=none,fillstyle=solid,linewidth=2pt, +fillcolor=lblue](-1.4,8.6)(-1.3,8.25)% +% Top right cross +\psframe[linestyle=none,fillstyle=solid,linewidth=2pt, +fillcolor=lblue](11.05,8.6)(11.15,8.25)% +% Bottom line +\psframe[linestyle=none,fillstyle=solid,linewidth=2pt, +fillcolor=lblue](-1.5,-0.8)(11.25,-0.7)% +% Bottom left cross +\psframe[linestyle=none,fillstyle=solid,linewidth=2pt, +fillcolor=lblue](-1.4,-0.9)(-1.3,-0.55)% +% Bottom right cross +\psframe[linestyle=none,fillstyle=solid,linewidth=2pt, +fillcolor=lblue](11.05,-0.9)(11.15,-0.55)% +\HAP@PutLF{tl}{-1.22,-.9}% +\HAP@PutRF{tr}{10.85,-.9}% +\fi% +} + +\newcommand{\TitleSlide}[1]{% +\MakeFymaMainGradient% +\MakeFymaFrame% +{#1}}% + +\newcommand{\NormalSlide}[1]{% +\MakeFymaMainGradient% +\ifHAP@toc% +% Vertical left band in very light blue +\psframe[linestyle=none, fillstyle=gradient, + gradbegin=white,gradend=lllblue,gradmidpoint=0](-1.4,8.5)(0.8,-0.8)% +% The TOC +\rput[lt](-1.27,6.55){\begin{minipage}[t]{2cm}\HAP@toc\end{minipage}}% +\fi% +\MakeFymaFrame% +{#1}}% + +\newcommand{\WideSlide}[1]{% +\MakeFymaMainGradient% +\MakeFymaFrame% +{#1}}% + +\newcommand{\PartSlide}[1]{% +% Drawing four bands before the borders +\ifFymaAFourPaper +\psframe[linestyle=none,fillstyle=solid,linewidth=2pt, +fillcolor=llllblue](-1.4,8.5)(12,5.9)% +\psframe[linestyle=none,fillstyle=solid,linewidth=2pt, +fillcolor=llllblue](-1.4,-0.8)(12,2.8)% +\psframe[linestyle=none,fillstyle=solid,linewidth=2pt, +fillcolor=llllblue](-1.4,8.5)(1.7,-0.8)% +\psframe[linestyle=none,fillstyle=solid,linewidth=2pt, +fillcolor=llllblue](8.9,8.5)(12,-0.8)% +% Target around title +% Top line +\psframe[linestyle=none,fillstyle=solid,linewidth=2pt, +fillcolor=lblue](1.5,6)(9.1,5.9)% +% Top left cross +\psframe[linestyle=none,fillstyle=solid,linewidth=2pt, +fillcolor=lblue](1.6,6.1)(1.7,5.75)% +% Top right cross +\psframe[linestyle=none,fillstyle=solid,linewidth=2pt, +fillcolor=lblue](8.9,6.1)(9.0,5.75)% +% Bottom line +\psframe[linestyle=none,fillstyle=solid,linewidth=2pt, +fillcolor=lblue](1.5,2.7)(9.1,2.8)% +% Bottom left cross +\psframe[linestyle=none,fillstyle=solid,linewidth=2pt, +fillcolor=lblue](1.6,2.6)(1.7,2.95)% +% Bottom right cross +\psframe[linestyle=none,fillstyle=solid,linewidth=2pt, +fillcolor=lblue](8.9,2.6)(9,2.95)% +\else %%% of \ifFymaAFourPaper +\psframe[linestyle=none,fillstyle=solid,linewidth=2pt, +fillcolor=llllblue](-1.4,8.5)(11.25,5.9)% +\psframe[linestyle=none,fillstyle=solid,linewidth=2pt, +fillcolor=llllblue](-1.4,-0.8)(11.25,2.8)% +\psframe[linestyle=none,fillstyle=solid,linewidth=2pt, +fillcolor=llllblue](-1.4,8.5)(1.7,-0.8)% +\psframe[linestyle=none,fillstyle=solid,linewidth=2pt, +fillcolor=llllblue](8.4,8.5)(11.25,-0.8)% +% Target around title +% Top line +\psframe[linestyle=none,fillstyle=solid,linewidth=2pt, +fillcolor=lblue](1.5,6)(8.6,5.9)% +% Top left cross +\psframe[linestyle=none,fillstyle=solid,linewidth=2pt, +fillcolor=lblue](1.6,6.1)(1.7,5.75)% +% Top right cross +\psframe[linestyle=none,fillstyle=solid,linewidth=2pt, +fillcolor=lblue](8.4,6.1)(8.5,5.75)% +% Bottom line +\psframe[linestyle=none,fillstyle=solid,linewidth=2pt, +fillcolor=lblue](1.5,2.7)(8.6,2.8)% +% Bottom left cross +\psframe[linestyle=none,fillstyle=solid,linewidth=2pt, +fillcolor=lblue](1.6,2.6)(1.7,2.95)% +% Bottom right cross +\psframe[linestyle=none,fillstyle=solid,linewidth=2pt, +fillcolor=lblue](8.4,2.6)(8.5,2.95)% +\fi% +\MakeFymaFrame% +{#1}}% + +%% Embedding Title Slide +\newcommand{\HAPR@titleSlide}{ +\ifFymaAFourPaper +\NewSlideStyle[12.3cm]{t}{5.4,2.9}{TitleSlide}% +\else +\NewSlideStyle[12.3cm]{t}{4.9,2.9}{TitleSlide}% +\fi +} + +%% Embedding NormalSlide +\newcommand{\HAPR@normalSlide}{ +\ifHAP@toc +\ifFymaAFourPaper +\NewSlideStyle[10cm]{tl}{1.2,3.6}{NormalSlide} +\else +\NewSlideStyle[9.5cm]{tl}{1.2,3.6}{NormalSlide} +\fi +\else +\ifFymaAFourPaper +\NewSlideStyle[12.8cm]{tl}{-1.1,3.6}{NormalSlide} +\else +\NewSlideStyle[11.8cm]{tl}{-1.1,3.6}{NormalSlide} +\fi +\fi}% + +%% Embedding WideSlide +\newcommand{\HAPR@wideSlide}{ +\ifFymaAFourPaper +\NewSlideStyle[12.3cm]{tl}{-1,3.6}{WideSlide} +\else +\NewSlideStyle[11.8cm]{tl}{-1.2,3.6}{WideSlide} +\fi +} + +%% Redefining wideslide environment to redefine \slidetitle +\AtBeginDocument{% + \def\wideslide{\@ifnextchar[\HAP@wideslide{\HAP@wideslide[]}}% + \def\HAP@wideslide[#1]#2{% + \def\slidetitle##1{% + \rput[lt](-1.2,4.5){% + \settowidth{\FymaTitleLength}{\fontTitle{##1}}% + \addtolength{\FymaTitleLength}{0.2cm}% + \psframe[linestyle=none,fillstyle=solid,linewidth=2pt,% + fillcolor=lblue](-0.05,-0.2)(\FymaTitleLength,-0.25)% + {\ddblue \fontTitle{##1}}% + \ \\[-2mm]% + }% + }% + \HAPR@wideSlide + \begin{slide}[#1]{#2}% + }% + \def\endwideslide{\end{slide}\HAPR@normalSlide}% +} + +%% Embedding Part Slide +\newcommand{\HAPR@partSlide}{ +\ifFymaAFourPaper +\NewSlideStyle[12.3cm]{tl}{-1.1,2.5}{PartSlide}% +\else %%% of \ifFymaAFourPaper +\NewSlideStyle[11.8cm]{tl}{-1.1,2.5}{PartSlide}% +\fi +} +\HAPsetup{template=partslide} + +% Slide title definition +\newlength{\FymaTitleLength} +\newlength{\FymaMaxTitleLength} +\newcommand{\slidetitle}[1]{% + \ifHAP@toc + \ifFymaAFourPaper + \setlength{\FymaMaxTitleLength}{10.5cm} + \else + \setlength{\FymaMaxTitleLength}{9.5cm} + \fi + \rput[lt](1,4.5){% + \settowidth{\FymaTitleLength}{\fontTitle{#1}} + \ifdim \FymaTitleLength > \FymaMaxTitleLength + \setlength{\FymaTitleLength}{\FymaMaxTitleLength}% + \fi + \addtolength{\FymaTitleLength}{0.2cm}% + \psframe[linestyle=none,fillstyle=solid,linewidth=2pt,% + fillcolor=lblue](-0.05,-0.2)(\FymaTitleLength,-0.25)% + {\ddblue \fontTitle{\parbox[b]{\FymaMaxTitleLength}{#1}}}% + \ \\[-2mm]% + }% + \else + \ifFymaAFourPaper + \setlength{\FymaMaxTitleLength}{12.7cm} + \else + \setlength{\FymaMaxTitleLength}{11.7cm} + \fi + \rput[lt](-1.1,4.5){% + \settowidth{\FymaTitleLength}{\fontTitle{#1}}% + \ifdim \FymaTitleLength > \FymaMaxTitleLength + \setlength{\FymaTitleLength}{\FymaMaxTitleLength}% + \fi + \addtolength{\FymaTitleLength}{0.2cm}% + \psframe[linestyle=none,fillstyle=solid,linewidth=2pt,% + fillcolor=lblue](-0.05,-0.2)(\FymaTitleLength,-0.25)% + {\ddblue \fontTitle{\parbox[b]{\FymaMaxTitleLength}{#1}}}% + \ \\[-2mm]% + }% + \fi +} + +% List item definitions +\myitem{1}{\raisebox{1pt}{\fontsize{7pt}{7pt}\ensuremath{\bullet}}} +\myitem{2}{\raisebox{1pt}{\fontsize{7pt}{7pt}\ensuremath{\circ}}} +\myitem{3}{\raisebox{1pt}{\fontsize{5pt}{5pt}\ensuremath{\circ}}} + +% Style of table of contents entries +\newcommand{\HAP@tline}[1]{\ensuremath{\bullet}\,% + \parbox[t]{1.7cm}{\raggedright#1}} +\newcommand{\HAP@tsectionm}{% + \psline[linecolor=dblue,linewidth=.25pt](-.05,-.05)(2,-.05)% +} +\def\HAP@hltocentry{\parbox[b]{\HAP@twidth}{\raggedright{\HAP@htcolor\HAP@toctext}}} +\newcommand{\HAP@tsectionskip}{2em} +\newcommand{\HAP@titemskip}{0em} + +\endinput diff --git a/Master/texmf-dist/tex/latex/ha-prosper/Styles/HA/HAPHA.sty b/Master/texmf-dist/tex/latex/ha-prosper/Styles/HA/HAPHA.sty new file mode 100644 index 00000000000..7be406d6877 --- /dev/null +++ b/Master/texmf-dist/tex/latex/ha-prosper/Styles/HA/HAPHA.sty @@ -0,0 +1,185 @@ +%============================================================================== +% +% HAPHA -- style file for use with HA-prosper. +% +% Created by: Hendri Adriaens +% http://center.uvt.nl/phd_stud/adriaens +% Center for Economic Research +% Tilburg University, the Netherlands +% +% Copyright (c) 2003-2004 Hendri Adriaens. All rights reserved. +% +% This program 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. +% +% This program consists of the files listed in files.txt present in this package. +% +%============================================================================== + +\NeedsTeXFormat{LaTeX2e}[1995/12/01] +\ProvidesPackage{HAPHA}[2004/05/16] +\typeout{`HA' style for HA-prosper} +\typeout{(c) 2003-2004 Hendri Adriaens, Tilburg, the Netherlands} +\typeout{Package version: 1.5} +\typeout{ } + +% Color definitions +\newrgbcolor{ddblue}{.17 .31 .44} +\newrgbcolor{HAP@textc}{.17 .31 .44} +\newrgbcolor{dblue}{.19 .44 .61} +\newrgbcolor{lblue}{.75 .85 .92} +\newrgbcolor{llblue}{.90 .95 .98} +\newrgbcolor{HAP@framecolor}{.17 .31 .44} + +% Highlighting definitions +\newrgbcolor{HAP@hcolor}{.17 .31 .44} % Highlight frame color +\newrgbcolor{HAP@htcolor}{.90 .95 .98} % Highlight text color + +% Font definitions +\FontTitle{\usefont{T1}{phv}{b}{n}\fontsize{14.4pt}{14pt}\selectfont\ddblue}% + {\usefont{T1}{phv}{b}{n}\fontsize{14.4pt}{14pt}\selectfont\ddblue} +\FontText{\usefont{T1}{phv}{m}{n}\fontsize{10pt}{10pt}\selectfont\HAP@textc}% + {\usefont{T1}{phv}{m}{n}\fontsize{10pt}{10pt}\selectfont\HAP@textc} +\FontLeftFoot{\@fontTextColor\fontsize{4pt}{4pt}\selectfont}% + {\@fontTextColor\fontsize{4pt}{4pt}\selectfont} +\FontRightFoot{\@fontTextColor\fontsize{4pt}{4pt}\selectfont}% + {\@fontTextColor\fontsize{4pt}{4pt}\selectfont} + +% Slide style definitions +\newcommand{\TitleSlide}[1]{% + \ifHAP@portrait% + \psframe[linestyle=none,fillstyle=solid,% + fillcolor=llblue](-2.1,-2.3)(12.7,8.4)% + \psframe[linestyle=none,fillstyle=solid,% + fillcolor=ddblue](-2.1,8.35)(12.5,8.4)% + \HAP@PutLF{tl}{-0.95,-.35}% + \HAP@PutRF{tr}{8.6,-.35}% + \else% + \psframe[linestyle=none,fillstyle=solid,% + fillcolor=llblue](-2.1,-2.1)(12.7,7.4)% + \psframe[linestyle=none,fillstyle=solid,% + fillcolor=ddblue](-2.1,7.35)(12.5,7.4)% + \HAP@PutLF{tl}{-1.65,-.9}% + \HAP@PutRF{tr}{11.35,-.9}% + \fi% + {#1}}% + +\newcommand{\NormalSlide}[1]{% + \ifHAP@portrait% + \psframe[linestyle=none,fillstyle=solid,% + fillcolor=llblue](-2.3,9.965)(.537,-.43)% + \psframe[linestyle=none,fillstyle=solid,% + fillcolor=llblue](-2.3,12)(12.5,9.935)% + \psframe[linestyle=none,fillstyle=solid,% + fillcolor=lblue](-2.1,-.6)(12.5,-.2)% + \psframe[linestyle=none,fillstyle=solid,% + fillcolor=llblue](-2.1,-2.3)(12.5,-.57)% + \psframe[linestyle=none,fillstyle=solid,% + fillcolor=dblue](-2.1,-2.2)(12.5,-2.3)% + \rput[lb](-2.3,9.95){% + \@ifundefined{HAP@NSNav}% + {\includegraphics[scale=.14]{flower.ps}}% + {\Acrobatmenu{\HAP@NSNav}{\includegraphics[scale=.14]{flower.ps}}}% + }% + \ifHAP@toc% + \rput[tr](3.7,-.8){\begin{minipage}[t]{2cm}\HAP@tsections\end{minipage}}% + \rput[tl](4.1,-.8){\begin{minipage}[t]{2cm}\HAP@tcontent\end{minipage}}% + \fi% + \HAP@PutLF{tl}{-0.95,-.35}% + \HAP@PutRF{tr}{8.6,-.35}% + \else% + \psframe[linestyle=none,fillstyle=solid,% + fillcolor=llblue](-2.3,7.72)(.537,-.43)% + \ifHAP@toc% + \rput[lt](-1.7,6.55){\begin{minipage}[t]{2cm}\HAP@toc\end{minipage}}% + \fi% + \psframe[linestyle=none,fillstyle=solid,% + fillcolor=llblue](-2.3,8.9)(12.5,7.685)% + \psframe[linestyle=none,fillstyle=solid,% + fillcolor=lblue](-2.1,-1.3)(12.5,-.4)% + \psframe[linestyle=none,fillstyle=solid,% + fillcolor=dblue](-2.1,-1.32)(12.5,-1.27)% + \rput[lb](-2.3,7.7){% + \@ifundefined{HAP@NSNav}% + {\includegraphics[scale=.14]{flower.ps}}% + {\Acrobatmenu{\HAP@NSNav}{\includegraphics[scale=.14]{flower.ps}}}% + }% + \HAP@PutLF{tl}{-1.65,-.9}% + \HAP@PutRF{tr}{11.35,-.9}% + \fi% + {#1}}% + +\newcommand{\SpecialSlide}[1]{% + \ifHAP@portrait% + \psframe[linestyle=none,fillstyle=solid,% + fillcolor=llblue](-2.3,9.965)(.537,-.43)% + \psframe[linestyle=none,fillstyle=solid,% + fillcolor=llblue](-2.3,12)(12.5,9.935)% + \psframe[linestyle=none,fillstyle=solid,% + fillcolor=lblue](-2.1,-.6)(12.5,-.2)% + \psframe[linestyle=none,fillstyle=solid,% + fillcolor=llblue](-2.1,-2.3)(12.5,-.57)% + \psframe[linestyle=none,fillstyle=solid,% + fillcolor=dblue](-2.1,-2.2)(12.5,-2.3)% + \rput[lb](-2.3,9.95){% + \@ifundefined{HAP@NSNav}% + {\includegraphics[scale=.14]{flower.ps}}% + {\Acrobatmenu{\HAP@NSNav}{\includegraphics[scale=.14]{flower.ps}}}% + }% + \ifHAP@toc% + \rput[tr](3.7,-.8){\begin{minipage}[t]{2cm}\HAP@tsections\end{minipage}}% + \rput[tl](4.1,-.8){\begin{minipage}[t]{2cm}\HAP@tcontent\end{minipage}}% + \fi% + \HAP@PutLF{tl}{-0.95,-.35}% + \HAP@PutRF{tr}{8.6,-.35}% + \else% + \psframe[linestyle=none,fillstyle=solid,% + fillcolor=llblue](-2.3,8.9)(12.5,7.685)% + \psframe[linestyle=none,fillstyle=solid,% + fillcolor=lblue](-2.1,-1.3)(12.5,-.4)% + \psframe[linestyle=none,fillstyle=solid,% + fillcolor=dblue](-2.1,-1.32)(12.5,-1.27)% + \rput[lb](-2.3,7.7){% + \@ifundefined{HAP@NSNav}% + {\includegraphics[scale=.14]{flower.ps}}% + {\Acrobatmenu{\HAP@NSNav}{\includegraphics[scale=.14]{flower.ps}}}% + }% + \HAP@PutLF{tl}{-1.65,-.9}% + \HAP@PutRF{tr}{11.35,-.9}% + \fi% + {#1}}% + +\ifHAP@portrait + \newcommand{\HAPR@titleSlide}{\NewSlideStyle[8.4cm]{t}{3.85,2.4}{TitleSlide}} + \newcommand{\HAPR@normalSlide}{\NewSlideStyle[7.8cm]{tl}{.77,4}{NormalSlide}} + \newcommand{\HAPR@wideSlide}{\NewSlideStyle[7.8cm]{tl}{.77,4}{SpecialSlide}} + \newcommand{\slidetitle}[1]{\rput[Bl](.77,4.9){\fontTitle{#1}}} +\else + \newcommand{\HAPR@titleSlide}{\NewSlideStyle[11cm]{t}{4.67,2.4}{TitleSlide}} + \newcommand{\HAPR@normalSlide}{\NewSlideStyle[9.78cm]{tl}{.77,3}{NormalSlide}} + \newcommand{\HAPR@wideSlide}{\NewSlideStyle[12.3cm]{tl}{-1.4,3}{SpecialSlide}} + \newcommand{\slidetitle}[1]{\rput[Bl](.77,4.4){\fontTitle{#1}}} +\fi + +% List item definitions +\RequirePackage{pifont} +\myitem{1}{\raisebox{1pt}{\fontsize{7pt}{7pt}\selectfont\ding{110}}} +\myitem{2}{\raisebox{1pt}{\fontsize{7pt}{7pt}\selectfont\ding{117}}} +\myitem{3}{\raisebox{1pt}{\fontsize{5pt}{5pt}\selectfont\ding{110}}} + +% Style of table of contents entries +\newcommand{\HAP@tline}[1]{\ding{108}\,\parbox[t]{1.88cm}{\raggedright#1}} +\newcommand{\HAP@tlineonly}[1]{\parbox{2cm}{\raggedright#1}} +\newcommand{\HAP@tsectionm}{% + \ifHAP@portrait\else + \psline[linecolor=ddblue,linewidth=.25pt](-.05,-.05)(2.04,-.05)% + \fi +} +\newcommand{\HAP@tsectiononly}[1]{\parbox{2cm}{\raggedleft#1}} + +\endinput diff --git a/Master/texmf-dist/tex/latex/ha-prosper/Styles/HA/flower.ps b/Master/texmf-dist/tex/latex/ha-prosper/Styles/HA/flower.ps new file mode 100644 index 00000000000..71683ca5cd9 --- /dev/null +++ b/Master/texmf-dist/tex/latex/ha-prosper/Styles/HA/flower.ps @@ -0,0 +1,109 @@ +%!PS-Adobe-3.0 EPSF-3.0 +%%Creator: jpeg2ps V1.8 by Thomas Merz +%%Title: flower.jpg +%%CreationDate: Thu Sep 04 15:25:36 2003 +%%BoundingBox: 20 20 592 284 +%%DocumentData: Clean7Bit +%%LanguageLevel: 2 +%%EndComments +%%BeginProlog +%%EndProlog +%%Page: 1 1 +/languagelevel where {pop languagelevel 2 lt}{true} ifelse { + (JPEG file 'flower.jpg' needs PostScript Level 2!\n) dup print flush + /Helvetica findfont 20 scalefont setfont 100 100 moveto show showpage stop +} if +save +/RawData currentfile /ASCII85Decode filter def +/Data RawData << >> /DCTDecode filter def +20 20 translate +572.00 264.00 scale +/DeviceRGB setcolorspace +{ << /ImageType 1 + /Width 130 + /Height 60 + /ImageMatrix [ 130 0 0 -60 0 60 ] + /DataSource Data + /BitsPerComponent 8 + /Decode [0 1 0 1 0 1] + >> image + Data closefile + RawData flushfile + showpage + restore +} exec +s4IA0!"_al8O`[\!WW42!+Z'0s6K^t7!3!TGlRjF"98E%49,B]mJm__A8bpg!+`k +F!!!'"gAlm,"p>&3"U##5"U58;"U58@#R1J=$Od@L$OR4L&.AsU$k*OU$k!!*-(!sAf5#6P)2z!3i0a0iV'F%ECEM4R3JWWi>,8CHg_9kS*;\nkSU +>bX*1h2^q&HDh7!!EE,":553z!!*'3!WsT#&d1Kt'*[l6EIjf-16JiXdIBOJ1DJf +B,S^O`g&MN`!<<05!tbMt!:(f:P\/(]CAkV"H=Pldo3Re8T<1>XN3Z:X6s;cH_#n +are&,T53dks\9SG$Zl5G#oW3*g6DlV0*;Q"Dmm:LhSB?`Xim1@:M<4\dbIWfbJ8[ +Z2Wb>WrU:KT\H0AcE]4Cdt2ZEZ&_ci]542OhlYL#G%QbasVUdYZCKE>TE4bne-\m +o0'UR7FhZnKC`hAN((=`[JX\Ten:'QLe_S->qt>/VIqq];k^sGN?=?(11jG?2L/4 +W7kH4<'jZ3L0Lm6iA:*rD6ADd1-F5had59Rc$&74PFHU_$:WdN'UKH*;PJgW&?0f +L:kQ:F,7Va,q.+si!:`leK2B7)fp8+*T@=0e&dDf[;K3cF-6H85!(ke7N.Tqie]#_n[a2d+dl +ruE!Sd#6LZ44/YXl/2A\3%\P>][-6=c[dh+lVDWHFf!bIX"@l>A5*6TLtMg"R:WG +?mM0RZB=#r(bku*a2ujo88Mn2@QtXHjWN!@/g4/af(4*CF-4M4GkSZBi(0OE?K=' +"U+B8R1;)?rPnF#Lbq]]?!IL^g//JLP4DE1gZjBIGpu=m/Mbo;_P+SK6AF.G9u\Y +g7I'_EUSk&mT,U]UN5oTck)I;1%!,B#1.H;f5DRc;6+]C).$r8tB +En'kOLgG:MBN[b^oB#mDeVHmo[4@in*LWeQEe? +#J_dSJrLX*D^u\?emhGa)2f+PJfj"?>3]=;74hrrA:k'ffd%lP@c1G_NFT +pQVXJ>"Vh]*#/1QT%G$k2HTF98hGt+dt]f`,1&'dH+1/gjXs36d-QA<;Zh3=\3Y( +P'W%b-6c)O'5C>,r?KZ?FZhf"aXgE]]aX1E\>(K=MHR6LjI#/tl:3!"S+cORqR\A +1*?GfR(cCjBMj#WHU#G=EL\$E@!J7,4;7s0K1),:8_?m@49i`,/Er5RdQou4Kc8f +HG^[\)b4ZdOO>pVEb$\Y0/NNCfN<>]:1,VQTG,V+L5UbA-EN`h^qV9HNsJ81A,&g +0u$Z2P$OtRpPB2:kggek.%?2 +@CN^cAS=V%LrD!RE]l,V!,#hsGqAPQl&7!WFR-%NXrK^Q]Z-j]B7.R8q=Q6">`@RQD(F8)M3f]N +_OT$I6ZKh*?-pdCoiB9-l(7c'5-=j:u*WkVB<40-2mg4]nr<#6QJC6;_V_Q%W5b6 +[_ZI@)>V-69dM1-[KcGuFI=h)A9_F_e\FbU't4.[,m43!=m;m@Y(f6tj;B]FIYkh +<:?Y>d0H"+.Fp]eUEUcZ?Gu+o_7fH%46IBIe_s-B2,8DkZ&bID+O^%7.4dT, +-.7m7ZI>$74c*\&Og)9/dbVe;^eMih&i/*[8F-BnoQ??A))SL6&:qmX0/Y8.e^*Tcrr?;$a$4n2PE*(@"i9EJ2Y?'N#U#o0Dd% +71(P.mfEI^fi1CE';%:$UInL@hLSAZq2>?B)V9f773#Sa%/fP(1PVKmU8, +3IZ0LT[.M6CTG-*R\2c-qQ3EOcNU=N<+"I&mt1jk`ssINg2nFk2OpG.[`q#,Yg[* +cD)S)(r0:r5&!^[32`2lU<.Wel=P'6+Hb:b'TF7=WSVmr&A,dDDBrL2d +q;"dK63LFYZEWWHLCIL-q+LA(TVk68^m4$V)\VB'%G76+4Xd`,(>/0WT?'9p=c0h +YH0D8;ld2piiDAIbA!@\(A'#?"7@F6-'E5kNr9+4dB`fAU?e@/'''e@4Ve>WTh-D +5PE@)uN'G6%g[4I(Sc7e&CZ,n;LK +gj^03#"laJpqCCQ7OYihZP3&NNKd1G.g`C/kC%1liOW#APUGo3@G@eBKeA%gk:UO +h)BVjCkQr>=K#_O]2+*V1.S]>INQCDlP ++mB/pMf3)H>>D,AN"^f5;*a^Ma@>uFk_ZL^UVnP62Y,2pBcKe0;9KeLRQ#7iZO." +N?lpZ9H9,bj7TVp[:&+!>q)tl(s-=A#>2DPm[c`O8Q@40LLA,Oekq%B;.C>4C +NcNs9UV;[e[@3Xo9(d89=t/O.j<&A;GQGZ)5q+tc7s<[Ou,Hb.?`ERdY62I4GM9i +[$o@;Q"Hg;T+E\3FE$9/Dn!S6,[/rS6BG$;QrLp%!%@)*o1*-^G(#S.,\!4bZLtb +/)kkAcdXcn7=VIpjp93n:_fg8.@2&gT*L_I=4V]'C60# +M=\-QTAfqA.?Yq47_/N8r5P(nO +.L4CaK6d1su\`=nTi*iR3^KLH>A.G#M@;DiF-K,8>8Qo(p5s[7TD'-)Va\HdmifAE)?G@Co^+'VpLO8t\pO.KNGaP>,7+*/'9`Gi4W$b/N\eT=ITr(@ +J'Y[4+hu,g[6hm,C85B*0C;,S8a3b%\iJ#bF2c]h630i_lEu:rf:QL`A0D_.7=Bm +FY,_21q>u!W-7[gW)0f$IE)CY,ZEp"=WE0M+;M?mY^4qaJ^iS[/U-eIe3R>njZn& +7"2$VUIjUP/gXXp?$Ma@"_VtHg0"KCM4[WAikYAhFl[92cO^^<#Q!*oeppg3MIVp +?X*K$].J=G6*k33!V^R7<&ZPS,Rb:]Q.7Ot$(_\QIirLLM:*j"2EfPVFRB>7*jc5 +/eBp@*fFdZ#V6!rRlYI/OgU'.S.:o@_D.cD0[qN*os>f3^,938+oC*_sdELLI/I0 +-u:N!I8DJlO=+Z-72hS?LN29q`h\8PE:R%5(d(bmDHALPAR3S^!ec>#tg]onIcJ,%!dl` +]%l%#(_APEA]N/GW7TQ$`.qn=b#dBYXm7oHeoo5`i3pg0N04Me>H%`?W;-KA<`QF +GmpWZ!Y[grNkLoOB?>BS?P#sKQ?E\"9l\@jHgQ]8gEr@:L3n[5F2RDg'.0+I564l +noX/l&!o_J)"UGQoLLXM^`%GnLp?#rGhVe.L7d[NR?d"RW'2\f6[1'>VScBuT,X0 +.RaX-Tku^QtGu.0i]Q1-3SD:t';ZC@eGS8/s^EP;MY3Xts8f=q$!m!3E8aCOXhX/ +_hipL.[e+-*gF"nm*e$9F[qS=iu(Y<:-Fa)FKoIh[_4h"LVR8k^6&?p&,?St.%L;;4` +o:)q#%X7S:'r-L\Y4Oe]W^n`f1md:F-nO#E8X`IIf*UnF5;[lODZ7fdT:KeYf)^T +=`;X`$ +npG'aXliDYR_,9-htDtU\l>!F(LZ;R3,@gDYD,ODg88V[d@>J'kjKQf=Vg.>l@e: +p(Pb]a!)e7aF.ZDFB;sFABpUDk>WOg-SeC:[<+b!ni.t>!CNh+ +%%EOF diff --git a/Master/texmf-dist/tex/latex/ha-prosper/Styles/Lakar/HAPLakar.sty b/Master/texmf-dist/tex/latex/ha-prosper/Styles/Lakar/HAPLakar.sty new file mode 100644 index 00000000000..32204e9211f --- /dev/null +++ b/Master/texmf-dist/tex/latex/ha-prosper/Styles/Lakar/HAPLakar.sty @@ -0,0 +1,212 @@ +%============================================================================== +% +% HAPLakar -- style file for use with HA-prosper. +% +% Created by: Hendri Adriaens +% http://center.uvt.nl/phd_stud/adriaens +% Center for Economic Research +% Tilburg University, the Netherlands +% +% Copyright (c) 2003-2004 Hendri Adriaens. All rights reserved. +% +% This program 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. +% +% This program consists of the files listed in files.txt present in this package. +% +%============================================================================== + +\NeedsTeXFormat{LaTeX2e}[1995/12/01] +\ProvidesPackage{HAPLakar}[2004/05/16] +\typeout{`Lakar' style for HA-prosper} +\typeout{(c) 2003-2004 Hendri Adriaens, Tilburg, the Netherlands} +\typeout{Package version: 1.6} +\typeout{ } + +% Color definitions +\newrgbcolor{lkdblue}{0 .32 .46} +\newrgbcolor{HAP@textc}{0 .32 .46} +\newrgbcolor{lklblue}{.20 .45 .57} +\newrgbcolor{lkgreen}{.68 .64 .11} +\newrgbcolor{lklgreen}{.87 .85 .70} +\newrgbcolor{HAP@framecolor}{0 .32 .46} + +% Highlighting definitions +\ifHAP@portrait + \newrgbcolor{HAP@hcolor}{0 .32 .46} + \newrgbcolor{HAP@htcolor}{1 1 1} +\else + \newrgbcolor{HAP@hcolor}{.68 .64 .11} + \newrgbcolor{HAP@htcolor}{0 .32 .46} +\fi + +% Font definitions +\FontTitle{\usefont{T1}{phv}{b}{n}\fontsize{14.4pt}{14pt}\selectfont\lkdblue}% + {\usefont{T1}{phv}{b}{n}\fontsize{14.4pt}{14pt}\selectfont\lkdblue} +\FontText{\usefont{T1}{phv}{m}{n}\fontsize{10pt}{10pt}\selectfont\HAP@textc}% + {\usefont{T1}{phv}{m}{n}\fontsize{10pt}{10pt}\selectfont\HAP@textc} +\FontLeftFoot{\@fontTextColor\fontsize{4pt}{4pt}\selectfont\white}% + {\@fontTextColor\fontsize{4pt}{4pt}\selectfont\white} +\FontRightFoot{\@fontTextColor\fontsize{4pt}{4pt}\selectfont\white}% + {\@fontTextColor\fontsize{4pt}{4pt}\selectfont\white} +\FontToc{\@fontTextColor\fontsize{4pt}{6pt}\selectfont\white}% + {\@fontTextColor\fontsize{4pt}{6pt}\selectfont\white} + +% Slide style definitions +\newcommand{\TitleSlide}[1]{% + \ifHAP@portrait% + \psframe[linestyle=none,fillstyle=solid,% + fillcolor=lklgreen](-2.1,-1.32)(12.5,9.685)% + \psframe[linestyle=none,fillstyle=solid,% + fillcolor=lkgreen](-1.3,-3)(11,-.15)% + \psline[linecolor=lklblue,linewidth=1pt](-1.3,-.15)(11,-.15)% + \psline[linecolor=lklblue,linewidth=1pt](-2.3,9.69)(12.5,9.69)% + \HAP@PutLF{tl}{-0.95,-.35}% + \HAP@PutRF{tr}{8.6,-.35}% + \else% + \psframe[linestyle=none,fillstyle=solid,% + fillcolor=lklgreen](-2.1,-1.32)(12.5,7.69)% + \psframe[linestyle=none,fillstyle=solid,% + fillcolor=lkgreen](-2.1,-1.32)(12.5,-.6)% + \psline[linecolor=lklblue,linewidth=1pt](-2.3,-.6)(12.5,-.6)% + \psline[linecolor=lklblue,linewidth=1pt](-2.3,7.69)(12.5,7.69)% + \HAP@PutLF{tl}{-1.65,-.9}% + \HAP@PutRF{tr}{11.35,-.9}% + \fi% + {#1}}% + +\newcommand{\NormalSlide}[1]{% + \ifHAP@portrait% + \psframe[linestyle=none,fillstyle=solid,% + fillcolor=lklgreen](-2.1,-1.32)(12.5,11.5)% + \psframe[linestyle=none,fillstyle=solid,% + fillcolor=lkgreen](-1.3,-3)(11,-.15)% + \psline[linecolor=lklblue,linewidth=1pt](-1.3,-.15)(11,-.15)% + \psframe[linestyle=none,fillstyle=solid,% + fillcolor=lkgreen](-2.3,11.5)(12.5,9.685)% + \psline[linecolor=lklblue,linewidth=1pt](-2.3,9.69)(12.5,9.69)% + \psellipse*[linecolor=lkdblue](-.2,10.2)(1.3,.7)% + \psellipse[linecolor=lklblue](-.2,10.2)(1.3,.7)% + \ifHAP@toc% + \rput[tr](3.7,-.8){\begin{minipage}[t]{2cm}\HAP@tsections\end{minipage}}% + \rput[tl](4.1,-.8){\begin{minipage}[t]{2cm}\HAP@tcontent\end{minipage}}% + \fi% + \HAP@PutLF{tl}{-0.95,-.35}% + \HAP@PutRF{tr}{8.6,-.35}% + \else% + \psframe[linestyle=none,fillstyle=solid,% + fillcolor=lklgreen](-2.1,-1.32)(12.5,8.9)% + \psframe[linestyle=none,fillstyle=solid,% + fillcolor=lkgreen](-2.1,-1.32)(12.5,-.6)% + \psline[linecolor=lklblue,linewidth=1pt](-2.3,-.6)(12.5,-.6)% + \psframe[linestyle=none,fillstyle=solid,% + fillcolor=lklblue](-2.3,7.72)(.537,-.6)% + \psframe[linestyle=none,fillstyle=solid,% + fillcolor=lkgreen](-2.3,8.9)(12.5,7.685)% + \psline[linecolor=lklblue,linewidth=1pt](-2.3,7.69)(12.5,7.69)% + \psellipse*[linecolor=lkdblue](-.7,8.2)(1.3,.7)% + \psellipse[linecolor=lklblue](-.7,8.2)(1.3,.7)% + \ifHAP@toc% + \rput[lt](-1.65,6.85){\begin{minipage}[t]{2cm}\HAP@toc\end{minipage}}% + \fi% + \HAP@PutLF{tl}{-1.65,-.9}% + \HAP@PutRF{tr}{11.35,-.9}% + \fi% + {#1}}% + +\newcommand{\SpecialSlide}[1]{% + \ifHAP@portrait% + \psframe[linestyle=none,fillstyle=solid,% + fillcolor=lklgreen](-2.1,-1.32)(12.5,11.5)% + \psframe[linestyle=none,fillstyle=solid,% + fillcolor=lkgreen](-1.3,-3)(11,-.15)% + \psline[linecolor=lklblue,linewidth=1pt](-1.3,-.15)(11,-.15)% + \psframe[linestyle=none,fillstyle=solid,% + fillcolor=lkgreen](-2.3,11.5)(12.5,9.685)% + \psline[linecolor=lklblue,linewidth=1pt](-2.3,9.69)(12.5,9.69)% + \psellipse*[linecolor=lkdblue](-.2,10.2)(1.3,.7)% + \psellipse[linecolor=lklblue](-.2,10.2)(1.3,.7)% + \ifHAP@toc% + \rput[tr](3.7,-.8){\begin{minipage}[t]{2cm}\HAP@tsections\end{minipage}}% + \rput[tl](4.1,-.8){\begin{minipage}[t]{2cm}\HAP@tcontent\end{minipage}}% + \fi% + \HAP@PutLF{tl}{-0.95,-.35}% + \HAP@PutRF{tr}{8.6,-.35}% + \else% + \psframe[linestyle=none,fillstyle=solid,% + fillcolor=lklgreen](-2.1,-1.32)(12.5,8.9)% + \psframe[linestyle=none,fillstyle=solid,% + fillcolor=lkgreen](-2.1,-1.32)(12.5,-.6)% + \psline[linecolor=lklblue,linewidth=1pt](-2.3,-.6)(12.5,-.6)% + \psframe[linestyle=none,fillstyle=solid,% + fillcolor=lkgreen](-2.3,8.9)(12.5,7.685)% + \psline[linecolor=lklblue,linewidth=1pt](-2.3,7.69)(12.5,7.69)% + \psellipse*[linecolor=lkdblue](-.7,8.2)(1.3,.7)% + \psellipse[linecolor=lklblue](-.7,8.2)(1.3,.7)% + \HAP@PutLF{tl}{-1.65,-.9}% + \HAP@PutRF{tr}{11.35,-.9}% + \fi% + {#1}}% + +\newcommand{\PartSlide}[1]{% + \ifHAP@portrait% + \psframe[linestyle=none,fillstyle=solid,% + fillcolor=lklgreen](-2.1,-1.32)(12.5,11.5)% + \psframe[linestyle=none,fillstyle=solid,% + fillcolor=lkgreen](-1.3,-3)(11,-.15)% + \psline[linecolor=lklblue,linewidth=1pt](-1.3,-.15)(11,-.15)% + \psframe[linestyle=none,fillstyle=solid,% + fillcolor=lkgreen](-2.3,11.5)(12.5,9.685)% + \psline[linecolor=lklblue,linewidth=1pt](-2.3,9.69)(12.5,9.69)% + \ifHAP@toc% + \rput[tr](3.7,-.8){\begin{minipage}[t]{2cm}\HAP@tsections\end{minipage}}% + \rput[tl](4.1,-.8){\begin{minipage}[t]{2cm}\HAP@tcontent\end{minipage}}% + \fi% + \HAP@PutLF{tl}{-0.95,-.35}% + \HAP@PutRF{tr}{8.6,-.35}% + \else% + \psframe[linestyle=none,fillstyle=solid,% + fillcolor=lklgreen](-2.1,-1.32)(12.5,8.9)% + \psframe[linestyle=none,fillstyle=solid,% + fillcolor=lkgreen](-2.1,-1.32)(12.5,-.6)% + \psline[linecolor=lklblue,linewidth=1pt](-2.3,-.6)(12.5,-.6)% + \psframe[linestyle=none,fillstyle=solid,% + fillcolor=lkgreen](-2.3,8.9)(12.5,7.685)% + \psline[linecolor=lklblue,linewidth=1pt](-2.3,7.69)(12.5,7.69)% + \HAP@PutLF{tl}{-1.65,-.9}% + \HAP@PutRF{tr}{11.35,-.9}% + \fi% + {#1}}% + +\ifHAP@portrait + \newcommand{\HAPR@titleSlide}{\NewSlideStyle[9cm]{t}{3.8,2.9}{TitleSlide}} + \newcommand{\HAPR@normalSlide}{\NewSlideStyle[9cm]{tl}{-.75,3.3}{NormalSlide}} + \newcommand{\HAPR@wideSlide}{\NewSlideStyle[9cm]{tl}{-.75,3.3}{SpecialSlide}} + \newcommand{\HAPR@partSlide}{\NewSlideStyle[9cm]{tl}{-.75,3.3}{PartSlide}} + \newcommand{\slidetitle}[1]{\rput[Bl](-.75,4.7){\fontTitle{\white{#1}}}} +\else + \newcommand{\HAPR@titleSlide}{\NewSlideStyle[11cm]{t}{4.67,2.8}{TitleSlide}} + \newcommand{\HAPR@normalSlide}{\NewSlideStyle[9.78cm]{tl}{.77,3.3}{NormalSlide}} + \newcommand{\HAPR@wideSlide}{\NewSlideStyle[12.3cm]{tl}{-1.4,3.3}{SpecialSlide}} + \newcommand{\HAPR@partSlide}{\NewSlideStyle[12.3cm]{tl}{-1.4,3.3}{PartSlide}} + \newcommand{\slidetitle}[1]{\rput[Bl](-1.7,4.45){\fontTitle{\white{#1}}}} +\fi + +% List item definitions +\RequirePackage{pifont} +\myitem{1}{\raisebox{1pt}{\fontsize{7pt}{7pt}\selectfont\ding{110}}} +\myitem{2}{\raisebox{1pt}{\fontsize{7pt}{7pt}\selectfont\ding{117}}} +\myitem{3}{\raisebox{1pt}{\fontsize{5pt}{5pt}\selectfont\ding{110}}} + +% Style of table of contents entries +\newcommand{\HAP@tline}[1]{\parbox{2cm}{\raggedleft#1\,}} +\newcommand{\HAP@tsection}[1]{\parbox[b]{2cm}{\raggedleft#1\,}} +\newcommand{\HAP@tsectionm}{\psline[linecolor=lkgreen,linewidth=.25pt](-.05,-.05)(2,-.05)} +\newcommand{\HAP@tsectiononly}[1]{\parbox{2cm}{\raggedleft#1\,}} + +\endinput diff --git a/Master/texmf-dist/tex/latex/ha-prosper/Styles/Simple/HAPsimple.sty b/Master/texmf-dist/tex/latex/ha-prosper/Styles/Simple/HAPsimple.sty new file mode 100644 index 00000000000..cfd63706d44 --- /dev/null +++ b/Master/texmf-dist/tex/latex/ha-prosper/Styles/Simple/HAPsimple.sty @@ -0,0 +1,129 @@ +%============================================================================== +% +% HAPSimple -- style file for use with HA-prosper. +% +% Created by: Hendri Adriaens +% http://center.uvt.nl/phd_stud/adriaens +% Center for Economic Research +% Tilburg University, the Netherlands +% +% Copyright (c) 2003-2004 Hendri Adriaens. All rights reserved. +% +% This program 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. +% +% This program consists of the files listed in files.txt present in this package. +% +%============================================================================== + +\NeedsTeXFormat{LaTeX2e}[1995/12/01] +\ProvidesPackage{HAPsimple}[2004/05/16] +\typeout{`simple' style for HA-prosper} +\typeout{(c) 2003-2004 Hendri Adriaens, Tilburg, the Netherlands} +\typeout{Package version: 1.5} +\typeout{ } + +% Highlighting definitions +\newrgbcolor{HAP@hcolor}{0 0 0} % Highlight frame color +\newrgbcolor{HAP@htcolor}{1 1 1} % Highlight text color +\newrgbcolor{HAP@framecolor}{0 0 0} +\newrgbcolor{HAP@textc}{0 0 0} + +% Font definitions +\FontTitle{\usefont{T1}{phv}{b}{n}\fontsize{14.4pt}{14pt}\selectfont\black}% + {\usefont{T1}{phv}{b}{n}\fontsize{14.4pt}{14pt}\selectfont\black} +\FontText{\usefont{T1}{phv}{m}{n}\fontsize{10pt}{10pt}\selectfont\black}% + {\usefont{T1}{phv}{m}{n}\fontsize{10pt}{10pt}\selectfont\black} +\FontLeftFoot{\@fontTextColor\fontsize{4pt}{4pt}\selectfont}% + {\@fontTextBW\fontsize{4pt}{4pt}\selectfont} +\FontRightFoot{\@fontTextColor\fontsize{4pt}{4pt}\selectfont}% + {\@fontTextBW\fontsize{4pt}{4pt}\selectfont} + +% Slide style definitions +\newcommand{\TitleSlide}[1]{% + \ifHAP@portrait% + \psline[linecolor=black](-2.1,8.70)(12.5,8.70)% + \HAP@PutLF{tl}{-0.95,-.35}% + \HAP@PutRF{tr}{8.6,-.35}% + \else% + \psframe[linestyle=none,fillstyle=solid,% + fillcolor=black](-2.1,7.35)(12.5,7.4)% + \HAP@PutLF{tl}{-1.65,-.9}% + \HAP@PutRF{tr}{11.35,-.9}% + \fi% + {#1}}% + +\newcommand{\NormalSlide}[1]{% + \ifHAP@portrait% + \psframe[fillstyle=solid,% + fillcolor=white](-2.3,8.72)(12.5,-.15)% + \ifHAP@toc% + \rput[tr](3.7,-.8){\begin{minipage}[t]{2cm}\HAP@tsections\end{minipage}}% + \rput[tl](4.1,-.8){\begin{minipage}[t]{2cm}\HAP@tcontent\end{minipage}}% + \fi% + \HAP@PutLF{tl}{-0.95,-.35}% + \HAP@PutRF{tr}{8.6,-.35}% + \else% + \psframe[fillstyle=solid,% + fillcolor=white](-2.3,7.72)(.537,-.43)% + \psframe[fillstyle=solid,% + fillcolor=white](.515,-.43)(12.5,7.72)% + \ifHAP@toc% + \rput[lt](-1.66,6.35){\begin{minipage}[t]{2cm}\HAP@toc\end{minipage}}% + \fi% + \HAP@PutLF{tl}{-1.65,-.9}% + \HAP@PutRF{tr}{11.35,-.9}% + \fi% + {#1}}% + +\newcommand{\SpecialSlide}[1]{% + \ifHAP@portrait% + \psframe[fillstyle=solid,% + fillcolor=white](-2.3,8.72)(12.5,-.15)% + \ifHAP@toc% + \rput[tr](3.7,-.8){\begin{minipage}[t]{2cm}\HAP@tsections\end{minipage}}% + \rput[tl](4.1,-.8){\begin{minipage}[t]{2cm}\HAP@tcontent\end{minipage}}% + \fi% + \HAP@PutLF{tl}{-0.95,-.35}% + \HAP@PutRF{tr}{8.6,-.35}% + \else% + \psframe[fillstyle=solid,% + fillcolor=white](-2.3,7.72)(12.5,-.43)% + \HAP@PutLF{tl}{-1.65,-.9}% + \HAP@PutRF{tr}{11.35,-.9}% + \fi% + {#1}}% + +\ifHAP@portrait + \newcommand{\slidetitle}[1]{\rput[Bl](-.75,4.4){\fontTitle{#1}}} + \newcommand{\HAPR@titleSlide}{\NewSlideStyle[9cm]{t}{3.8,3.0}{TitleSlide}} + \newcommand{\HAPR@normalSlide}{\NewSlideStyle[9cm]{tl}{-.75,2.8}{NormalSlide}} + \newcommand{\HAPR@wideSlide}{\NewSlideStyle[9cm]{tl}{-.75,2.8}{SpecialSlide}} +\else + \newcommand{\slidetitle}[1]{\rput[Bl](.77,4.4){\fontTitle{#1}}} + \newcommand{\HAPR@titleSlide}{\NewSlideStyle[11cm]{t}{4.67,2.4}{TitleSlide}} + \newcommand{\HAPR@normalSlide}{\NewSlideStyle[9.78cm]{tl}{.77,2.8}{NormalSlide}} + \newcommand{\HAPR@wideSlide}{\NewSlideStyle[12.3cm]{tl}{-1.4,2.8}{SpecialSlide}} +\fi + +% List item definitions +\RequirePackage{pifont} +\myitem{1}{\raisebox{1pt}{\fontsize{7pt}{7pt}\selectfont\ding{110}}} +\myitem{2}{\raisebox{1pt}{\fontsize{7pt}{7pt}\selectfont\ding{117}}} +\myitem{3}{\raisebox{1pt}{\fontsize{5pt}{5pt}\selectfont\ding{110}}} + +% Style of table of contents entries +\newcommand{\HAP@tline}[1]{\ding{108}\,#1} +\newcommand{\HAP@tsectionm}{% + \ifHAP@portrait\else + \psline[linecolor=black,linewidth=.25pt](-.05,-.05)(2,-.05)% + \fi +} +\newcommand{\HAP@tsectiononly}[1]{\parbox{2cm}{\raggedleft#1\,}} + +\endinput diff --git a/Master/texmf-dist/tex/latex/ha-prosper/Styles/TCS/HAPTCS.sty b/Master/texmf-dist/tex/latex/ha-prosper/Styles/TCS/HAPTCS.sty new file mode 100644 index 00000000000..c06f8d6dc7a --- /dev/null +++ b/Master/texmf-dist/tex/latex/ha-prosper/Styles/TCS/HAPTCS.sty @@ -0,0 +1,142 @@ +%============================================================================== +% +% HAPTCS -- style file for use with HA-prosper. +% +% Created by: Chris Ellison +% +% Copyright (c) 2003-2004 Chris Ellison. All rights reserved. +% +% This program 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. +% +% This style consists of the files listed in files.txt +% +%============================================================================= +% +% 2003/12/21 +% The colors for this style were inspired by the HA style. +% The layout of this style was inspired by the CentER style. +% The HA and CentER styles were created by Hendri Adriaens. +% 2004/05/15 +% Small changes for HA-prosper 4.2 +% Replaced \NormalSlideNav and \TitleSlideNav for \HAPsetup +% Made bullets be triangle, circle, and square +% Added \parbox for TOC and title +% +%============================================================================= + +\NeedsTeXFormat{LaTeX2e}[1995/12/01] +\ProvidesPackage{HAPTCS}[2004/05/16] +\typeout{`TCS' style for HA-prosper} +\typeout{(c) 2004 Chris Ellison} +\typeout{Package version: 1.5} +\typeout{ } + +\ifHAP@portrait% + \PackageError{HAPTCS}{This template does not support portrait slides}% + {Sorry, no additional help}% +\fi% + +% Color definitions +\newrgbcolor{ddblue}{.17 .31 .44} +\newrgbcolor{dblue}{.19 .44 .61} +\newrgbcolor{lblue}{.75 .85 .92} +\newrgbcolor{llblue}{.90 .95 .98} +\newrgbcolor{HAP@framecolor}{.17 .31 .44} +\newrgbcolor{HAP@textc}{.17 .31 .44} + +% Highlighting definitions +\newrgbcolor{HAP@hcolor}{.17 .31 .44} % Highlight frame color +\newrgbcolor{HAP@htcolor}{.90 .95 .98} % Highlight text color + +% Font definitions +\FontTitle{% + \usefont{T1}{phv}{b}{n}\fontsize{14.4pt}{14pt}\selectfont\ddblue}{% + \usefont{T1}{phv}{b}{n}\fontsize{14.4pt}{14pt}\selectfont\ddblue} +\FontText{% + \usefont{T1}{phv}{m}{n}\fontsize{10pt}{10pt}\selectfont\ddblue}{% + \usefont{T1}{phv}{m}{n}\fontsize{10pt}{10pt}\selectfont\ddblue} +\FontLeftFoot{% + \@fontTextColor\fontsize{4pt}{4pt}\selectfont}{% + \@fontTextColor\fontsize{4pt}{4pt}\selectfont} +\FontRightFoot{% + \@fontTextColor\fontsize{4pt}{4pt}\selectfont}{% + \@fontTextColor\fontsize{4pt}{4pt}\selectfont} + +% Slide style definitions +\newcommand{\TitleSlide}[1]{% + \psframe[linestyle=none,fillstyle=solid,% + fillcolor=llblue](-2.1,-2.1)(12.7,7.4)% + \Logo(-2.17,7.08){% + \@ifundefined{HAP@TSNav}% + {\includegraphics[scale=.3]{TCSlogo.ps}}% + {\Acrobatmenu{\HAP@TSNav}{\includegraphics[scale=.3]{TCSlogo.ps}}}% + }% + \psframe[linestyle=none,fillstyle=solid,% + fillcolor=ddblue](-2.1,7.35)(12.5,7.4)% + \PutLogo% + \HAP@PutLF{tl}{-1.65,-.8}% + \HAP@PutRF{tr}{11.35,-.8}% + {#1}}% + +\newcommand{\NormalSlide}[1]{% + \Logo(-2.17,7.08){% + \@ifundefined{HAP@NSNav}% + {\includegraphics[scale=.3]{TCSlogo.ps}}% + {\Acrobatmenu{\HAP@NSNav}{\includegraphics[scale=.3]{TCSlogo.ps}}}% + }% + \ifHAP@toc% + \rput[lt](-1.7,6.55){\begin{minipage}[t]{2cm}\HAP@toc\end{minipage}}% + \fi% + \psframe[linestyle=none,fillstyle=solid,% + fillcolor=llblue](-2.1,-1.3)(12.5,-.4)% + \psframe[linestyle=none,fillstyle=solid,% + fillcolor=dblue](-2.1,-1.32)(12.5,-1.27)% + \PutLogo% + \HAP@PutLF{tl}{-1.65,-.8}% + \HAP@PutRF{tr}{11.35,-.8}% + {#1}}% + +\newcommand{\SpecialSlide}[1]{% + \Logo(-2.17,7.08){% + \@ifundefined{HAP@NSNav}% + {\includegraphics[scale=.3]{TCSlogo.ps}}% + {\Acrobatmenu{\HAP@NSNav}{\includegraphics[scale=.3]{TCSlogo.ps}}}% + }% + \psframe[linestyle=none,fillstyle=solid,% + fillcolor=llblue](-2.1,-1.3)(12.5,-.4)% + \psframe[linestyle=none,fillstyle=solid,% + fillcolor=dblue](-2.1,-1.32)(12.5,-1.27)% + \PutLogo% + \HAP@PutLF{tl}{-1.65,-.8}% + \HAP@PutRF{tr}{11.35,-.8}% + {#1}}% + +\newcommand{\HAPR@titleSlide}{\NewSlideStyle[11cm]{t}{4.67,2.4}{TitleSlide}} +\newcommand{\HAPR@normalSlide}{\NewSlideStyle[9.78cm]{tl}{.77,3}{NormalSlide}} +\newcommand{\HAPR@wideSlide}{\NewSlideStyle[12.3cm]{tl}{-1.4,3}{SpecialSlide}} + +% List item definitions +\RequirePackage{pifont} +\myitem{1}{\ifHAP@active\ddblue\fi\raisebox{1pt}{\fontsize{7pt}{7pt}\selectfont\ding{115}}} +\myitem{2}{\ifHAP@active\dblue\fi\raisebox{1pt}{\fontsize{7pt}{7pt}\selectfont\ding{108}}} +\myitem{3}{\ifHAP@active\lblue\fi\raisebox{1pt}{\fontsize{7pt}{7pt}\selectfont\ding{110}}} + +% Style of table of contents entries +\newcommand{\HAP@tline}[1]{\ding{242}\,\parbox[t]{1.7cm}{\raggedright#1}} +\newcommand{\HAP@tlineonly}[1]{\parbox[t]{1.7cm}{\raggedright#1}} +\newcommand{\HAP@tsection}[1]{\parbox[b]{1.9cm}{\raggedright#1}} +\newcommand{\HAP@tsectionm}{\psline[linecolor=ddblue,linewidth=.25pt](-.05,-.05)(2,-.05)} + +% Placement of slide title +\newcommand{\slidetitle}[1]{\rput[Bl](.77,4.2){\fontTitle{\parbox[c]{10.3cm}{\raggedright#1}}}} + +% Declare default behaviors for hidden navigation +\HAPsetup{tsnav=FullScreen,nsnav=ShowBookmarks} + +\endinput diff --git a/Master/texmf-dist/tex/latex/ha-prosper/Styles/TCS/HAPTCSTealBlue.sty b/Master/texmf-dist/tex/latex/ha-prosper/Styles/TCS/HAPTCSTealBlue.sty new file mode 100644 index 00000000000..4c5c370f1de --- /dev/null +++ b/Master/texmf-dist/tex/latex/ha-prosper/Styles/TCS/HAPTCSTealBlue.sty @@ -0,0 +1,170 @@ +%============================================================================== +% +% HAPTCSTealBlue-- style file for use with HA-prosper. +% +% Created by: Chris Ellison +% +% Copyright (c) 2004 Chris Ellison. All rights reserved. +% +% This program 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. +% +% This style consists of the files listed in files.txt +% +%============================================================================= +% +% 2003/05/15 +% Modifications to the TCS style +% Modifications inspired by PPRfyma +% Added \parbox for the TOC and title +% Ready for HA-prosper 4.2 +% +%============================================================================= + +\NeedsTeXFormat{LaTeX2e}[1995/12/01] +\ProvidesPackage{HAPTCSTealBlue}[2004/05/16] +\typeout{`TCSTealBlue' style for HA-prosper} +\typeout{(c) 2004 Chris Ellison} +\typeout{Package version: 1.0} +\typeout{ } + +\ifHAP@portrait + \PackageError{HAPTCSTealBlue}{This template does not support portrait slides}% + {Sorry, no additional help}% +\fi + +% Loading packages necessary for gradients +\IfFileExists{pst-grad}{\RequirePackage{pst-grad}}{\RequirePackage{gradient}} +\RequirePackage{pst-slpe} + +% Color Definitions +\newrgbcolor{TCStealblue}{0 0.4 0.4} +\newrgbcolor{TCSbrickred}{.4 .1255 0} +\newrgbcolor{TCSbulletone}{0 1 .6} +\newrgbcolor{TCSbullettwo}{.725 .937 .933} +\newrgbcolor{TCSbulletthree}{.8 1 .4} +\newrgbcolor{TCSdarkblue}{0.14 0.34 0.55} +\newrgbcolor{TCSfaintblue}{0.88 0.95 1.00} +\newrgbcolor{HAP@framecolor}{1 0 0} +\newrgbcolor{HAP@textc}{1 1 1} + +% Star +\def\TCSstar{% + \SpecialCoor + \begin{pspicture}(-.5,-.5)(.5,.5)% + \pspolygon[fillstyle=ccslopes,% + slopecolors= 0 .3906 .1289 0 .9 .2656 .2148 .125 2 .0547 .2695 .2344 3,% + linestyle=none](.5;0)(.25;22.5)(.5;45)(.25;67.2)(.5;90)(.25;112.5)% + (.5;135)(.25;157.5)(.5;180)(.25;202.5)(.5;225)(.25;247.5)(.5;270)% + (.25;292.5)(.5;315)(.25;337.5)% + \end{pspicture}% + \NormalCoor +} + +% Highlighting definitions +\newrgbcolor{HAP@hcolor}{0 .4 .4} % Highlight frame color for TOC +\newrgbcolor{HAP@htcolor}{.8 1 .4} % Highlight text color for TOC + +% Font definitions +\FontTitle{% + \usefont{T1}{phv}{b}{n}\fontsize{14.4pt}{14pt}\selectfont\TCSbullettwo}{% + \usefont{T1}{phv}{b}{n}\fontsize{14.4pt}{14pt}\selectfont\TCSbullettwo} +\FontText{% + \usefont{T1}{phv}{m}{n}\fontsize{10pt}{10pt}\selectfont\HAP@textc}{% + \usefont{T1}{phv}{m}{n}\fontsize{10pt}{10pt}\selectfont\HAP@textc} +\FontLeftFoot{% + \@fontTextColor\fontsize{4pt}{4pt}\selectfont}{% + \@fontTextColor\fontsize{4pt}{4pt}\selectfont} +\FontRightFoot{% + \@fontTextColor\fontsize{4pt}{4pt}\selectfont}{% + \@fontTextColor\fontsize{4pt}{4pt}\selectfont} + +% Slide style definitions +\newcommand{\TitleSlide}[1]{% + % color of bottom portion + \psframe[linestyle=none,fillstyle=solid,% + fillcolor=TCStealblue](-2.1,-2.1)(12.7,7.4)% + \Logo(-1.17,7.4){% + \@ifundefined{HAP@TSNav}% + {\TCSstar}% + {\Acrobatmenu{\HAP@TSNav}{\TCSstar}} + }% + % Main gradient + \ifisDraft + \else + \psframe[linestyle=none, fillstyle=gradient,% + gradbegin=black,gradend=TCStealblue,gradmidpoint=0](-2.1,-1.5)(12.5,9) + % (-2.1,-.57)(12.5,8.47) (llc)(urc) + \fi + \PutLogo% + \HAP@PutLF{tl}{-1.65,-.97}% + \HAP@PutRF{tr}{11.35,-.97}% + {#1}}% + +\newcommand{\NormalSlide}[1]{% + \Logo(-1.17,7.4){% + \@ifundefined{HAP@NSNav}% + {\TCSstar}% + {\Acrobatmenu{\HAP@NSNav}{\TCSstar}}% + }% + % Main gradient + \ifisDraft + \else + \psframe[linestyle=none, fillstyle=gradient,% + gradbegin=black,gradend=TCStealblue,gradmidpoint=0](-2.1,-1.5)(12.5,9) + \fi + \ifHAP@toc% + \rput[lt](-1.7,6.55){\begin{minipage}[t]{2cm}\HAP@toc\end{minipage}}% + \fi% + \PutLogo% + \HAP@PutLF{tl}{-1.65,-.97}% + \HAP@PutRF{tr}{11.35,-.97}% + {#1}}% + +\newcommand{\SpecialSlide}[1]{% + \Logo(-1.17,7.4){% + \@ifundefined{HAP@NSNav}% + {\TCSstar}% + {\Acrobatmenu{\HAP@NSNav}{\TCSstar}}% + }% + % Main gradient + \ifisDraft + \else + \psframe[linestyle=none, fillstyle=gradient,%1.37 + gradbegin=black,gradend=TCStealblue,gradmidpoint=0](-2.1,-1.5)(12.5,9) + \fi + \PutLogo% + \HAP@PutLF{tl}{-1.65,-.97}% + \HAP@PutRF{tr}{11.35,-.97}% + {#1}}% + +\newcommand{\HAPR@titleSlide}{\NewSlideStyle[11cm]{t}{4.67,2.4}{TitleSlide}} +\newcommand{\HAPR@normalSlide}{\NewSlideStyle[9.78cm]{tl}{.77,3}{NormalSlide}} +\newcommand{\HAPR@wideSlide}{\NewSlideStyle[12.3cm]{tl}{-1.4,3}{SpecialSlide}} + +% List item definitions +\RequirePackage{pifont} +\myitem{1}{\ifHAP@active\TCSbulletone\fi\raisebox{1pt}{\fontsize{7pt}{7pt}\selectfont\ding{115}}} +\myitem{2}{\ifHAP@active\TCSbullettwo\fi\raisebox{1pt}{\fontsize{7pt}{7pt}\selectfont\ding{108}}} +\myitem{3}{\ifHAP@active\TCSbulletthree\fi\raisebox{1pt}{\fontsize{7pt}{7pt}\selectfont\ding{110}}} + +% Style of table of contents entries +\newcommand{\HAP@tline}[1]{\ding{242}\,\parbox[t]{1.7cm}{\raggedright#1}} +\newcommand{\HAP@tlineonly}[1]{\parbox[t]{1.7cm}{\raggedright#1}} +\newcommand{\HAP@tsection}[1]{\parbox[b]{1.9cm}{\raggedright#1}} +\newcommand{\HAP@tsectionm}{\psline[linecolor=white,linewidth=.25pt](-.05,-.05)(2,-.05)} +% make is so that the highlight frame color is not present in TOC +\def\HAP@hltocentry{\parbox[b]{\HAP@twidth}{\raggedright{\HAP@htcolor\HAP@toctext}}} + +% Placement of slide title +\newcommand{\slidetitle}[1]{\rput[Bl](.77,4.15){\fontTitle{\parbox[c]{10.3cm}{\raggedright#1}}}} + +% Declare default behaviors for hidden navigation +\HAPsetup{tsnav=FullScreen,nsnav=ShowBookmarks} + +\endinput diff --git a/Master/texmf-dist/tex/latex/ha-prosper/Styles/TCS/HAPTCSgrad.sty b/Master/texmf-dist/tex/latex/ha-prosper/Styles/TCS/HAPTCSgrad.sty new file mode 100644 index 00000000000..2b08f3de362 --- /dev/null +++ b/Master/texmf-dist/tex/latex/ha-prosper/Styles/TCS/HAPTCSgrad.sty @@ -0,0 +1,155 @@ +%============================================================================== +% +% HAPTCSgrad -- style file for use with HA-prosper. +% +% Created by: Chris Ellison +% +% Copyright (c) 2003-2004 Chris Ellison. All rights reserved. +% +% This program 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. +% +% This style consists of the files listed in files.txt +% +%============================================================================= +% +% 2004/05/01 +% Modifications to TCS style inspired by PPRfyma +% 2004/05/15 +% Small changes for HA-prosper 4.2 +% Replaced \NormalSlideNav and \TitleSlideNav for \HAPsetup +% Added \parbox for TOC and title +% +%============================================================================= + +\NeedsTeXFormat{LaTeX2e}[1995/12/01] +\ProvidesPackage{HAPTCSgrad}[2004/05/16] +\typeout{`TCSgrad' style for HA-prosper} +\typeout{(c) 2004 Chris Ellison} +\typeout{Package version: 1.1} +\typeout{ } + +\ifHAP@portrait + \PackageError{HAPTCSgrad}{This template does not support portrait slides}% + {Sorry, no additional help}% +\fi + +% Loading packages necessary for gradients +\IfFileExists{pst-grad}{\RequirePackage{pst-grad}}{\RequirePackage{gradient}} + +% Color Definitions +\newrgbcolor{darkdarkblue}{.17 .31 .44} % 1st bullet +%\newrgbcolor{darkblue}{0.14 0.34 0.55} +\newrgbcolor{darkblue}{.19 .44 .61} % color of text, 2nd bullet +\newrgbcolor{lightblue}{0.43 0.61 0.84} % separates footers, 3rd bullet +\newrgbcolor{faintblue}{0.88 0.95 1.00} % first color for gradient +\newrgbcolor{HAP@framecolor}{.14 .31 .44} +\newrgbcolor{HAP@textc}{.17 .31 .44} + +% Highlighting definitions +\newrgbcolor{HAP@hcolor}{.17 .31 .44} % Highlight frame color +\newrgbcolor{HAP@htcolor}{.90 .95 .98} % Highlight text color + +% Font definitions +\FontTitle{% + \usefont{T1}{phv}{b}{n}\fontsize{14.4pt}{14pt}\selectfont\darkdarkblue}{% + \usefont{T1}{phv}{b}{n}\fontsize{14.4pt}{14pt}\selectfont\darkdarkblue} +\FontText{% + \usefont{T1}{phv}{m}{n}\fontsize{10pt}{10pt}\selectfont\darkdarkblue}{% + \usefont{T1}{phv}{m}{n}\fontsize{10pt}{10pt}\selectfont\darkdarkblue} +\FontLeftFoot{% + \@fontTextColor\fontsize{4pt}{4pt}\selectfont}{% + \@fontTextColor\fontsize{4pt}{4pt}\selectfont} +\FontRightFoot{% + \@fontTextColor\fontsize{4pt}{4pt}\selectfont}{% + \@fontTextColor\fontsize{4pt}{4pt}\selectfont} + +% Slide style definitions +\newcommand{\TitleSlide}[1]{% + % color of bottom portion + \psframe[linestyle=none,fillstyle=solid,% + fillcolor=faintblue](-2.1,-2.1)(12.7,7.4)% + \Logo(-2.17,7.08){% + \@ifundefined{HAP@TSNav}% + {\includegraphics[scale=.3]{TCSgradlogo.ps}}% + {\Acrobatmenu{\HAP@TSNav}{\includegraphics[scale=.3]{TCSgradlogo.ps}}}% + }% + \psframe[linestyle=none,fillstyle=solid,% + fillcolor=darkblue](-2.1,7.35)(12.5,7.4)% + \PutLogo% + \HAP@PutLF{tl}{-1.65,-.97}% + \HAP@PutRF{tr}{11.35,-.97}% + {#1}}% + + +\newcommand{\NormalSlide}[1]{% + \Logo(-2.17,7.08){% + \@ifundefined{HAP@NSNav}% + {\includegraphics[scale=.3]{TCSgradlogo.ps}}% + {\Acrobatmenu{\HAP@NSNav}{\includegraphics[scale=.3]{TCSgradlogo.ps}}}% + }% + % Main gradient + \ifisDraft + \else + \psframe[linestyle=none, fillstyle=gradient,% + gradbegin=faintblue,gradend=white,gradmidpoint=0](-2.1,-0.77)(12.5,8.47) + \fi + % Bottom line + \psframe[linestyle=none,fillstyle=solid,% + linewidth=2pt,fillcolor=lightblue](-2.1,-0.8)(12.1,-0.7) + \ifHAP@toc% + \rput[lt](-1.7,6.55){\begin{minipage}[t]{2cm}\HAP@toc\end{minipage}}% + \fi% + \PutLogo% + \HAP@PutLF{tl}{-1.65,-.97}% + \HAP@PutRF{tr}{11.35,-.97}% + {#1}}% + +\newcommand{\SpecialSlide}[1]{% + \Logo(-2.17,7.08){% + \@ifundefined{HAP@NSNav}% + {\includegraphics[scale=.3]{TCSgradlogo.ps}}% + {\Acrobatmenu{\HAP@NSNav}{\includegraphics[scale=.3]{TCSgradlogo.ps}}}% + }% + % Main gradient + \ifisDraft + \else + \psframe[linestyle=none, fillstyle=gradient,%1.37 + gradbegin=faintblue,gradend=white,gradmidpoint=0](-2.1,-0.77)(12.5,8.47) + \fi + % Bottom line + \psframe[linestyle=none,fillstyle=solid,% + linewidth=2pt,fillcolor=lightblue](-2.1,-0.8)(12.1,-0.7) + \PutLogo% + \HAP@PutLF{tl}{-1.65,-.97}% + \HAP@PutRF{tr}{11.35,-.97}% + {#1}}% + +\newcommand{\HAPR@titleSlide}{\NewSlideStyle[11cm]{t}{4.67,2.4}{TitleSlide}} +\newcommand{\HAPR@normalSlide}{\NewSlideStyle[9.78cm]{tl}{.77,3}{NormalSlide}} +\newcommand{\HAPR@wideSlide}{\NewSlideStyle[12.3cm]{tl}{-1.4,3}{SpecialSlide}} + +% List item definitions +\RequirePackage{pifont} +\myitem{1}{\ifHAP@active\darkdarkblue\fi\raisebox{1pt}{\fontsize{7pt}{7pt}\selectfont\ding{115}}} +\myitem{2}{\ifHAP@active\darkblue\fi\raisebox{1pt}{\fontsize{7pt}{7pt}\selectfont\ding{108}}} +\myitem{3}{\ifHAP@active\lightblue\fi\raisebox{1pt}{\fontsize{7pt}{7pt}\selectfont\ding{110}}} + +% Style of table of contents entries +\newcommand{\HAP@tline}[1]{\ding{242}\,\parbox[t]{1.7cm}{\raggedright#1}} +\newcommand{\HAP@tlineonly}[1]{\parbox[t]{1.7cm}{\raggedright#1}} +\newcommand{\HAP@tsection}[1]{\parbox[b]{1.9cm}{\raggedright#1}} +\newcommand{\HAP@tsectionm}{\psline[linecolor=darkblue,linewidth=.25pt](-.05,-.05)(2,-.05)} + +% Placement of slide title +\newcommand{\slidetitle}[1]{\rput[Bl](.77,4.2){\fontTitle{\parbox[c]{10.3cm}{\raggedright#1}}}} + +% Declare default behaviors for hidden navigation +\HAPsetup{tsnav=FullScreen,nsnav=ShowBookmarks} + +\endinput diff --git a/Master/texmf-dist/tex/latex/ha-prosper/Styles/TCS/TCSgradlogo.ps b/Master/texmf-dist/tex/latex/ha-prosper/Styles/TCS/TCSgradlogo.ps new file mode 100644 index 00000000000..ed2093af37f --- /dev/null +++ b/Master/texmf-dist/tex/latex/ha-prosper/Styles/TCS/TCSgradlogo.ps @@ -0,0 +1,46 @@ +%!PS-Adobe-3.0 EPSF-3.0 +%%Title: BCenter Logo +%%BoundingBox: 0 0 302 172 + +% dark dark blue color +.17 .31 .44 setrgbcolor + +% draw triangle +newpath +60 60 moveto +90 112 lineto +120 60 lineto +60 60 moveto +fill + +% dark blue color +%.14 .34 .55 setrgbcolor +.19 .44 .61 setrgbcolor + + +% make the circle +% first 2 numbers are coordinates +% next number is diameter/radius +% next two numbers tell how much of circle to show +newpath +150 86 27 0 360 arc +fill + +% light blue color +%.75 .85 .92 setrgbcolor +.43 .61 .84 setrgbcolor + + + +% draw square +newpath +190 60 moveto +190 112 lineto +242 112 lineto +242 60 lineto +190 60 lineto +fill + + + + diff --git a/Master/texmf-dist/tex/latex/ha-prosper/Styles/TCS/TCSlogo.ps b/Master/texmf-dist/tex/latex/ha-prosper/Styles/TCS/TCSlogo.ps new file mode 100644 index 00000000000..355020d6a70 --- /dev/null +++ b/Master/texmf-dist/tex/latex/ha-prosper/Styles/TCS/TCSlogo.ps @@ -0,0 +1,41 @@ +%!PS-Adobe-3.0 EPSF-3.0 +%%Title: BCenter Logo +%%BoundingBox: 0 0 302 172 + +% dark dark blue color +.17 .31 .44 setrgbcolor + +% draw triangle +newpath +60 60 moveto +90 112 lineto +120 60 lineto +60 60 moveto +fill + +% dark blue color +.19 .44 .61 setrgbcolor + +% make the circle +% first 2 numbers are coordinates +% next number is diameter/radius +% next two numbers tell how much of circle to show +newpath +150 86 27 0 360 arc +fill + +% light blue color +.75 .85 .92 setrgbcolor + +% draw square +newpath +190 60 moveto +190 112 lineto +242 112 lineto +242 60 lineto +190 60 lineto +fill + + + + diff --git a/Master/texmf-dist/tex/latex/ha-prosper/Styles/Tycja/HAPTycja.sty b/Master/texmf-dist/tex/latex/ha-prosper/Styles/Tycja/HAPTycja.sty new file mode 100644 index 00000000000..c2174743deb --- /dev/null +++ b/Master/texmf-dist/tex/latex/ha-prosper/Styles/Tycja/HAPTycja.sty @@ -0,0 +1,160 @@ +%============================================================================== +% +% HAPTycja -- style file for use with HA-prosper. +% +% Created by: Hendri Adriaens +% http://center.uvt.nl/phd_stud/adriaens +% Center for Economic Research +% Tilburg University, the Netherlands +% +% Copyright (c) 2003-2004 Hendri Adriaens. All rights reserved. +% +% This program 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. +% +% This program consists of the files listed in files.txt present in this package. +% +%============================================================================== + +\NeedsTeXFormat{LaTeX2e}[1995/12/01] +\ProvidesPackage{HAPTycja}[2004/05/16] +\typeout{`Tycja' style for HA-prosper} +\typeout{(c) 2003-2004 Hendri Adriaens, Tilburg, the Netherlands} +\typeout{Package version: 1.5} +\typeout{ } + +% Color definitions +\newrgbcolor{tjlblue}{.78 .82 .85} +\newrgbcolor{tjblue}{.19 .39 .61} +\newrgbcolor{tjdblue}{.09 .27 .47} +\newrgbcolor{HAP@textc}{.09 .27 .47} +\newrgbcolor{tjyellow}{1 .81 .42} +\newrgbcolor{tjlyellow}{1 .97 .84} +\newrgbcolor{HAP@framecolor}{.09 .27 .47} + +% Highlighting definitions +\newrgbcolor{HAP@hcolor}{.09 .27 .47} % Highlight frame color +\newrgbcolor{HAP@htcolor}{1 .97 .84} % Highlight text color + +% Font definitions +\FontTitle{\usefont{T1}{phv}{b}{n}\fontsize{14.4pt}{14pt}\selectfont\tjdblue}% + {\usefont{T1}{phv}{b}{n}\fontsize{14.4pt}{14pt}\selectfont\tjdblue} +\FontText{\usefont{T1}{phv}{m}{n}\fontsize{10pt}{10pt}\selectfont\HAP@textc}% + {\usefont{T1}{phv}{m}{n}\fontsize{10pt}{10pt}\selectfont\HAP@textc} +\FontLeftFoot{\@fontTextColor\fontsize{4pt}{4pt}\selectfont\tjdblue}% + {\@fontTextColor\fontsize{4pt}{4pt}\selectfont\tjdblue} +\FontRightFoot{\@fontTextColor\fontsize{4pt}{4pt}\selectfont\tjdblue}% + {\@fontTextColor\fontsize{4pt}{4pt}\selectfont\tjdblue} + +% Slide style definitions +\RequirePackage{pst-grad} +\newcommand{\TitleSlide}[1]{% + \ifHAP@portrait + \psframe[linestyle=none,fillcolor=tjlyellow,fillstyle=solid](-2,11.5)(12.5,-.9)% + \psline[linewidth=.3pt,linecolor=tjdblue]{C-C}(-2,9.1)(-1,9.1)% + \psline[linewidth=.3pt,linecolor=tjdblue]{C-C}(-1,9.1)(-1,9.4)% + \psline[linewidth=.3pt,linecolor=tjdblue]{C-C}(-1,9.4)(12.5,9.4)% + \psframe[linestyle=none,fillstyle=gradient,gradbegin=tjlblue,gradend=tjblue,gradmidpoint=1](-2,-.15)(12.5,-2.26)% + \HAP@PutLF{tl}{-0.95,-.35}% + \HAP@PutRF{tr}{8.6,-.35}% + \else% + \psframe[linestyle=none,fillcolor=tjlyellow,fillstyle=solid](-2,9)(12.5,-.6)% + \psline[linewidth=.3pt,linecolor=tjdblue]{C-C}(-2,7.6)(-1,7.6)% + \psline[linewidth=.3pt,linecolor=tjdblue]{C-C}(-1,7.6)(-1,7.9)% + \psline[linewidth=.3pt,linecolor=tjdblue]{C-C}(-1,7.9)(12.5,7.9)% + \psframe[linestyle=none,fillstyle=gradient,gradbegin=tjlblue,gradend=tjblue,gradmidpoint=1](-2,-.5)(12.5,-1.32)% + \HAP@PutLF{tl}{-1.65,-.9}% + \HAP@PutRF{tr}{11.35,-.9}% + \fi% + {#1}}% + +\newcommand{\NormalSlide}[1]{% + \ifHAP@portrait% + \psframe[linestyle=none,fillcolor=tjlyellow,fillstyle=solid](-2,11.5)(12.5,-.9)% + \psline[linewidth=.3pt,linecolor=tjdblue]{C-C}(-2,9.1)(-1,9.1)% + \psline[linewidth=.3pt,linecolor=tjdblue]{C-C}(-1,9.1)(-1,9.4)% + \psline[linewidth=.3pt,linecolor=tjdblue]{C-C}(-1,9.4)(12.5,9.4)% + \psframe[linestyle=none,fillstyle=gradient,gradbegin=tjyellow,gradend=tjlyellow,gradmidpoint=1](8.4,11.5)(10,-2)% + \psframe[linestyle=none,fillstyle=gradient,gradbegin=tjlblue,gradend=tjblue,gradmidpoint=1](-2,-.15)(12.5,-5)% + \ifHAP@toc% + \rput[tr](3.7,-.8){\begin{minipage}[t]{2cm}\HAP@tsections\end{minipage}}% + \rput[tl](4.1,-.8){\begin{minipage}[t]{2cm}\HAP@tcontent\end{minipage}}% + \fi% + \HAP@PutLF{tl}{-0.95,-.35}% + \HAP@PutRF{tr}{8.6,-.35}% + \else% + \psframe[linestyle=none,fillcolor=tjlyellow,fillstyle=solid](-2,9)(9.4,-.6)% + \psline[linewidth=.3pt,linecolor=tjdblue]{C-C}(-2,7.6)(-1,7.6)% + \psline[linewidth=.3pt,linecolor=tjdblue]{C-C}(-1,7.6)(-1,7.9)% + \psline[linewidth=.3pt,linecolor=tjdblue]{C-C}(-1,7.9)(9.4,7.9)% + \psframe[linestyle=none,fillstyle=gradient,gradbegin=tjyellow,gradend=tjlyellow,gradmidpoint=1](9.3,9)(12.5,-2)% + \psframe[linestyle=none,fillstyle=gradient,gradbegin=tjlblue,gradend=tjblue,gradmidpoint=1](-2,-.5)(12.5,-1.32)% + \ifHAP@toc% + \rput[lt](9.475,7.25){\begin{minipage}[t]{2cm}\HAP@toc\end{minipage}}% + \fi% + \HAP@PutLF{tl}{-1.65,-.9}% + \HAP@PutRF{tr}{11.35,-.9}% + \fi% + {#1}}% + +\newcommand{\SpecialSlide}[1]{% + \ifHAP@portrait% + \psframe[linestyle=none,fillcolor=tjlyellow,fillstyle=solid](-2,11.5)(12.5,-.9)% + \psline[linewidth=.3pt,linecolor=tjdblue]{C-C}(-2,9.1)(-1,9.1)% + \psline[linewidth=.3pt,linecolor=tjdblue]{C-C}(-1,9.1)(-1,9.4)% + \psline[linewidth=.3pt,linecolor=tjdblue]{C-C}(-1,9.4)(12.5,9.4)% + \psframe[linestyle=none,fillstyle=gradient,gradbegin=tjyellow,gradend=tjlyellow,gradmidpoint=1](8.4,11.5)(10,-.2)% + \psframe[linestyle=none,fillstyle=gradient,gradbegin=tjlblue,gradend=tjblue,gradmidpoint=1](-2,-.15)(12.5,-5)% + \ifHAP@toc% + \rput[tr](3.7,-.8){\begin{minipage}[t]{2cm}\HAP@tsections\end{minipage}}% + \rput[tl](4.1,-.8){\begin{minipage}[t]{2cm}\HAP@tcontent\end{minipage}}% + \fi% + \HAP@PutLF{tl}{-0.95,-.35}% + \HAP@PutRF{tr}{8.6,-.35}% + \else% + \psframe[linestyle=none,fillcolor=tjlyellow,fillstyle=solid](-2,9)(9.4,-.6)% + \psframe[linestyle=none,fillstyle=gradient,gradbegin=tjyellow,gradend=tjlyellow,gradmidpoint=1](9.3,9)(12.5,-2)% + \psframe[linestyle=none,fillcolor=tjlyellow,fillstyle=solid](9.2,7.91)(12.5,-2)% + \psline[linewidth=.3pt,linecolor=tjdblue]{C-C}(-2,7.6)(-1,7.6)% + \psline[linewidth=.3pt,linecolor=tjdblue]{C-C}(-1,7.6)(-1,7.9)% + \psline[linewidth=.3pt,linecolor=tjdblue]{C-C}(-1,7.9)(12.5,7.9)% + \psframe[linestyle=none,fillstyle=gradient,gradbegin=tjlblue,gradend=tjblue,gradmidpoint=1](-2,-.5)(12.5,-1.32)% + \HAP@PutLF{tl}{-1.65,-.9}% + \HAP@PutRF{tr}{11.35,-.9}% + \fi% + {#1}}% + +\ifHAP@portrait + \newcommand{\HAPR@titleSlide}{\NewSlideStyle[9cm]{tl}{-.65,2.9}{TitleSlide}} + \newcommand{\HAPR@normalSlide}{\NewSlideStyle[8.7cm]{tl}{-.65,3.3}{NormalSlide}} + \newcommand{\HAPR@wideSlide}{\NewSlideStyle[8.7cm]{tl}{-.65,3.3}{NormalSlide}} + \newcommand{\HAPR@dualSlide}{\NewSlideStyle[4.2cm]{tl}{-.65,3.3}{NormalSlide}} + \newcommand{\slidetitle}[1]{\rput[Br](8.3,4.55){\fontTitle{#1}}} +\else + \newcommand{\HAPR@titleSlide}{\NewSlideStyle[11.7cm]{tl}{-.6,3.4}{TitleSlide}} + \newcommand{\HAPR@normalSlide}{\NewSlideStyle[9.5cm]{tl}{-.6,3.7}{NormalSlide}} + \newcommand{\HAPR@wideSlide}{\NewSlideStyle[11.7cm]{tl}{-.6,3.7}{SpecialSlide}} + \newcommand{\HAPR@dualSlide}{\NewSlideStyle[5.5cm]{tl}{-.6,3.7}{SpecialSlide}} + \newcommand{\slidetitle}[1]{\rput[Br](9.2,4.55){\fontTitle{#1}}} +\fi + +% List item definitions +\RequirePackage{pifont} +\myitem{1}{\raisebox{1pt}{\fontsize{7pt}{7pt}\selectfont\ding{110}}} +\myitem{2}{\raisebox{1pt}{\fontsize{7pt}{7pt}\selectfont\ding{117}}} +\myitem{3}{\raisebox{1pt}{\fontsize{5pt}{5pt}\selectfont\ding{110}}} + +% Style of table of contents entries +\newcommand{\HAP@tsectionm}{% + \ifHAP@portrait\else + \psline[linecolor=tjdblue,linewidth=.25pt](-.04,-.05)(2,-.05)% + \fi +} +\newcommand{\HAP@tsectiononly}[1]{\parbox{2cm}{\raggedleft#1\,}} + +\endinput diff --git a/Master/tlpkg/bin/tlpkg-ctan-check b/Master/tlpkg/bin/tlpkg-ctan-check index a82874a407e..65abc85a4b0 100755 --- a/Master/tlpkg/bin/tlpkg-ctan-check +++ b/Master/tlpkg/bin/tlpkg-ctan-check @@ -20,7 +20,7 @@ our %OPT; my @TLP_working = qw( 12many 2up - HA-prosper IEEEconf IEEEtran + IEEEconf IEEEtran SIstyle SIunits Tabbing Type1fonts a0poster a2ping a4wide a5comb aaai-named aalok aastex abbr abc abnt abntex2 abraces abstract abstyles @@ -374,7 +374,7 @@ my @TLP_working = qw( grid grid-system gridpapers gridset gridslides grotesq grundgesetze gs1 gsemthesis gtl gtrlib-largetrees gtrcrd gu gudea guitar guitarchordschemes guitartabs guitlogo gzt - h2020proposal hackthefootline hacm hagenberg-thesis halloweenmath + h2020proposal ha-prosper hackthefootline hacm hagenberg-thesis halloweenmath handin handout hands hang hanging hanoi happy4th har2nat haranoaji haranoaji-extra hardwrap harmony harnon-cv harpoon diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds index 8ed05876955..a21c3a49bee 100755 --- a/Master/tlpkg/libexec/ctan2tds +++ b/Master/tlpkg/libexec/ctan2tds @@ -63,7 +63,7 @@ chomp (my $ctan_root = `tlpkginfo --ctan-root`); 'FiXme', "die 'skipping, use fixme'", 'GS1', "die 'skipping, use gs1'", 'GuIT', "die 'skipping, use guitlogo'", - 'HA-prosper', '&MAKEhaprosper', + 'HA-prosper', "die 'skipping, use ha-prosper'", 'IEEEtran', "&MAKEIEEEtran", 'LaTeX-FAQ-francaise', "die 'skipping, use faq-fr'", 'LingTrees', "die 'skipping, requires python'", @@ -601,7 +601,7 @@ chomp (my $ctan_root = `tlpkginfo --ctan-root`); 'guitbeamer', "die 'skipping, nonfree'", 'gurps', "die 'skipping, Steve Jackson Games restrictions -> nonfree'", 'gutenberg', "die 'skipping, user group pdfs'", - 'ha-prosper', "die 'skipping, use HA-prosper'", + 'ha-prosper', '&MAKEhaprosper', 'hacm', "&MAKEflatten", 'harvardkyoto',"die 'skipping, use xetex-devanagari'", 'he-le-na', "die 'skipping, nonfree (shareware) license'", @@ -5619,13 +5619,13 @@ sub MAKEmathpazo { } sub MAKEhaprosper { + print "\t SPECIAL copying HA-prosper\n"; &setup ("nocopytodoc"); # create dirs but that's all - chdir("$packagedir"); + &xchdir("$packagedir"); &SYSTEM("mkdir -p $DEST"); - print "\t SPECIAL copying HA-prosper\n"; - &SYSTEM("$CP -r README Doc/* $DEST/doc/latex/HA-prosper"); - &SYSTEM("$CP -r Run/* $DEST/tex/latex/HA-prosper"); - &SYSTEM("$CP -r Source/* $DEST/source/latex/HA-prosper"); + &SYSTEM("$CP -r README Doc/* $DEST/doc/latex/$package"); + &SYSTEM("$CP -r Run/* $DEST/tex/latex/$package"); + &SYSTEM("$CP -r Source/* $DEST/source/latex/$package"); } sub MAKEpclnfss { diff --git a/Master/tlpkg/tlpsrc/HA-prosper.tlpsrc b/Master/tlpkg/tlpsrc/HA-prosper.tlpsrc deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc b/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc index 766cc816fad..b861154e44f 100644 --- a/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc +++ b/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc @@ -6,7 +6,6 @@ depend collection-latexrecommended depend collection-pictures # depend 2up -depend HA-prosper depend Tabbing depend a0poster depend a4wide @@ -588,6 +587,7 @@ depend gridset depend gridslides depend gs1 depend guitlogo +depend ha-prosper depend hackthefootline depend halloweenmath depend handin diff --git a/Master/tlpkg/tlpsrc/ha-prosper.tlpsrc b/Master/tlpkg/tlpsrc/ha-prosper.tlpsrc new file mode 100644 index 00000000000..e69de29bb2d -- cgit v1.2.3