X-Git-Url: https://gapil.gnulinux.it/gitweb/?p=gapil.git;a=blobdiff_plain;f=gapil.tex;h=d73b1b0f2a9600529e9856ab17d683330b39c448;hp=961c36b5a1dee549e4b2268d4e53bfe99a8aac15;hb=beece18eba2dcc2a9b915dab61277df8685a3da6;hpb=ee41e8b34dd560d230966160fb3eb748defc3e46 diff --git a/gapil.tex b/gapil.tex index 961c36b..d73b1b0 100644 --- a/gapil.tex +++ b/gapil.tex @@ -1,6 +1,6 @@ %% gapil.tex %% -%% Copyright (C) 2000-2009 Simone Piccardi. Permission is granted to +%% Copyright (C) 2000-2014 Simone Piccardi. Permission is granted to %% copy, distribute and/or modify this document under the terms of the GNU Free %% Documentation License, Version 1.1 or any later version published by the %% Free Software Foundation; with the Invariant Sections being "Un preambolo", @@ -14,22 +14,64 @@ %% %% gapil.tex: file principale, gli altri vanno inclusi da questo. %% -\documentclass[a4paper,11pt,twoside]{book} -\usepackage{ae,aecompl} +\documentclass[10pt,twoside]{book} +\usepackage[paperwidth=18.91cm,paperheight=24.589cm, +inner=2.5cm,outer=1.8cm,bottom=3.3cm,top=2.3cm]{geometry} + +% encodings \usepackage[T1]{fontenc} -\usepackage[latin1]{inputenc} -%\usepackage[tex4ht, bookmarks=true]{hyperref} -\usepackage[bookmarks=true,plainpages=false,pdfpagelabels,hyperfootnotes=false]{hyperref} +\usepackage[utf8]{inputenc} +\usepackage{ae,aecompl} + +% +% New header style +% +\usepackage{fancyhdr} +\pagestyle{fancy} +\fancyhf{} +\fancyhead[RE]{\slshape \rightmark} +\fancyhead[RO,LE]{\thepage} +\fancyhead[LO]{\slshape \leftmark} + +\renewcommand{\chaptermark}[1]{% +\markboth{\thechapter.% +\ #1}{}} + +\renewcommand{\sectionmark}[1]{% +\markright{\ \thesection% +\ #1}{}} + + +% more fonts +\usepackage{inconsolata} + +% fancy verbatim +\usepackage{fancyvrb} +\DefineVerbatimEnvironment{Example}{Verbatim} +{xleftmargin=1cm,xrightmargin=1cm} + +\DefineVerbatimEnvironment{FileExample}{Verbatim} +{frame=lines,framerule=0.5mm,framesep=2mm,xleftmargin=1cm,xrightmargin=1cm,fontsize=\footnotesize} + +\DefineVerbatimEnvironment{Terminal}{Verbatim} +{xleftmargin=\parindent,xrightmargin=\parindent,fontfamily=courier,fontsize=\footnotesize} + +\DefineVerbatimEnvironment{Command}{Verbatim} +{xleftmargin=\parindent,xrightmargin=\parindent,fontseries=b, +fontfamily=courier,fontsize=\footnotesize} + +\DefineVerbatimEnvironment{Console}{Verbatim} +{commandchars=\\\{\},xleftmargin=\parindent,xrightmargin=\parindent,fontfamily=courier,fontsize=\footnotesize} + + +\usepackage[bookmarks=true,plainpages=false,pdfpagelabels, +hyperfootnotes=false]{hyperref} + \usepackage{makeidx} -%\usepackage{booktabs} -%\usepackage{pstcol} -%\usepackage{pslatex} \usepackage{pst-node} +\usepackage{eso-pic} \usepackage{graphicx} \usepackage[italian]{babel} -\newcommand{\includecodesnip}[1]{\lstinputlisting[stepnumber=0,frame=]{#1}}{} -\newcommand{\includestruct}[1]{\lstinputlisting[stepnumber=0]{#1}}{} -\newcommand{\includecodesample}[1]{\lstinputlisting{#1}}{} \usepackage{cite} \usepackage{amsmath} \usepackage{amsfonts} @@ -37,36 +79,17 @@ \usepackage{listings} \lstloadlanguages{C++} \usepackage{color} -\usepackage{mdwlist} % scommentare per la stampa (PS e PDF) -\usepackage{boxedminipage} % scommentare per la stampa (PS e PDF) +\usepackage{mdwlist} +\usepackage{boxedminipage} \usepackage{multirow} +\usepackage{longtable} +\usepackage{varwidth} %\usepackage{footnote} %\usepackage{mdwtab} -\usepackage{geometry} -\usepackage{fancyvrb} \usepackage{tikz} \usetikzlibrary{shapes} -\def\tild{\char'176} - -% -% Setting page layout -% -%\oddsidemargin=0.5cm -%\evensidemargin=-0.5cm -%\textwidth=16cm -%\textheight=24.2cm -%\topmargin=-1.cm -\geometry{textheight=24.2cm,textwidth=16cm} - - -%\setcaptionmargin{2cm} -%\renewcommand{\chaptername}{Capitolo} -%\renewcommand{\contentsname}{Indice} -%\renewcommand{\bibname}{Bibliografia} -\pagestyle{headings} - \frenchspacing %\includeonly{macro,pref,intro,fdl} @@ -79,9 +102,9 @@ \makeindex % Solo prima parte, scommentare -%\includeonly{macro,preambolo,pref,intro,process,prochand,fileintro,filedir, -% fileunix,filestd,system,system,signal,session,fileadv,ipc,errors, -% ringraziamenti,fdl} +% \includeonly{macro,preambolo,pref,intro,process,prochand,filedir, +% fileunix,filestd,system,signal,session,fileadv,ipc,errors, +% ringraziamenti,fdl} % Solo seconda parte e appendici, scommentare %\includeonly{macro,preambolo,network,socket,tcpsock,sockctrl,othersock, @@ -98,7 +121,7 @@ \begin{quote} - Copyright \copyright\ 2000-2009 Simone Piccardi. Permission is granted to + Copyright \copyright\ 2000-2014 Simone Piccardi. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with the Invariant Sections being ``Un preambolo'' @@ -150,10 +173,10 @@ \include{intro} \include{process} \include{prochand} -\include{fileintro} \include{filedir} -\include{fileunix} -\include{filestd} +\include{fileio} +%\include{fileunix} +%\include{filestd} \include{system} \include{signal} \include{session} @@ -175,21 +198,19 @@ \part{Appendici} \label{part:appendici} +\include{errors} \include{netlayer} \include{trasplayer} -\include{errors} \include{build} \include{ringraziamenti} \include{fdl} % at the end put the bibliography \backmatter - -%\bibliographystyle{phaip} -%\bibliography{biblio} \printindex - -\bibliographystyle{ieeetr} +%\bibliographystyle{phaip} +%\bibliographystyle{ieeetr} +\bibliographystyle{abstract} \bibliography{biblio} \end{document}