opuscolo.tex 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241
  1. % -*- mode: latex; mode: auto-fill -*-
  2. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  3. %%% Setup Document Style
  4. %%%
  5. % \documentclass[paper=5.5in:8.5in,pagesize,
  6. \documentclass[paper=4.13in:5.83in,pagesize,
  7. open=any,% ,chapterprefix=false,
  8. titlepage=false,
  9. headsepline=true,footsepline=false,
  10. fontsize=9pt,headings=small]{scrbook}
  11. \usepackage[activate=true,final,tracking=true,kerning=true,spacing=true,factor=120,protrusion=true]{microtype}
  12. % \addtokomafont{chapter}{\rmfamily}
  13. % \addtokomafont{chapterentry}{\rmfamily}
  14. % \addtokomafont{sectioning}{\rmfamily}
  15. % spazi vari {{{
  16. \usepackage{geometry}
  17. \areaset[0.4in]{3.20in}{5.2in}
  18. \setlength{\parindent}{4pt}
  19. \setlength{\parskip}{1mm}
  20. % chapter {{{2
  21. \usepackage{titlesec}
  22. \titleformat{\chapter}[display]{\normalfont\huge\bfseries}{\chaptertitlename\ \thechapter}{10pt}{\Large}
  23. % this alters "before" spacing (the second length argument) to 0
  24. \titlespacing*{\chapter}{0pt}{-10pt}{20pt}
  25. % }}}2
  26. % }}}
  27. % TOC {{{
  28. \usepackage{tocloft}
  29. \setlength{\cftbeforetoctitleskip}{-4em}
  30. \setlength{\cftaftertoctitleskip}{1em}
  31. \setcounter{tocdepth}{1}
  32. % TOC }}}
  33. % locale {{{
  34. \usepackage[T1]{fontenc}
  35. \usepackage[italian]{babel}
  36. % locale }}}
  37. \usepackage{amsmath,amssymb,latexsym,xspace}
  38. % graphics {{{
  39. \usepackage[absolute]{textpos}
  40. \usepackage{graphicx}
  41. \usepackage{wrapfig}
  42. % graphics }}}
  43. \usepackage{pdfpages}
  44. % fonts {{{
  45. \pagestyle{headings}
  46. \usepackage{bookman}
  47. % \usepackage{DejaVuSans}
  48. %% Another possibility is
  49. \usepackage{dejavu}
  50. %% which loads the DejaVu Serif and DejaVu Sans Mono fonts as well
  51. \renewcommand*\familydefault{\sfdefault} %% Only if the base font of the document is to be sans serif
  52. % fonts }}}
  53. % for digital version, use package on next line, which will include hyperlinks
  54. \usepackage{hyperref}
  55. \renewcommand{\href}[1]{\footnote{#1}}
  56. % the following block sets all the hyperref params,
  57. % and might need to be all commented out for the print version
  58. \hypersetup{
  59. bookmarks=true, % show bookmarks bar?
  60. unicode=false, % non-Latin characters in Acrobat’s bookmarks
  61. pdftoolbar=true, % show Acrobat’s toolbar?
  62. pdfmenubar=true, % show Acrobat’s menu?
  63. pdffitwindow=true, % window fit to page when opened
  64. pdfstartview={FitH}, % fits the width of the page to the window
  65. pdfpagelayout={TwoColumnRight},
  66. pdftitle={Crypt r Die}, % title
  67. pdfauthor={AvANa}, % author
  68. pdfsubject={Repressione digitale}, % subject of the document
  69. pdfcreator={LaTeX}, % creator of the document
  70. pdfproducer={AvANAa}, % producer of the document
  71. pdfkeywords={sicurezza, repressione digitale}, % list of keywords
  72. pdfnewwindow=true, % links in new window
  73. colorlinks=false, % false: boxed links; true: colored links
  74. % linkcolor=red, % color of internal links
  75. linkbordercolor=white,
  76. linkcolor=white, % color of internal links
  77. citecolor=green, % color of links to bibliography
  78. filecolor=magenta, % color of file links
  79. urlcolor=cyan % color of external links
  80. }
  81. % for printed version, use package on
  82. % next line, instead, for better printing
  83. %\usepackage{url}
  84. % turn off numbers for chapters
  85. \setcounter{secnumdepth}{-1}
  86. \newcommand{\mychapter}[1]{
  87. \chapter{#1}
  88. % \addcontentsline{toc}{chapter}{\protect\numberline{}#1}
  89. }
  90. % uncomment this next line to include a grid for easier
  91. % layout work
  92. %\usepackage[colorgrid,texcoord]{eso-pic}
  93. \usepackage{color}
  94. \definecolor{altbg}{gray}{0}
  95. \definecolor{altfg}{gray}{1}
  96. \recalctypearea
  97. % SILLABARE LE PAROLE CHE ECCEDONO I MARGINI..
  98. \hyphenation{ri-chie-sto}
  99. \hyphenation{ris-chi}
  100. \hyphenation{chat-ti}
  101. \hyphenation{cer-to}
  102. \hyphenation{pre-fe-ri-sce}
  103. \hyphenation{ar-chi-via-zio-ne}
  104. \hyphenation{am-mi-ni-stra-to-re}
  105. \hyphenation{crit-to-gra-fia}
  106. \hyphenation{vo-stro}
  107. \hyphenation{of-fu-sca-men-to}
  108. \hyphenation{me-glio}
  109. \hyphenation{in-ter-cet-ta-zio-ne}
  110. \hyphenation{que-sti}
  111. \hyphenation{pro-vi-der}
  112. \hyphenation{pro-teg-ge-re}
  113. \hyphenation{Freep-to}
  114. \hyphenation{quo-ti-dia-na-men-te}
  115. \hyphenation{se-guo-no}
  116. \hyphenation{ca-pir-ne}
  117. \hyphenation{brow-ser}
  118. \hyphenation{i-den-ti-fi-ca-zio-ne}
  119. \hyphenation{i-Pho-ne}
  120. %% Enable license helpers
  121. % \input{cc_beamer}
  122. %
  123. % AvANa custom conf
  124. %
  125. % Interlinea
  126. \linespread{1.3}
  127. \newcommand*{\ricettafont}{\fontfamily{pag}\selectfont\small}
  128. \newcommand*{\headerfonts}{\fontfamily{pag}\selectfont}
  129. \usepackage{mdframed}
  130. \newmdenv[linecolor=white,hidealllines,shadow=false,%
  131. innerleftmargin=5pt,innerrightmargin=5pt,%
  132. font=\ricettafont]{ricetta}
  133. % Header e Footer
  134. \usepackage{fancyhdr}
  135. \pagestyle{fancy}
  136. % Header elements
  137. \renewcommand{\headrulewidth}{-10mm}
  138. \fancyhead{}
  139. % Footer elements
  140. \fancyfoot{}
  141. \fancyfoot[LE,RO]{\thepage}
  142. \fancyfoot[C]{\includegraphics[height=.56cm]{images/scritta.jpg}}
  143. % \renewcommand{\footrulewidth}{0.4pt} % riga sopra il footer
  144. % \setlength{\voffset}{-0.35in}
  145. % \setlength{\textheight}{+0.01in}
  146. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  147. %%% The document
  148. %%%
  149. \begin{document}
  150. %\KomaOptions{open=left}
  151. % PRIMA PAGINA : COPERTINA
  152. \includepdf{images/page1.pdf}
  153. % PRESENTAZIONE AVANA
  154. \thispagestyle{empty}
  155. \include{intro}
  156. \cleardoublepage
  157. %
  158. % INDICE -
  159. %
  160. \renewcommand*\contentsname{INDICE}
  161. \tableofcontents{\thispagestyle{empty}}
  162. %\clearpage
  163. \pagestyle{fancy}
  164. % \thispagestyle{empty}
  165. % % PAGINA BIANCA DOPO L'INTRO DI AVANA
  166. % \newpage
  167. % \thispagestyle{empty}
  168. % \mbox{}
  169. % \newpage
  170. % \thispagestyle{empty}
  171. % \mbox{}
  172. %
  173. % TESTO
  174. %
  175. \KOMAoptions{open=left}
  176. \include{cryptrdie}
  177. \backmatter
  178. %
  179. % PARTE FINALE
  180. %
  181. % chiusura (rete evasioni)
  182. \newpage
  183. \pagestyle{empty}
  184. \include{evasione}
  185. % Ultima di copertina
  186. \newpage
  187. \pagestyle{empty}
  188. %
  189. \includepdf{images/pageLast.pdf}
  190. %
  191. \end{document}
  192. % vim: set fdm=marker fdl=1: