summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Master/texmf-dist/doc/latex/beamer-verona/README.md (renamed from Master/texmf-dist/doc/latex/beamer-verona/README)19
-rw-r--r--Master/texmf-dist/doc/latex/beamer-verona/beamer-verona-default.pdfbin0 -> 403993 bytes
-rw-r--r--Master/texmf-dist/doc/latex/beamer-verona/beamer-verona-default.tex103
-rw-r--r--Master/texmf-dist/doc/latex/beamer-verona/beamer-verona-sidebar.pdfbin0 -> 382475 bytes
-rw-r--r--Master/texmf-dist/doc/latex/beamer-verona/beamer-verona-sidebar.tex113
-rw-r--r--Master/texmf-dist/doc/latex/beamer-verona/beamer-verona.pdfbin89660 -> 370909 bytes
-rw-r--r--Master/texmf-dist/doc/latex/beamer-verona/beamer-verona.tex111
-rw-r--r--Master/texmf-dist/doc/latex/beamer-verona/plato-aristotle.jpgbin0 -> 237854 bytes
-rw-r--r--Master/texmf-dist/tex/latex/beamer-verona/beamerthemeVerona.sty309
9 files changed, 468 insertions, 187 deletions
diff --git a/Master/texmf-dist/doc/latex/beamer-verona/README b/Master/texmf-dist/doc/latex/beamer-verona/README.md
index d745e59a1e2..00c5ee4167b 100644
--- a/Master/texmf-dist/doc/latex/beamer-verona/README
+++ b/Master/texmf-dist/doc/latex/beamer-verona/README.md
@@ -2,15 +2,19 @@
The ‘Verona’ theme for Beamer
Author: Ivan Valbusa
ivan dot valbusa at univr dot it
-
-This work has the LPPL maintenance status "author-maintained".
+
This work may be distributed and/or modified under the
conditions of the LaTeX Project Public License, either version 1.3
of this license or (at your option) any later version.
-The latest version of this license is in
- http://www.latex-project.org/lppl.txt
-and version 1.3 or later is part of all distributions of LaTeX
+The latest version of this license is in http://www.latex-project.org/lppl.txt and version 1.3 or later is part of all distributions of LaTeX
version 2005/12/01 or later.
+
+Author: Ivan Valbusa
+ ivan dot valbusa at univr dot it
+
+This work has the LPPL maintenance status "author-maintained".
+
+ Copyright (C) 2015 by Ivan Valbusa
-----------------------------------------------------------------------
DESCRIPTION:
@@ -21,8 +25,11 @@ This work consists of the following files:
README (this file)
beamerthemeVerona.sty
- beamer-verona.tex
beamer-verona.pdf
+ beamer-verona-default.tex
+ beamer-verona-default.pdf
+ beamer-verona-sidebar.tex
+ beamer-verona-sidebar.pdf
2015/11/25
diff --git a/Master/texmf-dist/doc/latex/beamer-verona/beamer-verona-default.pdf b/Master/texmf-dist/doc/latex/beamer-verona/beamer-verona-default.pdf
new file mode 100644
index 00000000000..bbb3badbae5
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/beamer-verona/beamer-verona-default.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/beamer-verona/beamer-verona-default.tex b/Master/texmf-dist/doc/latex/beamer-verona/beamer-verona-default.tex
new file mode 100644
index 00000000000..4203666c70c
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/beamer-verona/beamer-verona-default.tex
@@ -0,0 +1,103 @@
+% !TEX TS-program = pdflatex
+% !TEX encoding = UTF-8 Unicode
+
+\documentclass[10pt]{beamer}
+
+\usetheme[
+% showheader,
+% red,
+% gray,
+% graytitle,
+% colorblocks,
+% noframetitlerule,
+]{Verona}
+
+\usepackage[T1]{fontenc}
+\usepackage[utf8]{inputenc}
+\usepackage{lipsum}
+
+\title{A simple template}
+\subtitle{With a subtitle}
+\author[Ivan Valbusa]{Ivan Valbusa}
+\mail{ivan dot valbusa at univr dot it}
+\institute[University of Verona]{Department of Philology, Literature, and Linguistics\\
+University of Verona}
+\date{November 27, 2015}
+\titlegraphic[width=5cm]{plato-aristotle}{}
+
+\begin{document}
+
+\maketitle
+
+\section{The first section}
+
+\subsection{See the documentation of the beamer class for details}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% ----------- FRAME ------------
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\begin{frame}[<+->]{Lorem ipsum}{Sed commodo posuere pede}
+
+ \begin{block}{Block title}
+ Cras viverra metus rhoncus sem.
+ \end{block}
+
+ \begin{itemize}
+ \item Lorem ipsum dolor sit amet
+ \item Consectetuer adipiscing elit
+ \item Ut purus elit, vestibulum ut
+ \end{itemize}
+
+\begin{quotation}[Donald E. Knuth, \emph{The \TeX book}]
+Gentle reader: This is a handbook about \TeX, a new typesetting system G intended for the creation of beautiful books—and especially for books that contain a lot of mathematics.
+\end{quotation}
+
+\end{frame}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% ----------- FRAME ------------
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\begin{frame}{Lorem ipsum}{Sed commodo posuere pede}
+
+ \begin{alertblock}{Alert block title}
+ Nulla et lectus vestibulum urna
+ \end{alertblock}
+
+
+ \begin{enumerate}[<+->]
+ \item Curabitur dictum gravida
+ \item Nam arcu libero eget
+ \item Consectetuer id vulputate
+ \end{enumerate}
+
+\begin{quotation}[Donald E. Knuth, \emph{The \TeX book}]
+Gentle reader: This is a handbook about \TeX, a new typesetting system G intended for the creation of beautiful books—and especially for books that contain a lot of mathematics.
+\end{quotation}
+
+\end{frame}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% ----------- FRAME ------------
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\begin{frame}{Lorem ipsum}{Sed commodo posuere pede}
+
+ \begin{exampleblock}{Example block title}
+ Aenean faucibus. Morbi dolor nulla, malesuada eu, pulvinar at,
+ mollis ac
+ \end{exampleblock}
+
+ \begin{description}[<+->]
+ \item[one] \alert<2>{Duis eget orci sit amet}
+ \item[two] \alert<3>{Orci dignissim rutrum}
+ \item[three] \alert<4>{Sodales, sollicitudin vel, wisi}
+ \end{description}
+
+\onslide<4>
+
+ \begin{quotation}[Donald E. Knuth, \emph{The \TeX book}]
+Gentle reader: This is a handbook about \TeX, a new typesetting system G intended for the creation of beautiful books—and especially for books that contain a lot of mathematics.
+\end{quotation}
+
+\end{frame}
+
+\end{document}
+
+
diff --git a/Master/texmf-dist/doc/latex/beamer-verona/beamer-verona-sidebar.pdf b/Master/texmf-dist/doc/latex/beamer-verona/beamer-verona-sidebar.pdf
new file mode 100644
index 00000000000..67c4951cc6c
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/beamer-verona/beamer-verona-sidebar.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/beamer-verona/beamer-verona-sidebar.tex b/Master/texmf-dist/doc/latex/beamer-verona/beamer-verona-sidebar.tex
new file mode 100644
index 00000000000..e0e27843385
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/beamer-verona/beamer-verona-sidebar.tex
@@ -0,0 +1,113 @@
+% !TEX TS-program = pdflatex
+% !TEX encoding = UTF-8 Unicode
+
+\documentclass{beamer}
+
+\usetheme[
+ sidebar,
+% red,
+% gray,
+% graytitle,
+% colorblocks,
+% noframetitlerule
+ ]{Verona}
+
+\usepackage[T1]{fontenc}
+\usepackage[utf8]{inputenc}
+\usepackage{lipsum}
+
+\title{A simple template}
+\subtitle{With a subtitle}
+\author[Ivan Valbusa]{Ivan Valbusa}
+\mail{ivan dot valbusa at univr dot it}
+\institute[University of Verona]{Department of Philology, Literature, and Linguistics\\
+University of Verona}
+\date{November 27, 2015}
+\titlegraphic[width=5cm]{plato-aristotle}{}
+
+%\setbeamersize{sidebar width right=5.5cm}
+%\setbeamerfont*{quotation}{series=\rmfamily\em}
+
+\begin{document}
+
+\maketitle
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% ----------- FRAME ------------
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\begin{frame}{Lorem ipsum}{Sed commodo posuere pede}
+
+\sidegraphics<1>{plato-aristotle}{opacity=0.3,scale=1.1}%
+\sidegraphics<2>{plato-aristotle}{opacity=0.6,scale=1.1}
+\sidegraphics<3>{plato-aristotle}{scale=1.1}
+
+ \begin{block}{Block title}
+ Cras viverra metus rhoncus sem.
+ \end{block}
+
+ \begin{itemize}
+ \item Lorem ipsum dolor sit amet
+ \item Consectetuer adipiscing elit
+ \item Ut purus elit, vestibulum ut
+ \end{itemize}
+
+\begin{quotation}[Donald E. Knuth, \emph{The \TeX book}]
+Gentle reader: This is a handbook about \TeX, a new typesetting system G intended for the creation of beautiful books—and especially for books that contain a lot of mathematics.
+\end{quotation}
+
+\end{frame}
+
+% Set the sidebar image for all the following frames:
+\setbeamertemplate{sidebar right}{%
+\sidegraphics[trim=1.5cm 0 0 0,clip]{plato-aristotle}{scale=3}}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% ----------- FRAME ------------
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\begin{frame}{Lorem ipsum}{Sed commodo posuere pede}
+
+ \begin{alertblock}{Alert block title}
+ Nulla et lectus vestibulum urna
+ \end{alertblock}
+
+
+ \begin{enumerate}[<+->]
+ \item Curabitur dictum gravida
+ \item Nam arcu libero eget
+ \item Consectetuer id vulputate
+ \end{enumerate}
+
+\begin{quotation}[Donald E. Knuth, \emph{The \TeX book}]
+Gentle reader: This is a handbook about \TeX, a new typesetting system G intended for the creation of beautiful books—and especially for books that contain a lot of mathematics.
+\end{quotation}
+
+\end{frame}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% ----------- FRAME ------------
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\begin{frame}{Lorem ipsum}{Sed commodo posuere pede}
+
+ \begin{exampleblock}{Example block title}
+ Aenean faucibus. Morbi dolor nulla, malesuada eu, pulvinar at,
+ mollis ac
+ \end{exampleblock}
+
+ \begin{description}[<+->]
+ \item[one] \alert<2>{Duis eget orci sit amet}
+ \item[two] \alert<3>{Orci dignissim rutrum}
+ \item[three] \alert<4>{Sodales, sollicitudin vel, wisi}
+ \end{description}
+
+\onslide<4>
+
+ \begin{quotation}[Donald E. Knuth, \emph{The \TeX book}]
+Gentle reader: This is a handbook about \TeX, a new typesetting system G intended for the creation of beautiful books—and especially for books that contain a lot of mathematics.
+\end{quotation}
+
+\sidegraphics[trim=4cm 7cm 1cm 0,clip,width=2cm]{plato-aristotle}{xshift=3cm,opacity=0.8}
+
+
+\end{frame}
+
+\end{document}
+
+
diff --git a/Master/texmf-dist/doc/latex/beamer-verona/beamer-verona.pdf b/Master/texmf-dist/doc/latex/beamer-verona/beamer-verona.pdf
index 0274cfacab2..db4bfab039b 100644
--- a/Master/texmf-dist/doc/latex/beamer-verona/beamer-verona.pdf
+++ b/Master/texmf-dist/doc/latex/beamer-verona/beamer-verona.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/beamer-verona/beamer-verona.tex b/Master/texmf-dist/doc/latex/beamer-verona/beamer-verona.tex
deleted file mode 100644
index fc1d466d537..00000000000
--- a/Master/texmf-dist/doc/latex/beamer-verona/beamer-verona.tex
+++ /dev/null
@@ -1,111 +0,0 @@
-% Copyright (C) 2015 by Ivan Valbusa
-% <ivan dot valbusa at univr dot it>
-% -------------------------------------------------------
-%
-% This work may be distributed and/or modified under the
-% conditions of the LaTeX Project Public License, either version 1.3
-% of this license or (at your option) any later version.
-% The latest version of this license is in
-% http://www.latex-project.org/lppl.txt
-% and version 1.3 or later is part of all distributions of LaTeX
-% version 2005/12/01 or later.
-
-\documentclass[10pt]{beamer}
-
-\usetheme{Verona}
-
-\title{Verona -- a theme for Beamer}
-\subtitle{Version 0.1a}
-\author[Ivan Valbusa]{Ivan Valbusa\texorpdfstring{\\}{}\scriptsize\texttt{ivan dot valbusa at univr dot it}}
-\institute[University of Verona]{Department of Philology, Literature, and Linguistics\\
-University of Verona}
-\date{November 27, 2015}
-
-\begin{document}
-
-% ----------- FRAME ------------
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\begin{frame}[plain]
-\titlepage
-\end{frame}
-% ----------- FRAME ------------
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\begin{frame}[b,plain]
-
-\begin{alertblock}{Warning}
-This is package is a beta version.\\
-Some or all the elements could change in the next versions.
-\end{alertblock}
-
-\vfill
-
-\color{gray}
-\small
-\noindent Copyright \copyright\ 2015 Ivan Valbusa.
- \bigskip
-
-\noindent This package is author-maintained.
-Permission is granted to copy, distribute and/or modify this software under the
-terms of the LaTeX Project Public License, version 1.3c ora later (\url{http://latex-project.org/lppl}). This software is provided ''as is'', without warranty of any kind, either expressed or implied, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose.
-
- \bigskip
-
-\noindent If you have any questions, feedback or requests please email me at \texttt{ivan dot valbusa at univr dot it}. If you need specific features not already implemented, remember to attach the example files.
-
-\bigskip
-
-\end{frame}
-% ----------- FRAME ------------
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\begin{frame}{How to use the theme?}
-
-If you can use Beamer than you can use this theme:
-\begin{description}
-\item[\TeX Live] \$ \alert{\texttt{texdoc beamer}}
-\item[Online] \url{http://bitbucket.org/rivanvx/beamer}
-\end{description}
-
-\bigskip
-
-Templates:\\
-\alert{\texttt{usr/local/texlive/\the\year/texmf-dist/doc/latex/beamer/solutions} }
-
-\smallskip
-
-This folder is in the \TeX Live distribution\\
-installed on your computer!
-\end{frame}
-% ----------- FRAME ------------
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\begin{frame}[fragile]{How to load the theme?}
-
-\begin{block}{If you do not like sectioning}
-\verb!\usetheme{Verona}!
-\end{block}
-
-\begin{block}{If you like sectioning}
-\verb!\usetheme[showheader]{Verona}!
-\end{block}
-
-\begin{alertblock}{Color options}
-\verb!\usetheme[blue]{Verona}!\\
-\verb!\usetheme[red]{Verona}!\\
-\verb!\usetheme[gray]{Verona}!\\
-\end{alertblock}
-\begin{alertblock}{Boxes}
-\verb!\usetheme[colorblocks]{Verona}!\\
-\end{alertblock}
-\begin{alertblock}{Frame title}
-\verb!\usetheme[graytitle]{Verona}!
-\end{alertblock}
-
-\end{frame}
-% ----------- FRAME ------------
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\setbeamertemplate{background canvas}[vertical shading][top=gray,bottom=gray,middle=white,midpoint=0.9]
-\begin{frame}[plain]{}
-\vspace*{7cm}
-\small
-\textcolor{black!10}{Typeset with \LaTeX{} and Beamer class}
-\end{frame}
-\end{document}
diff --git a/Master/texmf-dist/doc/latex/beamer-verona/plato-aristotle.jpg b/Master/texmf-dist/doc/latex/beamer-verona/plato-aristotle.jpg
new file mode 100644
index 00000000000..bdcb23d1880
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/beamer-verona/plato-aristotle.jpg
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/beamer-verona/beamerthemeVerona.sty b/Master/texmf-dist/tex/latex/beamer-verona/beamerthemeVerona.sty
index 0785d5d03df..1fd15a4a3c3 100644
--- a/Master/texmf-dist/tex/latex/beamer-verona/beamerthemeVerona.sty
+++ b/Master/texmf-dist/tex/latex/beamer-verona/beamerthemeVerona.sty
@@ -9,9 +9,15 @@
% http://www.latex-project.org/lppl.txt
% and version 1.3 or later is part of all distributions of LaTeX
% version 2005/12/01 or later.
+%
+% Author: Ivan Valbusa
+% ivan dot valbusa at univr dot it
+%
+% This work has the LPPL maintenance status "author-maintained".
-\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{beamerthemeVerona}[2015/11/27 v.0.1a Themes for the Beamer class]%
+
+\NeedsTeXFormat{LaTeX2e}[2005/12/01]
+\ProvidesPackage{beamerthemeVerona}[2015/12/23 v.0.2 Themes for the Beamer class]%
\mode<presentation>
@@ -20,56 +26,74 @@
\newif\ifbeamer@gray
\newif\ifbeamer@colorblocks
\newif\ifbeamer@graytitle
+\newif\ifbeamer@sidebar
+\newif\ifbeamer@noframetitlerule
\beamer@showheaderfalse
\beamer@redfalse
\beamer@grayfalse
\beamer@colorblocksfalse
\beamer@graytitlefalse
+\beamer@sidebarfalse
+\beamer@noframetitlerulefalse
\DeclareOptionBeamer{showheader}{\beamer@showheadertrue}
\DeclareOptionBeamer{red}{\beamer@redtrue}
\DeclareOptionBeamer{gray}{\beamer@graytrue}
\DeclareOptionBeamer{colorblocks}{\beamer@colorblockstrue}
\DeclareOptionBeamer{graytitle}{\beamer@graytitletrue}
+\DeclareOptionBeamer{sidebar}{\beamer@sidebartrue}
+\DeclareOptionBeamer{noframetitlerule}{\beamer@noframetitleruletrue}
\ProcessOptionsBeamer
+% Packages
+\RequirePackage{tikz}
+\RequirePackage{tcolorbox}
+ \tcbuselibrary{skins}
+
+\def\lecturename{Lezione}
+
% ******************
% colortheme
% ******************
-\definecolor{Veronagreen}{RGB}{0,152,0}
-\definecolor{Veronablue}{RGB}{0,51,102}
-\definecolor{Veronaorange}{RGB}{255,52,0}
-\definecolor{Veronateal}{RGB}{0,152,152}
-\definecolor{Veronared}{RGB}{152,0,0}
-\definecolor{Veronagray}{RGB}{102,102,102}
+\definecolor{Veronagreen} {RGB}{0,152,0}
+\definecolor{Veronablue} {RGB}{0,51,102}
+\definecolor{Veronaorange} {RGB}{238,118,0}
+\definecolor{Veronared} {RGB}{152,0,0}
+\definecolor{Veronagray} {RGB}{100,100,105}
+\definecolor{Veronagrayblue} {RGB}{0,128,128}
+\definecolor{Veronagraygreen}{RGB}{128,128,0}
+\ifbeamer@graytitle
+ \setbeamercolor*{frametitle}{fg=Veronagray!80}
+ \else
+\fi
\ifbeamer@red
- \setbeamercolor{alerted text}{fg=Veronaorange}
+ \setbeamercolor{alerted text}{fg=Veronablue}
\setbeamercolor{example text}{fg=Veronagreen}
\setbeamercolor{structure}{fg=Veronared}
\else
\ifbeamer@gray
- \setbeamercolor*{alerted text}{fg=Veronablue}
- \setbeamercolor*{example text}{fg=Veronagreen}
+% \setbeamercolor*{normal text}{fg=black!70}
+ \setbeamercolor*{alerted text}{fg=Veronagrayblue}
+ \setbeamercolor*{example text}{fg=Veronagraygreen}
\setbeamercolor*{structure}{fg=Veronagray}
- \setbeamercolor*{frametitle}{fg=Veronagray!80,bg=}
+\ifbeamer@graytitle
+ \setbeamercolor*{frametitle}{fg=Veronagray!90}
+ \else
+\fi
\else
- \setbeamercolor*{alerted text}{fg=Veronaorange}
+ \setbeamercolor*{alerted text}{fg=Veronared}
\setbeamercolor*{example text}{fg=Veronagreen}
\setbeamercolor*{structure}{fg=Veronablue}
\fi
\fi
-\setbeamercolor*{author in head/foot}{fg=Veronagray,bg=}
-\setbeamercolor*{title in head/foot}{fg=Veronagray,bg=}
-\setbeamercolor*{date in head/foot}{fg=Veronagray,bg=}
-\setbeamercolor*{section in head/foot}{fg=Veronagray,bg=}
-\setbeamercolor*{subsection in head/foot}{fg=Veronagray,bg=}
+\setbeamercolor*{author in head/foot}{fg=Veronagray!80,bg=}
+\setbeamercolor*{title in head/foot}{fg=Veronagray!80,bg=}
+\setbeamercolor*{date in head/foot}{fg=Veronagray!80,bg=}
+\setbeamercolor*{section in head/foot}{fg=Veronagray!80,bg=}
+\setbeamercolor*{subsection in head/foot}{fg=Veronagray!80,bg=}
\setbeamercolor*{subtitle}{fg=white}
\setbeamercolor*{title}{fg=white,bg=Veronagray!75}
\setbeamercolor*{author}{fg=gray}
\setbeamercolor*{date}{fg=gray}
-\ifbeamer@graytitle
-\setbeamercolor*{frametitle}{fg=Veronagray!80}
-\else
-\fi
% blocks
\ifbeamer@colorblocks
\setbeamercolor{block title}{use=structure,fg=structure.fg,bg=structure.fg!10!bg}
@@ -88,53 +112,87 @@
\setbeamerfont*{title}{size=\LARGE,series=\bfseries}
\setbeamerfont*{subtitle}{size=\normalsize,series=\mdseries}
\setbeamerfont*{frametitle}{size=\Large,series=\bfseries}
-\setbeamerfont*{framesubtitle}{size=\normalsize,series=\mdseries}
+\setbeamerfont{framesubtitle}{series=\mdseries}
\setbeamerfont*{author}{size=\small,series=\bfseries}
\setbeamerfont*{date}{size=\footnotesize}
\setbeamerfont*{block title}{size={}}
% ******************
% innertheme
% ******************
-\setbeamertemplate{itemize item}[triangle]
-\setbeamertemplate{itemize subitem}[circle]
+\setbeamertemplate{itemize item}[circle]
+\setbeamertemplate{itemize subitem}[square]
\setbeamertemplate{blocks}[rounded][shadow=true]
+%\setbeamercolor{quotation}{bg=black!5}
+\setbeamertemplate{quotation begin}
+{\begin{tcolorbox}[blanker,borderline west={3pt}{-2pt}{black!15},
+before skip=\baselineskip,
+after skip=\baselineskip
+]}
+\setbeamertemplate{quotation end}
+{\end{tcolorbox}%
+\ifx\autorecitazione\@empty\else\vskip-1ex
+\hfill\footnotesize(\autorecitazione)\fi
+%{\scriptsize\tikz[overlay]\node[fill=white] at ([yshift=1.5em,xshift=-1cm]interior.south east){\autorecitazione};}
+}
+%\setbeamertemplate{quotation begin}
+%{\beamercolorbox[vmode]{quotation}%
+%%\tikz[overlay]{\draw[draw=black!20,very thick] (0,0) -- (\textwidth,0) ;}
+%}
+%
+%\setbeamertemplate{quotation end}
+%{%
+%%\tikz[overlay]{\draw[draw=black!20,yshift=1ex,very thick] (0,0) -- (\textwidth,0) node[anchor=north east] {\footnotesize\autorecitazione} ;}
+%\vskip-.3em\hfill\scriptsize\usebeamerfont{quotation}(\autorecitazione)\endbeamercolorbox}
+\newenvironment<>{citazione}[1][]
+{\def\autorecitazione{#1}%
+\actionenv#2%
+ \usebeamertemplate{quotation begin}
+ \usebeamerfont{quotation}%
+ \usebeamercolor{quotation}%
+ \list{}{\listparindent 0em%
+ \itemindent \listparindent
+ \leftmargin 3pt
+ \rightmargin 0pt
+ \parsep \z@ \@plus\p@}%
+\item\relax}
+{\endlist
+\usebeamertemplate{quotation end}\endactionenv}
+\let\quotation\citazione
% ******************
% outertheme
% ******************
+\def\structureA{structure.fg!70}
+\def\structureB{structure.fg}
+
\setbeamertemplate{navigation symbols}{}
-\setbeamertemplate{sidebar right}{}
-\setbeamersize{text margin left=1em,text margin right=1em}
-% title page
-\setbeamertemplate{title page}
-{
-\nointerlineskip \begingroup
- \centering\vskip-12mm
- \begin{beamercolorbox}[sep=8pt,left,wd=\paperwidth,ht=.4\paperheight]{title}
- \usebeamerfont{title}\inserttitle\par%
- \ifx\insertsubtitle\@empty%
- \else%
- \vskip0.25em%
- {\usebeamerfont{subtitle}\usebeamercolor[fg]{subtitle}\insertsubtitle\par}%
- \fi%
- \end{beamercolorbox}%
-\vspace*{-1mm}
-\hspace*{-4mm}\mbox{\color{structure.fg}\rule{12.8cm}{11pt}}
- \vskip1em\par
- \begin{beamercolorbox}[sep=0pt,left]{author}
- \usebeamerfont{author}\insertauthor
- \end{beamercolorbox}
- \vskip3mm
- \begin{beamercolorbox}[sep=0pt,left]{institute}
- \usebeamerfont{institute}\insertinstitute
- \end{beamercolorbox}
- \vskip3mm
- \begin{beamercolorbox}[sep=0pt,left]{date}
- \usebeamerfont{date}\insertdate
- \end{beamercolorbox}\vskip0.5em
- {\usebeamercolor[fg]{titlegraphic}\inserttitlegraphic\par}
- \endgroup
- \vfill
-}
+
+\let\oldtitlegraphic\titlegraphic
+\renewcommand{\titlegraphic}[3][]{%
+ \oldtitlegraphic{\node[inner sep=0pt,anchor=north west,#3] at (titlepage) {\includegraphics[#1]{#2}}}}
+% ---------------------
+% The ‘sidebar' variant
+% ---------------------
+\ifbeamer@sidebar
+\setbeamersize{sidebar width right=5cm}
+
+\addtobeamertemplate{background}{%
+ \begin{tikzpicture}[overlay, remember picture]
+ \node[inner sep=0pt,xshift=-\dimexpr(\beamer@rightsidebar-1mm)] at (current page.north east) (graphic) {};
+ \end{tikzpicture}
+ }
+
+\newcommand<>{\sidegraphics}[3][]{%
+ \tikz[overlay, remember picture] {
+ \node[inner sep=0pt,anchor=north west,#3] at (graphic)
+ {\only#4{\includegraphics[#1]{#2}}};}\vskip-\baselineskip}
+% ---------------------
+% The default variant
+% ---------------------
+\else
+\def\sidegraphics#1{\PackageError{Verona}{%
+Command \noexpand\sidegraphics\MessageBreak
+\noexpand\sidegraphics command is defined only\MessageBreak
+ with the 'sidebar' option}}
% headline
\ifbeamer@showheader
\setbeamertemplate{headline}
@@ -148,29 +206,85 @@
\usebeamerfont{subsection in head/foot}\hspace*{2ex}\insertsubsectionhead
\end{beamercolorbox}}%
\vskip0pt%
-{\color{gray}\rule{12.8cm}{1pt}\\}
+\begin{tikzpicture}[overlay]
+\draw[draw=\structureA] (0,0) -- (6.3cm,0) -- (6.3cm,1mm);
+\draw[draw=\structureA] (6.5,1mm) -- (6.5,0) -- (12.7cm,0);
+\draw[fill=\structureA,draw=\structureA,yshift=-.5mm] (0,0) rectangle ++ (1mm,1mm);
+\draw[fill=\structureA,draw=\structureA,yshift=-.5mm] (12.69cm,0) rectangle ++ (1mm,1mm);
+\end{tikzpicture}
}
\else
\fi
+% ******************
% footline
+% ******************
+\def\lectureinfoot{%
+ \ifnum\thelecture=0\else
+ %\textcolor{structure.fg}{$\cdot$\thelecture$\cdot$}
+ \tikz[overlay]\node[yshift=2pt,text=structure.fg]
+ {\bf$\cdot$\thelecture$\cdot$};
+ \fi}
\setbeamertemplate{footline}
{%
-{\color{gray}\rule{12.8cm}{1pt}\\}
+\begin{tikzpicture}[overlay]
+\draw[draw=structure.fg!35] (0mm,3mm) -- (12.8cm,3mm);
+\draw[fill=\structureA,draw=\structureA,yshift=-.5mm] (0mm,3mm) rectangle ++ (1mm,1mm);
+\draw[fill=\structureA,draw=\structureA,yshift=-.5mm] (12.69cm,3mm) rectangle ++ (1mm,1mm);
+\end{tikzpicture}
\leavevmode%
- \hbox{%
- \begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,center]{author in head/foot}%
- \usebeamerfont{author in head/foot}\hspace*{2pt}\insertshortauthor\expandafter\beamer@ifempty\expandafter{\beamer@shortinstitute}{}{~~(\insertshortinstitute)}
+ \hfill\hbox{%
+ \begin{beamercolorbox}[wd=.3333333\paperwidth,ht=2.25ex,dp=1ex,left]{author in head/foot}%
+ \usebeamerfont{author in head/foot}\hspace*{1ex}\insertshortauthor\expandafter\beamer@ifempty\expandafter{\beamer@shortinstitute}{}{~~(\insertshortinstitute)}
\end{beamercolorbox}%
- \begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,center]{title in head/foot}%
+ \begin{beamercolorbox}[wd=.3333333\paperwidth,ht=2.25ex,dp=1ex,center]{title in head/foot}%
\usebeamerfont{title in head/foot}\insertshorttitle
\end{beamercolorbox}%
- \begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,right]{date in head/foot}%
- \usebeamerfont{date in head/foot}\insertshortdate{}\hspace*{2em}
- \insertframenumber{} / \inserttotalframenumber\hspace*{2ex}
+ \begin{beamercolorbox}[wd=.3333333\paperwidth,ht=2.25ex,dp=1ex,right]{date in head/foot}%
+ \usebeamerfont{date in head/foot}
+ \insertshortdate{}\hspace*{2em}
+ \lectureinfoot\quad\insertframenumber~\tikz[overlay]\draw[draw=\structureA] (0,-.5mm) -- (0,1.6mm);~\inserttotalframenumber\hspace*{2mm}
\end{beamercolorbox}}%
\vskip0pt%
}
-% frame title
+\fi
+% ******************
+% title page
+% ******************
+\setbeamertemplate{title page}
+{
+ \begingroup
+ \begin{tikzpicture}[overlay,remember picture]
+ \draw[fill=gray,draw=none] (current page.north west) rectangle (\paperwidth,-.3cm);
+ \node[xshift=-5cm,yshift=-4.1cm]
+ at (current page.north east) (titlepage) {};
+ \inserttitlegraphic;
+ \draw[line width=4mm,xshift=-3mm,draw=structure.fg,yshift=-1mm]
+ (0,0) -- (\paperwidth,0) {};
+\node[anchor=south west,align=left] at (0,.25) {%
+\parbox{12cm}{%
+\usebeamerfont{title}\usebeamercolor[fg]{title}\inserttitle\par%
+ \ifx\insertsubtitle\@empty%
+ \else\vskip.5ex%
+ {\usebeamerfont{subtitle}\usebeamercolor[fg]{subtitle}
+ \insertsubtitle\par}%
+ \fi}};
+\node[anchor=north west,align=left] at (0,-.4) {%
+\parbox{7cm}{
+ {\usebeamerfont{author}\usebeamercolor[fg]{author}\insertauthor}\vskip-.5ex
+ {\usebeamerfont{author}\usebeamercolor[fg]{author}\scriptsize\ttfamily\@mail}
+ \vskip3mm
+ \usebeamerfont{institute}\usebeamercolor[fg]{author}\insertinstitute
+ \vskip3mm
+ \usebeamercolor[fg]{date}\usebeamerfont{date}\insertdate
+}};
+ \end{tikzpicture}
+ \endgroup
+}
+% ******************
+% frametitle
+% ******************
+\newlength{\frametitlesidebar}
+\setlength{\frametitlesidebar}{\dimexpr(\paperwidth-\beamer@rightsidebar-2mm)}
\setbeamertemplate{frametitle}
{
\ifbeamercolorempty[bg]{frametitle}{}{\nointerlineskip}%
@@ -188,15 +302,70 @@
\fi
}%
\vskip-1ex%
- \if@tempswa\else\vskip-.3cm\fi% set inside beamercolorbox... evil here...
+ \if@tempswa\else\vskip-1ex\fi% set inside beamercolorbox... evil here...
\end{beamercolorbox}%
-\hspace*{-1mm}\mbox{\color{structure.fg}\rule{12.8cm}{2mm}}
+\ifbeamer@noframetitlerule
+\vspace{2ex}
+\else
+\begin{tikzpicture}[overlay]
+\draw[line width=1mm,draw=structure.fg,yshift=.5ex] (0,0) -- (\frametitlesidebar,0);
+\end{tikzpicture}
+\vspace{-.5ex}
+\fi
}
+% ******************************************************
+% ******************************************************
+
\def\beamer@fteright{\vskip0.35cm\advance\leftskip by 1.7cm\advance\rightskip by1.7cm}
+\setbeamersize{text margin left=3mm,text margin right=3mm}
+
+% ******************
+% new commands
+% ******************
+\renewcommand{\maketitle}{%
+\begin{frame}[plain]
+\titlepage
+\end{frame}}
+
+\newcommand{\mail}[1]{\def\@mail{#1}}
+\mail{}
+\newcommand\datelecture{\@dblarg\beamer@datelecture}
+\long\def\beamer@datelecture[#1]#2#3#4{
+ \beamer@savemode
+ \mode<all>
+ \refstepcounter{lecture}\date{#2}
+ \def\beamer@currentlecturelabel{#4}
+ \@onelevel@sanitize\beamer@currentlecturelabel
+ \def\beamer@lecturename{#3}
+ \def\beamer@shortlecturename{#1}
+ \ifx\beamer@onlylecture\@empty
+ \else
+ \expandafter\beamer@if@in@clist@TF\expandafter\beamer@onlylecture
+ \expandafter{\beamer@currentlecturelabel}%
+ {\beamer@inlecturetrue}
+ {\beamer@inlecturefalse}
+ \fi
+ \beamer@atbeginlecture
+ \beamer@resumemode
+}
+
+\AtBeginLecture{%
+\begin{frame}[plain]
+\begin{center}
+ \begin{tcolorbox}[blanker,borderline horizontal={3pt}{20pt}{structure.fg}]
+ \centering\color{structure.fg}\bfseries \lecturename~\thelecture.\quad \insertlecture\\
+ \end{tcolorbox}
+\end{center}
+\end{frame}
+}
+
\mode
<all>
+\endinput
+%%
+%% End of file `beamerthemeVerona.sty'.