From e0c6872cf40896c7be36b11dcc744620f10adf1d Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Mon, 2 Sep 2019 13:46:59 +0900 Subject: Initial commit --- macros/latex/contrib/ha-prosper/Doc/HA-prosper.pdf | Bin 0 -> 225696 bytes macros/latex/contrib/ha-prosper/Doc/HAPBigtest.tex | 256 +++++++++++++++++++++ .../latex/contrib/ha-prosper/Doc/HAPDualslide.tex | 109 +++++++++ .../contrib/ha-prosper/Doc/HAPIntroduction.tex | 201 ++++++++++++++++ 4 files changed, 566 insertions(+) create mode 100644 macros/latex/contrib/ha-prosper/Doc/HA-prosper.pdf create mode 100644 macros/latex/contrib/ha-prosper/Doc/HAPBigtest.tex create mode 100644 macros/latex/contrib/ha-prosper/Doc/HAPDualslide.tex create mode 100644 macros/latex/contrib/ha-prosper/Doc/HAPIntroduction.tex (limited to 'macros/latex/contrib/ha-prosper/Doc') diff --git a/macros/latex/contrib/ha-prosper/Doc/HA-prosper.pdf b/macros/latex/contrib/ha-prosper/Doc/HA-prosper.pdf new file mode 100644 index 0000000000..d863fff5b2 Binary files /dev/null and b/macros/latex/contrib/ha-prosper/Doc/HA-prosper.pdf differ diff --git a/macros/latex/contrib/ha-prosper/Doc/HAPBigtest.tex b/macros/latex/contrib/ha-prosper/Doc/HAPBigtest.tex new file mode 100644 index 0000000000..1c50a75ce3 --- /dev/null +++ b/macros/latex/contrib/ha-prosper/Doc/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/macros/latex/contrib/ha-prosper/Doc/HAPDualslide.tex b/macros/latex/contrib/ha-prosper/Doc/HAPDualslide.tex new file mode 100644 index 0000000000..949cdfceb4 --- /dev/null +++ b/macros/latex/contrib/ha-prosper/Doc/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/macros/latex/contrib/ha-prosper/Doc/HAPIntroduction.tex b/macros/latex/contrib/ha-prosper/Doc/HAPIntroduction.tex new file mode 100644 index 0000000000..116c6cf9e5 --- /dev/null +++ b/macros/latex/contrib/ha-prosper/Doc/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} -- cgit v1.2.3