summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/powerdot/powerdot-ikeda.sty
blob: 18bcc7a16d15beed03502b16494f0ad1b07097b4 (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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
%%
%% This is file `powerdot-ikeda.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-ikeda}[2005/12/10 v1.4 ikeda style (CE,HA)]
\RequirePackage{calc}
\RequirePackage{pifont}
\pddefinepalettes{default}{
  \definecolor{pdcolor1}{rgb}{.941,.98,1}
  \definecolor{pdcolor2}{rgb}{.435,.031,.165}
  \definecolor{pdcolor3}{rgb}{.051,.094,.29}
  \definecolor{pdcolor4}{rgb}{.051,.329,.29}
}
\pddefinetemplate{titleslide}{
  titlefont=\Large\bfseries\centering,
  clockcolor=pdcolor1,clockpos={.99\slidewidth,\slideheight},
  textpos={.13\slidewidth,.7\slideheight},
  textwidth=.75\slidewidth,
  textfont=\centering,
  textheight=.56\slideheight
}{%
  \psframe*[linecolor=pdcolor2](0,\slideheight)(\slidewidth,0)%
  \psframe*[linecolor=pdcolor3]%
    (.05\slidewidth,.95\slideheight)(.95\slidewidth,.05\slideheight)%
  \psline[linecolor=pdcolor1,linewidth=.01]%
    (.1\slidewidth,.1\slideheight)(.1\slidewidth,.9\slideheight)%
  \psline[linecolor=pdcolor1,linewidth=.01]%
    (.9\slidewidth,.1\slideheight)(.9\slidewidth,.9\slideheight)%
  \pspolygon[linestyle=none,fillstyle=vlines*,fillcolor=pdcolor2,%
    hatchcolor=pdcolor1,hatchwidth=.1\pslinewidth,hatchsep=4pt]%
    (.1\slidewidth,.1\slideheight)(.25\slidewidth,.07\slideheight)%
    (.5\slidewidth,.1\slideheight)(.75\slidewidth,.13\slideheight)%
    (.9\slidewidth,.1\slideheight)%
  \pspolygon[linestyle=none,fillstyle=hlines*,fillcolor=pdcolor2,%
    hatchcolor=pdcolor1,hatchwidth=.1\pslinewidth,hatchsep=4pt]%
    (.1\slidewidth,.9\slideheight)(.25\slidewidth,.93\slideheight)%
    (.5\slidewidth,.9\slideheight)(.75\slidewidth,.87\slideheight)%
    (.9\slidewidth,.9\slideheight)%
}
\pddefinetemplate{basic}{
  titlehook=Bc,titlefont=\large\bfseries\centering,
  clockcolor=pdcolor1,clockpos={.99\slidewidth,\slideheight},
  tocslidesep=.6ex,
  toctcolor=pdcolor1,
  tochlcolor=pdcolor3,
  tochltcolor=pdcolor1,
  ifsetup=portrait,
    tocsecsep=.6ex,
    textpos={.05\slidewidth,.83\slideheight},
    textwidth=.9\slidewidth,
    lfpos={.03\slidewidth,.025\slideheight},
    cfpos={.5\slidewidth,.025\slideheight},
    rfpos={.97\slidewidth,.025\slideheight},
    stochook=tr,stocpos={.47\slidewidth,.15\slideheight},
    stocfont=\tiny\raggedleft,
    ntocpos={.53\slidewidth,.15\slideheight},
  ifsetup=landscape,
    textpos={.2\slidewidth,.84\slideheight},
    textwidth=.75\slidewidth,
    lfpos={.19\slidewidth,.025\slideheight},
    cfpos={.58\slidewidth,.025\slideheight},
    rfpos={.97\slidewidth,.025\slideheight}
}{%
  \psframe*[linecolor=pdcolor3](0,0)(\slidewidth,\slideheight)%
}
\pddefinetemplate[basic]{slide}{
  ifsetup=landscape,
    titlewidth=.75\slidewidth,
    titlepos={.575\slidewidth,.92\slideheight},
    tocpos={.01\slidewidth,.83\slideheight},
    tocwidth=.14\slidewidth,
    tocsecm={\psline[linewidth=.5pt,linecolor=pdcolor3](-.05,-.05)(.143\slidewidth,-.05)},
    textheight=.72\slideheight,
  ifsetup=portrait,
    titlepos={.5\slidewidth,.88\slideheight},
    titlewidth=.95\slidewidth,
    textheight=.64\slideheight
}{{%
  \psset{linestyle=none}%
  \pdifsetup{landscape}{%
    \psframe*[linecolor=pdcolor2](0,0)(.16\slidewidth,\slideheight)%
    \setlength\@tempdima{.16\slidewidth-.4cm}%
    \setlength\@tempdimb{.97\slideheight-.8cm}%
    \psframe*[linecolor=pdcolor3]%
      (.16\slidewidth,.97\slideheight)(\@tempdima,\@tempdimb)%
    \setlength\@tempdima{.16\slidewidth+.4cm}%
    \psframe*[linecolor=pdcolor2]%
      (.16\slidewidth,.97\slideheight)(\@tempdima,\@tempdimb)%
    \pspolygon[fillstyle=solid,fillcolor=pdcolor3]%
      (0,.935\slideheight)(.02\slidewidth,.945\slideheight)%
      (.065\slidewidth,.935\slideheight)(.11\slidewidth,.925\slideheight)%
      (.13\slidewidth,.935\slideheight)%
    \pspolygon[fillstyle=hlines*,fillcolor=pdcolor2,%
      hatchcolor=pdcolor1,hatchwidth=.1\pslinewidth,hatchsep=4pt]%
      (.185\slidewidth,.09\slideheight)(.335\slidewidth,.06\slideheight)%
      (.58\slidewidth,.09\slideheight)%
    \pspolygon[fillstyle=vlines*,fillcolor=pdcolor2,%
      hatchcolor=pdcolor1,hatchwidth=.1\pslinewidth,hatchsep=4pt]%
      (.58\slidewidth,.09\slideheight)(.825\slidewidth,.06\slideheight)%
      (.975\slidewidth,.09\slideheight)%
  }{%
    \pspolygon[fillstyle=vlines*,fillcolor=pdcolor2,%
      hatchcolor=pdcolor1,hatchwidth=.1\pslinewidth,hatchsep=4pt]%
      (.02\slidewidth,.95\slideheight)(.17\slidewidth,.98\slideheight)%
      (.5\slidewidth,.95\slideheight)%
    \pspolygon[fillstyle=hlines*,fillcolor=pdcolor2,%
      hatchcolor=pdcolor1,hatchwidth=.1\pslinewidth,hatchsep=4pt]%
      (.5\slidewidth,.95\slideheight)(.82\slidewidth,.98\slideheight)%
      (.98\slidewidth,.95\slideheight)%
    \pd@ikedapbg
  }%
}}
\pddefinetemplate[basic]{wideslide}{
  lfpos={.03\slidewidth,.025\slideheight},
  cfpos={.5\slidewidth,.025\slideheight},
  titlewidth=.95\slidewidth,
  textwidth=.95\slidewidth,
  ifsetup=landscape,
    titlepos={.5\slidewidth,.88\slideheight},
    textpos={.025\slidewidth,.84\slideheight},
    textheight=.72\slideheight,
  ifsetup=portrait,
    titlepos={.5\slidewidth,.92\slideheight},
    textpos={.025\slidewidth,.87\slideheight},
    textheight=.68\slideheight
}{{%
  \psset{linestyle=none}%
  \pdifsetup{landscape}{%
    \pspolygon[fillstyle=vlines*,fillcolor=pdcolor2,%
      hatchcolor=pdcolor1,hatchwidth=.1\pslinewidth,hatchsep=4pt]%
      (.02\slidewidth,.95\slideheight)(.17\slidewidth,.98\slideheight)%
      (.5\slidewidth,.95\slideheight)%
    \pspolygon[fillstyle=hlines*,fillcolor=pdcolor2,%
      hatchcolor=pdcolor1,hatchwidth=.1\pslinewidth,hatchsep=4pt]%
      (.5\slidewidth,.95\slideheight)(.83\slidewidth,.98\slideheight)%
      (.98\slidewidth,.95\slideheight)%
    \pspolygon[fillstyle=hlines*,fillcolor=pdcolor2,%
      hatchcolor=pdcolor1,hatchwidth=.1\pslinewidth,hatchsep=4pt]%
      (.02\slidewidth,.09\slideheight)(.17\slidewidth,.06\slideheight)%
      (.5\slidewidth,.09\slideheight)%
    \pspolygon[fillstyle=vlines*,fillcolor=pdcolor2,%
      hatchcolor=pdcolor1,hatchwidth=.1\pslinewidth,hatchsep=4pt]%
      (.5\slidewidth,.09\slideheight)(.83\slidewidth,.06\slideheight)%
      (.98\slidewidth,.09\slideheight)%
  }\pd@ikedapbg
}}
\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
}{}
\def\pd@ikedapbg{%
  \psframe*[linecolor=pdcolor2](0,0)(\slidewidth,.17\slideheight)%
  \pspolygon[fillstyle=vlines*,fillcolor=pdcolor2,%
    hatchcolor=pdcolor3,hatchwidth=.1\pslinewidth,hatchsep=1.6pt]%
    (.05\slidewidth,.1\slideheight)(.08\slidewidth,.08\slideheight)%
    (.14\slidewidth,.1\slideheight)(.20\slidewidth,.12\slideheight)%
    (.23\slidewidth,.1\slideheight)%
  \pspolygon[fillstyle=hlines*,fillcolor=pdcolor2,%
    hatchcolor=pdcolor3,hatchwidth=.1\pslinewidth,hatchsep=1.6pt]%
    (.77\slidewidth,.1\slideheight)(.80\slidewidth,.12\slideheight)%
    (.86\slidewidth,.1\slideheight)(.92\slidewidth,.08\slideheight)%
    (.95\slidewidth,.1\slideheight)%
}
\setkeys[pd]{section}{sectemp=sectionslide,widesectemp=sectionwideslide}
\def\labelitemi{\color{pdcolor2}\footnotesize\ding{110}}
\def\labelitemii{\color{pdcolor4}\small\ding{115}}
\def\labelitemiii{\color{pdcolor2}\tiny\ding{110}}
\def\labelitemiv{\color{pdcolor4}\tiny\ding{115}}
\pdsetup{
  list={labelsep=1em,leftmargin=*,itemsep=0pt,topsep=5pt,parsep=0pt}
}
\def\rmdefault{cmss}
\endinput
%%
%% End of file `powerdot-ikeda.sty'.