summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/beamer2thesis/beamerthemeTorinoTh.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/beamer2thesis/beamerthemeTorinoTh.sty')
-rw-r--r--Master/texmf-dist/tex/latex/beamer2thesis/beamerthemeTorinoTh.sty24
1 files changed, 1 insertions, 23 deletions
diff --git a/Master/texmf-dist/tex/latex/beamer2thesis/beamerthemeTorinoTh.sty b/Master/texmf-dist/tex/latex/beamer2thesis/beamerthemeTorinoTh.sty
index ee3e3e589a7..5646ed98df2 100644
--- a/Master/texmf-dist/tex/latex/beamer2thesis/beamerthemeTorinoTh.sty
+++ b/Master/texmf-dist/tex/latex/beamer2thesis/beamerthemeTorinoTh.sty
@@ -14,7 +14,6 @@
% Packages
\RequirePackage{ifxetex}%
\RequirePackage{pifont}%
- \RequirePackage{calc,ifthen}%
\ifxetex
\RequirePackage{fontspec}%
\defaultfontfeatures{Mapping=tex-text}%
@@ -27,29 +26,8 @@
\RequirePackage[utf8x]{inputenc}%
\fi
-
-% Language
-\DeclareOptionBeamer{language}[italian]{\def\beamer@torinoth@language{#1}}%
-\ExecuteOptionsBeamer{language=english}%
-
-\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%
-
% 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}}