1
0
Fork 0
forked from avana/cryptrdie
cryptrdie/opuscolo.tex
2014-06-19 02:48:42 +02:00

241 lines
5.7 KiB
TeX
Executable file
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

% -*- 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,
fontsize=9pt,headings=small]{scrbook}
\usepackage[activate=true,final,tracking=true,kerning=true,spacing=true,factor=120,protrusion=true]{microtype}
% \addtokomafont{chapter}{\rmfamily}
% \addtokomafont{chapterentry}{\rmfamily}
% \addtokomafont{sectioning}{\rmfamily}
% spazi vari {{{
\usepackage{geometry}
\areaset[0.4in]{3.20in}{5.2in}
\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
% }}}
% TOC {{{
\usepackage{tocloft}
\setlength{\cftbeforetoctitleskip}{-4em}
\setlength{\cftaftertoctitleskip}{1em}
\setcounter{tocdepth}{1}
% TOC }}}
% locale {{{
\usepackage[T1]{fontenc}
\usepackage[italian]{babel}
% locale }}}
\usepackage{amsmath,amssymb,latexsym,xspace}
% graphics {{{
\usepackage[absolute]{textpos}
\usepackage{graphicx}
\usepackage{wrapfig}
% graphics }}}
\usepackage{pdfpages}
% fonts {{{
\pagestyle{headings}
\usepackage{bookman}
% \usepackage{DejaVuSans}
%% Another possibility is
\usepackage{dejavu}
%% which loads the DejaVu Serif and DejaVu Sans Mono fonts as well
\renewcommand*\familydefault{\sfdefault} %% Only if the base font of the document is to be sans serif
% fonts }}}
% for digital version, use package on next line, which will include hyperlinks
\usepackage{hyperref}
\renewcommand{\href}[1]{\footnote{#1}}
% 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 Acrobats bookmarks
pdftoolbar=true, % show Acrobats toolbar?
pdfmenubar=true, % show Acrobats 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
pdfsubject={Repressione digitale}, % subject of the document
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
linkbordercolor=white,
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
%
% Interlinea
\linespread{1.3}
\newcommand*{\ricettafont}{\fontfamily{pag}\selectfont\small}
\newcommand*{\headerfonts}{\fontfamily{pag}\selectfont}
\usepackage{mdframed}
\newmdenv[linecolor=white,hidealllines,shadow=false,%
innerleftmargin=5pt,innerrightmargin=5pt,%
font=\ricettafont]{ricetta}
% Header e Footer
\usepackage{fancyhdr}
\pagestyle{fancy}
% Header elements
\renewcommand{\headrulewidth}{-10mm}
\fancyhead{}
% Footer elements
\fancyfoot{}
\fancyfoot[LE,RO]{\thepage}
\fancyfoot[C]{\includegraphics[height=.56cm]{images/scritta.jpg}}
% \renewcommand{\footrulewidth}{0.4pt} % riga sopra il footer
% \setlength{\voffset}{-0.35in}
% \setlength{\textheight}{+0.01in}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% The document
%%%
\begin{document}
%\KomaOptions{open=left}
% PRIMA PAGINA : COPERTINA
\includepdf{images/page1.pdf}
% PRESENTAZIONE AVANA
\thispagestyle{empty}
\include{intro}
\cleardoublepage
%
% INDICE -
%
\renewcommand*\contentsname{INDICE}
\tableofcontents{\thispagestyle{empty}}
%\clearpage
\pagestyle{fancy}
% \thispagestyle{empty}
% % PAGINA BIANCA DOPO L'INTRO DI AVANA
% \newpage
% \thispagestyle{empty}
% \mbox{}
% \newpage
% \thispagestyle{empty}
% \mbox{}
%
% TESTO
%
\KOMAoptions{open=left}
\include{cryptrdie}
\backmatter
%
% PARTE FINALE
%
% chiusura (rete evasioni)
\newpage
\pagestyle{empty}
\include{evasione}
% Ultima di copertina
\newpage
\pagestyle{empty}
%
\includepdf{images/pageLast.pdf}
%
\end{document}
% vim: set fdm=marker fdl=1: