From 11a0dd5cb2157cda4d44577171fb818fb1907fa4 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 18 Jan 2011 00:48:50 +0000 Subject: new latex package beamer2thesis (18jan11) git-svn-id: svn://tug.org/texlive/trunk@21108 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/beamer2thesis/README | 10 + .../doc/latex/beamer2thesis/beamer2thesis.pdf | Bin 0 -> 120224 bytes .../doc/latex/beamer2thesis/beamer2thesis.tex | 47 ++++ .../doc/latex/beamer2thesis/beamer2thesis_ita.pdf | Bin 0 -> 121267 bytes .../doc/latex/beamer2thesis/beamer2thesis_ita.tex | 46 ++++ .../latex/beamer2thesis/beamer2thesis_logos.pdf | Bin 0 -> 138923 bytes .../latex/beamer2thesis/beamer2thesis_logos.tex | 53 +++++ .../doc/latex/beamer2thesis/content_end.tex | 31 +++ .../doc/latex/beamer2thesis/content_end_ita.tex | 31 +++ .../doc/latex/beamer2thesis/content_initial.tex | 151 +++++++++++++ .../latex/beamer2thesis/content_initial_ita.tex | 141 ++++++++++++ Master/texmf-dist/doc/latex/beamer2thesis/license | 12 + .../tex/latex/beamer2thesis/beamer2thesis.jpg | Bin 0 -> 18029 bytes .../beamer2thesis/beamercolorthemetorinoth.sty | 85 +++++++ .../beamer2thesis/beamerfontthemetorinoth.sty | 24 ++ .../beamer2thesis/beamerinnerthemetorinoth.sty | 250 +++++++++++++++++++++ .../beamer2thesis/beamerouterthemetorinoth.sty | 124 ++++++++++ .../latex/beamer2thesis/beamerthemeTorinoTh.sty | 40 ++++ .../tex/latex/beamer2thesis/logopolito.jpg | Bin 0 -> 292349 bytes Master/tlpkg/bin/tlpkg-ctan-check | 3 +- Master/tlpkg/libexec/ctan2tds | 8 +- Master/tlpkg/tlpsrc/beamer2thesis.tlpsrc | 0 Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc | 1 + 23 files changed, 1053 insertions(+), 4 deletions(-) create mode 100644 Master/texmf-dist/doc/latex/beamer2thesis/README create mode 100644 Master/texmf-dist/doc/latex/beamer2thesis/beamer2thesis.pdf create mode 100644 Master/texmf-dist/doc/latex/beamer2thesis/beamer2thesis.tex create mode 100644 Master/texmf-dist/doc/latex/beamer2thesis/beamer2thesis_ita.pdf create mode 100644 Master/texmf-dist/doc/latex/beamer2thesis/beamer2thesis_ita.tex create mode 100644 Master/texmf-dist/doc/latex/beamer2thesis/beamer2thesis_logos.pdf create mode 100644 Master/texmf-dist/doc/latex/beamer2thesis/beamer2thesis_logos.tex create mode 100644 Master/texmf-dist/doc/latex/beamer2thesis/content_end.tex create mode 100644 Master/texmf-dist/doc/latex/beamer2thesis/content_end_ita.tex create mode 100644 Master/texmf-dist/doc/latex/beamer2thesis/content_initial.tex create mode 100644 Master/texmf-dist/doc/latex/beamer2thesis/content_initial_ita.tex create mode 100644 Master/texmf-dist/doc/latex/beamer2thesis/license create mode 100644 Master/texmf-dist/tex/latex/beamer2thesis/beamer2thesis.jpg create mode 100644 Master/texmf-dist/tex/latex/beamer2thesis/beamercolorthemetorinoth.sty create mode 100644 Master/texmf-dist/tex/latex/beamer2thesis/beamerfontthemetorinoth.sty create mode 100644 Master/texmf-dist/tex/latex/beamer2thesis/beamerinnerthemetorinoth.sty create mode 100644 Master/texmf-dist/tex/latex/beamer2thesis/beamerouterthemetorinoth.sty create mode 100644 Master/texmf-dist/tex/latex/beamer2thesis/beamerthemeTorinoTh.sty create mode 100644 Master/texmf-dist/tex/latex/beamer2thesis/logopolito.jpg create mode 100644 Master/tlpkg/tlpsrc/beamer2thesis.tlpsrc diff --git a/Master/texmf-dist/doc/latex/beamer2thesis/README b/Master/texmf-dist/doc/latex/beamer2thesis/README new file mode 100644 index 00000000000..523507bbbdc --- /dev/null +++ b/Master/texmf-dist/doc/latex/beamer2thesis/README @@ -0,0 +1,10 @@ +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% +% Copyright 2011 Fiandrino Claudio +% +% Beamer2Thesis +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +Beamer2Thesis is a Beamer Theme to create presentation for a thesis +which introduce specific commands. diff --git a/Master/texmf-dist/doc/latex/beamer2thesis/beamer2thesis.pdf b/Master/texmf-dist/doc/latex/beamer2thesis/beamer2thesis.pdf new file mode 100644 index 00000000000..7f0872a37a3 Binary files /dev/null and b/Master/texmf-dist/doc/latex/beamer2thesis/beamer2thesis.pdf differ diff --git a/Master/texmf-dist/doc/latex/beamer2thesis/beamer2thesis.tex b/Master/texmf-dist/doc/latex/beamer2thesis/beamer2thesis.tex new file mode 100644 index 00000000000..75022b97d06 --- /dev/null +++ b/Master/texmf-dist/doc/latex/beamer2thesis/beamer2thesis.tex @@ -0,0 +1,47 @@ +\documentclass[hyperref={pdfauthor=Fiandrino Claudio}]{beamer} +\usetheme[language=italian,% Language used: default is english + titlepagelogo=logopolito,% Logo for the first page + bullet=circle,% Avaiable bullets are: square,diamond,triangle,circle; default is circle + pageofpages=of,% String used between the current page and the total page count + titleline=true,% Show a line below the frame title + color=blue,% Set the color: default is blue, are also avaiable green and red + secondcandidate=false,% Option to introduce the second candidate: allows to use command \secondcandidate + secondlogo=false% Option to introduce the second candidate: allows to use command \secondlogo + ]{TorinoTh} + +\author{Claudio Fiandrino} +\rel{Mario Rossi} +\title{Beamer2Thesis, thesis theme for Beamer} +\ateneo{Politecnico di Torino} +\date{\today} + +\begin{document} +\input{../content_initial} + +\begin{frame}[t,fragile]{Configuration} +\begin{itemize} +\item The configuration of the standard theme is: +\begin{itemize} +\item \verb!language=english! +\item \verb!titlepagelogo=name-of-the-logo! +\item \verb!bullet=circle! +\item \verb!pageofpages=of! +\item \verb!titleline=true! +\item \verb!color=blue! +\item \verb!secondcandidate=false! +\item \verb!secondlogo=false! +\end{itemize} +\item Most of them, actually everyone except the \emph{titlepagelogo}, can be omitted if there are no modifications +\end{itemize} +\end{frame} + +\begin{tframe}{Behavior of alerts with default option} +Each color theme requires different colors to highlight words: +\begin{itemize} +\item<+-| alert@+> Apple +\item<+-| alert@+> Peach +\end{itemize} +\end{tframe} + +\input{../content_end.tex} +\end{document} \ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/beamer2thesis/beamer2thesis_ita.pdf b/Master/texmf-dist/doc/latex/beamer2thesis/beamer2thesis_ita.pdf new file mode 100644 index 00000000000..4dca1e89236 Binary files /dev/null and b/Master/texmf-dist/doc/latex/beamer2thesis/beamer2thesis_ita.pdf differ diff --git a/Master/texmf-dist/doc/latex/beamer2thesis/beamer2thesis_ita.tex b/Master/texmf-dist/doc/latex/beamer2thesis/beamer2thesis_ita.tex new file mode 100644 index 00000000000..55edf72bf8e --- /dev/null +++ b/Master/texmf-dist/doc/latex/beamer2thesis/beamer2thesis_ita.tex @@ -0,0 +1,46 @@ +\documentclass[hyperref={pdfauthor=Fiandrino Claudio}]{beamer} +\usetheme[language=italian,% Language used: default is english + titlepagelogo=logopolito,% Logo for the first page + bullet=triangle,% Avaiable bullets are: square,diamond,triangle,circle; default is circle + pageofpages=of,% String used between the current page and the total page count + titleline=true,% Show a line below the frame title + color=green,% Set the color: default is blue, are also avaiable green and red + secondcandidate=false,% Option to introduce the second candidate: allows to use command \secondcandidate + secondlogo=false% Option to introduce the second candidate: allows to use the proper command + ]{TorinoTh} + +\author{Claudio Fiandrino} +\rel{Mario Rossi} +\title{Beamer2Thesis, thesis theme for Beamer} +\ateneo{Politecnico di Torino} +\date{\today} + +\begin{document} +\input{content_initial_ita} + +\begin{frame}[t,fragile]{Configurazione} +\begin{itemize} +\item La configurazione con il colore attuale è: +\begin{itemize} +\item \verb!language=italian! +\item \verb!titlepagelogo=name-of-the-logo! +\item \verb!bullet=triangle! +\item \verb!pageofpages=of! +\item \verb!titleline=true! +\item \verb!color=green! +\item \verb!secondcandidate=false! +\item \verb!secondlogo=false! +\end{itemize} +\end{itemize} +\end{frame} + +\begin{tframe}{Comportamento con alert} +Con la colorazione verde, un testo evidenziato viene presentato: +\begin{itemize} +\item<+-| alert@+> Apple +\item<+-| alert@+> Peach +\end{itemize} +\end{tframe} + +\input{content_end_ita.tex} +\end{document} \ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/beamer2thesis/beamer2thesis_logos.pdf b/Master/texmf-dist/doc/latex/beamer2thesis/beamer2thesis_logos.pdf new file mode 100644 index 00000000000..06c43fd5f78 Binary files /dev/null and b/Master/texmf-dist/doc/latex/beamer2thesis/beamer2thesis_logos.pdf differ diff --git a/Master/texmf-dist/doc/latex/beamer2thesis/beamer2thesis_logos.tex b/Master/texmf-dist/doc/latex/beamer2thesis/beamer2thesis_logos.tex new file mode 100644 index 00000000000..b27f67b3d74 --- /dev/null +++ b/Master/texmf-dist/doc/latex/beamer2thesis/beamer2thesis_logos.tex @@ -0,0 +1,53 @@ +\documentclass[hyperref={pdfauthor=Fiandrino Claudio}]{beamer} +\usetheme[language=english,% Language used: default is english + titlepagelogo=logopolito,% Logo for the first page + bullet=diamond,% Avaiable bullets are: square,diamond,triangle,circle; default is circle + pageofpages=of,% String used between the current page and the total page count + titleline=true,% Show a line below the frame title + color=red,% Set the color: default is blue, are also avaiable green and red + secondcandidate=true,% Option to introduce the second candidate: allows to use command \secondcandidate + secondlogo=true% Option to introduce the second candidate: allows to use command \titlepagesecondlogo + ]{TorinoTh} + +\author{Claudio Fiandrino} +\rel{Mario Rossi} +\title{Beamer2Thesis, thesis theme for Beamer} +\ateneo{Politecnico di Torino} +\date{\today} +\secondcandidate{Antonio Verdi} +\titlepagesecondlogo{beamer2thesis} + +\begin{document} +\input{../content_initial} + +\begin{frame}[t,fragile]{Configuration} +\begin{itemize} +\item The configuration of the standard theme is: +\begin{itemize} +\item \verb!language=english! +\item \verb!titlepagelogo=name-of-the-logo! +\item \verb!bullet=diamond! +\item \verb!pageofpages=of! +\item \verb!titleline=true! +\item \verb!color=red! +\item \verb!secondcandidate=true! +\item \verb!secondlogo=true! +\end{itemize} +\item The configuration needs two more commands: +\begin{itemize} +\item \verb!\secondcandidate{Antonio Verdi}! +\item \verb!\titlepagesecondlogo{beamer2thesis}! +\end{itemize} +\end{itemize} +\end{frame} + +\begin{tframe}{Behavior of alerts with current option} +Each color theme requires different colors to highlight words: +\begin{itemize} +\item<+-| alert@+> Apple +\item<+-| alert@+> Peach +\end{itemize} +\end{tframe} + +\input{../content_end.tex} +\end{document} diff --git a/Master/texmf-dist/doc/latex/beamer2thesis/content_end.tex b/Master/texmf-dist/doc/latex/beamer2thesis/content_end.tex new file mode 100644 index 00000000000..4b97ca32923 --- /dev/null +++ b/Master/texmf-dist/doc/latex/beamer2thesis/content_end.tex @@ -0,0 +1,31 @@ +\begin{frame}[t,fragile]{Suggestions} +\begin{itemize} +\item To realize a frame it is possible use the environment \emph{frame} with top (t), center (c) or bottom (b) alignment: I suggest you to use the top alignment; this is the basic code\\ +\verb!\begin{frame}[t]!\\ +\verb!\end{frame}! +\item To make things easier, I have introduced a new environment which is able to have this property intrinsic: +\begin{verbatim} +\begin{tframe} +\end{tframe} +\end{verbatim} +\item If you have to insert some code using \emph{verbatim} or \emph{listings} \textbf{do not use} \emph{tframe} environment, but:\\ +\verb!\begin{frame}[t,fragile]!\\ +\verb!\end{frame}! +\end{itemize} +\end{frame} + +\begin{tframe}{Thanks} +\begin{itemize} +\item I would like to thank people that, with precious hints, help me: +\begin{itemize} +\item Alessio Califano +\item Alessio Sanna +\item Luca De Villa Palù +\item Mariano \emph{Dave} Graziano +\item Giovanna Turvani +\end{itemize} +\item This project is dedicated to a special person, $\mathcal{V}alentina\; \mathcal{G}$:\\ +\textit{'you will be forever part of my heart'} +\end{itemize} +\end{tframe} + diff --git a/Master/texmf-dist/doc/latex/beamer2thesis/content_end_ita.tex b/Master/texmf-dist/doc/latex/beamer2thesis/content_end_ita.tex new file mode 100644 index 00000000000..029fd9eec61 --- /dev/null +++ b/Master/texmf-dist/doc/latex/beamer2thesis/content_end_ita.tex @@ -0,0 +1,31 @@ +\begin{frame}[t,fragile]{Suggerimenti} +\begin{itemize} +\item Per realizzare una slide si usa l'ambiente \emph{frame}, con allineamenti in alto (t), al centro (c) oppure in basso (b): suggerisco di usare il primo; il codice è\\ +\verb!\begin{frame}[t]!\\ +\verb!\end{frame}! +\item Per facilitare la scrittura ho creato un nuovo ambiente che ha questa proprietà intrinsecamente: +\begin{verbatim} +\begin{tframe} +\end{tframe} +\end{verbatim} +\item Se dovete inserire del codice con \emph{verbatim} or \emph{listings} \textbf{non usate} \emph{tframe}, ma:\\ +\verb!\begin{frame}[t,fragile]!\\ +\verb!\end{frame}! +\end{itemize} +\end{frame} + +\begin{tframe}{Ringraziamenti} +\begin{itemize} +\item Voglio ringraziare le persone, che con preziosi suggerimenti, hanno contribuito alla realizzazione: +\begin{itemize} +\item Alessio Califano +\item Alessio Sanna +\item Luca De Villa Palù +\item Mariano \emph{Dave} Graziano +\item Giovanna Turvani +\end{itemize} +\item Dedico il progetto ad una persona molto speciale, $\mathcal{V}alentina\; \mathcal{G}$:\\ +\textit{'you will be forever part of my heart'} +\end{itemize} +\end{tframe} + diff --git a/Master/texmf-dist/doc/latex/beamer2thesis/content_initial.tex b/Master/texmf-dist/doc/latex/beamer2thesis/content_initial.tex new file mode 100644 index 00000000000..4c70588e1c5 --- /dev/null +++ b/Master/texmf-dist/doc/latex/beamer2thesis/content_initial.tex @@ -0,0 +1,151 @@ +\begin{frame}[plain] +\titlepage +\end{frame} + +\begin{tframe}{Introduction} +\begin{itemize} +\item Beamer is a \LaTeX{} class that allows you to create presentations +\item Beamer2Thesis is a Beamer package that allows you to create a presentation for your thesis +\begin{itemize} +\item with specific dedicated commands +\item it uses TorinoTh, a Beamer Theme +\end{itemize} +\end{itemize} +\end{tframe} + +\begin{tframe}{TorinoTh theme} +\begin{itemize} +\item TorinoTh (TorinoThesis) is a theme which is based on Torino and extend it +\begin{itemize} +\item Torino is a pretty theme for Beamer realized by Marco Barisione +\item http://blog.barisione.org/2007-09/torino-a-pretty-theme-for-latex-beamer/ +\end{itemize} +\item Names are similar because I attend, as him, the Politecnico of Torino, but I want to emphasize the fact that TorinoTh is a theme that can be used only to realize a thesis +\end{itemize} +\end{tframe} + +\begin{tframe}{TorinoTh theme} +\begin{itemize} +\item The theme consist of: +\begin{itemize} +\item \emph{beamercolorthemetorinoth.sty} defines colors and allows you to choose among three possible options: blue (default), green or red +\item \emph{beamerfontthemetorinoth.sty} defines fonts used +\item \emph{beamerinnerthemetorinoth.sty} defines the title page and items +\item \emph{beamerouterthemetorinoth.sty} defines headers and footers +\item \emph{beamerthemeTorinoTh.sty} include all definitions +\end{itemize} +\end{itemize} +\end{tframe} + +\begin{tframe}{Installation} +\begin{itemize} +\item Beamer2Thesis can be download from my personal page as a zip file +\begin{itemize} +\item \href{http://claudiofiandrino.altervista.org/beamer2thesis.zip}{http://claudiofiandrino.altervista.org/beamer2thesis.zip} +\end{itemize} +\item It can be installed with the standard procedure used to install a common package: +\begin{itemize} +\item under Linux, you have just to copy (with proper permissions) into the directory \emph{/usr/share/texmf/tex/latex}, unzip it then use the command \emph{texhash} +\item under Mac, similarly, you have just to copy into the directory \emph{/usr/local/texlive/texmf-local/tex/latex}, unzip it then use the command \emph{texhash} +\end{itemize} +\end{itemize} +\end{tframe} + +\begin{tframe}{Options} +\begin{itemize} +\item Next slides will present all features avaiable +\item As examples in which different options are applied, is possible to see the guides: +\begin{itemize} +\item beamer2thesis.pdf is the standard english guide which uses main options +\item beamer2thesis\_ita.pdf is the italian guide with green colors +\item beamer2thesis\_logos.pdf is the guide with red colors that show you how the second logo option is exploited +\end{itemize} +\item All guides show options in general; to have a look for specific configurations, read each guide because in each one is reported its own configuration state +\end{itemize} +\end{tframe} + +\begin{frame}[t,fragile]{Some general options} +\begin{enumerate} +\item The \verb!pageofpages! option defines the string between the current + page number and the total page count + \begin{itemize} + \item the default is \emph{of} + \end{itemize} +\item If the \verb!titleline! option is set to \verb!true!, a horizontal line + is drawn below the title +\item The \verb!titlepagelogo! is the name of the principal logo: it must be a .jpg, .pdf, .png picture since is used PDF\LaTeX{} +\begin{itemize} +\item to include the logo of your University, copy it into the Beamer2Thesis main directory and remember to do \emph{texhash} +\end{itemize} +\end{enumerate} +\end{frame} + +\begin{frame}[t,fragile]{Other options: avaiable bullets} +\begin{itemize} +\item The \verb!bullet! option can be used to choose the symbol used in + bullet lists + \begin{itemize} + \item \verb!square!: a filled square + ({\usebeamercolor[fg]{item}\tiny\raise0.2ex\hbox{$\blacksquare$}}) for + first and third level items, an empty square + ({\usebeamercolor[fg]{item}\tiny\raise0.2ex\hbox{$\square$}}) for + second level items + \item \verb!diamond!: a filled diamond + ({\usebeamercolor[fg]{item}\tiny\raise0.2ex\hbox{$\blacklozenge$}}) for + first and third level items, an empty diamond + ({\usebeamercolor[fg]{item}\tiny\raise0.2ex\hbox{$\lozenge$}}) for + second level items + \item \verb!triangle!: a filled triangle + ({\usebeamercolor[fg]{item}\tiny\raise0.2ex\hbox{$\blacktriangleright$}}) for + first and third level items, an empty triangle + ({\usebeamercolor[fg]{item}\tiny\raise0.2ex\hbox{$\vartriangleright$}}) for + second level items + \item \verb!circle!: a filled circle ({\usebeamercolor[fg]{item}$\bullet$}) + for first and third level items, an empty circle + ({\usebeamercolor[fg]{item}$\circ$}) for second level items + \item The default value is \verb!circle! + \end{itemize} +\end{itemize} +\end{frame} + +\begin{tframe}{Languages} +\begin{itemize} +\item There are two languages avaiable: +\begin{itemize} +\item english (default) +\item italian +\end{itemize} +\item The choice of the language implies that in the titlepage, date and labels (supervisor, candidate, relatore, candidato) are shown with the proper language in an automatic way +\end{itemize} +\end{tframe} + +\begin{frame}[t,fragile]{Second logo} +\begin{itemize} +\item If, for some reasons, someone needs a second logo (a thesis performed in another institute for example) an option allows you to put it in the title page +\item When \emph{secondlogo} is set to \emph{true}, you have to use the command \verb!\titlepagesecondlogo{name-logo}!: otherwise an error occurs +\item As the main logo, the second logo must be a .jpg, .pdf, .png picture and you have to insert it in the main directory (remember do a \emph{texhash} after you copy it) +\end{itemize} +\end{frame} + +\begin{frame}[t,fragile]{Second candidate} +\begin{itemize} +\item It is possible that there are two candidates: the package manage this fact easily +\begin{itemize} +\item the first candidate is also the author +\item the second candidate can be inserted with the command \verb!\secondcandidate{name-surname}! when the option \emph{secondcandidate} is set to \emph{true} +\end{itemize} +\item Of course, when there are two candidates the label \emph{Candidate} becomes \emph{Candidates} and \emph{Candidato} become \emph{Candidati} +\end{itemize} +\end{frame} + +\begin{frame}[t]{Finally: colors} +\begin{itemize} +\item There are three possible choices: +\begin{itemize} +\item blue +\item green +\item red +\end{itemize} +\item When the color is chosen setting the option \emph{color} to one of the list above, consequently headers, footers, title page, bullet and highlightings are set accordingly +\end{itemize} +\end{frame} \ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/beamer2thesis/content_initial_ita.tex b/Master/texmf-dist/doc/latex/beamer2thesis/content_initial_ita.tex new file mode 100644 index 00000000000..2c16877a786 --- /dev/null +++ b/Master/texmf-dist/doc/latex/beamer2thesis/content_initial_ita.tex @@ -0,0 +1,141 @@ +\begin{frame}[plain] +\titlepage +\end{frame} + +\begin{tframe}{Introduzione} +\begin{itemize} +\item Beamer è una classe \LaTeX{} che permette di creare presentazioni +\item Beamer2Thesis è un pacchetto Beamer che permette di creare presentazioni per la tesi +\begin{itemize} +\item con comandi specifici ed appositi +\item usando TorinoTh, un tema Beamer +\end{itemize} +\end{itemize} +\end{tframe} + +\begin{tframe}{Il tema TorinoTh} +\begin{itemize} +\item TorinoTh (TorinoThesis) è un tema basato su Torino, un tema Beamer, estendendolo +\begin{itemize} +\item Torino è un tema realizzato da Marco Barisione +\item http://blog.barisione.org/2007-09/torino-a-pretty-theme-for-latex-beamer/ +\end{itemize} +\item I nomi sono simili, perchè, anche io come lui, frequento il Politecnico di Torino, ma voglio precisare che TorinoTh permette solo di realizzare presentazioni per tesi +\end{itemize} +\end{tframe} + +\begin{tframe}{Il tema TorinoTh} +\begin{itemize} +\item Il tema consiste in: +\begin{itemize} +\item \emph{beamercolorthemetorinoth.sty} definisce i colori e permette all'utente di scegliere fra tre possibili scelte: blue (default), green or red +\item \emph{beamerfontthemetorinoth.sty} definisce i fonts utilizzati +\item \emph{beamerinnerthemetorinoth.sty} definisce la pagina iniziale e gli elenchi puntati e numerati +\item \emph{beamerouterthemetorinoth.sty} definisce le intestazioni di inizio e piè di pagina +\item \emph{beamerthemeTorinoTh.sty} include tutti i files precedenti +\end{itemize} +\end{itemize} +\end{tframe} + +\begin{tframe}{Installazione} +\begin{itemize} +\item Beamer2Thesis può essere scaricato dalla mia pagina personale come un file zip: +\begin{itemize} +\item \href{http://claudiofiandrino.altervista.org/beamer2thesis.zip}{http://claudiofiandrino.altervista.org/beamer2thesis.zip} +\end{itemize} +\item L'installazione avviene come un normale pacchetto \LaTeX{}: +\begin{itemize} +\item su Linux, dovete semplicemente copiare lo zip (con i permessi di root) nella cartella \emph{/usr/share/texmf/tex/latex}, decomprimerlo e usare il comando \emph{texhash} +\item su Mac, in maniera simile, dovete copiare il file nella cartella \emph{/usr/local/texlive/texmf-local/tex/latex}, decomprimerlo e usare il comando \emph{texhash} +\end{itemize} +\end{itemize} +\end{tframe} + +\begin{tframe}{Opzioni} +\begin{itemize} +\item Le slide seguenti illustrano tutte le possibili opzioni selezionabili +\item Come esempi dove le opzioni solo utilizzate, è possibile consultare le seguenti guide: +\begin{itemize} +\item beamer2thesis.pdf è la guida standard, in inglese, dove sono utilizzate le opzioni standard +\item beamer2thesis\_ita.pdf è la guida in italiano, con tema di colore verde +\item beamer2thesis\_logos.pdf è la guida in inglese con tema di colore rosso in cui sono utilizzate le opzioni del secondo candidato e secondo logo +\end{itemize} +\item Tutte le guide elencano le opzioni in generale; per osservare le specifiche configurazioni, leggete le differenti guide perchè ognuna di esse mostra in dettaglio la propria configurazione +\end{itemize} +\end{tframe} + +\begin{frame}[t,fragile]{Alcune opzioni generali} +\begin{enumerate} +\item L'opzione \verb!pageofpages! definisce una stringa fra l'attuale numero di slide e il totale + \begin{itemize} + \item la stringa di default usata è \emph{of} + \end{itemize} +\item Se l'opzione \verb!titleline! è settata a \verb!true!, una linea orizzontale viene creata sotto il titolo della slide, con il colore del tema +\item L'opzione \verb!titlepagelogo! rappresenta il nome del logo principale: deve essere un file .jpg, .pdf, .png perchè, come compilatore, è usato PDF\LaTeX{} +\begin{itemize} +\item per includere il logo della vostra Università, copiatelo nella cartella principale di Beamer2Thesis e ricordatevi di dare il comando (da root) \emph{texhash} +\end{itemize} +\end{enumerate} +\end{frame} + +\begin{frame}[t,fragile]{Altre opzioni: simboli per gli elenchi} +\begin{itemize} +\item L'opzione \verb!bullet! può essere usata per selezionare il simbolo da utilizzare negli elenchi puntati + \begin{itemize} + \item \verb!square!: un quadrato interamente colorato + ({\usebeamercolor[fg]{item}\tiny\raise0.2ex\hbox{$\blacksquare$}}) per elenchi con indentazione di primo e terzo livello e un quadrato bianco all'interno + ({\usebeamercolor[fg]{item}\tiny\raise0.2ex\hbox{$\square$}}) per il secondo livello di indentazione + \item \verb!diamond!: un rombo interamente colorato + ({\usebeamercolor[fg]{item}\tiny\raise0.2ex\hbox{$\blacklozenge$}}) per elenchi con indentazione di primo e terzo livello e un rombo bianco all'interno + ({\usebeamercolor[fg]{item}\tiny\raise0.2ex\hbox{$\lozenge$}}) per il secondo livello di indentazione + \item \verb!triangle!: un triangolo interamente colorato + ({\usebeamercolor[fg]{item}\tiny\raise0.2ex\hbox{$\blacktriangleright$}}) per elenchi con indentazione di primo e terzo livello e un triangolo bianco all'interno + ({\usebeamercolor[fg]{item}\tiny\raise0.2ex\hbox{$\vartriangleright$}}) per il secondo livello di indentazione + \item \verb!circle! (default): un cerchio interamente colorato + ({\usebeamercolor[fg]{item}\tiny\raise0.2ex\hbox{$\bullet$}}) per elenchi con indentazione di primo e terzo livello e un cerchio bianco all'interno + ({\usebeamercolor[fg]{item}\tiny\raise0.2ex\hbox{$\circ$}}) per il secondo livello di indentazione + \end{itemize} +\end{itemize} +\end{frame} + +\begin{tframe}{Lingue} +\begin{itemize} +\item Sono disponibili due lingue: +\begin{itemize} +\item inglese (default) +\item italiana +\end{itemize} +\item La scelta delle lingue implica che nella pagina iniziale, date e labels (supervisor, candidate, relatore, candidato) siano riportate esattamente in modo automatico +\end{itemize} +\end{tframe} + +\begin{frame}[t,fragile]{Secondo logo} +\begin{itemize} +\item Se, per qualche ragione, a qualcuno serve poter inserire un secondo logo (ad esempio per una tesi di laurea con doppio titolo), un'opzione permette di inserirlo nella pagina iniziale +\item Quando l'opzione \emph{secondlogo} è \emph{true}, è necessario utilizzare il comando \verb!\titlepagesecondlogo{name-logo}! per inserire il logo: se non è presente si verifica un errore +\item Come il logo principale, anche il secondo logo deve essere un'immagine in .jpg, .pdf, .png, la quale deve essere copiata nella directory principale (ricordatevi di utilizzare \emph{texhash} dopo la copia) +\end{itemize} +\end{frame} + +\begin{frame}[t,fragile]{Secondo candidato} +\begin{itemize} +\item \'{E} possibile che in una tesi ci siano due candidati di laurea: Beamer2Thesis gestisce con facilità questo caso +\begin{itemize} +\item il \emph{primo} candidato è anche l'autore +\item il secondo candidato viene inserito con il comando \verb!\secondcandidate{name-surname}! quando l'opzione \emph{secondcandidate} è \emph{true} +\end{itemize} +\item Naturalmente, in presenza di due candidati, la label \emph{Candidate} diventa \emph{Candidates} e la label \emph{Candidato} diventa \emph{Candidati} +\end{itemize} +\end{frame} + +\begin{frame}[t]{Infine i colori} +\begin{itemize} +\item Esistono tre possibili sfumature cromatiche: +\begin{itemize} +\item blu +\item verde +\item rosso +\end{itemize} +\item La sfumatura desiderata viene scelta con l'opzione \emph{color} dalla lista precendente e, di conseguenza, sono definite intestazioni di inizio e piè di pagina, il frontespizio, i simboli degli elenchi e i colori di evidenziazione del testo +\end{itemize} +\end{frame} \ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/beamer2thesis/license b/Master/texmf-dist/doc/latex/beamer2thesis/license new file mode 100644 index 00000000000..71beb12a09c --- /dev/null +++ b/Master/texmf-dist/doc/latex/beamer2thesis/license @@ -0,0 +1,12 @@ +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% +% Copyright 2011 Fiandrino Claudio +% +% Beamer2Thesis +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + + This package may be distributed and/or modified + + 1. under the LaTeX Project Public License and/or + 2. under the GNU Public License. diff --git a/Master/texmf-dist/tex/latex/beamer2thesis/beamer2thesis.jpg b/Master/texmf-dist/tex/latex/beamer2thesis/beamer2thesis.jpg new file mode 100644 index 00000000000..6c24f535f82 Binary files /dev/null and b/Master/texmf-dist/tex/latex/beamer2thesis/beamer2thesis.jpg differ diff --git a/Master/texmf-dist/tex/latex/beamer2thesis/beamercolorthemetorinoth.sty b/Master/texmf-dist/tex/latex/beamer2thesis/beamercolorthemetorinoth.sty new file mode 100644 index 00000000000..bdcb2932526 --- /dev/null +++ b/Master/texmf-dist/tex/latex/beamer2thesis/beamercolorthemetorinoth.sty @@ -0,0 +1,85 @@ +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% +% 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 + +% Blue +\definecolor{navyblue}{cmyk}{0.94,0.54,0,0} +\definecolor{cerulean}{cmyk}{0.94,0.11,0,0} +\definecolor{processblue}{cmyk}{0.96,0,0,0} +% Green +\definecolor{forestgreen}{cmyk}{0.91,0,0.88,0.12} +\definecolor{yellowgreen}{cmyk}{0.44,0,0.74,0} +% Red +\definecolor{redorange}{cmyk}{0,0.77,0.87,0} +\definecolor{apricot}{cmyk}{0,0.32,0.52,0} + +\DeclareOptionBeamer{color}{\def\beamer@politothesis@color{#1}} +\ExecuteOptionsBeamer{color=blue} + +\ProcessOptionsBeamer + +% Blue colors +\def\beamer@politothesis@bluetext{blue}% +\ifx\beamer@politothesis@color\beamer@politothesis@bluetext% + + \setbeamercolor*{palette primary}{fg=white,bg=processblue} + \setbeamercolor*{palette secondary}{fg=navyblue,bg=processblue!20} + + \setbeamercolor*{titlelike}{fg=white,bg=processblue} + \setbeamercolor*{frametitle}{fg=black,bg=black} + \setbeamercolor*{item}{fg=cerulean} + \setbeamercolor*{alerted text}{fg=cerulean} + +\fi% + +% Green colors +\def\beamer@politothesis@greentext{green}% +\ifx\beamer@politothesis@color\beamer@politothesis@greentext% + + \setbeamercolor*{palette primary}{fg=white,bg=forestgreen} + \setbeamercolor*{palette secondary}{fg=black,bg=yellowgreen} + + \setbeamercolor*{titlelike}{fg=white,bg=forestgreen} + \setbeamercolor*{frametitle}{fg=black,bg=black} + \setbeamercolor*{item}{fg=forestgreen} + \setbeamercolor*{alerted text}{fg=forestgreen} + +\fi% + +% Red colors +\def\beamer@politothesis@redtext{red}% +\ifx\beamer@politothesis@color\beamer@politothesis@redtext% + + \setbeamercolor*{palette primary}{fg=white,bg=redorange} + \setbeamercolor*{palette secondary}{fg=black,bg=apricot} + + \setbeamercolor*{titlelike}{fg=white,bg=redorange} + \setbeamercolor*{frametitle}{fg=black,bg=black} + \setbeamercolor*{item}{fg=redorange} + \setbeamercolor*{alerted text}{fg=redorange} + +\fi% + +% Innertheme colors +\setbeamercolor*{title page header}{parent=palette primary} +\setbeamercolor*{ateneo page header}{parent=palette primary} + +% Outertheme colors +\setbeamercolor*{footerbox}{parent=palette secondary} +\setbeamercolor*{titleline}{parent=palette primary} +\setbeamercolor*{page header}{parent=titlelike} +\setbeamercolor*{second header}{parent=palette secondary} +\setbeamercolor*{frame number}{parent=palette secondary} + + +\mode + diff --git a/Master/texmf-dist/tex/latex/beamer2thesis/beamerfontthemetorinoth.sty b/Master/texmf-dist/tex/latex/beamer2thesis/beamerfontthemetorinoth.sty new file mode 100644 index 00000000000..22b33333df4 --- /dev/null +++ b/Master/texmf-dist/tex/latex/beamer2thesis/beamerfontthemetorinoth.sty @@ -0,0 +1,24 @@ +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% +% 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 + +% Fonts +\setbeamerfont{title}{size=\Large} +\setbeamerfont{ateneo}{size=\large,shape=\scshape} +\setbeamerfont{person}{size=\normalsize,shape=\itshape} +\setbeamerfont{definition}{size=\normalsize} +\setbeamerfont{frame number}{series=\bfseries} +\setbeamerfont{footnote}{size=\tiny,family=\sffamily,series=\bfseries} +\setbeamerfont{date}{family=\sffamily,size=\small} + +\mode + diff --git a/Master/texmf-dist/tex/latex/beamer2thesis/beamerinnerthemetorinoth.sty b/Master/texmf-dist/tex/latex/beamer2thesis/beamerinnerthemetorinoth.sty new file mode 100644 index 00000000000..41a28789392 --- /dev/null +++ b/Master/texmf-dist/tex/latex/beamer2thesis/beamerinnerthemetorinoth.sty @@ -0,0 +1,250 @@ +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% +% 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 + +% Logo to use in the title page +\def\beamer@torinoth@titlepagelogo{} +\DeclareOptionBeamer{titlepagelogo}{\def\beamer@torinoth@titlepagelogo{#1}} + +% Second optional logo to use in the title page +\DeclareOptionBeamer{secondlogo}[true]{\def\beamer@torinoth@secondlogo{#1}} +\ExecuteOptionsBeamer{secondlogo=false} + +% Language +\DeclareOptionBeamer{language}[italian]{\def\beamer@torinoth@language{#1}} +\ExecuteOptionsBeamer{language=english} + +% Second candidate +\DeclareOptionBeamer{secondcandidate}[true]{\def\beamer@torinoth@secondcandidate{#1}} +\ExecuteOptionsBeamer{secondcandidate=false} + + +% Bullet shape +\DeclareOptionBeamer{bullet}{\def\beamer@torinoth@bullet{#1}} +\ExecuteOptionsBeamer{bullet=circle} + +\ProcessOptionsBeamer + +% Definition of second logo if request +\def\beamer@torinoth@secondlogotext{true}% +\ifx\beamer@torinoth@secondlogo\beamer@torinoth@secondlogotext% + \def\titlepagesecondlogo#1{\gdef\@titlepagesecondlogo{#1}}% +\fi% + +% Package usage according to language +\def\beamer@torinoth@italiantext{italian}% + \ifx\beamer@torinoth@language\beamer@torinoth@italiantext% + \RequirePackage[italian]{babel}% + \else% + \RequirePackage[english]{babel}% + \fi% + +% Ateneo +\providecommand{\ateneo}{\institute}% +\providecommand{\insertateneo}{\insertinstitute}% + +% Supervisor +\def\rel#1{\gdef\@rel{#1}} + +% Second candidate +\def\beamer@torinoth@secondcandtext{true}% +\ifx\beamer@torinoth@secondcandidate\beamer@torinoth@secondcandtext% + \def\secondcandidate#1{\gdef\@secondcandidate{#1}}% +\fi + +% Margins +\newlength{\beamer@torinoth@normalmargin} +\setlength{\beamer@torinoth@normalmargin}{.055\paperwidth} +\setbeamersize{text margin left=\beamer@torinoth@normalmargin} +\setbeamersize{text margin right=\beamer@torinoth@normalmargin} +\setlength\leftmargini{.6\beamer@torinoth@normalmargin} +\setlength\leftmarginii{.6\beamer@torinoth@normalmargin} +\setlength\leftmarginiii{.6\beamer@torinoth@normalmargin} + +% Thesis title page +\defbeamertemplate*{title page}{torinoth}[1][] +{ + + % Logo & Ateneo + \begin{centering} + \begin{beamercolorbox}[rounded=true,shadow=true,wd=.9\paperwidth,sep=8pt,center,#1]{ateneo page header}% + \usebeamerfont{ateneo}\insertateneo\par% + \end{beamercolorbox} + \vskip0.5em% + % Check-second-logo + \def\beamer@torinoth@secondlogotext{true}% + \ifx\beamer@torinoth@secondlogo\beamer@torinoth@secondlogotext% + \hbox{ + % First-column + \begin{beamercolorbox}[wd=0.475\paperwidth,center]{} + \includegraphics[height=.225\paperheight]{\beamer@torinoth@titlepagelogo}% + \end{beamercolorbox} + % Second-column + \begin{beamercolorbox}[wd=0.325\paperwidth,center]{} + \includegraphics[height=.225\paperheight]{\@titlepagesecondlogo}% + \end{beamercolorbox}} + \else% + \includegraphics[height=.225\paperheight]{\beamer@torinoth@titlepagelogo}% + \fi% + \vfill% + \end{centering} + % Title + \begin{centering} + \begin{beamercolorbox}[wd=\paperwidth,sep=8pt,center,#1]{title page header} + \usebeamerfont{title}\inserttitle\par% + \end{beamercolorbox}% + \end{centering} + \vskip1em\par% + + % definitions + \begin{columns} + % First column + \column{.5\paperwidth}% + % Supervisor-language-check + \def\beamer@torinoth@italiantext{italian}% + \ifx\beamer@torinoth@language\beamer@torinoth@italiantext% + \def\beamer@torinoth@superv{Relatore}% + \else% + \def\beamer@torinoth@superv{Supervisor}% + \fi% + \begin{beamercolorbox}[sep=8pt,center,#1]{rel} + \usebeamerfont{definition}\beamer@torinoth@superv% + \end{beamercolorbox} + % Second column + \column{.5\paperwidth}% + % Number-candidates-check + \def\beamer@torinoth@secondcandtext{true}% + \ifx\beamer@torinoth@secondcandidate\beamer@torinoth@secondcandtext% + % Candidate-language-check + \def\beamer@torinoth@italiantext{italian}% + \ifx\beamer@torinoth@language\beamer@torinoth@italiantext% + \def\beamer@torinoth@cand{Candidati}% + \else% + \def\beamer@torinoth@cand{Candidates}% + \fi% + \else% + % Candidate-language-check + \def\beamer@torinoth@italiantext{italian}% + \ifx\beamer@torinoth@language\beamer@torinoth@italiantext% + \def\beamer@torinoth@cand{Candidato}% + \else% + \def\beamer@torinoth@cand{Candidate}% + \fi% + \fi% + \begin{beamercolorbox}[sep=8pt,center,#1]{author} + \usebeamerfont{definition}\beamer@torinoth@cand% + \end{beamercolorbox} + \end{columns} + \vskip-0.5em% + % Check-number-candidates + \def\beamer@torinoth@secondcandtext{true}% + \ifx\beamer@torinoth@secondcandidate\beamer@torinoth@secondcandtext% + \begin{columns} + \column{.5\paperwidth}% + % Supervisor + \begin{beamercolorbox}[sep=8pt,center,#1]{rel}% + \usebeamerfont{person}\@rel% + \end{beamercolorbox} + \column{.5\paperwidth} + % First-candidate + \begin{beamercolorbox}[sep=8pt,center,#1]{author}% + \usebeamerfont{person}\insertauthor% + \end{beamercolorbox} + \end{columns} + \vskip-0.75em% + \begin{columns} + \column{.5\paperwidth}% + % No-Supervisor + \column{.5\paperwidth} + % First-candidate + \begin{beamercolorbox}[sep=8pt,center,#1]{author}% + \usebeamerfont{person}\@secondcandidate% + \end{beamercolorbox} + \end{columns} + \else% + \begin{columns} + \column{.5\paperwidth}% + % Supervisor + \begin{beamercolorbox}[sep=8pt,center,#1]{rel}% + \usebeamerfont{person}\@rel% + \end{beamercolorbox} + \column{.5\paperwidth} + % Candidate + \begin{beamercolorbox}[sep=8pt,center,#1]{author}% + \usebeamerfont{person}\insertauthor% + \end{beamercolorbox} + \end{columns} + \fi% + \vskip2em% + % Date + \begin{centering} + \begin{beamercolorbox}[sep=8pt,center,#1]{date}% + \usebeamerfont{date}\insertdate% + \end{beamercolorbox}%\vskip0.5em + \end{centering} + \vfill +} + +% Itemize environment thesis-modifications + +% Square mode +\defbeamertemplate{itemize item}{squarem}% +{\tiny\raise.5ex\hbox{\donotcoloroutermaths$\blacksquare$}} +\defbeamertemplate{itemize subitem}{squarem}% +{\tiny\raise.4ex\hbox{\donotcoloroutermaths$\square$}} +\defbeamertemplate{itemize subsubitem}{squarem}% +{\tiny\raise.3ex\hbox{\donotcoloroutermaths$\blacksquare$}} + +% Diamond mode +\defbeamertemplate{itemize item}{diamondm}% +{\tiny\raise.5ex\hbox{\donotcoloroutermaths$\blacklozenge$}} +\defbeamertemplate{itemize subitem}{diamondm}% +{\tiny\raise.4ex\hbox{\donotcoloroutermaths$\lozenge$}} +\defbeamertemplate{itemize subsubitem}{diamondm}% +{\tiny\raise.3ex\hbox{\donotcoloroutermaths$\blacklozenge$}} + +% Triangle mode +\defbeamertemplate{itemize item}{trianglem}% +{\tiny\raise.5ex\hbox{\donotcoloroutermaths$\blacktriangleright$}} +\defbeamertemplate{itemize subitem}{trianglem}% +{\tiny\raise.4ex\hbox{\donotcoloroutermaths$\vartriangleright$}} +\defbeamertemplate{itemize subsubitem}{trianglem}% +{\tiny\raise.3ex\hbox{\donotcoloroutermaths$\blacktriangleright$}} + +% Circle mode +\defbeamertemplate{itemize item}{circlem}% +{\small\raise.2ex\hbox{\donotcoloroutermaths$\bullet$}} +\defbeamertemplate{itemize subitem}{circlem}% +{\small\raise.1ex\hbox{\donotcoloroutermaths$\circ$}} +\defbeamertemplate{itemize subsubitem}{circlem}% +{\scriptsize\raise.1ex\hbox{\donotcoloroutermaths$\bullet$}} + +\def\options{square} +\def\optiond{diamond} +\def\optiont{triangle} +\def\optionc{circle} + +\ifx\beamer@torinoth@bullet\options + \setbeamertemplate{items}[squarem] +\fi +\ifx\beamer@torinoth@bullet\optiond + \setbeamertemplate{items}[diamondm] +\fi +\ifx\beamer@torinoth@bullet\optiont + \setbeamertemplate{items}[trianglem] +\fi +\ifx\beamer@torinoth@bullet\optionc + \setbeamertemplate{items}[circlem] +\fi + +\mode + diff --git a/Master/texmf-dist/tex/latex/beamer2thesis/beamerouterthemetorinoth.sty b/Master/texmf-dist/tex/latex/beamer2thesis/beamerouterthemetorinoth.sty new file mode 100644 index 00000000000..03c388aff44 --- /dev/null +++ b/Master/texmf-dist/tex/latex/beamer2thesis/beamerouterthemetorinoth.sty @@ -0,0 +1,124 @@ +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% +% 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 + +% String used between the current page and the total page count. +\def\beamer@torinoth@pageofpages{of} +\DeclareOptionBeamer{pageofpages}{\def\beamer@torinoth@pageofpages{#1}} + +% Show a line below the frame title. +\DeclareOptionBeamer{titleline}[true]{\def\beamer@torinoth@titleline{#1}} + +\ExecuteOptionsBeamer{titleline=false} +\ProcessOptionsBeamer + +% Lengths +\newlength{\headerheight} +\setlength{\headerheight}{.05\paperheight} +\newlength{\beamer@torinoth@line} +\setlength{\beamer@torinoth@line}{.03\paperheight} +\newlength{\beamer@torinoth@box} +\setlength{\beamer@torinoth@box}{.01\paperheight} + +% Footer +\defbeamertemplate*{footline}{torinoth theme} +{ + \leavevmode% + % First line. + \hbox{% + \begin{beamercolorbox}[wd=\paperwidth,ht=\beamer@torinoth@line,dp=0pt]{}% + \end{beamercolorbox}% + } % + % Page number. + \hbox{% + \begin{beamercolorbox}[wd=.85\paperwidth,ht=0ex,dp=0ex]{}% + \end{beamercolorbox}% + \begin{beamercolorbox}[wd=.075\paperwidth,ht=.2ex,dp=0ex,center,rounded=true,shadow=true,draw]{frame number}% + \usebeamerfont{frame number}\insertframenumber{} \beamer@torinoth@pageofpages{} \inserttotalframenumber{}% + \end{beamercolorbox}% + } % + % Second line. + \hbox{% + \begin{beamercolorbox}[wd=.2\paperwidth,ht=\beamer@torinoth@box,dp=0pt]{}% + \end{beamercolorbox}% + \def\beamer@torinoth@separator{-}% + \begin{beamercolorbox}[wd=.6\paperwidth,ht=\beamer@torinoth@box,dp=0pt,center,rounded=true,shadow=true]{footerbox}% + \usebeamerfont{footnote}\insertauthor{} \beamer@torinoth@separator{} \inserttitle % Here is inserted author-title: manage different cases + \end{beamercolorbox}% + \begin{beamercolorbox}[wd=.2\paperwidth,ht=\beamer@torinoth@box,dp=0pt]{}% + \end{beamercolorbox}% + } % + % Third line. + \hbox{% + \begin{beamercolorbox}[wd=\paperwidth,ht=\beamer@torinoth@line,dp=0pt,left]{}% + \insertslidenavigationsymbol + \end{beamercolorbox}% + } % + +} + +% Header +\defbeamertemplate*{headline}{torinoth theme} +{ + + % Insert modality to manage navigation bars + % Insert modality to manage a logo put on the right up side + + \leavevmode% + \hbox{% + \begin{beamercolorbox}[wd=\paperwidth,ht=\headerheight,dp=0pt]{page header}% + \end{beamercolorbox}% + }% + \vskip0pt% + \hbox{% + \begin{beamercolorbox}[wd=\paperwidth,ht=\beamer@torinoth@line]{second header}% + \end{beamercolorbox}% + } % + \vskip0pt% +} + +\defbeamertemplate*{frametitle}{torinoth theme}[1][left] +{ + \ifbeamercolorempty[bg]{frametitle}{}{\nointerlineskip}% + \@tempdima=\textwidth% + \advance\@tempdima by\beamer@leftmargin% + \advance\@tempdima by\beamer@rightmargin% + \vbox{}\vskip-.5\beamer@leftmargin% + \begin{beamercolorbox}[sep=\beamer@leftmargin,#1,wd=\the\@tempdima]{} + \usebeamerfont{frametitle}\usebeamercolor[bg]{framesubtitle}% + \vbox{}\vskip0ex% + \if@tempswa\else\csname beamer@fte#1\endcsname\fi% + \strut\insertframetitle\strut\par% + {% + \ifx\insertframesubtitle\@empty% + \else% + {\usebeamerfont{framesubtitle}\usebeamercolor[bg]{framesubtitle}\insertframesubtitle\strut\par}% + \fi + }% + \vskip-1ex% + \if@tempswa\else\vskip-\beamer@leftmargin\fi + \end{beamercolorbox}% + \def\beamer@torinoth@truetext{true}% + \ifx\beamer@torinoth@titleline\beamer@torinoth@truetext% + \vskip-.5\beamer@leftmargin% + \begin{beamercolorbox}[wd=\textwidth,ht=.1ex,dp=0ex]{titleline}% + \end{beamercolorbox}% + \fi +} + +% Frame title continuations, default + +\defbeamertemplate*{frametitle continuation}{torinoth theme}{(\insertcontinuationcount)} + + +\mode + diff --git a/Master/texmf-dist/tex/latex/beamer2thesis/beamerthemeTorinoTh.sty b/Master/texmf-dist/tex/latex/beamer2thesis/beamerthemeTorinoTh.sty new file mode 100644 index 00000000000..408c919a830 --- /dev/null +++ b/Master/texmf-dist/tex/latex/beamer2thesis/beamerthemeTorinoTh.sty @@ -0,0 +1,40 @@ +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% +% 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 + +\RequirePackage[utf8x]{inputenc} + +\DeclareOptionBeamer{language}[italian]{\PassOptionsToPackage{language=#1}{beamerinnerthemetorinoth}} +\DeclareOptionBeamer{titlepagelogo}{\PassOptionsToPackage{titlepagelogo=#1}{beamerinnerthemetorinoth}} +\DeclareOptionBeamer{bullet}{\PassOptionsToPackage{bullet=#1}{beamerinnerthemetorinoth}} +\DeclareOptionBeamer{pageofpages}{\PassOptionsToPackage{pageofpages=#1}{beamerouterthemetorinoth}} +\DeclareOptionBeamer{titleline}[true]{\PassOptionsToPackage{titleline=#1}{beamerouterthemetorinoth}} +\DeclareOptionBeamer{color}{\PassOptionsToPackage{color=#1}{beamercolorthemetorinoth}} +\DeclareOptionBeamer{secondcandidate}[true]{\PassOptionsToPackage{secondcandidate=#1}{beamerinnerthemetorinoth}} +\DeclareOptionBeamer{secondlogo}[true]{\PassOptionsToPackage{secondlogo=#1}{beamerinnerthemetorinoth}} + + +\ProcessOptionsBeamer + +\useinnertheme{torinoth} +\useoutertheme{torinoth} +\usecolortheme{torinoth} +\usefonttheme{torinoth} + +\setbeamertemplate{navigation symbols}{} + +% Environment +\newenvironment{tframe}{ +\begin{frame}[t]}{\end{frame}} + +\mode + diff --git a/Master/texmf-dist/tex/latex/beamer2thesis/logopolito.jpg b/Master/texmf-dist/tex/latex/beamer2thesis/logopolito.jpg new file mode 100644 index 00000000000..d2b66096263 Binary files /dev/null and b/Master/texmf-dist/tex/latex/beamer2thesis/logopolito.jpg differ diff --git a/Master/tlpkg/bin/tlpkg-ctan-check b/Master/tlpkg/bin/tlpkg-ctan-check index 2aff2cb6c61..700d0723167 100755 --- a/Master/tlpkg/bin/tlpkg-ctan-check +++ b/Master/tlpkg/bin/tlpkg-ctan-check @@ -45,7 +45,8 @@ my @TLP_working = qw( auto-pst-pdf autoarea automata babel babelbib background bangtex barcodes barr bartel-chess-fonts baskervald bbcard bbding bbm bbm-macros bbold bbold-type1 bclogo - beamer beamer-FUBerlin beamer-tut-pt beamerposter beamerthemenirma + beamer beamer2thesis beamer-FUBerlin beamer-tut-pt beamerposter + beamerthemenirma beebe begriff bengali bera berenisadf betababel beton bez123 bezos bgreek bib-fr bibarts bibhtml diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds index 74104fb2fcd..1a6dab1d542 100755 --- a/Master/tlpkg/libexec/ctan2tds +++ b/Master/tlpkg/libexec/ctan2tds @@ -117,9 +117,10 @@ $Master = "$mydir/../.."; 'bbm-macros', "&MAKEnosymlinks", 'bclogo', "&MAKEflatten", 'beamer', "&MAKEbeamer", - 'beamer-contrib',"&MAKEflatten", - 'beebe', "die 'skipping, MAKEbeebe needs work, sorry'", - 'bengali', '&MAKEflatten', + 'beamer2thesis', "&MAKEflatten", + 'beamer-contrib', "&MAKEflatten", + 'beebe', "die 'skipping, MAKEbeebe needs work, sorry'", + 'bengali', "&MAKEflatten", 'bengali-omega', "die 'skipping, duplicates odev.sty et al.'", 'bera', "&MAKEunzipandflatten", 'berenisadf', "&MAKEcopy", @@ -953,6 +954,7 @@ $standardtex='\.(.bx|cfg|sty|clo|ldf|cls|def|fd|cmap|4ht)$'; 'base', 'idx.tex|lablst.tex|latexbug.tex|lablst.tex|docstrip.tex|nfssfont.tex|sample2e.tex|small2e.tex|testpage.tex|ltxcheck.tex|\.cfg|\.fd$|\.cls|\.clo|\.ltx|\.sty|\.def|^\.', 'bbold', 'bbold.sty|\.fd', # no fonttabl.sty 'bclogo', 'bc[^l].*\.(tex|pdf|eps)|bclogo\.sty', + 'beamer2thesis','\.jpg|' . $standardtex, 'bghyphen', '\.tex', 'bibtex', 'apalike\..*|' . $standardtex, 'bidi', '^bidi\.tex|' . $standardtex, diff --git a/Master/tlpkg/tlpsrc/beamer2thesis.tlpsrc b/Master/tlpkg/tlpsrc/beamer2thesis.tlpsrc new file mode 100644 index 00000000000..e69de29bb2d diff --git a/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc b/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc index 4f40acb0456..1d61c873d4b 100644 --- a/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc +++ b/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc @@ -36,6 +36,7 @@ depend authoraftertitle depend authorindex depend background depend beamer-contrib +depend beamer2thesis depend beamerposter depend beamerthemenirma depend begriff -- cgit v1.2.3