diff options
Diffstat (limited to 'macros/latex/contrib/ha-prosper/Run/Styles/HA/HAPHA.sty')
-rw-r--r-- | macros/latex/contrib/ha-prosper/Run/Styles/HA/HAPHA.sty | 185 |
1 files changed, 185 insertions, 0 deletions
diff --git a/macros/latex/contrib/ha-prosper/Run/Styles/HA/HAPHA.sty b/macros/latex/contrib/ha-prosper/Run/Styles/HA/HAPHA.sty new file mode 100644 index 0000000000..7be406d687 --- /dev/null +++ b/macros/latex/contrib/ha-prosper/Run/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 |