%============================================================================== % % 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