diff options
author | Karl Berry <karl@freefriends.org> | 2013-07-02 18:18:45 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2013-07-02 18:18:45 +0000 |
commit | 1a6b61dfa1ffa5032428d260ce4b22db56698693 (patch) | |
tree | fe7c45662e4459b8d937e65f27c3bf53d9941187 /Master/texmf-dist/tex/latex/powerdot/powerdot-simple.sty | |
parent | ec22b69d36a5c2efaaf68b803ff8eaa6d950eb38 (diff) |
powerdot restored
git-svn-id: svn://tug.org/texlive/trunk@31071 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/powerdot/powerdot-simple.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/powerdot/powerdot-simple.sty | 118 |
1 files changed, 118 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/powerdot/powerdot-simple.sty b/Master/texmf-dist/tex/latex/powerdot/powerdot-simple.sty new file mode 100644 index 00000000000..24f9abad154 --- /dev/null +++ b/Master/texmf-dist/tex/latex/powerdot/powerdot-simple.sty @@ -0,0 +1,118 @@ +%% +%% This is file `powerdot-simple.sty', +%% --------------------------------------------------------------- +%% Copyright (C) 2005-2010 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 "unmaintained". +%% +%% This work consists of all files listed in manifest.txt. +%% +\NeedsTeXFormat{LaTeX2e}[1995/12/01] +\ProvidesPackage{powerdot-simple}[2005/12/10 v1.3 simple style (HA)] +\RequirePackage{pifont} +\RequirePackage{amssymb} +\pddefinepalettes{default}{\colorlet{pdcolor1}{black}} +\pddefinetemplate{titleslide}{ + titlefont=\large\bfseries\raggedright, + clockpos={.99\slidewidth,\slideheight}, + lfpos={.03\slidewidth,.04\slideheight}, + cfpos={.5\slidewidth,.04\slideheight}, + rfpos={.97\slidewidth,.04\slideheight}, + texthook=tl,textpos={.05\slidewidth,.83\slideheight}, + textwidth=.9\slidewidth,textfont=\tabcolsep0pt, + textheight=.66\slideheight +}{% + \psline[linewidth=.8pt](0,.9\slideheight)(\slidewidth,.9\slideheight)% + \psline[linewidth=.8pt](0,.1\slideheight)(\slidewidth,.1\slideheight)% +} +\pddefinetemplate{basic}{ + titlepos={.05\slidewidth,.93\slideheight}, + titlewidth=.9\slidewidth,textheight=.66\slideheight, + titlefont=\large\bfseries\raggedright, + clockpos={.99\slidewidth,\slideheight}, + lfpos={.03\slidewidth,.04\slideheight}, + cfpos={.5\slidewidth,.04\slideheight}, + rfpos={.97\slidewidth,.04\slideheight}, + tocslidesep=.6ex,textheight=.68\slideheight, + ifsetup=portrait, + textpos={.05\slidewidth,.83\slideheight}, + textwidth=.9\slidewidth, + tocsecsep=.6ex, + 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 +}{% + \psline[linewidth=.8pt](0,.9\slideheight)(\slidewidth,.9\slideheight)% + \psline[linewidth=.8pt](0,.1\slideheight)(\slidewidth,.1\slideheight)% +} +\pddefinetemplate[basic]{wideslide}{ + textpos={.05\slidewidth,.83\slideheight}, + textwidth=.9\slidewidth +}{} +\pddefinetemplate[basic]{slide}{ + ifsetup=landscape, + tocpos={.015\slidewidth,.83\slideheight}, + tocwidth=.14\slidewidth, + tocsecm={\psline[linewidth=.5pt,linecolor=gray]% + (-.05,-.05)(.143\slidewidth,-.05)} +}{% + \pdifsetup{landscape}{% + \psframe[fillstyle=solid,fillcolor=black!10,linestyle=none,% + linewidth=.8pt](-.01\slidewidth,.9\slideheight)% + (.17\slidewidth,.1\slideheight)% + }{}% +} +\pddefinetemplate[slide]{sectionslide}{ + titlehook=c,titlefont=\Large\bfseries\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\centering, + titlepos={.5\slidewidth,.55\slideheight}, + titlewidth=.9\slidewidth +}{} +\setkeys[pd]{section}{sectemp=sectionslide,widesectemp=sectionwideslide} +\def\pd@tochighlight#1{\pd@tocsimple\phantom{#1}} +\def\pd@tochighlight#1{\pd@tocsimple\@firstofone{#1}} +\def\pd@tocsimple#1#2{% + \@tempdima\pd@@tocwidth + \settowidth\@tempdimb{\normalsize\ensuremath\triangleright\hskip1mm}% + \advance\@tempdima-\@tempdimb + \ifnum\pd@toctype=\@ne\else + #1{\normalsize\ensuremath\triangleright\hskip1mm}% + \fi + \begin{minipage}[b]\@tempdima + \pd@usedtocfont#2% + \end{minipage}% + \ifnum\pd@toctype=\@ne + #1{\hskip1mm\normalsize\ensuremath\triangleleft}% + \fi +} +\def\labelitemi{\footnotesize\ensuremath\square} +\def\labelitemii{\small--} +\def\labelitemiii{\tiny\ensuremath\triangleright} +\def\labelitemiv{\tiny\ding{110}} +\pdsetup{ + list={labelsep=1em,leftmargin=*,itemsep=0pt,topsep=5pt,parsep=0pt} +} +\def\rmdefault{cmss} +\endinput +%% +%% End of file `powerdot-simple.sty'. |