diff options
author | Karl Berry <karl@freefriends.org> | 2011-10-07 23:17:41 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2011-10-07 23:17:41 +0000 |
commit | 92c1851e699624bcecc2806d8055711303d9ccae (patch) | |
tree | c18fcf5cb09f2ffa376fd9ce6b6ea04dad29f1f6 | |
parent | bbcbb14741b5bfaa963c8363e8831efca2d4ebf7 (diff) |
beamer2thesis (7oct11)
git-svn-id: svn://tug.org/texlive/trunk@24238 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r-- | Master/texmf-dist/doc/latex/beamer2thesis/beamer2thesis.pdf | bin | 140877 -> 140956 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/beamer2thesis/beamer2thesis_ita.pdf | bin | 139607 -> 139536 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/beamer2thesis/content_initial_ita.tex | 2 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/beamer2thesis/beamerinnerthemetorinoth.sty | 18 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/beamer2thesis/beamerouterthemetorinoth.sty | 12 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/beamer2thesis/beamerthemeTorinoTh.sty | 24 |
6 files changed, 22 insertions, 34 deletions
diff --git a/Master/texmf-dist/doc/latex/beamer2thesis/beamer2thesis.pdf b/Master/texmf-dist/doc/latex/beamer2thesis/beamer2thesis.pdf Binary files differindex 6662f7f978c..3a555cd21b8 100644 --- a/Master/texmf-dist/doc/latex/beamer2thesis/beamer2thesis.pdf +++ b/Master/texmf-dist/doc/latex/beamer2thesis/beamer2thesis.pdf diff --git a/Master/texmf-dist/doc/latex/beamer2thesis/beamer2thesis_ita.pdf b/Master/texmf-dist/doc/latex/beamer2thesis/beamer2thesis_ita.pdf Binary files differindex 04ca6ac00f0..7d30d0df12d 100644 --- a/Master/texmf-dist/doc/latex/beamer2thesis/beamer2thesis_ita.pdf +++ b/Master/texmf-dist/doc/latex/beamer2thesis/beamer2thesis_ita.pdf diff --git a/Master/texmf-dist/doc/latex/beamer2thesis/content_initial_ita.tex b/Master/texmf-dist/doc/latex/beamer2thesis/content_initial_ita.tex index 9de202e09f0..9849f2462b3 100644 --- a/Master/texmf-dist/doc/latex/beamer2thesis/content_initial_ita.tex +++ b/Master/texmf-dist/doc/latex/beamer2thesis/content_initial_ita.tex @@ -42,7 +42,7 @@ Beamer2Thesis è distribuito da: \item MiKTeX \end{itemize} Per cercare e installare il tema, potete usare, rispettivamente, il Package Wizard di MiK\TeX\, (\emph{Start/MiKTeX/2.9/}) e il TeX Live Manager di \TeX Live. -Personalmente, suggerisco di usare use \TeX Live: funziona sia su Linux, Mac e Windows. Effettivamente, l'installazione su Linux e un pò complicata, ma esiste una guida molto ben curata di Enrico Gregorio che vi può aiutare +Personalmente, suggerisco di usare use \TeX Live: funziona sia su Linux, Mac e Windows. Effettivamente, l'installazione su Linux è un po' complicata, ma esiste una guida molto ben curata di Enrico Gregorio che vi può aiutare \begin{itemize} \item \href{http://profs.sci.univr.it/~gregorio/texlive-ubuntu.pdf}{download della la guida} \end{itemize} diff --git a/Master/texmf-dist/tex/latex/beamer2thesis/beamerinnerthemetorinoth.sty b/Master/texmf-dist/tex/latex/beamer2thesis/beamerinnerthemetorinoth.sty index 541a491750e..0fca505c11f 100644 --- a/Master/texmf-dist/tex/latex/beamer2thesis/beamerinnerthemetorinoth.sty +++ b/Master/texmf-dist/tex/latex/beamer2thesis/beamerinnerthemetorinoth.sty @@ -41,6 +41,24 @@ \ProcessOptionsBeamer +% 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% + % Definition of second logo if request \def\beamer@torinoth@secondlogotext{true}% \ifx\beamer@torinoth@secondlogo\beamer@torinoth@secondlogotext% diff --git a/Master/texmf-dist/tex/latex/beamer2thesis/beamerouterthemetorinoth.sty b/Master/texmf-dist/tex/latex/beamer2thesis/beamerouterthemetorinoth.sty index 1c6af1ce283..b65c634e126 100644 --- a/Master/texmf-dist/tex/latex/beamer2thesis/beamerouterthemetorinoth.sty +++ b/Master/texmf-dist/tex/latex/beamer2thesis/beamerouterthemetorinoth.sty @@ -32,15 +32,7 @@ \newlength{\beamer@torinoth@line} \setlength{\beamer@torinoth@line}{.03\paperheight} \newlength{\beamer@torinoth@box} -\newlength{\beamer@torinoth@textbox} -\setlength{\beamer@torinoth@textbox}{\widthof{Evaluation text to be compared with the title}} -\newlength{\beamer@torinoth@titlelength} -\setlength{\beamer@torinoth@titlelength}{\widthof{\string\inserttitle}} -\ifdim\beamer@torinoth@titlelength>\beamer@torinoth@textbox - \setlength{\beamer@torinoth@box}{.02\paperheight} -\else - \setlength{\beamer@torinoth@box}{.015\paperheight} -\fi +\setlength{\beamer@torinoth@box}{.015\paperheight} % Footer \defbeamertemplate*{footline}{torinoth theme} @@ -64,7 +56,7 @@ \def\beamer@torinoth@separator{-}% % Check if there are two candidates \def\beamer@torinoth@secondcandtext{true}% - \ifx\beamer@torinoth@secondcandidateoption\beamer@torinoth@secondcandtext% + \ifx\beamer@torinoth@secondcandidate\beamer@torinoth@secondcandtext% \begin{beamercolorbox}[wd=.2\paperwidth,ht=\beamer@torinoth@box,dp=0pt]{}% \end{beamercolorbox}% \begin{beamercolorbox}[wd=.6\paperwidth,ht=\beamer@torinoth@box,dp=0pt,center,rounded=true,shadow=true]{footerbox}% 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}} |