summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/ifmslide/ifmslide.cfg
blob: 63771bcc40fee690b4c0abef623d3b7281274256 (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
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
%% This is file `ifmslide.cfg',
%%
%% File: ifmslide.sty Copyright (c) 2000-2010, Thomas Emmel
%%       ifmslide.cfg Copyright (c) 2000-2010, Thomas Emmel
%% <thomas@family-emmel.de>
%%
%
% This package may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.2
% 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.2 or later is part of all distributions of LaTeX 
% version 1999/12/01 or later.
%
% This package consists of the files ifmslide.sty and ifmslide.cfg
%
% PLEASE READ NOTE in ifmslide.sty
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% The configuration file may copied to a local place and changed
% for personal purposes without restriction.
%
% The global configuration file can be modified to set global
% values like the logo and baseurl etc.
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% logo for the panel
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  \panellogo{ifmlogoc}
  \logourl{http://www.mechanik.tu-darmstadt.de}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% buttons for style "button"
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  \OnButton{button1e}{button1c}
  \OffButton{buttonge}{buttongc}
  \DraftButton{buttonee}{buttonec}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% background. Switch it on or off with \showbackground and
%             \hidebackground
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%  \background{athenep1}
  \background{}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% hyperref setup
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%  \hypersetup{baseurl={http://www.mechanik.tu-darmstadt.de/}}
  \hypersetup{pdfcreator={PDFLaTeX with ifmslide}}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% colors
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  \definecolor{background}{gray}{.8}
    \definecolor{panelbackground}{rgb}{0.1255,0.1608,0.4510}
    \definecolor{frame}{rgb}{0.1255,0.1608,0.4510}
    \if@button
      \definecolor{button}{rgb}{0.1255,0.1608,.4510}
      \definecolor{pagecounter}{rgb}{.3019,.7216,.7019}
    \else  
      \definecolor{pagecounter}{rgb}{0.1255,0.1608,.4510}
      \definecolor{button}{rgb}{.3019,.7216,.7019}
    \fi
  \definecolor{buttondisable}{gray}{.7}
%  \definecolor{section1}{rgb}{.3019,.7216,.7019}
%  \definecolor{section2}{rgb}{0,.5,.7}
%  \definecolor{section3}{rgb}{0,.5,.4}
  \definecolor{section1}{rgb}{0,0,.9}
  \definecolor{section2}{rgb}{0,0.2,.8}
  \definecolor{section3}{rgb}{0,.5,.5}
  \definecolor{section4}{rgb}{0,0,0}
  \definecolor{section5}{rgb}{.5,.5,.3}
  \definecolor{menucolor}{rgb}{1,.25,0}
  \definecolor{paleblue}{rgb}{0,0,0.1}

%% titlepagecolors
  \definecolor{org}{rgb}{0.1255,0.1608,.4510}
  \definecolor{title}{rgb}{0,0,1}
  \definecolor{author}{rgb}{0.1255,0.1608,.4510}
  \definecolor{address}{rgb}{0.1255,0.1608,.4510}
  \definecolor{notes}{rgb}{0.1255,0.1608,.4510}
  \definecolor{url}{rgb}{.1019,.1216,.7019}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% OK, now we have the size.. be careful! 
% 187x270mm is the only realy tested -> for A4 paper. 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  \SlideHeightOverAll{187mm}
  \SlideWidthOverAll{270mm}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% margins inside the main frame l,r,t,b
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  \setInsideMargin{6mm}{6mm}{4mm}{6mm}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% size of the panel: width for vertical panel, 
%                    height for horiz. panel
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  \panelwidth{26mm}
  \panelheight{12mm}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% and now ladies and gentlemen ... set them free 
% there is a switch for the logo and for the buttons to put them
% to every place on the slide!!! Try it ....
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% \releasebutton
\catchbutton
% \releaselogo
\catchlogo

% here are the position and the sizes

%\buttonsize(xmaxsize,ymaxsize)(hshift,vshift)
% hshift and vshift are the distance between the buttons in mm
\buttonsize(13mm,4mm)(10,10)

%\freebutton(xpos,ypos)[direction]
% xpos and ypos in mm, direction is h or v
\freebutton(28,26)[v]

%\freelogo(xpos,ypos)[width]
% xpos and ypos in mm, width of the logo
\freelogo(28,25)[2cm]

% and last but not least the pagecounter - switch it off, it is so lonely
\pagecounter[on] % or [off]

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% put a wallpaper behind the panel ...
% This feature is absolute alpha and only added to show the
% possiblities of ifmslide...
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%  Clip the last slide to lly,llx,urx,ury (see graphicx)
%           \paneltile[on](0,160,200,200){aqua_ravines}
\paneltile[off](,,,){}% to switch it off