From 41290db596ec5a63664d0b79fe1b8a01a3d87fa8 Mon Sep 17 00:00:00 2001
From: Nao Pross <naopross@thearcway.org>
Date: Thu, 5 Jan 2017 17:59:53 +0100
Subject: added histograms layout

---
 doc/pdi.tex | 24 ++++++++++++++++++------
 1 file changed, 18 insertions(+), 6 deletions(-)

(limited to 'doc/pdi.tex')

diff --git a/doc/pdi.tex b/doc/pdi.tex
index 4777666..910a052 100644
--- a/doc/pdi.tex
+++ b/doc/pdi.tex
@@ -7,7 +7,7 @@
 %% Alan Scheidegger 3B
 %% 
 
-\documentclass[draft,a4paper,twoside,12pt,openright]{report}
+\documentclass[draft,a4paper,twoside,12pt,openany]{report}
 
 %% Packages {{{
 % file encoding and language
@@ -22,12 +22,13 @@
 \usepackage[T1]{fontenc}
 
 % page layout
-\usepackage[inner=2cm,outer=1.5cm,top=3cm]{geometry}
+\usepackage[inner=2cm,outer=1.5cm,top=3cm,bottom=3cm]{geometry}
 \usepackage{fancyhdr}
 \usepackage{lastpage} % used for header
+%\usepackage{marginnote}
+\usepackage{afterpage}
 
 % figures / resources
-\usepackage{pgf-pie}
 \usepackage{graphicx}
 \usepackage{wrapfig}
 \usepackage{caption}
@@ -35,6 +36,10 @@
 \usepackage{float}
 \usepackage{csvsimple}
 
+% plot data
+\usepackage{pgfplots}
+\pgfplotsset{compat=1.9}
+
 % math
 \usepackage{amsmath}
 \usepackage{cancel}
@@ -49,11 +54,11 @@
 
 % other
 \usepackage{draftwatermark}
-\usepackage{blindtext}
+% \usepackage{blindtext}
 
 %% }}}
 
-%% Headers / Footers / Draft{{{
+%% Watermark + fancyhdr setup {{{
 % headers / footers
 \pagestyle{fancy}
 \fancyhead{}
@@ -118,8 +123,16 @@
     \selectlanguage{english} 
     \input{tex/introduzione}
     \selectlanguage{italian}
+
+    \afterpage{
+    \newgeometry{inner=1.5cm,outer=4.5cm,top=3cm,bottom=3cm,marginpar=3.5cm,marginparsep=5mm}
+    \fancyhfoffset[E,O]{0pt}
     \input{tex/produzione}
+    \restoregeometry
+    }
+
     \input{tex/consumo}
+
     \input{tex/politica}
     \input{tex/conclusioni}
     % }}}
@@ -132,4 +145,3 @@
     \printbibliography[title={Fonti Esterne},keyword={ref},heading=subbibliography]
     \printbibliography[title={Immagini},keyword={pic},heading=subbibliography]
 \end{document}
-\grid
-- 
cgit v1.2.1

