%%
%% This is file `geradwp.tex',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% geradwp.dtx  (with options: `template')
%% 
%% This is a stripped version of the original file.
%% 
%% Copyright 2022 GERAD, HEC Montreal
%% 
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3c
%% of this license or (at your option) any later version.
%% 
%% The latest version of this license is in
%% http://www.latex-project.org/lppl.txt
%% and version 1.3c or later is part of all distributions of LaTeX
%% version 2008/05/04 or later.
%% 
%% This work has the LPPL maintenance status `maintained'.
%% 
%% The Current Maintainer of this work is Benoit Hamel
%% <benoit.2.hamel@hec.ca>.
%% 
%% This work consists of the files geradwp.dtx, geradwp.ins,
%% geradwp.pdf and the derived files listed in the README file.
%% 
%% Template version 1.1
%%
%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% %%%%%%%%%% Notes pour les auteurs %%%%%%%%%%%%%%%
%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Inscrire tous les titres en minuscules (sauf la première lettre du
%% premier mot).
%% Section, Table, Figure prennent une majuscule en anglais,
%% mais pas en français.
%% Les tableaux se font avec Booktabs et ils sont écrits en \footnotesize.
%% (Booktabs crée des tableaux avec des lignes horizontales seulement et
%% plus d'espaces entre les lignes.)
%% Pour éviter que des références ne se retrouvent seules au début d'une ligne,
%% on doit faire précéder les "\ref{...}" par "~", donc "~\ref{...}".
%% On fait de même avec "\cite{...}" qui devrait plutôt s'écrire "~\cite{...}".
%% Vérifier que les chiffres (références ou non) n'apparaissent pas seuls
%% au début d'une ligne.
%% Enlever toutes les commandes d'espacement (\smallskip, \vspace, \\) à la fin
%% des lignes et des paragraphes.
%% "et al." ne s'écrit pas en italiques et a un point.
%% Les titres des figures, tableaux et algorithmes prennent un point ou non,
%% mais ils doivent être tous identiques.
%% Pour les Tables, les titres sont placés en haut.
%% Pour les Figures, les titres sont placés en-dessous.
%% S'assurer que le chiffre de la note de bas de page soit après la ponctuation
%% en anglais.
%% Bibliographie : ajouter "\small" après le \begin{thebibliography}.
%% Bibliographie : transférer le .bbl dans le fichier lui-même
%% s'il y a un fichier .bib.
%% Bibliographie : vérifier qu'il y a bien deux tirets (--) entre les numéros
%% de pages quand c'est nécessaire.
%% Bibliographie : éviter les caractères en italique et en gras. Enlever
%% les \em et \it.

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%% Notes for Authors  %%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Write all titles in lowercase letters (aside from the first letter of the
%% first word).
%% Section, Table, Figure are capitalized in English, but not in French.
%% Tables are done with Booktabs and are written in \footnotesize.
%% (With Booktabs there's only horizontal lines and more space between
%% the lines).
%% To make sure references don't end up alone at the start of a line,
%% before each "\ref{...}" use "~", therefore:  "~\ref{...}".
%% The same thing applies to "\cite{...}", which should instead
%% be written "~\cite{...}".
%% Check that numbers (references or other) do not appear by themselves
%% at the start of a line .
%% Remove all spacing commands (\smallskip, \vspace, \\) at the end of
%% lines and paragraphs.
%% "et al." must not be written in italics and must include a period after "al".
%% Figure, table and algorithm titles may use a period or not, but must do so
%% consistently throughout.
%% Table titles are placed above the table.
%% Figure titles are placed below the figure.
%% Make sure footnote numbers are positioned after the punctuation in English.
%% Bibliography: transfer the .bbl into the file itself if there is a .bib file.
%% Bibliography: add "\small" after \begin{thebibliography}.
%% Bibliography: check that there are two dashes (--) between page numbers where
%% necessary.
%% Bibliography: avoid using italics and bold. Remove instances of \em and \it.
\documentclass[gdweb]{geradwp}

%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% %%% Packages par défaut du cahier  %%%%%%%%%%%%%%
%% %%% ----- NE PAS MODIFIER! ------- %%%%%%%%%%%%%%
%% %%% Working paper default packages %%%%%%%%%%%%%%
%% %%% ----- DO NOT MODIFY! --------- %%%%%%%%%%%%%%
%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\PassOptionsToPackage{hyphens}{url}

%% Choose one of the two following algorithm packages
%% \usepackage[ruled]{algorithm}
%% \usepackage{algorithmic}
\usepackage[ruled,linesnumbered]{algorithm2e}
\usepackage[french]{babel}
\usepackage{hyperref}

%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% %%% Options par défaut du cahier  %%%%%%%%%%%%%%%
%% %%% ----- NE PAS MODIFIER! ------ %%%%%%%%%%%%%%%
%% %%% Working paper default options %%%%%%%%%%%%%%%
%% %%% ----- DO NOT MODIFY! -------- %%%%%%%%%%%%%%%
%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\GDcoverpagewhitespace{6.8cm}
\graphicspath{{Figures/}} % graphicx pkg setup
\hypersetup{colorlinks,%
citecolor={blue}, % Change for "black" with natbib
urlcolor={blue},
linkcolor={blue},
breaklinks={true}
}

%% Algorithm caption customizations
\makeatletter
\ifthenelse{\isundefined{\ALG@name}}{}%
{%
\renewcommand{\ALG@name}{\sffamily\footnotesize Algorithm}
}
\makeatother
%% Algorithm2e caption customizations
\ifthenelse{\isundefined{\SetAlCapNameFnt}}{}%
{% 
\SetAlCapNameFnt{\footnotesize}
\SetAlCapFnt{\sffamily\footnotesize}
}

%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% %%%%%% Début - commandes de l'auteur %%%%%%%%%%%%
%% %%%%%%%% Start of author commands %%%%%%%%%%%%%%%
%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% %%%%%%% Fin - commandes de l'auteur %%%%%%%%%%%%%
%% %%%%%%%%% End of author commands %%%%%%%%%%%%%%%%
%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% %%%%%%%%%% Métadonnées du cahier  %%%%%%%%%%%%%%%
%% %%%%%%%%%% Working paper metadata %%%%%%%%%%%%%%%
%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\GDtitle{This is a title}
\GDmonth{Mai}{May}
\GDyear{2021}
\GDnumber{XX}
\GDauthorsShort{B. Hamel, K. H\'ebert}
\GDauthorsCopyright{Hamel, H\'ebert}
\GDpostpubcitation{Hamel, Benoit, Karine H\'ebert (2021). ``Un exemple de citation'', \emph{Journal of Journals}, vol. X issue Y, p. n-m}{https://www.gerad.ca/fr}
\GDsupplementname{Internet Appendix}
\GDrevised{Mai}{May}{2021}

\begin{document} 

\GDcoverpage

\begin{GDtitlepage}

\begin{GDauthlist}
\GDauthitem{Benoit Hamel \ref{affil:bib}}
\GDauthitem{Karine H\'ebert \ref{affil:gerad}\GDrefsep\ref{affil:hec}}
\end{GDauthlist}

\begin{GDaffillist}
\GDaffilitem{affil:bib}{Biblioth\`eque, HEC Montr\'eal, Montr\'eal (Qc), Canada, H3T 2A7}
\GDaffilitem{affil:gerad}{GERAD, Montr\'eal (Qc), Canada, H3T 1J4}
\GDaffilitem{affil:hec}{HEC Montr\'eal, Montr\'eal (Qc), Canada, H3T 2A7}
\end{GDaffillist}

\begin{GDemaillist}
\GDemailitem{benoit.2.hamel@hec.ca}
\GDemailitem{karine.hebert@gerad.ca}
\end{GDemaillist}

\end{GDtitlepage}

%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% %%%%%%%%% Résumés, mots-clés, remerciements %%%%%%%%%%%
%% %%%%%%% Abstract, keywords, acknowledgements %%%%%%%%%%
%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\GDabstracts

\begin{GDabstract}{Abstract}
Write your abstract here...

\paragraph{Keywords: }
Here
\end{GDabstract}

\begin{GDabstract}{R\'esum\'e}
R\'edigez votre r\'esum\'e ici...

\paragraph{Mots cl\'es\,: }
Here

\end{GDabstract} 

\begin{GDacknowledgements}
Here

\end{GDacknowledgements}

%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% %%%%%%%%%%%%%%%% Article %%%%%%%%%%%%%%%%%%%%%%%%
%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\GDarticlestart
Write your article article.

\end{document}
\endinput
%%
%% End of file `geradwp.tex'.
