summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/powerdot/powerdot-horatio.sty
blob: 83603d4c617139dfc562dfa1d783bd7c23aff2a9 (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
%%
%% This is file `powerdot-horatio.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% powerdot.dtx  (with options: `pdhoratio')
%% 
%% ---------------------------------------------------------------------------------
%% Copyright (C) 2005-2008 Hendri Adriaens, Chris Ellison; 2009-2021 Hendri Adriaens
%% ---------------------------------------------------------------------------------
%%
%% 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 Hendri Adriaens.
%%
%% This work consists of all files listed in manifest.txt.
%%
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
\ProvidesPackage{powerdot-horatio}[2005/12/10 v1.1 horatio style (ML,HA)]
\RequirePackage{pifont}
\pddefinepalettes{default}{
  \definecolor{pdcolor1}{HTML}{004477}
  \definecolor{pdcolor2}{HTML}{5588ae}
}
\pddefinetemplate{basic}{
  titlehook=Bl,
  titlepos={.2\slidewidth,.91\slideheight},
  titlewidth=.77\slidewidth,
  titlefont=\color{white}\large\bfseries\raggedright,
  clockcolor=white,clockpos={.99\slidewidth,\slideheight},
  lfpos={.2\slidewidth,.04\slideheight},
  lffont=\tiny\color{white},
  cfpos={.585\slidewidth,.04\slideheight},
  cffont=\tiny\color{white},
  rfpos={.97\slidewidth,.04\slideheight},
  rffont=\tiny\color{white},
  tocslidesep=.6ex,
  textheight=.68\slideheight,
  ifsetup=landscape,
    toctcolor=pdcolor1,
    tochlcolor=pdcolor1,
    tochltcolor=white,
    tocpos={.01\slidewidth,.81\slideheight},
    tocwidth=.14\slidewidth,
    tocsecm={\psline[linewidth=.5pt,linecolor=pdcolor1]%
      (-.05,-.05)(.143\slidewidth,-.05)},
  ifsetup=portrait,
    toctcolor=white,
    tochlcolor=white,
    tochltcolor=pdcolor1,
    tocsecsep=.6ex,
    stochook=tr,stocpos={.55\slidewidth,.09\slideheight},
    stocfont=\tiny\raggedleft,
    ntocpos={.57\slidewidth,.09\slideheight}
}{{%
  \psset{linecolor=pdcolor1}%
  \psframe*(0,0)(\slidewidth,.1\slideheight)%
  \psframe*(0,.85\slideheight)(\slidewidth,\slideheight)%
  \psset{linecolor=pdcolor2,linewidth=1pt}%
  \psline(.17\slidewidth,0)(.17\slidewidth,.1\slideheight)%
  \psline(.17\slidewidth,.85\slideheight)(.17\slidewidth,\slideheight)%
}}
\pddefinetemplate[basic]{titleslide}{
  titlefont=\large\bfseries\centering,
  texthook=t,
  textpos={.5\slidewidth,.7\slideheight},
  textwidth=.75\slidewidth,
  textfont=\centering,
  textheight=.57\slideheight,
  ifsetup=landscape,tocpos,ifsetup=portrait,stocpos,ntocpos
}{}
\pddefinetemplate[basic]{slide}{
  textpos={.2\slidewidth,.81\slideheight},
  textwidth=.77\slidewidth,
  ifsetup=portrait,
    textpos={.05\slidewidth,.81\slideheight},
    textwidth=.9\slidewidth
}{%
  \pdifsetup{landscape}{%
    \psline[linewidth=1pt,linecolor=pdcolor2]%
      (.17\slidewidth,0)(.17\slidewidth,\slideheight)%
  }{}%
}
\pddefinetemplate[basic]{wideslide}{
  textpos={.03\slidewidth,.81\slideheight},
  textwidth=.94\slidewidth,
  ifsetup=landscape,tocpos,ifsetup=portrait,
    textpos={.05\slidewidth,.81\slideheight},
    textwidth=.9\slidewidth
}{}
\pddefinetemplate[slide]{sectionslide}{
  titlehook=c,titlefont=\Large\bfseries\centering,
  ifsetup=landscape,
    titlepos={.6\slidewidth,.55\slideheight},
    titlewidth=.7\slidewidth,
  ifsetup=portrait,
    titlepos={.5\slidewidth,.55\slideheight},
    titlewidth=.75\slidewidth
}{}
\pddefinetemplate[wideslide]{sectionwideslide}{
  titlehook=c,titlefont=\Large\bfseries\centering,
  titlepos={.5\slidewidth,.55\slideheight},
  titlewidth=.75\slidewidth
}{}
\setkeys[pd]{section}{sectemp=sectionslide,widesectemp=sectionwideslide}
\def\labelitemi{\small\ding{'64}}
\def\labelitemii{\small\ding{'70}}
\def\labelitemiii{\small\ding{'63}}
\def\labelitemiv{\small\ding{'67}}
\pdsetup{
  list={labelsep=1em,leftmargin=*,itemsep=0pt,topsep=5pt,parsep=0pt}
}
\def\rmdefault{cmss}
\endinput
%%
%% End of file `powerdot-horatio.sty'.