Skip to content

Instantly share code, notes, and snippets.

@kidager
Created July 25, 2016 22:58
Show Gist options
  • Save kidager/431dd680db03dbd485e30a49216af747 to your computer and use it in GitHub Desktop.
Save kidager/431dd680db03dbd485e30a49216af747 to your computer and use it in GitHub Desktop.
\documentclass[12pt, oneside, a4paper]{report}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Include required packages
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage[a4paper,left=2.5cm,right=2.5cm,top=2.5cm,bottom=2.5cm]{geometry}
\usepackage[skins]{tcolorbox}
\usepackage[francais,english]{babel}
\usepackage{ctable}
\usepackage{multirow}
\usepackage{colortbl}
\usepackage[hidelinks]{hyperref}
\usepackage{needspace}% http://ctan.org/pkg/needspace
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Some useful commands
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\ignore}[2]{\hspace{0mm}#2}
\newcommand{\HRule}[1][\linewidth]{%
% Arg1 : Width : \linewidth
\rule{#1}{0.5mm}%
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Define some variables
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\def\defaultFont{ptm}
\renewcommand*{\familydefault}{\defaultFont}
\renewcommand\UrlFont{\ignore{Actually do nothing!}}
\definecolor{reportType}{HTML}{800080}
% Red - #FF0000 - Réalisation pratique (machines, bancs d'essai, prototypes...)
% Violet - #800080 - Etude et assistance technique (optimisation de procédés, développement d'applications...)
% Green - #008000 - Innovation et développement durable (environnement, énergie...)
% Blue - #0000FF - Recherche technologique (appliquée ou fondamentale)
\begin{document}
% i ii iii iv ...
\pagenumbering{roman}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% START the page
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\thispagestyle{empty}
\begin{titlepage}
\begin{center}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% THE HEADER
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
{%
\fontsize{9pt}{9pt}\selectfont%
\begin{tabularx}{\textwidth}{ @{} p{0.4\textwidth} @{} m{0.2\textwidth} @{} p{0.4\textwidth} @{} }
% Line 1
\centering%
Republic of Tunisia\\%
Ministry of Higher Education, Scientific Research %
and Information and Communication Technologies\\%
&%
% Column 2
\centering%
\multirow{2}{\linewidth}{%
\centering%
\includegraphics[width=2.5cm, height=2.5cm]{images/logo-enis.pdf}%
}%
&%
% Column 3
\centering%
Computer Engineering \& Applied Mathematics Department%
% Engineering Education Computer Engineering and Applied Mathematics Discipline%
% Cycle de Formation d'Ingénieurs dans la Discipline Génie Computer Engineering \& Applied Mathematics Department%
\tabularnewline%
%
%
%
% Line 2
\centering%
%\rule{2cm}{0.75pt}\\
Sfax University\\
National Engineering School of Sfax
&%
% Column 2 is empty (contains the ENIS logo)
&%
% Column 3
\centering%
\textbf{%
ST-EN07/00\\%
\textsc{Graduation Project}\\%
Serial N°: 2016 / DIMA-999%
}
\tabularnewline%
\arrayrulecolor{reportType}%
\specialrule{0.75pt}{2pt}{0pt}%
\specialrule{2.00pt}{1pt}{0pt}%
\end{tabularx}
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% THE PAGE CONTENT
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\vspace{30pt} {%
\renewcommand*{\familydefault}{\defaultFont}
\fontsize{46pt}{46pt}\selectfont%
\textsc{Graduation Project\\Report}\\%
}
\vspace{30pt}%
\textbf{\textit{presented at}}\\
\vspace{10pt}
National Engineering School of Sfax\\
(Computer Engineering \& Applied Mathematics Department)\\
\vspace{30pt}
\textbf{\textit{in order to obtain the}}\\
\vspace{10pt}
National Engineering Diploma in Computer Science\\
%du Diplôme National d'Ingénieur en Génie Informatique\\
\vspace{30pt}
\textbf{\textit{by}}\\
\vspace{10pt} {%
\fontsize{18pt}{18pt}\selectfont%
\textbf{Soumaya \textsc{Gouider}}\\
}%
\vspace{10pt} {%
\renewcommand*{\familydefault}{\defaultFont}
\fontsize{27pt}{27pt}\selectfont%
\HRule%
\vspace{10pt}
PFE with \\ MHA\\%
\vspace{10pt}
\HRule%
}
\vspace{10pt}
Defended on~08/08/2016~in front of the committee composed of\\
%Soutenu le 08/08/2016, devant la commission d'examen:\\
\vspace{20pt}
\begin{tabular}{p{0.3\linewidth} p{0.15\linewidth}}
Mr Foulen \textsc{Fouleni} & President \\
Ms Foulena \textsc{Foulenia} & Supervisor \\
Mr Foulen \textsc{Fouleni} & Reviewer \\
\end{tabular}
\vfill
\end{center}
\end{titlepage}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% END the page
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Clead double page after the front one :)
\cleardoublepage%
\end{document}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment