Commit 6d8030a5 authored by sylvain.julmy's avatar sylvain.julmy
Browse files

add getting started

parent 51816078
# Final output PDF
rapport-construction-transition
\ No newline at end of file
% Config - Formatting
% ===================
% Default font
\renewcommand*{\familydefault}{\sfdefault}
% Paragraph indent
\parindent=0em
% Figures: Change text under pictures
\renewcommand{\captionfont}{\it \small}
\renewcommand{\captionlabelfont}{\it \bf \small}
\renewcommand{\thesection}{\arabic{section}}
% Spacing before chapter
\titlespacing{\chapter}{0pt}{*-4}{*3}
% Remove "Chapter N" in document
\titleformat{\chapter}[hang]{\bf\huge}{\thechapter}{1pc}{}
% Section numbering
\renewcommand\thesection{\arabic{chapter}.\arabic{section}}
% Config - Metadata
% =================
% School
\newcommand{\Faculty}{Informatique}
% Project
\newcommand{\ProjectName}{<Nom du projet>}
\newcommand{\DocumentTitle}{Getting Started}
\newcommand{\Client}{<Client>}
\newcommand{\GroupNo}{<NoGroupe>}
\newcommand{\Technologies}{<Technologies>}
% Supervisors
\newcommand{\SupervisorA}{Prof. Houda Chabbi Drissi}
\newcommand{\SupervisorB}{Prof. Pierre Kuonen}
\newcommand{\SupervisorC}{Prof. Omar Abou Khaled}
\newcommand{\Supervisors}{\SupervisorA \\ \SupervisorB \\ \SupervisorC}
% Authors
\newcommand{\AuthorA}{<AuteurA>}
\newcommand{\AuthorB}{<AuteurB>}
\newcommand{\AuthorC}{<AuteurC>}
\newcommand{\Authors}{\AuthorA \\ \AuthorB \\ \AuthorC}
% Copyright 2015 Marc Demierre
%
% Licensed under the Apache License, Version 2.0 (the "License");
% you may not use this file except in compliance with the License.
% You may obtain a copy of the License at
%
% http://www.apache.org/licenses/LICENSE-2.0
%
% Unless required by applicable law or agreed to in writing, software
% distributed under the License is distributed on an "AS IS" BASIS,
% WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
% See the License for the specific language governing permissions and
% limitations under the License.
\documentclass[a4paper,11pt,table]{report}
% ========
% Packages
% ========
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage[T1]{fontenc}
\usepackage[french]{babel}
\usepackage[babel=true]{csquotes}
\usepackage{graphicx}
\usepackage{fullpage}
\usepackage{fancyhdr}
\usepackage[table]{xcolor}
\usepackage{blindtext}
\usepackage{titlesec}
\usepackage{parskip}
\usepackage{amsmath}
\usepackage{calc}
\usepackage{url}
\usepackage{enumitem}
\usepackage{float}
\usepackage{multirow}
\usepackage{hyperref}
\usepackage[small,justification=centering]{caption}
\usepackage{amsmath}
\usepackage{rotating}
% =============
% Configuration
% =============
\input{config/metadata}
\input{config/formatting}
% Additional commands
% ===================
% Caption with source for figure
\newcommand*{\captionsource}[2]{%
\caption[{#1}]{%
#1%
\\\hspace{\linewidth}%
\textbf{Source:} #2%
}%
}
% Header and Footer
% =================
\lhead[]{PI pour architectes en technologies de l'information}
\chead[]{}
\rhead[]{Année académique 2014-2015}
\lfoot[]{\DocumentTitle}
\cfoot[]{}
\rfoot[]{\thepage}
\setlength{\headheight}{14pt}
\setlength{\headsep}{14pt}
\renewcommand{\footrulewidth}{0.5pt}
\renewcommand{\headrulewidth}{0.5pt}
% ========
% Document
% ========
\pagestyle{fancy}
\begin{document}
% Title page
% ==========
% Ruler
\newcommand{\HRule}{\rule{\linewidth}{0.5mm}}
\begin{titlepage}
\thispagestyle{fancy}
\vspace*{1cm}
% Project title
\huge \textbf{\ProjectName} \\[-0.4cm]
\HRule \\
\LARGE \textbf{Groupe No :} \GroupNo
\vspace{0.5cm}
% Project title
\huge \textbf{\DocumentTitle} \\[-0.4cm]
\HRule \\
\begin{center}
% Authors
\LARGE \Authors
\end{center}
\vspace{1cm}
{\Large
\begin{tabular}{ll}
\textbf{Filière:} & \Faculty \\[0.3cm]
\textbf{Technologies:} & \begin{tabular}[t]{@{}l@{}}\Technologies \end{tabular} \\[0.3cm]
\textbf{Date:} & Février 2015 – mai 2015 \\[0.3cm]
\textbf{Superviseurs:} & \begin{tabular}[t]{@{}l@{}}\Supervisors \end{tabular} \\[1.5cm]
\textbf{Client:} & \Client
\end{tabular}
}
\vfill
\end{titlepage}
% Table of contents
% =================
\addtocontents{toc}{\protect\thispagestyle{fancy}}
\newpage
\setcounter{page}{2}
\tableofcontents
% Document body
% =============
\clearpage
\pagestyle{fancy}
\chapter{Pré-requis}
\label{chap:pre_requis}
\thispagestyle{fancy}
% On ne sait pas vraiment ce dont vous avez besoin,
% donc faites les chapitres à votre guise !
% :D
\end{document}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment