new: [slides] source code added
BIN
doc/presentation/source-training/ail-training.pdf
Normal file
1255
doc/presentation/source-training/ail-training.tex
Normal file
|
@ -0,0 +1,30 @@
|
|||
% Copyright 2007 by Marco Barisione
|
||||
%
|
||||
% This file may be distributed and/or modified
|
||||
%
|
||||
% 1. under the LaTeX Project Public License and/or
|
||||
% 2. under the GNU Public License.
|
||||
|
||||
\mode<presentation>
|
||||
|
||||
%\definecolor{chameleongreen1}{RGB}{129,138,143} %grey CIRCL
|
||||
\definecolor{chameleongreen1}{RGB}{213,43,30}
|
||||
\definecolor{chameleongreen2}{RGB}{213,43,30} %red CIRCL
|
||||
\definecolor{chameleongreen3}{RGB}{30,30,30} %black CIRCL
|
||||
\definecolor{chameleongreen4}{RGB}{129,138,143}
|
||||
|
||||
\setbeamercolor*{palette primary}{fg=white,bg=chameleongreen2}
|
||||
\setbeamercolor*{palette secondary}{fg=white,bg=chameleongreen3}
|
||||
\setbeamercolor*{palette tertiary}{fg=white,bg=chameleongreen4}
|
||||
\setbeamercolor*{palette quaternary}{fg=white,bg=chameleongreen1}
|
||||
|
||||
\setbeamercolor*{titlelike}{bg=chameleongreen3}
|
||||
\setbeamercolor*{frametitle}{bg=black,fg=black}
|
||||
\setbeamercolor*{part title}{bg=black,fg=black}
|
||||
\setbeamercolor*{item}{fg=chameleongreen3}
|
||||
|
||||
\setbeamercolor*{separation line}{}
|
||||
\setbeamercolor*{fine separation line}{}
|
||||
|
||||
\mode
|
||||
<all>
|
182
doc/presentation/source-training/beamerinnerthemefancy.sty
Normal file
|
@ -0,0 +1,182 @@
|
|||
% Copyright 2007 by Marco Barisione
|
||||
%
|
||||
% This file may be distributed and/or modified
|
||||
%
|
||||
% 1. under the LaTeX Project Public License and/or
|
||||
% 2. under the GNU Public License.
|
||||
|
||||
\mode<presentation>
|
||||
|
||||
% Use alternative title page style.
|
||||
\DeclareOptionBeamer{alternativetitlepage}[true]{\def\beamer@fancy@alternativetitlepage{#1}}
|
||||
|
||||
% Logo to use in the alternative title page.
|
||||
\def\beamer@fancy@titlepagelogo{}
|
||||
\DeclareOptionBeamer{titlepagelogo}{\def\beamer@fancy@titlepagelogo{#1}}
|
||||
|
||||
% Bullet shape.
|
||||
\DeclareOptionBeamer{bullet}{\def\beamer@fancy@bullet{#1}}
|
||||
|
||||
\ExecuteOptionsBeamer{alternativetitlepage=false,bullet=square}
|
||||
\ProcessOptionsBeamer
|
||||
|
||||
% Colors.
|
||||
\setbeamercolor*{lineup}{parent=palette primary}
|
||||
\setbeamercolor*{linemid}{parent=palette secondary}
|
||||
\setbeamercolor*{linebottom}{parent=palette tertiary}
|
||||
\setbeamercolor*{title page header}{parent=palette quaternary}
|
||||
|
||||
% Lengths.
|
||||
\newlength{\beamer@fancy@lineup}
|
||||
\setlength{\beamer@fancy@lineup}{.025\paperheight}
|
||||
\newlength{\beamer@fancy@linemid}
|
||||
\setlength{\beamer@fancy@linemid}{.015\paperheight}
|
||||
\newlength{\beamer@fancy@linebottom}
|
||||
\setlength{\beamer@fancy@linebottom}{.01\paperheight}
|
||||
|
||||
% Margins.
|
||||
\newlength{\beamer@fancy@normalmargin}
|
||||
\setlength{\beamer@fancy@normalmargin}{.06\paperwidth}
|
||||
\setbeamersize{text margin left=\beamer@fancy@normalmargin}
|
||||
\setbeamersize{text margin right=\beamer@fancy@normalmargin}
|
||||
\setlength\leftmargini{.6\beamer@fancy@normalmargin}
|
||||
\setlength\leftmarginii{.6\beamer@fancy@normalmargin}
|
||||
\setlength\leftmarginiii{.6\beamer@fancy@normalmargin}
|
||||
|
||||
% Normal title page.
|
||||
\defbeamertemplate*{title page normal}{fancy theme}[1][]
|
||||
{
|
||||
\vbox{}
|
||||
\vfill
|
||||
\begin{centering}
|
||||
\begin{beamercolorbox}[wd=\paperwidth,sep=8pt,center,#1]{title page header}
|
||||
\usebeamerfont{title}\inserttitle\par%
|
||||
\ifx\insertsubtitle\@empty%
|
||||
\else%
|
||||
\vskip0.25em%
|
||||
{\usebeamerfont{subtitle}\usebeamercolor[fg]{subtitle}\insertsubtitle\par}%
|
||||
\fi%
|
||||
\end{beamercolorbox}%
|
||||
\vskip1em\par
|
||||
\begin{beamercolorbox}[sep=8pt,center,#1]{author}
|
||||
\usebeamerfont{author}\insertauthor
|
||||
\end{beamercolorbox}
|
||||
\begin{beamercolorbox}[sep=8pt,center,#1]{institute}
|
||||
\usebeamerfont{institute}\insertinstitute
|
||||
\end{beamercolorbox}
|
||||
\begin{beamercolorbox}[sep=8pt,center,#1]{date}
|
||||
\usebeamerfont{date}\insertdate
|
||||
\end{beamercolorbox}\vskip0.5em
|
||||
{\usebeamercolor[fg]{titlegraphic}\inserttitlegraphic\par}
|
||||
\end{centering}
|
||||
\vfill
|
||||
}
|
||||
|
||||
% Alternative title page, you should use this in a frame with the [plain]
|
||||
% option.
|
||||
\defbeamertemplate*{title page alternative}{fancy theme}[1][]
|
||||
{
|
||||
{\parskip0pt\offinterlineskip%
|
||||
\hbox{\hskip-\Gm@lmargin\hbox{\vbox{%
|
||||
\@tempdima=\textwidth\textwidth=\paperwidth\hsize=\textwidth\def\\{,}\vbox{}\vskip-1.5ex%
|
||||
% Title.
|
||||
\begin{beamercolorbox}[wd=\paperwidth,ht=.4\paperheight,center,#1]{title page header}
|
||||
\usebeamerfont{title}\inserttitle\par%
|
||||
\ifx\insertsubtitle\@empty%
|
||||
\else%
|
||||
\vskip0.25em%
|
||||
{\usebeamerfont{subtitle}\usebeamercolor[fg]{subtitle}\insertsubtitle\par}%
|
||||
\fi%
|
||||
\vspace{.125\paperheight}%
|
||||
\end{beamercolorbox}%
|
||||
\vbox{}\vskip-\beamer@fancy@lineup%
|
||||
\vbox{}\vskip-\beamer@fancy@linemid%
|
||||
% First line.
|
||||
\hbox{%
|
||||
\begin{beamercolorbox}[wd=.2\paperwidth,ht=\beamer@fancy@lineup,dp=0pt]{}%
|
||||
\end{beamercolorbox}%
|
||||
\begin{beamercolorbox}[wd=.8\paperwidth,ht=\beamer@fancy@lineup,dp=0pt]{lineup}%
|
||||
\end{beamercolorbox}%
|
||||
}%
|
||||
\vbox{}\vskip0ex%
|
||||
% Second line.
|
||||
\hbox{%
|
||||
\begin{beamercolorbox}[wd=.1\paperwidth,ht=\beamer@fancy@linemid,dp=0pt]{}%
|
||||
\end{beamercolorbox}%
|
||||
\begin{beamercolorbox}[wd=.9\paperwidth,ht=\beamer@fancy@linemid,dp=0pt]{linemid}%
|
||||
\end{beamercolorbox}%
|
||||
}%
|
||||
% Third line.
|
||||
\hbox{%
|
||||
\begin{beamercolorbox}[wd=.5\paperwidth,ht=\beamer@fancy@linebottom,dp=0pt]{}%
|
||||
\end{beamercolorbox}%
|
||||
\begin{beamercolorbox}[wd=.5\paperwidth,ht=\beamer@fancy@linebottom,dp=0pt]{linebottom}%
|
||||
\end{beamercolorbox}%
|
||||
}%
|
||||
\vskip0pt%
|
||||
}}%
|
||||
\hskip-\Gm@rmargin%
|
||||
}}\hfil%
|
||||
%
|
||||
\begin{columns}
|
||||
\ifx\beamer@fancy@titlepagelogo\@empty%
|
||||
\column{\textwidth}
|
||||
\else
|
||||
\column{.5\textwidth}
|
||||
% Logo.
|
||||
\begin{centering}
|
||||
\vbox{}\vfill
|
||||
\includegraphics[height=.2\paperheight]{\beamer@fancy@titlepagelogo}
|
||||
\vfill
|
||||
\end{centering}
|
||||
\column{.5\textwidth}
|
||||
\fi
|
||||
% Authors, institute and date
|
||||
\vskip1em\par
|
||||
\begin{beamercolorbox}[sep=8pt,center,#1]{author}
|
||||
\usebeamerfont{author}\insertauthor
|
||||
\end{beamercolorbox}
|
||||
\begin{beamercolorbox}[sep=8pt,center,#1]{institute}
|
||||
\usebeamerfont{institute}\insertinstitute
|
||||
\end{beamercolorbox}
|
||||
\begin{beamercolorbox}[sep=8pt,center,#1]{date}
|
||||
\usebeamerfont{date}\insertdate
|
||||
\end{beamercolorbox}\vskip0.5em
|
||||
{\usebeamercolor[fg]{titlegraphic}\inserttitlegraphic\par}
|
||||
\end{columns}
|
||||
}
|
||||
|
||||
\defbeamertemplate*{title page}{fancy}[1][]
|
||||
{
|
||||
\def\beamer@fancy@truetext{true}%
|
||||
\ifx\beamer@fancy@alternativetitlepage\beamer@fancy@truetext%
|
||||
\usebeamertemplate{title page alternative}%
|
||||
\else%
|
||||
\usebeamertemplate{title page normal}%
|
||||
\fi%
|
||||
}
|
||||
|
||||
% Items.
|
||||
\defbeamertemplate{itemize item}{squarealt}%
|
||||
{\tiny\raise.5ex\hbox{\donotcoloroutermaths$\blacksquare$}}
|
||||
\defbeamertemplate{itemize subitem}{squarealt}%
|
||||
{\tiny\raise.4ex\hbox{\donotcoloroutermaths$\square$}}
|
||||
\defbeamertemplate{itemize subsubitem}{squarealt}%
|
||||
{\tiny\raise.3ex\hbox{\donotcoloroutermaths$\blacksquare$}}
|
||||
|
||||
\defbeamertemplate{itemize item}{circlealt}%
|
||||
{\small\raise.2ex\hbox{\donotcoloroutermaths$\bullet$}}
|
||||
\defbeamertemplate{itemize subitem}{circlealt}%
|
||||
{\small\raise.1ex\hbox{\donotcoloroutermaths$\circ$}}
|
||||
\defbeamertemplate{itemize subsubitem}{circlealt}%
|
||||
{\scriptsize\raise.1ex\hbox{\donotcoloroutermaths$\bullet$}}
|
||||
|
||||
\def\circletext{circle}
|
||||
\ifx\beamer@fancy@bullet\circletext
|
||||
\setbeamertemplate{items}[circlealt]
|
||||
\else
|
||||
\setbeamertemplate{items}[squarealt]
|
||||
\fi
|
||||
|
||||
\mode<all>
|
||||
|
166
doc/presentation/source-training/beamerouterthemedecolines.sty
Normal file
|
@ -0,0 +1,166 @@
|
|||
% Copyright 2007 by Marco Barisione
|
||||
%
|
||||
% This file may be distributed and/or modified
|
||||
%
|
||||
% 1. under the LaTeX Project Public License and/or
|
||||
% 2. under the GNU Public License.
|
||||
|
||||
\mode<presentation>
|
||||
|
||||
% String used between the current page and the total page count.
|
||||
\def\beamer@decolines@pageofpages{/}
|
||||
\DeclareOptionBeamer{pageofpages}{\def\beamer@decolines@pageofpages{#1}}
|
||||
|
||||
% Show a line below the frame title.
|
||||
\DeclareOptionBeamer{titleline}[true]{\def\beamer@decolines@titleline{#1}}
|
||||
|
||||
% Image used for the watermark.
|
||||
\def\beamer@decolines@watermarkorig{}
|
||||
\DeclareOptionBeamer{watermark}{\def\beamer@decolines@watermarkorig{#1}}
|
||||
|
||||
% Height of the watermark.
|
||||
\def\beamer@decolines@watermarkheight{100px}
|
||||
\DeclareOptionBeamer{watermarkheight}{\def\beamer@decolines@watermarkheight{#1}}
|
||||
|
||||
% The original image height is watermarkheightmult * watermarkheight.
|
||||
\def\beamer@decolines@watermarkheightmult{1}
|
||||
\DeclareOptionBeamer{watermarkheightmult}{\def\beamer@decolines@watermarkheightmult{#1}}
|
||||
|
||||
\ExecuteOptionsBeamer{titleline=false}
|
||||
\ProcessOptionsBeamer
|
||||
|
||||
% Enable/disable the watermark.
|
||||
\def\watermarkon{%
|
||||
\def\beamer@decolines@watermark{\beamer@decolines@watermarkorig}%
|
||||
}
|
||||
\def\watermarkoff{\def\beamer@decolines@watermark{}}
|
||||
|
||||
% Initially enable the watermark.
|
||||
\watermarkon
|
||||
|
||||
% Colors.
|
||||
\setbeamercolor*{lineup}{parent=palette primary}
|
||||
\setbeamercolor*{linemid}{parent=palette secondary}
|
||||
\setbeamercolor*{linebottom}{parent=palette tertiary}
|
||||
\setbeamercolor*{page header}{parent=titlelike}
|
||||
|
||||
% Lengths
|
||||
\newlength{\headerheight}
|
||||
\setlength{\headerheight}{.045\paperheight}
|
||||
\newlength{\beamer@decolines@lineup}
|
||||
\setlength{\beamer@decolines@lineup}{.025\paperheight}
|
||||
\newlength{\beamer@decolines@linemid}
|
||||
\setlength{\beamer@decolines@linemid}{.015\paperheight}
|
||||
\newlength{\beamer@decolines@linebottom}
|
||||
\setlength{\beamer@decolines@linebottom}{.01\paperheight}
|
||||
|
||||
% The height of the watermark part below the 3 bottom lines.
|
||||
\newlength{\beamer@decolines@watermarkheightbottom}
|
||||
\addtolength{\beamer@decolines@watermarkheightbottom}{\beamer@decolines@lineup}
|
||||
\addtolength{\beamer@decolines@watermarkheightbottom}{\beamer@decolines@linemid}
|
||||
\addtolength{\beamer@decolines@watermarkheightbottom}{\beamer@decolines@linebottom}
|
||||
|
||||
% The height of the watermark part over the 3 bottom lines before shrinking.
|
||||
\newlength{\beamer@decolines@watermarkheightupperorig}
|
||||
\setlength{\beamer@decolines@watermarkheightupperorig}{\beamer@decolines@watermarkheight}
|
||||
\addtolength{\beamer@decolines@watermarkheightupperorig}{-\beamer@decolines@watermarkheightbottom}
|
||||
\multiply\beamer@decolines@watermarkheightupperorig by \beamer@decolines@watermarkheightmult
|
||||
|
||||
% Footer.
|
||||
\defbeamertemplate*{footline}{decolines theme}
|
||||
{
|
||||
\leavevmode%
|
||||
% Page number.
|
||||
\hbox{%
|
||||
\begin{beamercolorbox}[wd=.2\paperwidth,ht=0ex,dp=0ex,center]{}%
|
||||
\usebeamerfont{palette primary}\insertframenumber{} \beamer@decolines@pageofpages{} \inserttotalframenumber%
|
||||
\end{beamercolorbox}%
|
||||
\begin{beamercolorbox}[wd=.8\paperwidth,ht=0ex,dp=0ex]{}%
|
||||
\end{beamercolorbox}%
|
||||
} %
|
||||
% First line.
|
||||
\hbox{%
|
||||
\begin{beamercolorbox}[wd=.2\paperwidth,ht=\beamer@decolines@lineup,dp=0pt]{}%
|
||||
\end{beamercolorbox}%
|
||||
\begin{beamercolorbox}[wd=.8\paperwidth,ht=\beamer@decolines@lineup,dp=0pt]{lineup}%
|
||||
\end{beamercolorbox}%
|
||||
} %
|
||||
% Second line.
|
||||
\hbox{%
|
||||
\begin{beamercolorbox}[wd=\paperwidth,ht=\beamer@decolines@linemid,dp=0pt]{linemid}%
|
||||
\end{beamercolorbox}%
|
||||
} %
|
||||
% Third line.
|
||||
\hbox{%
|
||||
\begin{beamercolorbox}[wd=.1\paperwidth,ht=\beamer@decolines@linebottom,dp=0pt]{}%
|
||||
\end{beamercolorbox}%
|
||||
\begin{beamercolorbox}[wd=.9\paperwidth,ht=\beamer@decolines@linebottom,dp=0pt]{linebottom}%
|
||||
\end{beamercolorbox}%
|
||||
}%
|
||||
% This seems to fix some alignment problems with the watermark. It has to be
|
||||
% always applied if you do not want to see the footer moving up and down when
|
||||
% moving from a page with watermark to a page without or vice versa.
|
||||
\vskip-.5px%
|
||||
% Watermark.
|
||||
\if\beamer@decolines@watermark\@empty\else%
|
||||
\vskip-\beamer@decolines@watermarkheightbottom%
|
||||
\llap{\includegraphics[height=\beamer@decolines@watermarkheightbottom,clip=true,%
|
||||
trim=0pt 0pt 0pt \beamer@decolines@watermarkheightupperorig]{\beamer@decolines@watermark}\hskip-\paperwidth}%
|
||||
\fi%
|
||||
}
|
||||
|
||||
\defbeamertemplate*{headline}{decolines theme}
|
||||
{
|
||||
\leavevmode%
|
||||
\hbox{%
|
||||
\begin{beamercolorbox}[wd=\paperwidth,ht=\headerheight,dp=0pt]{page header}%
|
||||
\end{beamercolorbox}%
|
||||
} %
|
||||
\vskip0pt%
|
||||
}
|
||||
|
||||
\defbeamertemplate*{frametitle}{decolines 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@decolines@truetext{true}%
|
||||
\ifx\beamer@decolines@titleline\beamer@decolines@truetext%
|
||||
\vskip-.5\beamer@leftmargin%
|
||||
\begin{beamercolorbox}[wd=\textwidth,ht=.1ex,dp=0ex]{linemid}%
|
||||
\end{beamercolorbox}%
|
||||
\fi
|
||||
}
|
||||
|
||||
% Frame title continuations, default
|
||||
\defbeamertemplate*{frametitle continuation}{decolines theme}{(\insertcontinuationcount)}
|
||||
|
||||
\defbeamertemplate*{sidebar right}{decolines theme}
|
||||
{
|
||||
\vskip.1\beamer@leftmargin%
|
||||
\llap{\insertlogo\hskip.5\beamer@leftmargin}%
|
||||
\vfill%
|
||||
\if\beamer@decolines@watermark\@empty\else%
|
||||
\llap{\includegraphics[height=\beamer@decolines@watermarkheight]{\beamer@decolines@watermark}}%
|
||||
\vskip-\beamer@decolines@watermarkheightbottom%
|
||||
\fi
|
||||
}
|
||||
|
||||
\mode
|
||||
<all>
|
28
doc/presentation/source-training/beamerthemeTorino.sty
Normal file
|
@ -0,0 +1,28 @@
|
|||
% Copyright 2007 by Marco Barisione
|
||||
%
|
||||
% This file may be distributed and/or modified
|
||||
%
|
||||
% 1. under the LaTeX Project Public License and/or
|
||||
% 2. under the GNU Public License.
|
||||
|
||||
\mode<presentation>
|
||||
|
||||
\DeclareOptionBeamer{alternativetitlepage}[true]{\PassOptionsToPackage{alternativetitlepage=#1}{beamerinnerthemefancy}}
|
||||
\DeclareOptionBeamer{titlepagelogo}{\PassOptionsToPackage{titlepagelogo=#1}{beamerinnerthemefancy}}
|
||||
\DeclareOptionBeamer{bullet}{\PassOptionsToPackage{bullet=#1}{beamerinnerthemefancy}}
|
||||
\DeclareOptionBeamer{pageofpages}{\PassOptionsToPackage{pageofpages=#1}{beamerouterthemedecolines}}
|
||||
\DeclareOptionBeamer{titleline}[true]{\PassOptionsToPackage{titleline=#1}{beamerouterthemedecolines}}
|
||||
\DeclareOptionBeamer{watermark}{\PassOptionsToPackage{watermark=#1}{beamerouterthemedecolines}}
|
||||
\DeclareOptionBeamer{watermarkheight}{\PassOptionsToPackage{watermarkheight=#1}{beamerouterthemedecolines}}
|
||||
\DeclareOptionBeamer{watermarkheightmult}{\PassOptionsToPackage{watermarkheightmult=#1}{beamerouterthemedecolines}}
|
||||
|
||||
\ProcessOptionsBeamer
|
||||
|
||||
\useinnertheme{fancy}
|
||||
\useoutertheme{decolines}
|
||||
\usecolortheme{chameleon}
|
||||
|
||||
\setbeamertemplate{navigation symbols}{}
|
||||
|
||||
\mode
|
||||
<all>
|
1
doc/presentation/source-training/clean.sh
Executable file
|
@ -0,0 +1 @@
|
|||
rm *.aux *.listing *.log *.nav *.out *.snm *.toc *.vrb
|
|
@ -0,0 +1,30 @@
|
|||
% Copyright 2007 by Marco Barisione
|
||||
%
|
||||
% This file may be distributed and/or modified
|
||||
%
|
||||
% 1. under the LaTeX Project Public License and/or
|
||||
% 2. under the GNU Public License.
|
||||
|
||||
\mode<presentation>
|
||||
|
||||
%\definecolor{chameleongreen1}{RGB}{129,138,143} %grey CIRCL
|
||||
\definecolor{chameleongreen1}{RGB}{213,43,30}
|
||||
\definecolor{chameleongreen2}{RGB}{213,43,30} %red CIRCL
|
||||
\definecolor{chameleongreen3}{RGB}{30,30,30} %black CIRCL
|
||||
\definecolor{chameleongreen4}{RGB}{129,138,143}
|
||||
|
||||
\setbeamercolor*{palette primary}{fg=white,bg=chameleongreen2}
|
||||
\setbeamercolor*{palette secondary}{fg=white,bg=chameleongreen3}
|
||||
\setbeamercolor*{palette tertiary}{fg=white,bg=chameleongreen4}
|
||||
\setbeamercolor*{palette quaternary}{fg=white,bg=chameleongreen1}
|
||||
|
||||
\setbeamercolor*{titlelike}{bg=chameleongreen3}
|
||||
\setbeamercolor*{frametitle}{bg=black,fg=black}
|
||||
\setbeamercolor*{part title}{bg=black,fg=black}
|
||||
\setbeamercolor*{item}{fg=chameleongreen3}
|
||||
|
||||
\setbeamercolor*{separation line}{}
|
||||
\setbeamercolor*{fine separation line}{}
|
||||
|
||||
\mode
|
||||
<all>
|
|
@ -0,0 +1,182 @@
|
|||
% Copyright 2007 by Marco Barisione
|
||||
%
|
||||
% This file may be distributed and/or modified
|
||||
%
|
||||
% 1. under the LaTeX Project Public License and/or
|
||||
% 2. under the GNU Public License.
|
||||
|
||||
\mode<presentation>
|
||||
|
||||
% Use alternative title page style.
|
||||
\DeclareOptionBeamer{alternativetitlepage}[true]{\def\beamer@fancy@alternativetitlepage{#1}}
|
||||
|
||||
% Logo to use in the alternative title page.
|
||||
\def\beamer@fancy@titlepagelogo{}
|
||||
\DeclareOptionBeamer{titlepagelogo}{\def\beamer@fancy@titlepagelogo{#1}}
|
||||
|
||||
% Bullet shape.
|
||||
\DeclareOptionBeamer{bullet}{\def\beamer@fancy@bullet{#1}}
|
||||
|
||||
\ExecuteOptionsBeamer{alternativetitlepage=false,bullet=square}
|
||||
\ProcessOptionsBeamer
|
||||
|
||||
% Colors.
|
||||
\setbeamercolor*{lineup}{parent=palette primary}
|
||||
\setbeamercolor*{linemid}{parent=palette secondary}
|
||||
\setbeamercolor*{linebottom}{parent=palette tertiary}
|
||||
\setbeamercolor*{title page header}{parent=palette quaternary}
|
||||
|
||||
% Lengths.
|
||||
\newlength{\beamer@fancy@lineup}
|
||||
\setlength{\beamer@fancy@lineup}{.025\paperheight}
|
||||
\newlength{\beamer@fancy@linemid}
|
||||
\setlength{\beamer@fancy@linemid}{.015\paperheight}
|
||||
\newlength{\beamer@fancy@linebottom}
|
||||
\setlength{\beamer@fancy@linebottom}{.01\paperheight}
|
||||
|
||||
% Margins.
|
||||
\newlength{\beamer@fancy@normalmargin}
|
||||
\setlength{\beamer@fancy@normalmargin}{.06\paperwidth}
|
||||
\setbeamersize{text margin left=\beamer@fancy@normalmargin}
|
||||
\setbeamersize{text margin right=\beamer@fancy@normalmargin}
|
||||
\setlength\leftmargini{.6\beamer@fancy@normalmargin}
|
||||
\setlength\leftmarginii{.6\beamer@fancy@normalmargin}
|
||||
\setlength\leftmarginiii{.6\beamer@fancy@normalmargin}
|
||||
|
||||
% Normal title page.
|
||||
\defbeamertemplate*{title page normal}{fancy theme}[1][]
|
||||
{
|
||||
\vbox{}
|
||||
\vfill
|
||||
\begin{centering}
|
||||
\begin{beamercolorbox}[wd=\paperwidth,sep=8pt,center,#1]{title page header}
|
||||
\usebeamerfont{title}\inserttitle\par%
|
||||
\ifx\insertsubtitle\@empty%
|
||||
\else%
|
||||
\vskip0.25em%
|
||||
{\usebeamerfont{subtitle}\usebeamercolor[fg]{subtitle}\insertsubtitle\par}%
|
||||
\fi%
|
||||
\end{beamercolorbox}%
|
||||
\vskip1em\par
|
||||
\begin{beamercolorbox}[sep=8pt,center,#1]{author}
|
||||
\usebeamerfont{author}\insertauthor
|
||||
\end{beamercolorbox}
|
||||
\begin{beamercolorbox}[sep=8pt,center,#1]{institute}
|
||||
\usebeamerfont{institute}\insertinstitute
|
||||
\end{beamercolorbox}
|
||||
\begin{beamercolorbox}[sep=8pt,center,#1]{date}
|
||||
\usebeamerfont{date}\insertdate
|
||||
\end{beamercolorbox}\vskip0.5em
|
||||
{\usebeamercolor[fg]{titlegraphic}\inserttitlegraphic\par}
|
||||
\end{centering}
|
||||
\vfill
|
||||
}
|
||||
|
||||
% Alternative title page, you should use this in a frame with the [plain]
|
||||
% option.
|
||||
\defbeamertemplate*{title page alternative}{fancy theme}[1][]
|
||||
{
|
||||
{\parskip0pt\offinterlineskip%
|
||||
\hbox{\hskip-\Gm@lmargin\hbox{\vbox{%
|
||||
\@tempdima=\textwidth\textwidth=\paperwidth\hsize=\textwidth\def\\{,}\vbox{}\vskip-1.5ex%
|
||||
% Title.
|
||||
\begin{beamercolorbox}[wd=\paperwidth,ht=.4\paperheight,center,#1]{title page header}
|
||||
\usebeamerfont{title}\inserttitle\par%
|
||||
\ifx\insertsubtitle\@empty%
|
||||
\else%
|
||||
\vskip0.25em%
|
||||
{\usebeamerfont{subtitle}\usebeamercolor[fg]{subtitle}\insertsubtitle\par}%
|
||||
\fi%
|
||||
\vspace{.125\paperheight}%
|
||||
\end{beamercolorbox}%
|
||||
\vbox{}\vskip-\beamer@fancy@lineup%
|
||||
\vbox{}\vskip-\beamer@fancy@linemid%
|
||||
% First line.
|
||||
\hbox{%
|
||||
\begin{beamercolorbox}[wd=.2\paperwidth,ht=\beamer@fancy@lineup,dp=0pt]{}%
|
||||
\end{beamercolorbox}%
|
||||
\begin{beamercolorbox}[wd=.8\paperwidth,ht=\beamer@fancy@lineup,dp=0pt]{lineup}%
|
||||
\end{beamercolorbox}%
|
||||
}%
|
||||
\vbox{}\vskip0ex%
|
||||
% Second line.
|
||||
\hbox{%
|
||||
\begin{beamercolorbox}[wd=.1\paperwidth,ht=\beamer@fancy@linemid,dp=0pt]{}%
|
||||
\end{beamercolorbox}%
|
||||
\begin{beamercolorbox}[wd=.9\paperwidth,ht=\beamer@fancy@linemid,dp=0pt]{linemid}%
|
||||
\end{beamercolorbox}%
|
||||
}%
|
||||
% Third line.
|
||||
\hbox{%
|
||||
\begin{beamercolorbox}[wd=.5\paperwidth,ht=\beamer@fancy@linebottom,dp=0pt]{}%
|
||||
\end{beamercolorbox}%
|
||||
\begin{beamercolorbox}[wd=.5\paperwidth,ht=\beamer@fancy@linebottom,dp=0pt]{linebottom}%
|
||||
\end{beamercolorbox}%
|
||||
}%
|
||||
\vskip0pt%
|
||||
}}%
|
||||
\hskip-\Gm@rmargin%
|
||||
}}\hfil%
|
||||
%
|
||||
\begin{columns}
|
||||
\ifx\beamer@fancy@titlepagelogo\@empty%
|
||||
\column{\textwidth}
|
||||
\else
|
||||
\column{.5\textwidth}
|
||||
% Logo.
|
||||
\begin{centering}
|
||||
\vbox{}\vfill
|
||||
\includegraphics[height=.2\paperheight]{\beamer@fancy@titlepagelogo}
|
||||
\vfill
|
||||
\end{centering}
|
||||
\column{.5\textwidth}
|
||||
\fi
|
||||
% Authors, institute and date
|
||||
\vskip1em\par
|
||||
\begin{beamercolorbox}[sep=8pt,center,#1]{author}
|
||||
\usebeamerfont{author}\insertauthor
|
||||
\end{beamercolorbox}
|
||||
\begin{beamercolorbox}[sep=8pt,center,#1]{institute}
|
||||
\usebeamerfont{institute}\insertinstitute
|
||||
\end{beamercolorbox}
|
||||
\begin{beamercolorbox}[sep=8pt,center,#1]{date}
|
||||
\usebeamerfont{date}\insertdate
|
||||
\end{beamercolorbox}\vskip0.5em
|
||||
{\usebeamercolor[fg]{titlegraphic}\inserttitlegraphic\par}
|
||||
\end{columns}
|
||||
}
|
||||
|
||||
\defbeamertemplate*{title page}{fancy}[1][]
|
||||
{
|
||||
\def\beamer@fancy@truetext{true}%
|
||||
\ifx\beamer@fancy@alternativetitlepage\beamer@fancy@truetext%
|
||||
\usebeamertemplate{title page alternative}%
|
||||
\else%
|
||||
\usebeamertemplate{title page normal}%
|
||||
\fi%
|
||||
}
|
||||
|
||||
% Items.
|
||||
\defbeamertemplate{itemize item}{squarealt}%
|
||||
{\tiny\raise.5ex\hbox{\donotcoloroutermaths$\blacksquare$}}
|
||||
\defbeamertemplate{itemize subitem}{squarealt}%
|
||||
{\tiny\raise.4ex\hbox{\donotcoloroutermaths$\square$}}
|
||||
\defbeamertemplate{itemize subsubitem}{squarealt}%
|
||||
{\tiny\raise.3ex\hbox{\donotcoloroutermaths$\blacksquare$}}
|
||||
|
||||
\defbeamertemplate{itemize item}{circlealt}%
|
||||
{\small\raise.2ex\hbox{\donotcoloroutermaths$\bullet$}}
|
||||
\defbeamertemplate{itemize subitem}{circlealt}%
|
||||
{\small\raise.1ex\hbox{\donotcoloroutermaths$\circ$}}
|
||||
\defbeamertemplate{itemize subsubitem}{circlealt}%
|
||||
{\scriptsize\raise.1ex\hbox{\donotcoloroutermaths$\bullet$}}
|
||||
|
||||
\def\circletext{circle}
|
||||
\ifx\beamer@fancy@bullet\circletext
|
||||
\setbeamertemplate{items}[circlealt]
|
||||
\else
|
||||
\setbeamertemplate{items}[squarealt]
|
||||
\fi
|
||||
|
||||
\mode<all>
|
||||
|
|
@ -0,0 +1,166 @@
|
|||
% Copyright 2007 by Marco Barisione
|
||||
%
|
||||
% This file may be distributed and/or modified
|
||||
%
|
||||
% 1. under the LaTeX Project Public License and/or
|
||||
% 2. under the GNU Public License.
|
||||
|
||||
\mode<presentation>
|
||||
|
||||
% String used between the current page and the total page count.
|
||||
\def\beamer@decolines@pageofpages{/}
|
||||
\DeclareOptionBeamer{pageofpages}{\def\beamer@decolines@pageofpages{#1}}
|
||||
|
||||
% Show a line below the frame title.
|
||||
\DeclareOptionBeamer{titleline}[true]{\def\beamer@decolines@titleline{#1}}
|
||||
|
||||
% Image used for the watermark.
|
||||
\def\beamer@decolines@watermarkorig{}
|
||||
\DeclareOptionBeamer{watermark}{\def\beamer@decolines@watermarkorig{#1}}
|
||||
|
||||
% Height of the watermark.
|
||||
\def\beamer@decolines@watermarkheight{100px}
|
||||
\DeclareOptionBeamer{watermarkheight}{\def\beamer@decolines@watermarkheight{#1}}
|
||||
|
||||
% The original image height is watermarkheightmult * watermarkheight.
|
||||
\def\beamer@decolines@watermarkheightmult{1}
|
||||
\DeclareOptionBeamer{watermarkheightmult}{\def\beamer@decolines@watermarkheightmult{#1}}
|
||||
|
||||
\ExecuteOptionsBeamer{titleline=false}
|
||||
\ProcessOptionsBeamer
|
||||
|
||||
% Enable/disable the watermark.
|
||||
\def\watermarkon{%
|
||||
\def\beamer@decolines@watermark{\beamer@decolines@watermarkorig}%
|
||||
}
|
||||
\def\watermarkoff{\def\beamer@decolines@watermark{}}
|
||||
|
||||
% Initially enable the watermark.
|
||||
\watermarkon
|
||||
|
||||
% Colors.
|
||||
\setbeamercolor*{lineup}{parent=palette primary}
|
||||
\setbeamercolor*{linemid}{parent=palette secondary}
|
||||
\setbeamercolor*{linebottom}{parent=palette tertiary}
|
||||
\setbeamercolor*{page header}{parent=titlelike}
|
||||
|
||||
% Lengths
|
||||
\newlength{\headerheight}
|
||||
\setlength{\headerheight}{.045\paperheight}
|
||||
\newlength{\beamer@decolines@lineup}
|
||||
\setlength{\beamer@decolines@lineup}{.025\paperheight}
|
||||
\newlength{\beamer@decolines@linemid}
|
||||
\setlength{\beamer@decolines@linemid}{.015\paperheight}
|
||||
\newlength{\beamer@decolines@linebottom}
|
||||
\setlength{\beamer@decolines@linebottom}{.01\paperheight}
|
||||
|
||||
% The height of the watermark part below the 3 bottom lines.
|
||||
\newlength{\beamer@decolines@watermarkheightbottom}
|
||||
\addtolength{\beamer@decolines@watermarkheightbottom}{\beamer@decolines@lineup}
|
||||
\addtolength{\beamer@decolines@watermarkheightbottom}{\beamer@decolines@linemid}
|
||||
\addtolength{\beamer@decolines@watermarkheightbottom}{\beamer@decolines@linebottom}
|
||||
|
||||
% The height of the watermark part over the 3 bottom lines before shrinking.
|
||||
\newlength{\beamer@decolines@watermarkheightupperorig}
|
||||
\setlength{\beamer@decolines@watermarkheightupperorig}{\beamer@decolines@watermarkheight}
|
||||
\addtolength{\beamer@decolines@watermarkheightupperorig}{-\beamer@decolines@watermarkheightbottom}
|
||||
\multiply\beamer@decolines@watermarkheightupperorig by \beamer@decolines@watermarkheightmult
|
||||
|
||||
% Footer.
|
||||
\defbeamertemplate*{footline}{decolines theme}
|
||||
{
|
||||
\leavevmode%
|
||||
% Page number.
|
||||
\hbox{%
|
||||
\begin{beamercolorbox}[wd=.2\paperwidth,ht=0ex,dp=0ex,center]{}%
|
||||
\usebeamerfont{palette primary}\insertframenumber{} \beamer@decolines@pageofpages{} \inserttotalframenumber%
|
||||
\end{beamercolorbox}%
|
||||
\begin{beamercolorbox}[wd=.8\paperwidth,ht=0ex,dp=0ex]{}%
|
||||
\end{beamercolorbox}%
|
||||
} %
|
||||
% First line.
|
||||
\hbox{%
|
||||
\begin{beamercolorbox}[wd=.2\paperwidth,ht=\beamer@decolines@lineup,dp=0pt]{}%
|
||||
\end{beamercolorbox}%
|
||||
\begin{beamercolorbox}[wd=.8\paperwidth,ht=\beamer@decolines@lineup,dp=0pt]{lineup}%
|
||||
\end{beamercolorbox}%
|
||||
} %
|
||||
% Second line.
|
||||
\hbox{%
|
||||
\begin{beamercolorbox}[wd=\paperwidth,ht=\beamer@decolines@linemid,dp=0pt]{linemid}%
|
||||
\end{beamercolorbox}%
|
||||
} %
|
||||
% Third line.
|
||||
\hbox{%
|
||||
\begin{beamercolorbox}[wd=.1\paperwidth,ht=\beamer@decolines@linebottom,dp=0pt]{}%
|
||||
\end{beamercolorbox}%
|
||||
\begin{beamercolorbox}[wd=.9\paperwidth,ht=\beamer@decolines@linebottom,dp=0pt]{linebottom}%
|
||||
\end{beamercolorbox}%
|
||||
}%
|
||||
% This seems to fix some alignment problems with the watermark. It has to be
|
||||
% always applied if you do not want to see the footer moving up and down when
|
||||
% moving from a page with watermark to a page without or vice versa.
|
||||
\vskip-.5px%
|
||||
% Watermark.
|
||||
\if\beamer@decolines@watermark\@empty\else%
|
||||
\vskip-\beamer@decolines@watermarkheightbottom%
|
||||
\llap{\includegraphics[height=\beamer@decolines@watermarkheightbottom,clip=true,%
|
||||
trim=0pt 0pt 0pt \beamer@decolines@watermarkheightupperorig]{\beamer@decolines@watermark}\hskip-\paperwidth}%
|
||||
\fi%
|
||||
}
|
||||
|
||||
\defbeamertemplate*{headline}{decolines theme}
|
||||
{
|
||||
\leavevmode%
|
||||
\hbox{%
|
||||
\begin{beamercolorbox}[wd=\paperwidth,ht=\headerheight,dp=0pt]{page header}%
|
||||
\end{beamercolorbox}%
|
||||
} %
|
||||
\vskip0pt%
|
||||
}
|
||||
|
||||
\defbeamertemplate*{frametitle}{decolines 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@decolines@truetext{true}%
|
||||
\ifx\beamer@decolines@titleline\beamer@decolines@truetext%
|
||||
\vskip-.5\beamer@leftmargin%
|
||||
\begin{beamercolorbox}[wd=\textwidth,ht=.1ex,dp=0ex]{linemid}%
|
||||
\end{beamercolorbox}%
|
||||
\fi
|
||||
}
|
||||
|
||||
% Frame title continuations, default
|
||||
\defbeamertemplate*{frametitle continuation}{decolines theme}{(\insertcontinuationcount)}
|
||||
|
||||
\defbeamertemplate*{sidebar right}{decolines theme}
|
||||
{
|
||||
\vskip.1\beamer@leftmargin%
|
||||
\llap{\insertlogo\hskip.5\beamer@leftmargin}%
|
||||
\vfill%
|
||||
\if\beamer@decolines@watermark\@empty\else%
|
||||
\llap{\includegraphics[height=\beamer@decolines@watermarkheight]{\beamer@decolines@watermark}}%
|
||||
\vskip-\beamer@decolines@watermarkheightbottom%
|
||||
\fi
|
||||
}
|
||||
|
||||
\mode
|
||||
<all>
|
|
@ -0,0 +1,28 @@
|
|||
% Copyright 2007 by Marco Barisione
|
||||
%
|
||||
% This file may be distributed and/or modified
|
||||
%
|
||||
% 1. under the LaTeX Project Public License and/or
|
||||
% 2. under the GNU Public License.
|
||||
|
||||
\mode<presentation>
|
||||
|
||||
\DeclareOptionBeamer{alternativetitlepage}[true]{\PassOptionsToPackage{alternativetitlepage=#1}{beamerinnerthemefancy}}
|
||||
\DeclareOptionBeamer{titlepagelogo}{\PassOptionsToPackage{titlepagelogo=#1}{beamerinnerthemefancy}}
|
||||
\DeclareOptionBeamer{bullet}{\PassOptionsToPackage{bullet=#1}{beamerinnerthemefancy}}
|
||||
\DeclareOptionBeamer{pageofpages}{\PassOptionsToPackage{pageofpages=#1}{beamerouterthemedecolines}}
|
||||
\DeclareOptionBeamer{titleline}[true]{\PassOptionsToPackage{titleline=#1}{beamerouterthemedecolines}}
|
||||
\DeclareOptionBeamer{watermark}{\PassOptionsToPackage{watermark=#1}{beamerouterthemedecolines}}
|
||||
\DeclareOptionBeamer{watermarkheight}{\PassOptionsToPackage{watermarkheight=#1}{beamerouterthemedecolines}}
|
||||
\DeclareOptionBeamer{watermarkheightmult}{\PassOptionsToPackage{watermarkheightmult=#1}{beamerouterthemedecolines}}
|
||||
|
||||
\ProcessOptionsBeamer
|
||||
|
||||
\useinnertheme{fancy}
|
||||
\useoutertheme{decolines}
|
||||
\usecolortheme{chameleon}
|
||||
|
||||
\setbeamertemplate{navigation symbols}{}
|
||||
|
||||
\mode
|
||||
<all>
|
|
@ -0,0 +1,148 @@
|
|||
\documentclass{beamer}
|
||||
\usetheme[pageofpages=of,% String used between the current page and the
|
||||
% total page count.
|
||||
bullet=circle,% Use circles instead of squares for bullets.
|
||||
titleline=true,% Show a line below the frame title.
|
||||
alternativetitlepage=true,% Use the fancy title page.
|
||||
titlepagelogo=logo-circl.pdf,% Logo for the first page.
|
||||
% watermark=watermark-polito,% Watermark used in every page.
|
||||
% watermarkheight=100px,% Height of the watermark.
|
||||
% watermarkheightmult=4,% The watermark image is 4 times bigger
|
||||
% than watermarkheight.
|
||||
]{Torino}
|
||||
|
||||
\usepackage[utf8x]{inputenc}
|
||||
\usepackage{listings}
|
||||
\usepackage{soul}
|
||||
\usepackage{siunitx}
|
||||
\usepackage{booktabs}
|
||||
%\lstset{
|
||||
% backgroundcolor=\color{white}, % choose the background color; you must add \usepackage{color} or \usepackage{xcolor}
|
||||
% basicstyle=\footnotesize, % the size of the fonts that are used for the code
|
||||
% breakatwhitespace=false
|
||||
%}
|
||||
|
||||
\usepackage{tikz}
|
||||
\usetikzlibrary{shapes,snakes,automata,positioning}
|
||||
|
||||
\usepackage{xcolor}
|
||||
\usepackage{colortbl}
|
||||
\definecolor{mygreen}{rgb}{0,0.6,0}
|
||||
\definecolor{mygreen2}{rgb}{0,0.56,0.16}
|
||||
\definecolor{myred}{rgb}{0.6,0.066,0.066}
|
||||
\definecolor{redCIRCL}{RGB}{213,43,30}
|
||||
\definecolor{mygray}{rgb}{0.5,0.5,0.5}
|
||||
\definecolor{mymauve}{rgb}{0.58,0,0.82}
|
||||
\definecolor{mygray}{gray}{0.9}
|
||||
\definecolor{mywhite}{rgb}{1,1,1}
|
||||
\definecolor{myblack}{rgb}{0,0,0}
|
||||
\definecolor{mybeige}{HTML}{eeeeee}
|
||||
%\usepackage{tcolorbox}
|
||||
\usepackage[listings]{tcolorbox}
|
||||
\tcbuselibrary{listings}
|
||||
|
||||
\lstdefinestyle{code}{ %
|
||||
backgroundcolor=\color{mybeige}, % choose the background color; you must add \usepackage{color} or \usepackage{xcolor}; should come as last argument
|
||||
basicstyle=\footnotesize\ttfamily, % the size of the fonts that are used for the code
|
||||
breakatwhitespace=false, % sets if automatic breaks should only happen at whitespace
|
||||
breaklines=true, % sets automatic line breaking
|
||||
captionpos=b, % sets the caption-position to bottom
|
||||
commentstyle=\color{mygreen}, % comment style
|
||||
deletekeywords={...}, % if you want to delete keywords from the given language
|
||||
escapeinside={\%*}{*)}, % if you want to add LaTeX within your code
|
||||
extendedchars=true, % lets you use non-ASCII characters; for 8-bits encodings only, does not work with UTF-8
|
||||
frame=single, % adds a frame around the code
|
||||
keepspaces=true, % keeps spaces in text, useful for keeping indentation of code (possibly needs columns=flexible)
|
||||
keywordstyle=\color{blue}, % keyword style
|
||||
language=Python, % the language of the code
|
||||
morekeywords={*,...}, % if you want to add more keywords to the set
|
||||
numbers=left, % where to put the line-numbers; possible values are (none, left, right)
|
||||
numbersep=5pt, % how far the line-numbers are from the code
|
||||
numberstyle=\tiny\color{myblack}, % the style that is used for the line-numbers
|
||||
rulecolor=\color{black}, % if not set, the frame-color may be changed on line-breaks within not-black text (e.g. comments (green here))
|
||||
showspaces=false, % show spaces everywhere adding particular underscores; it overrides 'showstringspaces'
|
||||
showstringspaces=false, % underline spaces within strings only
|
||||
showtabs=false, % show tabs within strings adding particular underscores
|
||||
stepnumber=1, % the step between two line-numbers. If it's 1, each line will be numbered
|
||||
stringstyle=\color{mymauve}, % string literal style
|
||||
tabsize=2, % sets default tabsize to 2 spaces
|
||||
title=\lstname % show the filename of files included with \lstinputlisting; also try caption instead of title
|
||||
}
|
||||
\lstdefinestyle{bash}{ %
|
||||
backgroundcolor=\color{black!85}, % choose the background color; you must add \usepackage{color} or \usepackage{xcolor}; should come as last argument
|
||||
basicstyle=\footnotesize\color{mywhite}, % the size of the fonts that are used for the code
|
||||
breakatwhitespace=false, % sets if automatic breaks should only happen at whitespace
|
||||
breaklines=true, % sets automatic line breaking
|
||||
captionpos=b, % sets the caption-position to bottom
|
||||
commentstyle=\color{mygreen}, % comment style
|
||||
deletekeywords={...}, % if you want to delete keywords from the given language
|
||||
escapeinside={\%*}{*)}, % if you want to add LaTeX within your code
|
||||
extendedchars=true, % lets you use non-ASCII characters; for 8-bits encodings only, does not work with UTF-8
|
||||
frame=single % adds a frame around the code
|
||||
keepspaces=true, % keeps spaces in text, useful for keeping indentation of code (possibly needs columns=flexible)
|
||||
keywordstyle=\color{white}\bfseries, % keyword style
|
||||
language=bash, % the language of the code
|
||||
morekeywords={*,$,git, clone,... }, % if you want to add more keywords to the set
|
||||
numbers=left, % where to put the line-numbers; possible values are (none, left, right)
|
||||
numbersep=5pt, % how far the line-numbers are from the code
|
||||
numberstyle=\tiny\color{mywhite}, % the style that is used for the line-numbers
|
||||
rulecolor=\color{black}, % if not set, the frame-color may be changed on line-breaks within not-black text (e.g. comments (green here))
|
||||
showspaces=false, % show spaces everywhere adding particular underscores; it overrides 'showstringspaces'
|
||||
showstringspaces=false, % underline spaces within strings only
|
||||
showtabs=false, % show tabs within strings adding particular underscores
|
||||
stepnumber=1, % the step between two line-numbers. If it's 1, each line will be numbered
|
||||
stringstyle=\color{mymauve}, % string literal style
|
||||
tabsize=2, % sets default tabsize to 2 spaces
|
||||
title=\lstname % show the filename of files included with \lstinputlisting; also try caption instead of title
|
||||
}
|
||||
\lstdefinestyle{default}{ %
|
||||
backgroundcolor=\color{white}, % choose the background color; you must add \usepackage{color} or \usepackage{xcolor}; should come as last argument
|
||||
basicstyle=\footnotesize\color{black}, % the size of the fonts that are used for the code
|
||||
breakatwhitespace=false, % sets if automatic breaks should only happen at whitespace
|
||||
breaklines=true, % sets automatic line breaking
|
||||
captionpos=b, % sets the caption-position to bottom
|
||||
commentstyle=\color{mygreen}, % comment style
|
||||
deletekeywords={...}, % if you want to delete keywords from the given language
|
||||
escapeinside={\%*}{*)}, % if you want to add LaTeX within your code
|
||||
extendedchars=true, % lets you use non-ASCII characters; for 8-bits encodings only, does not work with UTF-8
|
||||
frame=single % adds a frame around the code
|
||||
keepspaces=true, % keeps spaces in text, useful for keeping indentation of code (possibly needs columns=flexible)
|
||||
keywordstyle=\color{white}\bfseries, % keyword style
|
||||
language=bash, % the language of the code
|
||||
morekeywords={*,$,git, clone,... }, % if you want to add more keywords to the set
|
||||
numbers=left, % where to put the line-numbers; possible values are (none, left, right)
|
||||
numbersep=5pt, % how far the line-numbers are from the code
|
||||
numberstyle=\tiny\color{black}, % the style that is used for the line-numbers
|
||||
rulecolor=\color{black}, % if not set, the frame-color may be changed on line-breaks within not-black text (e.g. comments (green here))
|
||||
showspaces=false, % show spaces everywhere adding particular underscores; it overrides 'showstringspaces'
|
||||
showstringspaces=false, % underline spaces within strings only
|
||||
showtabs=false, % show tabs within strings adding particular underscores
|
||||
stepnumber=1, % the step between two line-numbers. If it's 1, each line will be numbered
|
||||
stringstyle=\color{mymauve}, % string literal style
|
||||
tabsize=2, % sets default tabsize to 2 spaces
|
||||
title=\lstname % show the filename of files included with \lstinputlisting; also try caption instead of title
|
||||
}
|
||||
\lstset{style=code}
|
||||
|
||||
|
||||
\AtBeginSection[]{
|
||||
\begin{frame}
|
||||
\vfill
|
||||
\centering
|
||||
\begin{beamercolorbox}[sep=8pt,center,shadow=true,rounded=true]{title}
|
||||
{\color{white} \usebeamerfont{title}\insertsectionhead}\par%
|
||||
\end{beamercolorbox}
|
||||
\vfill
|
||||
\end{frame}
|
||||
}
|
||||
|
||||
\author{\large{Alexandre Dulaunoy}\\ \scriptsize{alexandre.dulaunoy@circl.lu}\\ \large{Sami Mokaddem}\\ \scriptsize{sami.mokaddem@circl.lu}}
|
||||
\title{AIL Framework for Analysis of Information Leaks}
|
||||
\subtitle{Workshop - A generic analysis information leak open source software - Useful Commands}
|
||||
\institute{info@circl.lu}
|
||||
\date{\today}
|
||||
|
||||
\begin{document}
|
||||
\include{content-introduction}
|
||||
\end{document}
|
||||
|
|
@ -0,0 +1,44 @@
|
|||
% DO NOT COMPILE THIS FILE DIRECTLY!
|
||||
% This is included by the other .tex files.
|
||||
|
||||
\begin{frame}[t,plain]
|
||||
%\titlepage
|
||||
\end{frame}
|
||||
|
||||
\section{Useful commands}
|
||||
\begin{frame}
|
||||
\frametitle{Useful commands}
|
||||
|
||||
\begin{tcblisting}{colback=black!85,coltext=green,listing only, title=Setting up AIL-Framework from source, fonttitle=\bfseries}
|
||||
git clone https://github.com/CIRCL/AIL-framework.git
|
||||
cd AIL-framework
|
||||
./installing_deps.sh
|
||||
cd var/www/
|
||||
./update_thirdparty.sh
|
||||
\end{tcblisting}
|
||||
|
||||
% \begin{tcblisting}{colback=black!85,coltext=green,listing only,
|
||||
% title=Accessing the environment and starting AIL, fonttitle=\bfseries}
|
||||
%# Activate the virtualenv
|
||||
%. ./AILENV/bin/activate
|
||||
%
|
||||
%# Launch the system
|
||||
%cd bin/
|
||||
%./LAUNCH
|
||||
% # check options 1->5
|
||||
%
|
||||
%# Start web interface
|
||||
%cd var/www/
|
||||
%./Flask_server.py
|
||||
% # -> Browse http://localhost:7000/
|
||||
%\end{tcblisting}
|
||||
%
|
||||
% \lstset{style=default}
|
||||
% \begin{lstlisting}
|
||||
%Web interface (default network settings):
|
||||
% http://192.168.56.51:7000/
|
||||
%Shell/SSH:
|
||||
% ail/Password1234
|
||||
%\end{lstlisting}
|
||||
|
||||
\end{frame}
|
BIN
doc/presentation/source-training/images/MISP.png
Normal file
After Width: | Height: | Size: 10 KiB |
BIN
doc/presentation/source-training/images/ail_01.png
Normal file
After Width: | Height: | Size: 239 KiB |
BIN
doc/presentation/source-training/images/ail_02.png
Normal file
After Width: | Height: | Size: 32 KiB |
BIN
doc/presentation/source-training/images/ail_03.png
Normal file
After Width: | Height: | Size: 78 KiB |
BIN
doc/presentation/source-training/images/ail_04.png
Normal file
After Width: | Height: | Size: 52 KiB |
BIN
doc/presentation/source-training/images/ail_06.png
Normal file
After Width: | Height: | Size: 53 KiB |
BIN
doc/presentation/source-training/images/ail_07.png
Normal file
After Width: | Height: | Size: 113 KiB |
BIN
doc/presentation/source-training/images/ail_08.png
Normal file
After Width: | Height: | Size: 31 KiB |
BIN
doc/presentation/source-training/images/ail_09.png
Normal file
After Width: | Height: | Size: 149 KiB |
BIN
doc/presentation/source-training/images/ail_10.png
Normal file
After Width: | Height: | Size: 55 KiB |
BIN
doc/presentation/source-training/images/ail_11.png
Normal file
After Width: | Height: | Size: 81 KiB |
BIN
doc/presentation/source-training/images/ail_12.png
Normal file
After Width: | Height: | Size: 36 KiB |
BIN
doc/presentation/source-training/images/ail_13.png
Normal file
After Width: | Height: | Size: 31 KiB |
BIN
doc/presentation/source-training/images/ail_14.png
Normal file
After Width: | Height: | Size: 61 KiB |
BIN
doc/presentation/source-training/images/ail_15.png
Normal file
After Width: | Height: | Size: 111 KiB |
BIN
doc/presentation/source-training/images/ail_16.png
Normal file
After Width: | Height: | Size: 42 KiB |
BIN
doc/presentation/source-training/images/ail_17.png
Normal file
After Width: | Height: | Size: 45 KiB |
BIN
doc/presentation/source-training/images/ail_crf_10min.png
Normal file
After Width: | Height: | Size: 68 KiB |
BIN
doc/presentation/source-training/images/ail_empty_1min.png
Normal file
After Width: | Height: | Size: 64 KiB |
BIN
doc/presentation/source-training/images/ail_pyst_10min.png
Normal file
After Width: | Height: | Size: 66 KiB |
BIN
doc/presentation/source-training/images/alert.png
Normal file
After Width: | Height: | Size: 26 KiB |
BIN
doc/presentation/source-training/images/circl-small.png
Normal file
After Width: | Height: | Size: 13 KiB |
BIN
doc/presentation/source-training/images/crawled-ddos.png
Normal file
After Width: | Height: | Size: 358 KiB |
BIN
doc/presentation/source-training/images/dancing.png
Normal file
After Width: | Height: | Size: 5.4 KiB |
BIN
doc/presentation/source-training/images/decoded-dos.png
Normal file
After Width: | Height: | Size: 53 KiB |
BIN
doc/presentation/source-training/images/flip-table.png
Normal file
After Width: | Height: | Size: 63 KiB |
BIN
doc/presentation/source-training/images/git-pass-table.png
Normal file
After Width: | Height: | Size: 171 KiB |
BIN
doc/presentation/source-training/images/git-pass.png
Normal file
After Width: | Height: | Size: 73 KiB |
After Width: | Height: | Size: 206 KiB |
After Width: | Height: | Size: 114 KiB |
After Width: | Height: | Size: 237 KiB |
BIN
doc/presentation/source-training/images/module-data-flow.png
Normal file
After Width: | Height: | Size: 103 KiB |
BIN
doc/presentation/source-training/images/moduleManager.png
Normal file
After Width: | Height: | Size: 201 KiB |
BIN
doc/presentation/source-training/images/muscle.png
Normal file
After Width: | Height: | Size: 3.6 KiB |
BIN
doc/presentation/source-training/images/one-does-not-simply.jpeg
Normal file
After Width: | Height: | Size: 58 KiB |
BIN
doc/presentation/source-training/images/pastebin.png
Normal file
After Width: | Height: | Size: 26 KiB |
BIN
doc/presentation/source-training/images/pastebinOnion_2.png
Normal file
After Width: | Height: | Size: 46 KiB |
BIN
doc/presentation/source-training/images/pastebinOnion_3.png
Normal file
After Width: | Height: | Size: 35 KiB |
BIN
doc/presentation/source-training/images/pastebinOnion_4.png
Normal file
After Width: | Height: | Size: 35 KiB |
BIN
doc/presentation/source-training/images/pastebinOnion_5.png
Normal file
After Width: | Height: | Size: 46 KiB |
BIN
doc/presentation/source-training/images/pastebinOnion_6.png
Normal file
After Width: | Height: | Size: 37 KiB |
BIN
doc/presentation/source-training/images/pastes-ex-joke.png
Normal file
After Width: | Height: | Size: 300 KiB |
BIN
doc/presentation/source-training/images/pastes-ex.png
Normal file
After Width: | Height: | Size: 360 KiB |
BIN
doc/presentation/source-training/images/pub_1.png
Normal file
After Width: | Height: | Size: 139 KiB |
BIN
doc/presentation/source-training/images/recon-paste.png
Normal file
After Width: | Height: | Size: 68 KiB |
BIN
doc/presentation/source-training/images/sentiment.png
Normal file
After Width: | Height: | Size: 51 KiB |
BIN
doc/presentation/source-training/images/stream_exemp_cred.png
Normal file
After Width: | Height: | Size: 28 KiB |
BIN
doc/presentation/source-training/images/term-tracker-create.png
Normal file
After Width: | Height: | Size: 22 KiB |
BIN
doc/presentation/source-training/images/term-tracker.png
Normal file
After Width: | Height: | Size: 75 KiB |
BIN
doc/presentation/source-training/images/tr-46-1.png
Normal file
After Width: | Height: | Size: 160 KiB |
BIN
doc/presentation/source-training/images/tr-46.png
Normal file
After Width: | Height: | Size: 177 KiB |
BIN
doc/presentation/source-training/images/uncle-sam.jpg
Normal file
After Width: | Height: | Size: 91 KiB |
BIN
doc/presentation/source-training/logo-circl.pdf
Normal file
BIN
doc/presentation/source-training/screenshot/DashboardAIL.png
Normal file
After Width: | Height: | Size: 275 KiB |
BIN
doc/presentation/source-training/screenshot/WordtrendingAIL.png
Normal file
After Width: | Height: | Size: 151 KiB |
BIN
doc/presentation/source-training/screenshot/ail-1.png
Normal file
After Width: | Height: | Size: 111 KiB |
BIN
doc/presentation/source-training/screenshot/ail-2.png
Normal file
After Width: | Height: | Size: 24 KiB |
BIN
doc/presentation/source-training/screenshot/ail-3.png
Normal file
After Width: | Height: | Size: 59 KiB |
BIN
doc/presentation/source-training/screenshot/ail-4.png
Normal file
After Width: | Height: | Size: 80 KiB |
BIN
doc/presentation/source-training/screenshot/ail-5.png
Normal file
After Width: | Height: | Size: 51 KiB |
BIN
doc/presentation/source-training/screenshot/ail-6.png
Normal file
After Width: | Height: | Size: 34 KiB |
BIN
doc/presentation/source-training/screenshot/browse-important.png
Normal file
After Width: | Height: | Size: 145 KiB |
After Width: | Height: | Size: 50 KiB |
After Width: | Height: | Size: 94 KiB |
BIN
doc/presentation/source-training/screenshot/dashboard.png
Normal file
After Width: | Height: | Size: 322 KiB |
BIN
doc/presentation/source-training/screenshot/galaxies_list.png
Normal file
After Width: | Height: | Size: 98 KiB |
BIN
doc/presentation/source-training/screenshot/galaxy_tag_edit.png
Normal file
After Width: | Height: | Size: 128 KiB |
After Width: | Height: | Size: 168 KiB |
BIN
doc/presentation/source-training/screenshot/paste_submit.png
Normal file
After Width: | Height: | Size: 28 KiB |
BIN
doc/presentation/source-training/screenshot/paste_submitted.png
Normal file
After Width: | Height: | Size: 26 KiB |
BIN
doc/presentation/source-training/screenshot/paste_tags_edit.png
Normal file
After Width: | Height: | Size: 22 KiB |
BIN
doc/presentation/source-training/screenshot/sentiment.png
Normal file
After Width: | Height: | Size: 51 KiB |
BIN
doc/presentation/source-training/screenshot/tag_auto_export.png
Normal file
After Width: | Height: | Size: 82 KiB |
After Width: | Height: | Size: 12 KiB |
BIN
doc/presentation/source-training/screenshot/tags.png
Normal file
After Width: | Height: | Size: 18 KiB |
BIN
doc/presentation/source-training/screenshot/tags2.png
Normal file
After Width: | Height: | Size: 125 KiB |
BIN
doc/presentation/source-training/screenshot/tags_search.png
Normal file
After Width: | Height: | Size: 12 KiB |
BIN
doc/presentation/source-training/screenshot/terms-manager.png
Normal file
After Width: | Height: | Size: 63 KiB |
BIN
doc/presentation/source-training/screenshot/terms-plot.png
Normal file
After Width: | Height: | Size: 30 KiB |
BIN
doc/presentation/source-training/screenshot/terms-top.png
Normal file
After Width: | Height: | Size: 111 KiB |
BIN
doc/presentation/source-training/screenshot/trending-module.png
Normal file
After Width: | Height: | Size: 56 KiB |
BIN
doc/presentation/source-training/screenshot/trending-web.png
Normal file
After Width: | Height: | Size: 66 KiB |