summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/HA-prosper/Styles/Simple
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-01-12 23:50:52 +0000
committerKarl Berry <karl@freefriends.org>2006-01-12 23:50:52 +0000
commit8ad39111f593c3737a8e215819ff11bb34fe09e5 (patch)
tree3fa368b8830ee60e2b09fed2adb67c2f68acd9f8 /Master/texmf-dist/tex/latex/HA-prosper/Styles/Simple
parent6233fddcae5993fe4319a234e465f780402e8891 (diff)
HA-prosper
git-svn-id: svn://tug.org/texlive/trunk@633 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/HA-prosper/Styles/Simple')
-rw-r--r--Master/texmf-dist/tex/latex/HA-prosper/Styles/Simple/HAPsimple.sty129
1 files changed, 129 insertions, 0 deletions
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