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
|
\def\fileversion{0.9}
%\def\filedate{2010/03/02}
\def\filedate{2011/10/21}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% BEAMER Technicolor Theme
%
%-----------------------------------------------------------------------------
% Author: Marc Joye
% Address: Technicolor, Security & Content Protection Labs
% 1 avenue de Belle Fontaine
% 35576 Cesson-S�vign� Cedex, France
% E-mail: marc.joye@technicolor.com
% URL: http://www.thlab.net/~joyem/
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% TO DO: Default use of Trebuchet-MS font. Meanwhile, if you are
%%% using MikTeX 2.4 (or higher), you can install the winfonts package
%%% as described at URL
%%% <http://www.ctan.org/tex-archive/fonts/winfonts/>. The
%%% Trebuchet-MS font can then be used by adding the line
%%% \renewcommand{\sfdefault}{trebuchet} in the preamble of your
%%% document. Yet another way is to add the option "trebuchet" when
%%% using the technicolor theme, \usetheme[trebuchet]{technicolor}.
\NeedsTeXFormat{LaTeX2e}
\typeout{^^J *** Technicolor Presentation v\fileversion\space for Beamer
LaTeX2e - Marc Joye ***^^J}
\ProvidesPackage{beamerthemetechnicolor}[\filedate]
\PassOptionsToPackage{pdfpagemode=FullScreen}{hyperref}
\newif\ifmj@black
\newif\ifmj@boxes
\newif\ifmj@numbering
\newif\ifmj@outline
\newif\ifmj@trebuchet
\newif\ifmj@outlinefp\mj@outlinefpfalse
\newif\ifmj@showsecondtp\mj@showsecondtptrue
\DeclareOptionBeamer{black}[true]{\csname mj@black#1\endcsname%
\def\mj@blackcolor{#1}}
\DeclareOptionBeamer{boxes}[true]{\csname mj@boxes#1\endcsname%
\def\mj@boxescolor{#1}}
\DeclareOptionBeamer{numbering}[true]{\csname mj@numbering#1\endcsname%
\def\mj@numberingouter{#1}}
\DeclareOptionBeamer{outline}[true]{\csname mj@outline#1\endcsname%
\csname mj@outlinefp#1\endcsname}
\DeclareOptionBeamer{outline*}[true]{\csname mj@outline#1\endcsname}
\DeclareOptionBeamer{trebuchet}[true]{\csname mj@trebuchet#1\endcsname%
\def\mj@trebuchetfont{#1}}
\DeclareOptionBeamer{secondtitlepage}[true]{\csname mj@showsecondtp#1\endcsname}
\ExecuteOptionsBeamer{black=false,boxes=true,numbering=true,outline=false,trebuchet=false,secondtitlepage=true}
\ProcessOptionsBeamer
%--- Macros
\newcommand{\cartouche}[1]{\gdef\mj@cartouche{#1}}
\providecommand{\email}[1]{\href{mailto:#1}{#1}}
\newcommand{\absput}[3]{\vbox to\z@{\kern#2\hbox to\z@{\kern#1{#3}\hss}\vss}}
\newcommand{\mj@error}[2]{%
\GenericError{\space \space \space \@spaces \@spaces \@spaces }%
{Technicolor Presentation Error: #1}{See the documentation for explanation.}{#2^^J}}
%--- Page settings
\setbeamersize{text margin left=0.51cm}
\setbeamersize{text margin right=0.51cm}
\setbeamercovered{dynamic}
\setlength{\doublerulesep}{.5pt}
\setlength{\arraycolsep}{1.4pt}
\let\le\leqslant
\let\leq\leqslant
\let\ge\geqslant
\let\geq\geqslant
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\mode<presentation>
%--------------------------------------------------------------------
%--- General settings
%--------------------------------------------------------------------
% Frames are top-aligned
\beamer@centeredfalse
% Start in full-screen mode
\hypersetup{pdfpagemode=FullScreen}
% Date initialized to null
\date{}
% Default outline
\ifmj@outline
\AtBeginSection[]% Do nothing for section*
{%
\begingroup
\setbeamertemplate{footline}{}
\addtocounter{framenumber}{-1}
\frame<beamer>{\transdissolve%
\frametitle{Outline}
\tableofcontents[currentsection]}
\endgroup}
\fi
\AtBeginPart{%
\frame[label=part\thepart,part]{\transdissolve\partpage}
\ifmj@outline
\begin{frame}<handout:0>
\frametitle{Outline of Part \thepart}
\tableofcontents[pausesections]
\end{frame}
\fi}
% Do not insert the frame number for slides in the appendix
\newcounter{mj@lastframe}
\newif\ifmj@appendix\mj@appendixfalse
\let\mj@appendixbak\appendix
\def\appendix{%
\mj@appendixtrue
\global\setcounter{mj@lastframe}{\insertframenumber}%
\mj@numberingfalse
\mj@appendixbak}
\AtEndDocument{%
\ifmj@appendix\if@filesw%
\immediate\write\@auxout{\string\@writefile{nav}%
{\noexpand\headcommand{%
\noexpand\def\noexpand\inserttotalframenumber{\the\c@mj@lastframe}}}}%
\fi\fi}
%--------------------------------------------------------------------
%--- Layout
%--------------------------------------------------------------------
\usecolortheme{technicolor}
\usefonttheme{technicolor}
\useoutertheme{technicolor}
\useinnertheme{technicolor}
\renewcommand{\titlepage}{%
\ifbeamer@inframe
\mj@error{Bad format}{Macro \noexpand\titlepage should be used
outside a frame environment.}
\else\maketitle\fi}
\renewcommand{\maketitle}{%
\ifbeamer@inframe
\mj@error{Bad format}{Macro \noexpand\maketitle should be used
outside a frame environment.}
\else
\begingroup
% \frame{\usebeamertemplate{title page}}
\mj@firsttitlepagefalse
\ifmj@showsecondtp
\frame<handout:0>{\usebeamertemplate{title page}}
\addtocounter{framenumber}{-1}
\fi
\endgroup
\ifmj@outlinefp
\frame{\transsplitverticalin%
\frametitle{Outline}
\tableofcontents}
\fi
\fi}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\mode<handout>{%
\RequirePackage{pgfpages}
\pgfpagesuselayout{2 on 1}[a4paper,border shrink=5mm]
% Remove the bookmarks
\def\@bookmarkopenstatus#1{}
\global\let\ReadBookmarks\relax
\global\let\WriteBookmarks\relax
% Don't use full-screen mode
%\def\@pdfpagemode{/UseNone}
\hypersetup{pdfpagemode=UseNone}
% No numbering
\mj@numberingfalse
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\mode<all>
|