Commit 2c61aff0 authored by LANGLAIS Titouan's avatar LANGLAIS Titouan 💬
Browse files

Merge branch 'no_more_warning' into 'master'

No more warning

See merge request !1
parents a29a301f 93a68dc6
......@@ -9,6 +9,7 @@
*.bcf
*.blg
*.dvi
*.fls
*.fdb_latexmk
*.glg
*.glo
......@@ -19,6 +20,7 @@
*.ist
*.lof
*.log
*.lol
*.lot
*.maf
*.mtc
......
No preview for this file type
This diff is collapsed.
No preview for this file type
......@@ -6,7 +6,7 @@
%\documentclass[contratpro]{tnreport} % If you are in contrat pro
\def\reportTitle{Winter is Coming} % Titre du mémoire
\def\reportLongTitle{Winter is Coming -- You know nothing Jon Snow} % Titre plus long du mémoire
\def\reportLongTitle{Winter is Coming --- You know nothing Jon Snow} % Titre plus long du mémoire
\def\reportAuthor{Jon Snow}
\def\reportAuthorEmail{\email{jon@castleblack.com}} % Courriel de l'élève
......@@ -37,6 +37,7 @@
\def\place{Winterfell} % Ville pour la signature pour l'engagement anti-plagiat
\def\date{\today} % Date pour la signature de l'engagement anti-plagiat
\newacronym{TEM}{TEM}{scanning electron microscope}
\begin{document}
......@@ -44,48 +45,43 @@
\pagenumbering{roman}
\insertAntiPlagiarismAgreement{Snow, Jon}{2014041022}{figures/anonymous_company-logo}{0.2}
% {Nom, Prénom}{n°étu}{image signature}{scale signature}
% {Nom, Prénom}{n°étu}{image signature}{scale signature}
% You may insert several agreement in case of multiple authors
%\insertAntiPlagiarismAgreement{Tarly, Samwell}{2014031142}{figures/anonymous_company-logo}{0.2}
\cleardoublepage
\cleardoublepage{}
\makesecondtitle
\makesecondtitle{}
\section*{Remerciements}
\addcontentsline{toc}{chapter}{Remerciements}
{\em
``Night gathers, and now my watch begins. \\
``{Night gathers, and now my watch begins. \\
It shall not end until my death.
I shall take no wife, hold no lands, father no children. \\
I shall wear no crowns and win no glory. \\
I shall live and die at my post.
I am the sword in the darkness. \\
I am the watcher on the walls. \\
I am the shield that guards the realms of men.
I shall take no wife, hold no lands, father no children. \\ I shall wear no
crowns and win no glory. \\ I shall live and die at my post.
I pledge my life and honor to the Night's Watch, \\
for this night and all the nights to come.''
}
I am the sword in the darkness. \\ I am the watcher on the walls. \\ I am the
shield that guards the realms of men.
\hspace{4cm} -- The Night's Watch oath
I pledge my life and honor to the Night's Watch, \\ for this night and all the
nights to come.}''\/}
\hspace{4cm} --- The Night's Watch oath
\cleardoublepage
\cleardoublepage{}
\section*{Avant-propos (optionnel)}
\addcontentsline{toc}{chapter}{Avant-propos (optionnel)}
\cleardoublepage
\cleardoublepage{}
\renewcommand{\baselinestretch}{0.5}\normalsize
\tableofcontents
\renewcommand{\baselinestretch}{1.0}\normalsize
\cleardoublepage
\cleardoublepage{}
\pagenumbering{arabic}
\setcounter{page}{1}
......@@ -108,11 +104,11 @@ risus a quam. Ours is the fury. Night's watch. Pellentesque malesuada nulla
honeyed locusts. Honed and ready, the seven, greyscale eget, your grace, dirk.
Ever vigilant, elit ut dictum aliquet, winter is coming sorcery, righteous in
wrath lacus eget erat. Blood mollis maegi nunc. Summerwine arcu. Dagger
consequat. In his cups, feast ironborn, tunic crimson, spiced wine, whore.
Moon and stars, mollis quis, the wall, holdfast maester, orci. Old bear seven
hells dictumst.
consequat. In his cups, feast ironborn, tunic crimson, spiced wine, whore. Moon
and stars, mollis quis, the wall, holdfast maester, orci. Old bear seven hells
dictumst.
\cleardoublepage
\cleardoublepage{}
\chapter{Présentation de l'entreprise}
......@@ -133,11 +129,15 @@ your grace the wall flagon cillum dolore eu fugiat nulla pariatur. Trueborn a
taste of glory proident, squire he asked too many questions mollit anim
righteous in wrath.
\cleardoublepage
\cleardoublepage{}
\chapter{Exemples Listings}
Il est aisé d'insérer du code dans un rapport. Il suffit de définir le langage, la légende à afficher et enfin un Label pour pouvoir y faire référence. Le résultat est donnée dans le listing \ref{lst:premierExemple}. Il est également possible de changer les couleurs, pour cela il faut éditer le lstset dans la classe tnreport.cls.
Il est aisé d'insérer du code dans un rapport. Il suffit de définir le langage,
la légende à afficher et enfin un Label pour pouvoir y faire référence. Le
résultat est donnée dans le listing~\ref{lst:premierExemple}. Il est également
possible de changer les couleurs, pour cela il faut éditer le lstset dans la
classe tnreport.cls.
\begin{lstlisting}[language=c++, caption={Premier Exemple}, label={lst:premierExemple}]
void CEquation::IniParser()
......@@ -166,13 +166,21 @@ void CEquation::IniParser()
}
\end{lstlisting}
\clearpage
Il est également possible d'afficher du code directement depuis un fichier source, le résultat de cette opération est visible dans le listing \ref{lst:fromSrc}
Il est également possible d'afficher du code directement depuis un fichier source, le résultat de cette opération est visible dans le listing~\ref{lst:fromSrc}
\lstinputlisting[language=c++,caption={Affichage depuis le fichier source},label={lst:fromSrc}]{figures/sourceCode.cpp}
De nombreux languages sont supportés : \\
ABAP2,4, ACSL, Ada4, Algol4, Ant, Assembler2,4, Awk4, bash, Basic2,4, C\#5, C++4, C4, Caml4, Clean, Cobol4, Comal, csh, Delphi, Eiffel, Elan, erlang, Euphoria, Fortran4, GCL, Gnuplot, Haskell, HTML, IDL4, inform, Java4, JVMIS, ksh, Lisp4, Logo, Lua2, make4, Mathematica1,4, Matlab, Mercury, MetaPost, Miranda, Mizar, ML, Modelica3, Modula-2, MuPAD, NASTRAN, Oberon-2, Objective C5 , OCL4, Octave, Oz, Pascal4, Perl, PHP, PL/I, Plasm, POV, Prolog, Promela, Python, R, Reduce, Rexx, RSL, Ruby, S4, SAS, Scilab, sh, SHELXL, Simula4, SQL, tcl4, TeX4, VBScript, Verilog, VHDL4, VRML4, XML, XSLT.
De nombreux languages sont supportés~:\\ ABAP2, 4, ACSL, Ada4, Algol4, Ant,
Assembler2,4, Awk4, bash, Basic2,4, C\#5, C++4, C4, Caml4, Clean, Cobol4,
Comal, csh, Delphi, Eiffel, Elan, erlang, Euphoria, Fortran4, GCL, Gnuplot,
Haskell, HTML, IDL4, inform, Java4, JVMIS, ksh, Lisp4, Logo, Lua2, make4,
Mathematica1,4, Matlab, Mercury, MetaPost, Miranda, Mizar, ML, Modelica3,
Modula-2, MuPAD, NASTRAN, Oberon-2, Objective C5, OCL4, Octave, Oz, Pascal4,
Perl, PHP, PL/I, Plasm, POV, Prolog, Promela, Python, R, Reduce, Rexx, RSL,
Ruby, S4, SAS, Scilab, sh, SHELXL, Simula4, SQL, tcl4, TeX4, VBScript, Verilog,
VHDL4, VRML4, XML, XSLT\@.
\clearpage
Il est néanmoins possible de définir le sien, il faudra alors ajouter dans la classe tnreport.cls du code ressemblant au listing \ref{lst:defLang}. On y définit les différents mots-clés, ainsi que les délimiteurs des chaînes de caractère et des commentaires.
Il est néanmoins possible de définir le sien, il faudra alors ajouter dans la classe tnreport.cls du code ressemblant au listing~\ref{lst:defLang}. On y définit les différents mots-clés, ainsi que les délimiteurs des chaînes de caractère et des commentaires.
\begin{lstlisting}[language=Tex, caption={Syntaxe définition d'un langage}, label={lst:defLang}]
\lstdefinelanguage{amf}
{keywords=
......@@ -218,7 +226,7 @@ Il est néanmoins possible de définir le sien, il faudra alors ajouter dans la
comment=[s]{<!--}{-->}
}
\end{lstlisting}
\cleardoublepage
\cleardoublepage{}
\chapter{Autre chapitre}
......@@ -228,69 +236,61 @@ Green dreams none so dutiful, tread lightly here, sed do spearwife mulled wine
sandsilk labore et dolore magna aliqua. Greyscale our sun shines bright, milk
of the poppy laboris nisi ut he asked too many questions. Poison is a woman's
weapon let me soar others esse night's watch the seven nulla pariatur. Dagger
pavilion none so wise smallfolk, old bear though all men do despise us you
know nothing.
pavilion none so wise smallfolk, old bear though all men do despise us you know
nothing.
\subsection{Première sous-section}
\subsubsection{Première sous-sous section}
Exemple d'illustration :
Exemple d'illustration~:
\begin{figure}[h]
\begin{figure}[ht!]\label{fig:logo-tn}
\centering
\includegraphics[width=10cm]{figures/school-logo}
\caption{Logo de TELECOM Nancy}
\label{fig:logo-tn}
\end{figure}
La Figure~\ref{fig:logo-tn} représente le logo de \reportSchool{}.
Ceci est une référence bibliographique~\cite{GOT4}.
Entrée dans le glossaire: blabla \gls{TEM} % The definition has been set before the \begin{document}.
Entrée dans le glossaire:
\newacronym{TEM}{TEM}{scanning electron microscope}
blabla \gls{TEM}
\cleardoublepage
\cleardoublepage{}
\chapter{Conclusion}
\cleardoublepage
\cleardoublepage{}
\renewcommand{\tocbibname}{Bibliographie / Webographie}
\bibliography{example} % See example.bib
\bibliographystyle{plain}
\cleardoublepage
\cleardoublepage{}
\listoffigures
\cleardoublepage
\cleardoublepage{}
\listoftables
\cleardoublepage
\cleardoublepage{}
\lstlistoflistings
\cleardoublepage
\lstlistoflistings{}
\cleardoublepage{}
\printnoidxglossaries
\printnoidxglossaries{}
\cleardoublepage
\cleardoublepage{}
\renewcommand{\thesubsection}{\Roman{subsection}}
\appendix
\part*{Annexes}
\addcontentsline{toc}{part}{Annexes}
\cleardoublepage
\part*{Annexes} \addcontentsline{toc}{part}{Annexes} \cleardoublepage{}
\chapter{Première Annexe}
\cleardoublepage
\cleardoublepage{}
\chapter{Seconde Annexe}
\cleardoublepage
\cleardoublepage{}
\thispagestyle{empty}
\section*{Résumé}
......@@ -307,16 +307,15 @@ Moon and stars lacus. Nulla gravida orci a dagger. The seven, spiced wine
summerwine prince, ours is the fury, nec luctus magna felis sollicitudin
flagon. As high as honor full of terrors. He asked too many questions arbor
gold. Honeyed locusts in his cups. Mare's milk. Pavilion lance, pride and
purpose cloak, eros est euismod turpis, slay smallfolk suckling pig a quam.
Our sun shines bright. Green dreams. None so fierce your grace. Righteous in
wrath, others mace, commodo eget, old bear, brothel. Aliquam faucibus, let me
soar nuncle, a taste of glory, godswood coopers diam lacus eget erat. Night's
watch the wall. Trueborn ironborn. Never resting. Bloody mummers chamber,
dapibus quis, laoreet et, dwarf sellsword, fire. Honed and ready, mollis maid,
seven hells, manhood in, king. Throne none so wise dictumst.
{\bf Mots-clés :}
purpose cloak, eros est euismod turpis, slay smallfolk suckling pig a quam. Our
sun shines bright. Green dreams. None so fierce your grace. Righteous in wrath,
others mace, commodo eget, old bear, brothel. Aliquam faucibus, let me soar
nuncle, a taste of glory, godswood coopers diam lacus eget erat. Night's watch
the wall. Trueborn ironborn. Never resting. Bloody mummers chamber, dapibus
quis, laoreet et, dwarf sellsword, fire. Honed and ready, mollis maid, seven
hells, manhood in, king. Throne none so wise dictumst.
{\bf Mots-clés~:}
\section*{Abstract}
\addcontentsline{toc}{chapter}{Abstract}
......@@ -326,20 +325,19 @@ vigilant, est gown brother cell, nec luctus magna felis sollicitudin mauris.
Take the black we light the way. Honeyed locusts ours is the fury smallfolk.
Spare me your false courtesy. The seven. Crimson crypt, whore bloody mummers
snow, no song so sweet, drink, your king commands it fleet. Raiders fermentum
consequat mi. Night's watch. Pellentesque godswood nulla a mi. Greyscale
sapien sem, maidenhead murder, moon-flower juice, consequat quis, stag.
Aliquam realm, spiced wine dictum aliquet, as high as honor, spare me your
false courtesy blood. Darkness mollis arbor gold. Nullam arcu. Never resting.
Sandsilk green dreams, mulled wine, betrothed et, pretium ac, nuncle. Whore
your grace, mollis quis, suckling pig, clansmen king, half-man. In hac
baseborn old bear.
consequat mi. Night's watch. Pellentesque godswood nulla a mi. Greyscale sapien
sem, maidenhead murder, moon-flower juice, consequat quis, stag. Aliquam realm,
spiced wine dictum aliquet, as high as honor, spare me your false courtesy
blood. Darkness mollis arbor gold. Nullam arcu. Never resting. Sandsilk green
dreams, mulled wine, betrothed et, pretium ac, nuncle. Whore your grace, mollis
quis, suckling pig, clansmen king, half-man. In hac baseborn old bear.
Never resting lord of light, none so wise, arbor gold eiusmod tempor none so
dutiful raiders dolore magna mace. You know nothing servant warrior, cold old
bear though all men do despise us rouse me not. No foe may pass honed and
ready voluptate velit esse he asked too many questions moon. Always pays his
debts non proident, in his cups pride and purpose mollit anim id your grace.
bear though all men do despise us rouse me not. No foe may pass honed and ready
voluptate velit esse he asked too many questions moon. Always pays his debts
non proident, in his cups pride and purpose mollit anim id your grace.
{\bf Keywords :}
{\bf Keywords~:}
\end{document}
This diff is collapsed.
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