diff options
| author | Stratis Ioannidis <stratis@stratis-Latitude-E6320.(none)> | 2013-03-25 21:05:46 -0700 |
|---|---|---|
| committer | Stratis Ioannidis <stratis@stratis-Latitude-E6320.(none)> | 2013-03-25 21:05:46 -0700 |
| commit | fc8bef3550fc35e2d6663665ee4c437aaa75eda1 (patch) | |
| tree | 1b86552e381dbaca655cfac568571ea91df0a69a /slides/beamerthemetechnicolor.sty | |
| parent | 208570078463ffba34607be087f968de3d06297c (diff) | |
| download | recommendation-fc8bef3550fc35e2d6663665ee4c437aaa75eda1.tar.gz | |
google
Diffstat (limited to 'slides/beamerthemetechnicolor.sty')
| -rw-r--r-- | slides/beamerthemetechnicolor.sty | 192 |
1 files changed, 192 insertions, 0 deletions
diff --git a/slides/beamerthemetechnicolor.sty b/slides/beamerthemetechnicolor.sty new file mode 100644 index 0000000..de10ffc --- /dev/null +++ b/slides/beamerthemetechnicolor.sty @@ -0,0 +1,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>
|
