From c56de915f2e9fc6ae2eb0697f9bd82d725306396 Mon Sep 17 00:00:00 2001 From: Pacien TRAN-GIRARD Date: Sun, 13 Apr 2014 15:59:52 +0200 Subject: Add report template --- report/bibliography.bib | 0 report/cover.tex | 57 +++++++++++++++++++++ report/document.tex | 44 ++++++++++++++++ report/resources/Logo_ESIEE_Paris_mono.pdf | Bin 0 -> 2544 bytes .../resources/aperture_science_innovators_logo.png | Bin 0 -> 12158 bytes report/style/pascience-defaults.tex | 14 +++++ report/style/pascience-listings.tex | 19 +++++++ report/style/pascience-numbering.tex | 19 +++++++ report/style/pascience-pages.tex | 19 +++++++ report/style/pascience-texts.tex | 25 +++++++++ report/style/pascience-titles.tex | 33 ++++++++++++ report/style/pascience-toc.tex | 5 ++ 12 files changed, 235 insertions(+) create mode 100644 report/bibliography.bib create mode 100644 report/cover.tex create mode 100644 report/document.tex create mode 100644 report/resources/Logo_ESIEE_Paris_mono.pdf create mode 100644 report/resources/aperture_science_innovators_logo.png create mode 100644 report/style/pascience-defaults.tex create mode 100644 report/style/pascience-listings.tex create mode 100644 report/style/pascience-numbering.tex create mode 100644 report/style/pascience-pages.tex create mode 100644 report/style/pascience-texts.tex create mode 100644 report/style/pascience-titles.tex create mode 100644 report/style/pascience-toc.tex diff --git a/report/bibliography.bib b/report/bibliography.bib new file mode 100644 index 0000000..e69de29 diff --git a/report/cover.tex b/report/cover.tex new file mode 100644 index 0000000..18f356a --- /dev/null +++ b/report/cover.tex @@ -0,0 +1,57 @@ +%%%%%%%%%%%%%%%%%%%% +%% COVER +%%%%%%%%%%%%%%%%%%%% + +\thispagestyle{empty} + +{\sffamily\centering\Large + + ~\vspace{\fill} + + {\Huge\bfseries + PR1001 - Projet Interdisciplinaire + } + + \vspace{0.4cm} + + {\Huge + Programation graphique d'appareils de mesure + } + + \vspace{2.75cm} + + {\Large\textcolor{gray25}{ + Pacien TRAN-GIRARD + }} + + {\Large\textcolor{gray25}{ + Timothée PALLOT + }} + + {\Large\textcolor{gray25}{ + Olivier DA ROCHA + }} + + {\Large\textcolor{gray25}{ + Benoît LUBRANO DI SBARAGLIONE + }} + + \vspace{0.25cm} + + %{\Large\textcolor{gray25}{ + % Supervisor: Pr. Cave JOHNSON + %}} + + \vspace{4cm} + + \vspace{\fill} + + \includegraphics{resources/Logo_ESIEE_Paris_mono} + + \vspace{0.5cm} + + {\large\textcolor{gray25}{ + Avril 2014 + }} + +} diff --git a/report/document.tex b/report/document.tex new file mode 100644 index 0000000..7cb8734 --- /dev/null +++ b/report/document.tex @@ -0,0 +1,44 @@ +%%%%%%%%%%%%%%%%%%%% +%% HEADER +%%%%%%%%%%%%%%%%%%%% + +\input{style/pascience-defaults} + +%\usepackage[francais]{babel} + +\usepackage{lipsum} +\usepackage[francais]{babel} + + +\input{style/pascience-pages} +\input{style/pascience-numbering} + +\input{style/pascience-titles} +\input{style/pascience-texts} + +\input{style/pascience-toc} + +\input{style/pascience-listings} + + +%%%%%%%%%%%%%%%%%%%% +%% DOCUMENT +%%%%%%%%%%%%%%%%%%%% + +\begin{document} + +\input{cover} + +\clearpage +%\cleardoublepage + +\tableofcontents* + +\clearpage + + +\bibliographystyle{unsrt} +\bibliography{bibliography} + + +\end{document} \ No newline at end of file diff --git a/report/resources/Logo_ESIEE_Paris_mono.pdf b/report/resources/Logo_ESIEE_Paris_mono.pdf new file mode 100644 index 0000000..0c63ee8 Binary files /dev/null and b/report/resources/Logo_ESIEE_Paris_mono.pdf differ diff --git a/report/resources/aperture_science_innovators_logo.png b/report/resources/aperture_science_innovators_logo.png new file mode 100644 index 0000000..ed91aa3 Binary files /dev/null and b/report/resources/aperture_science_innovators_logo.png differ diff --git a/report/style/pascience-defaults.tex b/report/style/pascience-defaults.tex new file mode 100644 index 0000000..7caa84a --- /dev/null +++ b/report/style/pascience-defaults.tex @@ -0,0 +1,14 @@ +%%%%%%%%%%%%%%%%%%%% +%% DEFAULTS PACKAGES +%%%%%%%%%%%%%%%%%%%% + +% Default document class and paper format +\documentclass[12pt,a4paper]{memoir} + +% Common and usefull packages +\usepackage[utf8]{inputenc} +\usepackage[T1]{fontenc} +\usepackage{microtype} +\usepackage[dvips]{graphicx} +\usepackage{xcolor} +\usepackage{times} diff --git a/report/style/pascience-listings.tex b/report/style/pascience-listings.tex new file mode 100644 index 0000000..3df3cbe --- /dev/null +++ b/report/style/pascience-listings.tex @@ -0,0 +1,19 @@ +%%%%%%%%%%%%%%%%%%%% +%% CODE LISTINGS +%%%%%%%%%%%%%%%%%%%% + +\usepackage{listings} + +\lstset{ + breaklines=true, + frame=leftline, + %frame=bottomline, + basicstyle=\small, + %numbers=left, + numberstyle=\tiny, + tabsize=2, + showstringspaces=false, + keywordstyle=\color[rgb]{0,0,1}, + commentstyle=\color[rgb]{0.133,0.545,0.133}, + stringstyle=\color[rgb]{0.627,0.126,0.941}, +} diff --git a/report/style/pascience-numbering.tex b/report/style/pascience-numbering.tex new file mode 100644 index 0000000..74d8c76 --- /dev/null +++ b/report/style/pascience-numbering.tex @@ -0,0 +1,19 @@ +%%%%%%%%%%%%%%%%%%%% +%% PAGE NUMBERING +%%%%%%%%%%%%%%%%%%%% + +%\pagestyle{companion}\nouppercaseheads +%\pagestyle{headings} +%\pagestyle{Ruled} +\pagestyle{plain} +\makepagestyle{plain} + +% PDF +\makeevenfoot{plain}{}{\thepage}{} +\makeoddfoot{plain}{}{\thepage}{} +% PRINT +%\makeevenfoot{plain}{\thepage}{}{} +%\makeoddfoot{plain}{}{}{\thepage} + +\makeevenhead{plain}{}{}{} +\makeoddhead{plain}{}{}{} diff --git a/report/style/pascience-pages.tex b/report/style/pascience-pages.tex new file mode 100644 index 0000000..ce0903d --- /dev/null +++ b/report/style/pascience-pages.tex @@ -0,0 +1,19 @@ +%%%%%%%%%%%%%%%%%%%% +%% PAGE LAYOUT +%%%%%%%%%%%%%%%%%%%% + +\usepackage{geometry} +\geometry{ + %total={210mm,297mm}, + % PDF VIEW + left=25mm,right=25mm, + top=25mm,bottom=25mm, + bindingoffset=0mm, + % PRINT + %left=22.5mm,right=22.5mm, + %top=22.5mm,bottom=22.5mm, + %bindingoffset=10mm, +} + +\widowpenalties 1 10000 +\raggedbottom diff --git a/report/style/pascience-texts.tex b/report/style/pascience-texts.tex new file mode 100644 index 0000000..fae2cf0 --- /dev/null +++ b/report/style/pascience-texts.tex @@ -0,0 +1,25 @@ +%%%%%%%%%%%%%%%%%%%% +%% TEXT STYLE +%%%%%%%%%%%%%%%%%%%% + +% Font +\renewcommand{\familydefault}{\sfdefault} + +% Colors +\definecolor{gray75}{gray}{0.75} +\definecolor{gray25}{gray}{0.25} + +% Spacing +\OnehalfSpacing +%\linespread{1.3} +\setlength{\parskip}{4pt} + +% Links +\usepackage[ + breaklinks=true,colorlinks=true, + % PDF VIEW + %linkcolor=blue,urlcolor=blue,citecolor=blue, + % PRINT + linkcolor=black,urlcolor=black,citecolor=black, + bookmarks=true,bookmarksopenlevel=, +]{hyperref} diff --git a/report/style/pascience-titles.tex b/report/style/pascience-titles.tex new file mode 100644 index 0000000..85245d2 --- /dev/null +++ b/report/style/pascience-titles.tex @@ -0,0 +1,33 @@ +%%%%%%%%%%%%%%%%%%%% +%% TITLE STYLE +%%%%%%%%%%%%%%%%%%%% + +% Chapters +\usepackage{calc} +\newif\ifNoChapNumber +\makeatletter +\makechapterstyle{VZ34}{ + \renewcommand\chapternamenum{} + \renewcommand\printchaptername{} + \renewcommand\printchapternum{} + \renewcommand\chapnumfont{\Huge\bfseries\sffamily} + \renewcommand\chaptitlefont{\Huge\bfseries\sffamily\raggedright} + \renewcommand\printchaptertitle[1]{% + \def\arraystretch{2}\begin{tabular}[2]{ + @{}p {0.8cm}! + {\textcolor{gray75}{\vrule width 2pt}\quad} + p{\textwidth-1cm-2em-4\tabcolsep} + } + \ifNoChapNumber\chapnumfont \# \else\chapnumfont \thechapter\fi + & \chaptitlefont ##1 + \end{tabular} + \NoChapNumberfalse + } + \renewcommand\printchapternonum{\NoChapNumbertrue} +} +\chapterstyle{VZ34} + +% Sections, Subsections, Subsubsections +%\setsecheadstyle{\Large\bfseries\sffamily\raggedright} +%\setsubsecheadstyle{\large\bfseries\sffamily\raggedright} +%\setsubsubsecheadstyle{\bfseries\sffamily\raggedright} diff --git a/report/style/pascience-toc.tex b/report/style/pascience-toc.tex new file mode 100644 index 0000000..d461dd5 --- /dev/null +++ b/report/style/pascience-toc.tex @@ -0,0 +1,5 @@ +%%%%%%%%%%%%%%%%%%%% +%% TABLE OF CONTENT +%%%%%%%%%%%%%%%%%%%% + +\maxtocdepth{subsection} % chapters, sections, and subsections are in the Table of Contents -- cgit v1.2.3