diff options
author | Karl Berry <karl@freefriends.org> | 2006-01-12 23:50:52 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-01-12 23:50:52 +0000 |
commit | 8ad39111f593c3737a8e215819ff11bb34fe09e5 (patch) | |
tree | 3fa368b8830ee60e2b09fed2adb67c2f68acd9f8 /Master/texmf-dist/tex/latex/HA-prosper/Styles/TCS/HAPTCSgrad.sty | |
parent | 6233fddcae5993fe4319a234e465f780402e8891 (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/TCS/HAPTCSgrad.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/HA-prosper/Styles/TCS/HAPTCSgrad.sty | 155 |
1 files changed, 155 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/HA-prosper/Styles/TCS/HAPTCSgrad.sty b/Master/texmf-dist/tex/latex/HA-prosper/Styles/TCS/HAPTCSgrad.sty new file mode 100644 index 00000000000..2b08f3de362 --- /dev/null +++ b/Master/texmf-dist/tex/latex/HA-prosper/Styles/TCS/HAPTCSgrad.sty @@ -0,0 +1,155 @@ +%============================================================================== +% +% HAPTCSgrad -- 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 +% +%============================================================================= +% +% 2004/05/01 +% Modifications to TCS style inspired by PPRfyma +% 2004/05/15 +% Small changes for HA-prosper 4.2 +% Replaced \NormalSlideNav and \TitleSlideNav for \HAPsetup +% Added \parbox for TOC and title +% +%============================================================================= + +\NeedsTeXFormat{LaTeX2e}[1995/12/01] +\ProvidesPackage{HAPTCSgrad}[2004/05/16] +\typeout{`TCSgrad' style for HA-prosper} +\typeout{(c) 2004 Chris Ellison} +\typeout{Package version: 1.1} +\typeout{ } + +\ifHAP@portrait + \PackageError{HAPTCSgrad}{This template does not support portrait slides}% + {Sorry, no additional help}% +\fi + +% Loading packages necessary for gradients +\IfFileExists{pst-grad}{\RequirePackage{pst-grad}}{\RequirePackage{gradient}} + +% Color Definitions +\newrgbcolor{darkdarkblue}{.17 .31 .44} % 1st bullet +%\newrgbcolor{darkblue}{0.14 0.34 0.55} +\newrgbcolor{darkblue}{.19 .44 .61} % color of text, 2nd bullet +\newrgbcolor{lightblue}{0.43 0.61 0.84} % separates footers, 3rd bullet +\newrgbcolor{faintblue}{0.88 0.95 1.00} % first color for gradient +\newrgbcolor{HAP@framecolor}{.14 .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\darkdarkblue}{% + \usefont{T1}{phv}{b}{n}\fontsize{14.4pt}{14pt}\selectfont\darkdarkblue} +\FontText{% + \usefont{T1}{phv}{m}{n}\fontsize{10pt}{10pt}\selectfont\darkdarkblue}{% + \usefont{T1}{phv}{m}{n}\fontsize{10pt}{10pt}\selectfont\darkdarkblue} +\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]{% + % color of bottom portion + \psframe[linestyle=none,fillstyle=solid,% + fillcolor=faintblue](-2.1,-2.1)(12.7,7.4)% + \Logo(-2.17,7.08){% + \@ifundefined{HAP@TSNav}% + {\includegraphics[scale=.3]{TCSgradlogo.ps}}% + {\Acrobatmenu{\HAP@TSNav}{\includegraphics[scale=.3]{TCSgradlogo.ps}}}% + }% + \psframe[linestyle=none,fillstyle=solid,% + fillcolor=darkblue](-2.1,7.35)(12.5,7.4)% + \PutLogo% + \HAP@PutLF{tl}{-1.65,-.97}% + \HAP@PutRF{tr}{11.35,-.97}% + {#1}}% + + +\newcommand{\NormalSlide}[1]{% + \Logo(-2.17,7.08){% + \@ifundefined{HAP@NSNav}% + {\includegraphics[scale=.3]{TCSgradlogo.ps}}% + {\Acrobatmenu{\HAP@NSNav}{\includegraphics[scale=.3]{TCSgradlogo.ps}}}% + }% + % Main gradient + \ifisDraft + \else + \psframe[linestyle=none, fillstyle=gradient,% + gradbegin=faintblue,gradend=white,gradmidpoint=0](-2.1,-0.77)(12.5,8.47) + \fi + % Bottom line + \psframe[linestyle=none,fillstyle=solid,% + linewidth=2pt,fillcolor=lightblue](-2.1,-0.8)(12.1,-0.7) + \ifHAP@toc% + \rput[lt](-1.7,6.55){\begin{minipage}[t]{2cm}\HAP@toc\end{minipage}}% + \fi% + \PutLogo% + \HAP@PutLF{tl}{-1.65,-.97}% + \HAP@PutRF{tr}{11.35,-.97}% + {#1}}% + +\newcommand{\SpecialSlide}[1]{% + \Logo(-2.17,7.08){% + \@ifundefined{HAP@NSNav}% + {\includegraphics[scale=.3]{TCSgradlogo.ps}}% + {\Acrobatmenu{\HAP@NSNav}{\includegraphics[scale=.3]{TCSgradlogo.ps}}}% + }% + % Main gradient + \ifisDraft + \else + \psframe[linestyle=none, fillstyle=gradient,%1.37 + gradbegin=faintblue,gradend=white,gradmidpoint=0](-2.1,-0.77)(12.5,8.47) + \fi + % Bottom line + \psframe[linestyle=none,fillstyle=solid,% + linewidth=2pt,fillcolor=lightblue](-2.1,-0.8)(12.1,-0.7) + \PutLogo% + \HAP@PutLF{tl}{-1.65,-.97}% + \HAP@PutRF{tr}{11.35,-.97}% + {#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\darkdarkblue\fi\raisebox{1pt}{\fontsize{7pt}{7pt}\selectfont\ding{115}}} +\myitem{2}{\ifHAP@active\darkblue\fi\raisebox{1pt}{\fontsize{7pt}{7pt}\selectfont\ding{108}}} +\myitem{3}{\ifHAP@active\lightblue\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=darkblue,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 |