summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/powerdot/powerdot-default.sty
blob: 3a0b2a7b0416ce0262fcb0a5c8211471204a9748 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
%%
%% This is file `powerdot-default.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% powerdot.dtx  (with options: `pddefault')
%% 
%% ----------------------------------------------------------
%% 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-default}[2005/10/09 v1.2 default style (HA)]
\RequirePackage{pifont}
\definecolor{pddblue}{rgb}{.17,.31,.44}
\definecolor{pdlblue}{rgb}{.75,.85,.92}
\definecolor{pdllblue}{rgb}{.9,.95,.98}
\newbox\pd@imagebox
\pdifsetup{landscape}{
  \sbox\pd@imagebox{\includegraphics[trim=50 20 0 20,clip,%
    width=.17\slidewidth,height=.1\slideheight]{powerdot-default.ps}%
  }
}{
  \sbox\pd@imagebox{\includegraphics[trim=170 0 80 0,clip,%
    height=.1\slideheight]{powerdot-default.ps}%
  }
}
\pddefinetemplate{titleslide}{
  titlefont=\large\bfseries\centering,
  lfpos={.03\slidewidth,.04\slideheight},
  rfpos={.97\slidewidth,.04\slideheight},
  texthook=t,textpos={.5\slidewidth,.7\slideheight},
  textwidth=.9\slidewidth,textfont=\centering,
  textheight=.6\slideheight
}{%
  \psframe*[linecolor=pdllblue,linewidth=0pt]%
    (0,.8\slideheight)(\slidewidth,0)%
  \psline[linecolor=pddblue]%
    (0,.8\slideheight)(\slidewidth,.8\slideheight)%
}
\pddefinetemplate{basic}{
  titlepos={.2\slidewidth,.93\slideheight},
  titlewidth=.75\slidewidth,textheight=.68\slideheight,
  titlefont=\large\bfseries\raggedright,
  lfpos={.03\slidewidth,.04\slideheight},
  rfpos={.97\slidewidth,.04\slideheight},
  tocslidesep=.6ex,
  toctcolor=pddblue,
  tochlcolor=pddblue,
  tochltcolor=pdllblue,
  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
}{%
  \psframe*[linecolor=pdllblue,linewidth=0pt]%
    (0,\slideheight)(\slidewidth,.9\slideheight)%
  \psframe*[linecolor=pdlblue,linewidth=0pt]%
    (0,0)(\slidewidth,.1\slideheight)%
  \rput[tl](0,\slideheight){\usebox\pd@imagebox}%
}
\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=pddblue]%
    (-.05,-.05)(.143\slidewidth,-.05)}
}{%
  \pdifsetup{landscape}{%
    \psframe[fillstyle=solid,fillcolor=pdllblue,linestyle=none,%
      linewidth=0pt](0,.9\slideheight)(.17\slidewidth,.1\slideheight)%
  }{}%
}
\pddefinetemplate[slide]{sectionslide}{
  titlehook=c,titlefont=\Large\bfseries\centering,
  ifsetup=landscape,
  titlepos={.575\slidewidth,.55\slideheight},
  ifsetup=portrait,
  titlewidth=.9\slidewidth,
  titlepos={.5\slidewidth,.55\slideheight}
}{}
\pddefinetemplate[wideslide]{sectionwideslide}{
  titlehook=c,titlefont=\Large\bfseries\centering,
  titlewidth=.9\slidewidth,
  titlepos={.5\slidewidth,.55\slideheight}
}{}
\setkeys[pd]{section}{
  sectemp=sectionslide,widesectemp=sectionwideslide
}
\def\labelitemi{\footnotesize\ding{110}}
\def\labelitemii{\small\ding{117}}
\def\labelitemiii{\tiny\ding{110}}
\def\labelitemiv{\tiny\ding{117}}
\pdsetup{
  list={labelsep=1em,leftmargin=*,itemsep=0pt,topsep=5pt,parsep=0pt}
}
\color{pddblue}
\def\rmdefault{cmss}
\endinput
%%
%% End of file `powerdot-default.sty'.