%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % Copyright 2011 by Fiandrino Claudio % % This file may be distributed and/or modified % % 1. under the LaTeX Project Public License and/or % 2. under the GNU Public License. % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \mode % Options \DeclareOptionBeamer{language}{\PassOptionsToPackage{language=#1}{beamerinnerthemetorinoth}} \DeclareOptionBeamer{titlepagelogo}{\PassOptionsToPackage{titlepagelogo=#1}{beamerinnerthemetorinoth}} \DeclareOptionBeamer{bullet}{\PassOptionsToPackage{bullet=#1}{beamerinnerthemetorinoth}} \DeclareOptionBeamer{pageofpages}{\PassOptionsToPackage{pageofpages=#1}{beamerouterthemetorinoth}} \DeclareOptionBeamer{titleline}[false]{\PassOptionsToPackage{titleline=#1}{beamerouterthemetorinoth}} \DeclareOptionBeamer{color}{\PassOptionsToPackage{color=#1}{beamercolorthemetorinoth}} \DeclareOptionBeamer{secondcandidate}[true]{\PassOptionsToPackage{secondcandidate=#1}{beamerinnerthemetorinoth}} \DeclareOptionBeamer{secondsupervisor}[true]{\PassOptionsToPackage{secondsupervisor=#1}{beamerinnerthemetorinoth}} \DeclareOptionBeamer{secondlogo}[true]{\PassOptionsToPackage{secondlogo=#1}{beamerinnerthemetorinoth}} \DeclareOptionBeamer{thirdlogo}[true]{\PassOptionsToPackage{thirdlogo=#1}{beamerinnerthemetorinoth}} \DeclareOptionBeamer{assistantsupervisor}[true]{\PassOptionsToPackage{assistantsupervisor=#1}{beamerinnerthemetorinoth}} \DeclareOptionBeamer{secondassistantsupervisor}[true]{\PassOptionsToPackage{secondassistantsupervisor=#1}{beamerinnerthemetorinoth}} \DeclareOptionBeamer{notshowauthor}[true]{\PassOptionsToPackage{notshowauthor=#1}{beamerouterthemetorinoth}} \DeclareOptionBeamer{coding}{\def\beamer@torinoth@coding{#1}} \ExecuteOptionsBeamer{coding=utf8x} \ProcessOptionsBeamer % Packages \RequirePackage{ifxetex}% \RequirePackage{pifont}% \ifxetex \RequirePackage{fontspec}% \defaultfontfeatures{Mapping=tex-text}% \RequirePackage{xunicode}% \RequirePackage{xltxtra}% \RequirePackage{metalogo}% \RequirePackage{xkeyval}% \RequirePackage{polyglossia}% \else \RequirePackage[\beamer@torinoth@coding]{inputenc}% \fi % Language \def\beamer@torinoth@italiantext{italian}% \ifx\beamer@torinoth@language\beamer@torinoth@italiantext% \def\beamer@torinoth@subject{Presentazione Tesi di Laurea}% \ifxetex \setmainlanguage{italian}% \else \RequirePackage[italian]{babel}% \fi \else% \def\beamer@torinoth@subject{Thesis Presentation}% \ifxetex \setmainlanguage[variant=british]{english}% \else \RequirePackage[english]{babel}% \fi \fi% % General settings \useinnertheme{torinoth} \useoutertheme{torinoth} \usecolortheme{torinoth} \usefonttheme{torinoth} \setbeamertemplate{navigation symbols}{} % Environment \newenvironment{tframe}{ \begin{frame}[t]}{\end{frame}} % Titleapageframe command \newcommand{\titlepageframe}{ \begin{frame}[plain] \titlepage \end{frame} } % Highlight a single word \newcommand{\highlight}[1]{{\it{\color{\beamer@torinoth@color}{#1}}}} \newcommand{\highlightbf}[1]{{\bf\color{\beamer@torinoth@color}{#1}}} % Define hypersetup \hypersetup{% colorlinks=true, hyperindex=true, pdfpagelabels, plainpages=false, urlcolor=\beamer@torinoth@color, linkcolor=\beamer@torinoth@color, pdfinfo={% Title={\inserttitle},% Author={\insertauthor},% Subject={\beamer@torinoth@subject},% } } % Blocks \setbeamertemplate{blocks}[rounded][shadow=true] \mode