diff options
author | Karl Berry <karl@freefriends.org> | 2006-01-13 00:03:07 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-01-13 00:03:07 +0000 |
commit | ae93734a22bdfdde08d69ec20c7b9404d8e8dc15 (patch) | |
tree | 2e665de5f8931352c916c54d1047f956eee77ebf /Master/texmf-dist/tex/latex/powerdot/powerdot-aggie.sty | |
parent | f847506524ef2b806df63d430c524c226fc3e88f (diff) |
powerdot
git-svn-id: svn://tug.org/texlive/trunk@1210 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/powerdot/powerdot-aggie.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/powerdot/powerdot-aggie.sty | 149 |
1 files changed, 149 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/powerdot/powerdot-aggie.sty b/Master/texmf-dist/tex/latex/powerdot/powerdot-aggie.sty new file mode 100644 index 00000000000..12d2397e859 --- /dev/null +++ b/Master/texmf-dist/tex/latex/powerdot/powerdot-aggie.sty @@ -0,0 +1,149 @@ +%% +%% This is file `powerdot-aggie.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% powerdot.dtx (with options: `pdaggie') +%% +%% ---------------------------------------------------------- +%% Copyright (C) 2005 Hendri Adriaens and Christopher Ellison +%% ---------------------------------------------------------- +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either version 1.3 +%% 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.3 or later is part of all distributions of LaTeX +%% version 2003/12/01 or later. +%% +%% This work has the LPPL maintenance status "maintained". +%% +%% This Current Maintainer of this work is Christopher Ellison. +%% +%% This work consists of all files listed in manifest.txt. +%% +\NeedsTeXFormat{LaTeX2e}[1995/12/01] +\ProvidesPackage{powerdot-aggie}[2005/10/09 v1.1 aggie style (JS,HA)] +\RequirePackage{times} +\RequirePackage{pifont} +\RequirePackage{pst-grad} +\definecolor{pdmaroon}{rgb}{.51,.13,.16} +\definecolor{pdlparchment}{rgb}{.96,.94,.89} +\definecolor{pddparchment}{rgb}{.89,.85,.69} +\definecolor{pddblue}{rgb}{.17,.31,.44} +\pddefinetemplate{titleslide}{ + titlefont=\Large\bfseries\color{pdmaroon}\centering, + lfpos={.03\slidewidth,.04\slideheight}, + rfpos={.97\slidewidth,.04\slideheight}, + lffont=\tiny, + rffont=\tiny, + texthook=t,textpos={.5\slidewidth,.65\slideheight}, + textwidth=.9\slidewidth,textfont=\centering, + textheight=.5\slideheight, + ifsetup=portrait, + textheight=.55\slideheight, + lfpos={.03\slidewidth,.03\slideheight}, + rfpos={.97\slidewidth,.03\slideheight}, +}{% + \psframe*[linecolor=pdlparchment,linewidth=0pt]% + (0,.85\slideheight)(\slidewidth,0)% + \psline[linecolor=pdmaroon]% + (0,.85\slideheight)(\slidewidth,.85\slideheight)% + \psellipse[linestyle=solid,linecolor=pdmaroon,fillstyle=solid,% + fillcolor=pddparchment](0.5\slidewidth,0)(0.7\slidewidth,0.1\slidewidth)% +} +\pddefinetemplate{basic}{ + titlepos={.2\slidewidth,.93\slideheight}, + titlewidth=.75\slidewidth,textheight=.66\slideheight, + titlefont=\Large\sl\bfseries\color{pdmaroon}\raggedright, + lfpos={.03\slidewidth,.04\slideheight}, + rfpos={.97\slidewidth,.04\slideheight}, + lffont=\tiny, + rffont=\tiny, + tocslidesep=.8ex, + textheight=.74\slideheight, + toctcolor=pddblue, + tochlcolor=pdmaroon, + tochltcolor=white, + ifsetup=portrait, + lfpos={.03\slidewidth,.03\slideheight}, + rfpos={.97\slidewidth,.03\slideheight}, + textpos={.05\slidewidth,.83\slideheight}, + textwidth=.9\slidewidth, + tocsecsep=.8ex, + stochook=tr,stocpos={.48\slidewidth,.09\slideheight}, + stocfont=\tiny\raggedleft, + ntocpos={.52\slidewidth,.09\slideheight}, + ifsetup=landscape, + textpos={.2\slidewidth,.83\slideheight}, + textwidth=.75\slidewidth +}{% +} +\pddefinetemplate[basic]{wideslide}{ + textpos={.05\slidewidth,.83\slideheight}, + textwidth=.9\slidewidth, + ifsetup=portrait, + textheight=0.7\slideheight +}{% + \psframe[linestyle=none,fillstyle=gradient,gradbegin=pdlparchment,% + gradend=white,gradmidpoint=1,gradangle=90,linewidth=0pt]% + (0,\slideheight)(\slidewidth,.9\slideheight)% + \pd@aggiebg +} +\pddefinetemplate[basic]{slide}{ + ifsetup=landscape, + tocpos={.015\slidewidth,.83\slideheight}, + tocwidth=.14\slidewidth, + tocsecm={\psline[linewidth=.5pt,linecolor=pdmaroon]% + (-.05,-.05)(.143\slidewidth,-.05)}, + ifsetup=portrait, + textheight=0.7\slideheight +}{% + \psframe[fillstyle=gradient,gradbegin=pdlparchment,gradend=white,% + gradmidpoint=0,linestyle=none,linewidth=0pt]% + (0,.9\slideheight)(.25\slidewidth,.075\slideheight)% + \psellipse*[linecolor=white](.25\slidewidth,.6\slideheight)% + (0.075\slidewidth,0.7\slideheight)% + \pd@aggiebg +} +\pddefinetemplate[slide]{sectionslide}{ + titlehook=c,titlefont=\Large\bfseries\color{pdmaroon}\centering, + ifsetup=landscape, + titlepos={.575\slidewidth,.55\slideheight}, + titlewidth=.75\slidewidth, + ifsetup=portrait, + titlepos={.5\slidewidth,.55\slideheight}, + titlewidth=.9\slidewidth +}{} +\pddefinetemplate[wideslide]{sectionwideslide}{ + titlehook=c,titlefont=\Large\bfseries\color{pdmaroon}\centering, + titlepos={.5\slidewidth,.55\slideheight}, + titlewidth=.9\slidewidth +}{} +\def\pd@aggiebg{% + \pdifsetup{landscape}{% + \psframe*[linecolor=pddparchment](0,0)(\slidewidth,.075\slideheight)% + \psline[linecolor=pdmaroon,linewidth=.5pt]% + (0,.075\slideheight)(\slidewidth,.075\slideheight)% + }{% + \psframe*[linecolor=pddparchment](0,0)(\slidewidth,.1\slideheight)% + \psline[linecolor=pdmaroon,linewidth=.5pt]% + (0,.1\slideheight)(\slidewidth,.1\slideheight)% + }% +} +\setkeys[pd]{section}{sectemp=sectionslide,widesectemp=sectionwideslide} +\def\pd@tocslide#1{\ding{118}\,#1} +\def\labelitemi{\color{pdmaroon}\footnotesize\ding{108}} +\def\labelitemii{\color{pdmaroon}\small\ding{70}} +\def\labelitemiii{\color{pdmaroon}\tiny\ding{110}} +\def\labelitemiv{\color{pdmaroon}\tiny\ding{117}} +\pdsetup{ + list={labelsep=1em,leftmargin=*,itemsep=0pt,topsep=5pt,parsep=0pt} +} +\color{pddblue} +\renewcommand\familydefault{\sfdefault} +\endinput +%% +%% End of file `powerdot-aggie.sty'. |