2014-06-18 12:36:32 +02:00
|
|
|
|
% -*- mode: latex; mode: auto-fill -*-
|
|
|
|
|
|
|
|
|
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
|
|
|
%%% Setup Document Style
|
|
|
|
|
%%%
|
|
|
|
|
% \documentclass[paper=5.5in:8.5in,pagesize,
|
|
|
|
|
\documentclass[paper=4.13in:5.83in,pagesize,
|
|
|
|
|
open=any,% ,chapterprefix=false,
|
|
|
|
|
titlepage=false,
|
|
|
|
|
headsepline=true,footsepline=false,
|
2014-06-19 00:01:47 +02:00
|
|
|
|
fontsize=9pt,headings=small]{scrbook}
|
2014-06-19 01:55:59 +02:00
|
|
|
|
\usepackage[activate=true,final,tracking=true,kerning=true,spacing=true,factor=120,protrusion=true]{microtype}
|
2014-06-18 12:36:32 +02:00
|
|
|
|
|
|
|
|
|
% \addtokomafont{chapter}{\rmfamily}
|
|
|
|
|
% \addtokomafont{chapterentry}{\rmfamily}
|
|
|
|
|
% \addtokomafont{sectioning}{\rmfamily}
|
|
|
|
|
|
2014-06-19 01:55:59 +02:00
|
|
|
|
% spazi vari {{{
|
2014-06-19 02:48:42 +02:00
|
|
|
|
\usepackage{geometry}
|
2014-06-19 00:01:47 +02:00
|
|
|
|
\areaset[0.4in]{3.20in}{5.2in}
|
2014-06-19 01:55:59 +02:00
|
|
|
|
\setlength{\parindent}{4pt}
|
|
|
|
|
\setlength{\parskip}{1mm}
|
|
|
|
|
% chapter {{{2
|
|
|
|
|
\usepackage{titlesec}
|
|
|
|
|
\titleformat{\chapter}[display]{\normalfont\huge\bfseries}{\chaptertitlename\ \thechapter}{10pt}{\Large}
|
|
|
|
|
% this alters "before" spacing (the second length argument) to 0
|
|
|
|
|
\titlespacing*{\chapter}{0pt}{-10pt}{20pt}
|
|
|
|
|
% }}}2
|
|
|
|
|
% }}}
|
2014-06-18 12:36:32 +02:00
|
|
|
|
|
2014-06-19 01:15:39 +02:00
|
|
|
|
% TOC {{{
|
|
|
|
|
\usepackage{tocloft}
|
|
|
|
|
\setlength{\cftbeforetoctitleskip}{-4em}
|
|
|
|
|
\setlength{\cftaftertoctitleskip}{1em}
|
2014-06-19 01:55:59 +02:00
|
|
|
|
\setcounter{tocdepth}{1}
|
2014-06-19 01:15:39 +02:00
|
|
|
|
% TOC }}}
|
2014-06-18 12:36:32 +02:00
|
|
|
|
|
2014-06-19 01:15:39 +02:00
|
|
|
|
% locale {{{
|
|
|
|
|
\usepackage[T1]{fontenc}
|
2014-06-18 16:29:11 +02:00
|
|
|
|
\usepackage[italian]{babel}
|
2014-06-19 01:15:39 +02:00
|
|
|
|
% locale }}}
|
2014-06-18 12:36:32 +02:00
|
|
|
|
|
|
|
|
|
\usepackage{amsmath,amssymb,latexsym,xspace}
|
|
|
|
|
|
2014-06-19 01:15:39 +02:00
|
|
|
|
% graphics {{{
|
2014-06-18 12:36:32 +02:00
|
|
|
|
\usepackage[absolute]{textpos}
|
|
|
|
|
\usepackage{graphicx}
|
|
|
|
|
\usepackage{wrapfig}
|
2014-06-19 01:15:39 +02:00
|
|
|
|
% graphics }}}
|
2014-06-18 12:36:32 +02:00
|
|
|
|
|
|
|
|
|
\usepackage{pdfpages}
|
|
|
|
|
|
2014-06-19 01:15:39 +02:00
|
|
|
|
% fonts {{{
|
|
|
|
|
\pagestyle{headings}
|
|
|
|
|
\usepackage{bookman}
|
2014-06-18 12:36:32 +02:00
|
|
|
|
|
2014-06-19 01:15:39 +02:00
|
|
|
|
% \usepackage{DejaVuSans}
|
2014-06-18 12:36:32 +02:00
|
|
|
|
%% Another possibility is
|
2014-06-19 01:15:39 +02:00
|
|
|
|
\usepackage{dejavu}
|
2014-06-18 12:36:32 +02:00
|
|
|
|
%% which loads the DejaVu Serif and DejaVu Sans Mono fonts as well
|
2014-06-19 00:01:47 +02:00
|
|
|
|
\renewcommand*\familydefault{\sfdefault} %% Only if the base font of the document is to be sans serif
|
2014-06-19 01:15:39 +02:00
|
|
|
|
% fonts }}}
|
|
|
|
|
|
|
|
|
|
% for digital version, use package on next line, which will include hyperlinks
|
|
|
|
|
\usepackage{hyperref}
|
2014-06-19 02:48:42 +02:00
|
|
|
|
\renewcommand{\href}[1]{\footnote{#1}}
|
2014-06-19 01:15:39 +02:00
|
|
|
|
|
2014-06-18 12:36:32 +02:00
|
|
|
|
|
|
|
|
|
% the following block sets all the hyperref params,
|
|
|
|
|
% and might need to be all commented out for the print version
|
|
|
|
|
\hypersetup{
|
|
|
|
|
bookmarks=true, % show bookmarks bar?
|
|
|
|
|
unicode=false, % non-Latin characters in Acrobat’s bookmarks
|
|
|
|
|
pdftoolbar=true, % show Acrobat’s toolbar?
|
|
|
|
|
pdfmenubar=true, % show Acrobat’s menu?
|
|
|
|
|
pdffitwindow=true, % window fit to page when opened
|
|
|
|
|
pdfstartview={FitH}, % fits the width of the page to the window
|
|
|
|
|
pdfpagelayout={TwoColumnRight},
|
|
|
|
|
pdftitle={Crypt r Die}, % title
|
|
|
|
|
pdfauthor={AvANa}, % author
|
2014-06-18 12:56:48 +02:00
|
|
|
|
pdfsubject={Repressione digitale}, % subject of the document
|
2014-06-18 12:36:32 +02:00
|
|
|
|
pdfcreator={LaTeX}, % creator of the document
|
|
|
|
|
pdfproducer={AvANAa}, % producer of the document
|
|
|
|
|
pdfkeywords={sicurezza, repressione digitale}, % list of keywords
|
|
|
|
|
pdfnewwindow=true, % links in new window
|
|
|
|
|
colorlinks=false, % false: boxed links; true: colored links
|
|
|
|
|
% linkcolor=red, % color of internal links
|
2014-06-18 12:56:48 +02:00
|
|
|
|
linkbordercolor=white,
|
2014-06-18 12:36:32 +02:00
|
|
|
|
linkcolor=white, % color of internal links
|
|
|
|
|
citecolor=green, % color of links to bibliography
|
|
|
|
|
filecolor=magenta, % color of file links
|
|
|
|
|
urlcolor=cyan % color of external links
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
% for printed version, use package on
|
|
|
|
|
% next line, instead, for better printing
|
|
|
|
|
%\usepackage{url}
|
|
|
|
|
|
|
|
|
|
% turn off numbers for chapters
|
|
|
|
|
\setcounter{secnumdepth}{-1}
|
|
|
|
|
\newcommand{\mychapter}[1]{
|
|
|
|
|
\chapter{#1}
|
|
|
|
|
% \addcontentsline{toc}{chapter}{\protect\numberline{}#1}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
% uncomment this next line to include a grid for easier
|
|
|
|
|
% layout work
|
|
|
|
|
%\usepackage[colorgrid,texcoord]{eso-pic}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
\usepackage{color}
|
|
|
|
|
\definecolor{altbg}{gray}{0}
|
|
|
|
|
\definecolor{altfg}{gray}{1}
|
|
|
|
|
|
|
|
|
|
\recalctypearea
|
|
|
|
|
|
|
|
|
|
% SILLABARE LE PAROLE CHE ECCEDONO I MARGINI..
|
|
|
|
|
|
|
|
|
|
\hyphenation{ri-chie-sto}
|
|
|
|
|
\hyphenation{ris-chi}
|
|
|
|
|
\hyphenation{chat-ti}
|
|
|
|
|
\hyphenation{cer-to}
|
|
|
|
|
\hyphenation{pre-fe-ri-sce}
|
|
|
|
|
\hyphenation{ar-chi-via-zio-ne}
|
|
|
|
|
\hyphenation{am-mi-ni-stra-to-re}
|
|
|
|
|
\hyphenation{crit-to-gra-fia}
|
|
|
|
|
\hyphenation{vo-stro}
|
|
|
|
|
\hyphenation{of-fu-sca-men-to}
|
|
|
|
|
\hyphenation{me-glio}
|
|
|
|
|
\hyphenation{in-ter-cet-ta-zio-ne}
|
|
|
|
|
\hyphenation{que-sti}
|
|
|
|
|
\hyphenation{pro-vi-der}
|
|
|
|
|
\hyphenation{pro-teg-ge-re}
|
|
|
|
|
\hyphenation{Freep-to}
|
|
|
|
|
\hyphenation{quo-ti-dia-na-men-te}
|
|
|
|
|
\hyphenation{se-guo-no}
|
|
|
|
|
\hyphenation{ca-pir-ne}
|
|
|
|
|
\hyphenation{brow-ser}
|
|
|
|
|
\hyphenation{i-den-ti-fi-ca-zio-ne}
|
|
|
|
|
\hyphenation{i-Pho-ne}
|
|
|
|
|
|
|
|
|
|
%% Enable license helpers
|
|
|
|
|
% \input{cc_beamer}
|
|
|
|
|
|
|
|
|
|
%
|
|
|
|
|
% AvANa custom conf
|
|
|
|
|
%
|
2014-06-18 16:29:11 +02:00
|
|
|
|
% Interlinea
|
2014-06-19 00:01:47 +02:00
|
|
|
|
\linespread{1.3}
|
2014-06-18 16:29:11 +02:00
|
|
|
|
\newcommand*{\ricettafont}{\fontfamily{pag}\selectfont\small}
|
2014-06-18 12:36:32 +02:00
|
|
|
|
\newcommand*{\headerfonts}{\fontfamily{pag}\selectfont}
|
2014-06-18 16:29:11 +02:00
|
|
|
|
\usepackage{mdframed}
|
2014-06-18 19:11:43 +02:00
|
|
|
|
\newmdenv[linecolor=white,hidealllines,shadow=false,%
|
|
|
|
|
innerleftmargin=5pt,innerrightmargin=5pt,%
|
|
|
|
|
font=\ricettafont]{ricetta}
|
|
|
|
|
|
2014-06-18 16:29:11 +02:00
|
|
|
|
|
2014-06-18 12:36:32 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
% Header e Footer
|
|
|
|
|
\usepackage{fancyhdr}
|
|
|
|
|
\pagestyle{fancy}
|
|
|
|
|
% Header elements
|
2014-06-19 01:15:39 +02:00
|
|
|
|
\renewcommand{\headrulewidth}{-10mm}
|
|
|
|
|
\fancyhead{}
|
2014-06-18 12:36:32 +02:00
|
|
|
|
% Footer elements
|
2014-06-19 00:01:47 +02:00
|
|
|
|
\fancyfoot{}
|
|
|
|
|
\fancyfoot[LE,RO]{\thepage}
|
|
|
|
|
\fancyfoot[C]{\includegraphics[height=.56cm]{images/scritta.jpg}}
|
2014-06-18 12:36:32 +02:00
|
|
|
|
% \renewcommand{\footrulewidth}{0.4pt} % riga sopra il footer
|
|
|
|
|
% \setlength{\voffset}{-0.35in}
|
|
|
|
|
% \setlength{\textheight}{+0.01in}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
|
|
|
%%% The document
|
|
|
|
|
%%%
|
|
|
|
|
|
|
|
|
|
\begin{document}
|
2014-06-19 01:55:59 +02:00
|
|
|
|
%\KomaOptions{open=left}
|
2014-06-18 12:36:32 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
% PRIMA PAGINA : COPERTINA
|
|
|
|
|
|
|
|
|
|
\includepdf{images/page1.pdf}
|
|
|
|
|
|
|
|
|
|
% PRESENTAZIONE AVANA
|
2014-06-19 00:01:47 +02:00
|
|
|
|
\thispagestyle{empty}
|
2014-06-18 12:36:32 +02:00
|
|
|
|
|
2014-06-19 01:55:59 +02:00
|
|
|
|
\include{intro}
|
2014-06-18 12:56:48 +02:00
|
|
|
|
\cleardoublepage
|
2014-06-18 12:36:32 +02:00
|
|
|
|
|
|
|
|
|
|
2014-06-19 00:01:47 +02:00
|
|
|
|
%
|
|
|
|
|
% INDICE -
|
|
|
|
|
%
|
2014-06-18 12:36:32 +02:00
|
|
|
|
\renewcommand*\contentsname{INDICE}
|
2014-06-19 00:01:47 +02:00
|
|
|
|
\tableofcontents{\thispagestyle{empty}}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-06-19 01:55:59 +02:00
|
|
|
|
%\clearpage
|
2014-06-18 12:36:32 +02:00
|
|
|
|
\pagestyle{fancy}
|
|
|
|
|
|
|
|
|
|
% \thispagestyle{empty}
|
|
|
|
|
|
|
|
|
|
% % PAGINA BIANCA DOPO L'INTRO DI AVANA
|
|
|
|
|
% \newpage
|
|
|
|
|
% \thispagestyle{empty}
|
|
|
|
|
% \mbox{}
|
|
|
|
|
|
|
|
|
|
% \newpage
|
|
|
|
|
% \thispagestyle{empty}
|
|
|
|
|
% \mbox{}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%
|
|
|
|
|
% TESTO
|
|
|
|
|
%
|
2014-06-19 01:55:59 +02:00
|
|
|
|
\KOMAoptions{open=left}
|
2014-06-18 12:36:32 +02:00
|
|
|
|
\include{cryptrdie}
|
2014-06-19 00:01:47 +02:00
|
|
|
|
\backmatter
|
2014-06-18 12:36:32 +02:00
|
|
|
|
|
|
|
|
|
%
|
|
|
|
|
% PARTE FINALE
|
|
|
|
|
%
|
|
|
|
|
|
2014-06-19 02:48:42 +02:00
|
|
|
|
% chiusura (rete evasioni)
|
2014-06-18 12:36:32 +02:00
|
|
|
|
\newpage
|
2014-06-19 02:48:42 +02:00
|
|
|
|
\pagestyle{empty}
|
|
|
|
|
\include{evasione}
|
2014-06-18 12:36:32 +02:00
|
|
|
|
|
|
|
|
|
% Ultima di copertina
|
|
|
|
|
\newpage
|
2014-06-19 02:48:42 +02:00
|
|
|
|
\pagestyle{empty}
|
2014-06-18 12:36:32 +02:00
|
|
|
|
%
|
|
|
|
|
\includepdf{images/pageLast.pdf}
|
|
|
|
|
%
|
|
|
|
|
\end{document}
|
2014-06-19 01:15:39 +02:00
|
|
|
|
% vim: set fdm=marker fdl=1:
|