summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/beamer-contrib/themes/beamertheme-trigon/source/beamerinnerthemetrigon.dtx
blob: 60344f6d4b1b2e54eb883bf8ba395281f24bd794 (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
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
% \iffalse meta-comment -------------------------------------------------------
% Copyright (C) 2021 Thomas Lambert <trigon@thl.ovh>
% Other contributors to this theme are listed here:
%     https://gitlab.com/thlamb/beamertheme-trigon/-/graphs/master
%
% The original template was heavily inspired by Metropolis from Matthias
% Vogelgesang.
%
% License CC-BY-SA 4.0
% This work is licensed under a Creative Commons Attribution-ShareAlike 4.0
% International License (https://creativecommons.org/licenses/by-sa/4.0/)
% ------------------------------------------------------------------------- \fi
% \iffalse
%<*package>
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{beamerinnerthemetrigon}[2021/09/06 v0.6.0 Trigon inner theme]
%</package>
% \fi
% \CheckSum{0}
% \StopEventually{}
% \iffalse
%<*package>
% ------------------------------------------------------------------------- \fi
%
% \subsection{\themename inner theme}
%
% A |beamer| inner theme dictates the style of the frame elements traditionally
% set in the ``body'' of each slide. These include:
%
% \begin{itemize}
%   \item title, part, and section pages;
%   \item main background elements;
%   \item itemize, enumerate, and description environments;
%   \item block environments including theorems and proofs;
%   \item figures and tables; and
%   \item footnotes and plain text.
% \end{itemize}
%
%
% \subsubsection{Package dependencies}
%
%    \begin{macrocode}
\RequirePackage{pgfopts}
\RequirePackage{tikz}
\usetikzlibrary{calc,3d}
%    \end{macrocode}
%
%
% \subsubsection{Definitions}
% We define the command |\logobig| to specify the logo that needs to be applied
% displayed on the title frame.
%    \begin{macrocode}
\def\logbig{}
\newcommand\biglogo[1]{
	\def\logbig{#1}
}
%    \end{macrocode}
%
%
% \subsubsection{Options}
%
% \begin{macro}{sectionpage}
%   Controls whereas a slide with the section title should be inserted at the
%   beginning of the section or not.
%    \begin{macrocode}
\pgfkeys{
	/trigon/inner/sectionpage/.cd,
	.is choice,
	none/.code=\trigon@disablesectionpage,
	simple/.code=\trigon@enablesectionpage
}
%    \end{macrocode}
% \end{macro}
%
% \begin{macro}{slidestyle}
%   Controls the layout that should be used for regular slides.
%    \begin{macrocode}
\def\slidestyle{}
\pgfkeys{
	/trigon/inner/slidestyle/.cd,
	.is choice,
	blank/.code=\def\slidestyle{blank}
	\setbeamertemplate{background}[\slidestyle],
	style1/.code=\def\slidestyle{smallcornertriangle}
	\setbeamertemplate{background}[\slidestyle],
	cyber/.code=\def\slidestyle{cyberbottom}
	\setbeamertemplate{background}[\slidestyle]
}
%    \end{macrocode}
% \end{macro}
%
% \begin{macro}{titlestyle}
%   Controls the layout that should be used for the title page.
%    \begin{macrocode}
\def\titlestyle{}
\pgfkeys{
	/trigon/inner/titlestyle/.cd,
	.is choice,
	plain/.code=\def\titlestyle{bottomtrianglescolor},
	style1/.code=\def\titlestyle{titlesmallimage},
	style2/.code=\def\titlestyle{titlebigimage}
}
%    \end{macrocode}
% \end{macro}
%
% \begin{macro}{sectionstyle}
%   Controls the layout that should be used for the title page.
%    \begin{macrocode}
\def\sectionstyle{}
\pgfkeys{
	/trigon/inner/sectionstyle/.cd,
	.is choice,
	plain/.code=\def\sectionstyle{bottomtrianglescolor},
	style1/.code=\def\sectionstyle{bigtriangles},
	style2/.code=\def\sectionstyle{lefttriangles},
	style3/.code=\def\sectionstyle{bottomtrianglesbw}
}
%    \end{macrocode}
% \end{macro}
%
%
% \begin{macro}{\trigon@inner@setdefaults}
%   Sets default values for the inner theme options.
%    \begin{macrocode}
\newcommand{\trigon@inner@setdefaults}{
	\pgfkeys{/trigon/inner/.cd,
		sectionpage=simple,
		slidestyle=blank,
		titlestyle=style2,
		sectionstyle=plain
	}
}
%    \end{macrocode}
% \end{macro}
%
%
% \subsubsection{Backgrounds}
%
% First of all, we define a few commands in order easily create the triangles
% used as the main design elements of the theme. All these are defined with
% respect to the |\paperwidth| and |\paperheight| of the document, so that it
% fits the different aspect ratio possible.
%
% \begin{macro}{\leftTriangle}
%   Defines a triangle with the base on the left side (pointing right).
%    \begin{macrocode}
\newcommand{\leftTriangle}[2]{
	(#1,#2)
	-- (0,{#2 + tan(30)*#1} )
	-- (0,{#2 - tan(30)*#1} )
	-- cycle;
}
%    \end{macrocode}
% \end{macro}
%
% \begin{macro}{\righTriangle}
%   Defines a triangle with the base on the right side (pointing left).
%    \begin{macrocode}
\newcommand{\rightTriangle}[2]{
	(#1,#2)
	-- (\the\paperwidth,{#2 + tan(30)*(\the\paperwidth-#1)} )
	-- (\the\paperwidth,{#2 - tan(30)*(\the\paperwidth-#1)} )
	-- cycle;
}
%    \end{macrocode}
% \end{macro}
%
% \begin{macro}{\topTriangle}
%   Defines a triangle with the base on the bottom side (pointing top).
%    \begin{macrocode}
\newcommand{\topTriangle}[2]{
	(#1,#2)
	-- ({#1 - tan(60)*#2},0)
	-- ({#1 + tan(60)*#2},0)
	-- cycle;
}
%    \end{macrocode}
% \end{macro}
%
% \begin{macro}{\leftColorTriangle}
%   Defines a colored triangle with the base on the left side (pointing right).
%    \begin{macrocode}
\newcommand{\leftColorTriangle}[3]{
	\path[fill=#3]
	\leftTriangle{#1}{#2}
}
%    \end{macrocode}
% \end{macro}
%
% \begin{macro}{\righColorTriangle}
%   Defines a colored triangle with the base on the right side (pointing left).
%    \begin{macrocode}
\newcommand{\rightColorTriangle}[3]{
	\path[fill=#3]
	\rightTriangle{#1}{#2}
}
%    \end{macrocode}
% \end{macro}
%
% \begin{macro}{\topColorTriangle}
%   Defines a colored triangle with the base on the bottom side (pointing top).
%    \begin{macrocode}
\newcommand{\topColorTriangle}[3]{
	\path[fill=#3]
	\topTriangle{#1}{#2}
}
%    \end{macrocode}
% \end{macro}
%
%
% We then define the different backgrounds choices.
%
% \begin{macro}{blank}
%   Blank slide background.
%    \begin{macrocode}
\defbeamertemplate{background}{blank}{}
%    \end{macrocode}
% \end{macro}
%
% \begin{macro}{smallcornertriangle}
%   Background with a small triangle in bottom left corner (used for normal
%   frames when the appropriate option is selected).
%    \begin{macrocode}
\defbeamertemplate{background}{smallcornertriangle}{
	\begin{tikzpicture}[blend group=multiply]
		\useasboundingbox (0,0) rectangle(\the\paperwidth,\the\paperheight);
		\leftColorTriangle{0.62\paperwidth}{0}{tGrey!30!tBg}
	\end{tikzpicture}
}
%    \end{macrocode}
% \end{macro}
%
% \begin{macro}{cyberbottom}
%   Background with "mesh" effect on the bottom left corner (used for normal
%   frames when the appropriate option is selected).
%    \begin{macrocode}
\defbeamertemplate{background}{cyberbottom}{
\tikzstyle{cyberVertex}=[scale=1,draw=tGreyBg,circle,fill=tBg]
\tikzstyle{cyberVertex2}=[scale=0.5,draw=tGreyBg,circle,fill=tGreyBg]
\tikzstyle{cyberEdge} = [draw,color=tGreyBg]
\begin{tikzpicture}%[blend group=multiply]
	\useasboundingbox (0,0) rectangle(\the\paperwidth,\the\paperheight);
	\foreach \pos/\name in {
			{(-0.05\paperwidth,0.75\paperheight)/0},
			{(0.02\paperwidth,0.53\paperheight)/1},
			{(-0.04\paperwidth,0.38\paperheight)/2},
			{(0.08\paperwidth,0.40\paperheight)/3},
			{(0.052\paperwidth,0.21\paperheight)/5},
			{(0.24\paperwidth,0.26\paperheight)/6},
			{(-0.08\paperwidth,-0.06\paperheight)/7},
			{(0.12\paperwidth,0.07\paperheight)/8},
			{(0.2\paperwidth,0.-0.08\paperheight)/9},
			{(0.38\paperwidth,0.06\paperheight)/10},
			{(0.56\paperwidth,-0.08\paperheight)/11}}
	\node[cyberVertex] (\name) at \pos {};
	\foreach \pos/\name in {
			{(-0.05\paperwidth,0.75\paperheight)/0},
			{(0.02\paperwidth,0.53\paperheight)/1},
			{(-0.04\paperwidth,0.38\paperheight)/2},
			{(0.08\paperwidth,0.40\paperheight)/3},
			{(0.052\paperwidth,0.21\paperheight)/5},
			{(0.24\paperwidth,0.26\paperheight)/6},
			{(-0.08\paperwidth,-0.06\paperheight)/7},
			{(0.12\paperwidth,0.07\paperheight)/8},
			{(0.2\paperwidth,0.-0.08\paperheight)/9},
			{(0.38\paperwidth,0.06\paperheight)/10},
			{(0.56\paperwidth,-0.08\paperheight)/11}}
	\node[cyberVertex2] (\name_2) at \pos {};
	\foreach \source/ \dest in
		{0/1,1/2,1/3,2/3,2/5,3/5,3/6,5/6,5/7,7/8,5/8,8/6,8/9,6/9,9/10,10/6,10/11}
	\path[cyberEdge] (\source) --  (\dest);
\end{tikzpicture}
}
%    \end{macrocode}
% \end{macro}
%
% \begin{macro}{titlebigimage}
%   Background for title page with a big image in the top left corener.
%    \begin{macrocode}
\defbeamertemplate{background}{titlebigimage}{
	\begin{tikzpicture}
		\useasboundingbox (0,0) rectangle(\the\paperwidth,\the\paperheight);
		\begin{scope}[blend group=multiply]
			\path[fill=tTheme]\leftTriangle{0.5\paperwidth}{0};
			\topColorTriangle{0.73\paperwidth}{0.70\paperheight}{tGrey!30!tBg};
			\ifx\inserttitlegraphic\@empty
				\leftColorTriangle{0.73\paperwidth}{0.70\paperheight}{tTheme}
			\else
				\path[clip]\leftTriangle{0.73\paperwidth}{0.70\paperheight};
				\node[anchor=north west, inner sep=0pt, outer sep=0pt] at (0,\the\paperheight) {\inserttitlegraphic};
			\fi
		\end{scope}
		\path[fill=tBg]\rightTriangle{0.45\paperwidth}{\the\paperheight};
		\ifx\logbig\@empty \else
			\node[anchor=north east,inner sep=0mm] at
			(.96*\the\paperwidth,.96*\the\paperheight) {\includegraphics[width=0.28\textwidth]{\logbig}};
		\fi
	\end{tikzpicture}
}
%    \end{macrocode}
% \end{macro}
%
% \begin{macro}{titlesmallimage}
%   Background for the titlepage with a small image in the top left corner.
%    \begin{macrocode}
\defbeamertemplate{background}{titlesmallimage}{
	\begin{tikzpicture}[blend group=multiply]
		\useasboundingbox (0,0) rectangle(\the\paperwidth,\the\paperheight);
		\leftColorTriangle{0.58\paperwidth}{0}{tGrey!30!tBg}
		\ifx\logbig\@empty \else
			\node[anchor=north east,inner sep=0mm] at (.94*\the\paperwidth,.94*\the\paperheight) {\includegraphics[width=0.33\textwidth]{\logbig}};
		\fi
		\ifx\inserttitlegraphic\@empty
			\leftColorTriangle{0.58\paperwidth}{\the\paperheight}{tTheme}
		\else
			\path[clip]\leftTriangle{0.58\paperwidth}{\the\paperheight};
			\node[anchor=north west, inner sep=0pt, outer sep=0pt] at (0,\the\paperheight) {\inserttitlegraphic};
		\fi
	\end{tikzpicture}
}
%    \end{macrocode}
% \end{macro}
%
% \begin{macro}{bottomtrianglescolor}
%   Background for title/section pages with two colored triangles in the
%   bottom.
%    \begin{macrocode}
\defbeamertemplate{background}{bottomtrianglescolor}{
	\begin{tikzpicture}[blend group=multiply]
		\useasboundingbox (0,0) rectangle(\the\paperwidth,\the\paperheight);
		\leftColorTriangle{0.62\paperwidth}{0}{tTheme}
		\rightColorTriangle{0.38\paperwidth}{0}{tSec}
	\end{tikzpicture}
}
%    \end{macrocode}
% \end{macro}
%
% \begin{macro}{bottomtrianglesbw}
%   Background for title/section pages with two black and white triangles in
%   the bottom.
%    \begin{macrocode}
\defbeamertemplate{background}{bottomtrianglesbw}{
	\begin{tikzpicture}[blend group=multiply]
		\useasboundingbox (0,0) rectangle(\the\paperwidth,\the\paperheight);
		\leftColorTriangle{0.62\paperwidth}{0}{tTheme}
		\rightColorTriangle{0.38\paperwidth}{0}{tGrey!30!tBg}
	\end{tikzpicture}
}
%    \end{macrocode}
% \end{macro}
%
% \begin{macro}{bigtriangles}
%   Background for section pages with a big triangle on the left.
%    \begin{macrocode}
\defbeamertemplate{background}{bigtriangles}{
	\begin{tikzpicture}[blend group=multiply]
		\useasboundingbox (0,0) rectangle(\the\paperwidth,\the\paperheight);
		\leftColorTriangle{0.80\paperwidth}{0.62\paperheight}{tTheme}
		\rightColorTriangle{0.68\paperwidth}{0.58\paperheight}{tGrey!30!tBg}
	\end{tikzpicture}
}
%    \end{macrocode}
% \end{macro}
%
% \begin{macro}{lefttriangles}
%   Background for section pages with small triangles on the left.
%    \begin{macrocode}
\defbeamertemplate{background}{lefttriangles}{
	\begin{tikzpicture}[blend group=multiply]
		\useasboundingbox (0,0) rectangle(\the\paperwidth,\the\paperheight);
		\leftColorTriangle{0.52\paperwidth}{\the\paperheight}{tTheme}
		\leftColorTriangle{0.775\paperwidth}{0}{tGrey!30!tBg}
	\end{tikzpicture}
}
%    \end{macrocode}
% \end{macro}
%
% Before anything, the regular frame background is selected.
%    \begin{macrocode}
\setbeamertemplate{background}[\slidestyle]
%    \end{macrocode}
%
% Finally, we need to set the backgrounds properly before creating the different
% frames, create the special frames (title, section) and restore the regular
% background afterwards.
%
% \begin{macro}{\titleframe}
%   Sets the titleframe.
%    \begin{macrocode}
\newcommand{\titleframe}{
	\setbeamertemplate{title page}[\titlestyle]
	\setbeamertemplate{background}[\titlestyle]
	\frame[plain,noframenumbering]{\titlepage}
	\setbeamertemplate{background}[\slidestyle]
}
%    \end{macrocode}
% \end{macro}
%
% \begin{macro}{\sectionframe}
%   Sets the titleframe.
%    \begin{macrocode}
\newcommand{\sectionframe}{
	\setbeamertemplate{section page}[\sectionstyle]
	\setbeamertemplate{background}[\sectionstyle]
	\frame[plain,noframenumbering]{\sectionpage}
	\setbeamertemplate{background}[\slidestyle]
}
\newcommand{\trigon@disablesectionpage}{
	\AtBeginSection{
		% intentionally empty
	}
}
\newcommand{\trigon@enablesectionpage}{
	\AtBeginSection{
		\sectionframe
	}
}
%    \end{macrocode}
% \end{macro}
%
%
% \subsubsection{Layout}
% The following macros define the proper position of the various elements of the
% frame, so the fit nicely with the different background selected.
%
% \begin{macro}{titlebigimage}
%   Place the text on the title frame with a big image on the top left side.
%    \begin{macrocode}
\defbeamertemplate{title page}{titlebigimage}
{
	\vskip140pt
	\begin{flushright}
		\begin{minipage}[t][][c]{0.5\textwidth}%
			\centering
			\usebeamerfont{title}\usebeamercolor[fg]{title}
			\inserttitle\par
		\end{minipage}
		\ifx \insertsubtitle\@empty
		\else
			\vskip15pt
			\begin{minipage}[t][][c]{0.5\textwidth}%
				\centering
				\usebeamerfont{subtitle}\insertsubtitle\par%
			\end{minipage}
		\fi
		\vskip15pt
		\begin{minipage}[t][][c]{0.5\textwidth}%
			\centering
			\usebeamerfont{author}\insertauthor%
			\vskip10pt
			\usebeamerfont{date}\insertdate%
		\end{minipage}
	\end{flushright}
	\vfill
}
%    \end{macrocode}
% \end{macro}
%
% \begin{macro}{titlesmallimage}
%   Place the text on the title frame with a small image on the top left side.
%    \begin{macrocode}
\defbeamertemplate{title page}{titlesmallimage}
{
	\vskip140pt%
	\begin{beamercolorbox}[wd=\textwidth,sep=4pt]{title page header}
		\usebeamerfont{title}\usebeamercolor[fg]{title}\inserttitle\par%
	\end{beamercolorbox}%
	\ifx \insertsubtitle\@empty
	\else
		\vskip8pt
		\begin{beamercolorbox}[wd=\textwidth,sep=4pt]{subtitle page header}
			\usebeamerfont{subtitle}\insertsubtitle\par%
		\end{beamercolorbox}%
	\fi
	\vskip10pt
	\begin{beamercolorbox}[wd=\textwidth,sep=4pt]{author}
		\usebeamerfont{author}\insertauthor%
	\end{beamercolorbox}
	\vskip2pt%
	\begin{beamercolorbox}[wd=\textwidth,sep=4pt]{date}
		\usebeamerfont{date}\insertdate%
	\end{beamercolorbox}
	\vfill
}
%    \end{macrocode}
% \end{macro}
%
% \begin{macro}{bottomtrianglescolor}
%   Place the text on the title frame with two triangles on the bottom.
%    \begin{macrocode}
\defbeamertemplate{title page}{bottomtrianglescolor}
{
	\vskip0pt
	\begin{center}
		\begin{minipage}[t][][t]{\textwidth}
			\centering%
			\ifx\logbig\@empty \else
				\includegraphics[height=0.15\textheight]{\logbig}
			\fi
		\end{minipage}
		\vskip15pt
		\begin{minipage}[t][][c]{\textwidth}%
			\centering
			\usebeamerfont{title}\usebeamercolor[fg]{title}
			\inserttitle\par
		\end{minipage}
		\ifx \insertsubtitle\@empty
		\else
			\vskip15pt
			\begin{minipage}[t][][c]{\textwidth}%
				\centering
				\usebeamerfont{subtitle}\insertsubtitle\par%
			\end{minipage}
		\fi
		\vskip20pt
		\begin{minipage}[t][][c]{0.5\textwidth}%
			\centering
			\usebeamerfont{author}\insertauthor\\[0.3cm]%
			\usebeamerfont{date}\insertdate
		\end{minipage}
	\end{center}
	\vfill
}
%    \end{macrocode}
% \end{macro}
%
% \begin{macro}{bottomtrianglescolor}
%   Place the text on the section frame with two colored triangles on the
%   bottom.
%    \begin{macrocode}
\defbeamertemplate{section page}{bottomtrianglescolor}
{
	\vskip40pt
	\begin{center}
		\begin{minipage}[t][][c]{\textwidth}%
			\centering
			\usebeamerfont{section title}\usebeamercolor[fg]{title}
			\insertsectionhead\par
		\end{minipage}
	\end{center}
	\vfill
}
%    \end{macrocode}
% \end{macro}
%
% \begin{macro}{bottomtrianglesbw}
%   Place the text on the section frame with two black and white triangles on
%   the bottom.
%    \begin{macrocode}
\defbeamertemplate{section page}{bottomtrianglesbw}
{
	\vskip40pt
	\begin{center}
		\begin{minipage}[t][][c]{\textwidth}%
			\centering
			\usebeamerfont{section title}\usebeamercolor[fg]{title}
			\insertsectionhead\par
		\end{minipage}
	\end{center}
	\vfill
}
%    \end{macrocode}
% \end{macro}
%
% \begin{macro}{bigtriangles}
%   Place the text on the section frame with two big triangles.
%    \begin{macrocode}
\defbeamertemplate{section page}{bigtriangles}
{
	\vskip200pt
	\begin{flushright}
		\begin{minipage}[t]{0.62\textwidth}%7
			\usebeamerfont{section title}\usebeamercolor[fg]{title}
			\raggedleft
			\insertsectionhead\par
		\end{minipage}
	\end{flushright}
	\vfill
}
%    \end{macrocode}
% \end{macro}
%
% \begin{macro}{lefttriangles}
%   Place the text on the section frame with two small left triangles.
%    \begin{macrocode}
\defbeamertemplate{section page}{lefttriangles}
{
	\vskip25pt
	\begin{beamercolorbox}[wd=\textwidth,leftskip=100pt,sep=4pt]{section page header}
		\usebeamerfont{section title}\usebeamercolor[fg]{title}
		\insertsectionhead\par
	\end{beamercolorbox}%
	\vfill
}
%    \end{macrocode}
% \end{macro}
%
%
% \subsubsection{Lists and floats}
%
%    \begin{macrocode}
\setbeamertemplate{caption label separator}{: }
\setbeamertemplate{caption}[numbered]
%    \end{macrocode}
%
%
% \subsubsection{Margins}
% The margins are defined as
%    \begin{macrocode}
\setbeamersize{text margin left=.05\paperwidth, text margin right=.05\paperwidth}
%    \end{macrocode}
%
% \subsubsection{Process package options}
%
%    \begin{macrocode}
\trigon@inner@setdefaults
\ProcessPgfPackageOptions{/trigon/inner}
%    \end{macrocode}
%
% \iffalse
%</package>
% \fi
% \Finale
\endinput