diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/HA-prosper/Styles/Lakar/HAPLakar.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/HA-prosper/Styles/Lakar/HAPLakar.sty | 212 |
1 files changed, 212 insertions, 0 deletions
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 |