% ------------------------------------------------------------------------------------------------
% ------------------------------------------------------------------------------------------------
%
%   XXVII Congress of the Portuguese Statistical Society,  Faro 2025
%
% -----------------------------------------------------------------------------------------------
% -----------------------------------------------------------------------------------------------

\documentclass[8pt,fleqn,cmfonts]{book}
\usepackage[a5paper,  twoside, inner=15mm,outer=15mm,top=12mm,bottom=12mm]
{geometry}

% ---------------------------------------------------------------------
%%   Do not change the configuration below.
% ---------------------------------------------------------------------
%%
\usepackage[utf8]{inputenc}
\usepackage{fancyhdr}
\pagestyle{fancy}
\lhead{}
\rhead{}
\cfoot{SPE 2025}
\renewcommand{\footrulewidth}{1pt}
\usepackage[utf8]{inputenc}
\usepackage{amssymb}
\usepackage{etoolbox}
\usepackage{url}
\newcommand{\titulo}[1]{ \textbf{\large#1}\vspace*{.2cm}}
\newcommand{\autor}[1]{#1}\vspace*{.05cm}
\newcommand{\autorp}[1]{\textsf{#1}\vspace*{.05cm}}
%\newcommand{\afil}[2]{\mbox{} \\ \textit{#1} \textit{#2}\vspace*{.05cm}}
\newcommand{\afil}[2]{\mbox{} \\ \textit{#1}\vspace*{.05cm}}
\newcommand{\pchave}[1]{{\small \textbf{Keywords}: #1}}
\newcommand{\agradecimentos}[1]{{\small \textbf{Acknowledgement}: #1}}
\newcommand{\resumo}[1]{{\small \textbf{Abstract}: #1}}
\patchcmd{\thebibliography}{\chapter*}{\section*}{}{}\vspace*{.025cm}
\renewcommand\bibname{\small References \vspace*{.001cm}}\vspace*{.025cm}
%
% to typeset URLs, URIs, and DOIs
\usepackage{url}
%\def\UrlFont{\rmfamily}
%%
%%

\begin{document}
\setlength{\parindent}{0cm}

% ---------------------------------------------------------------------
% Title of the talk
% The title should be capitalized, i.e. nouns, verbs, and all other words except articles, prepositions, and conjunctions should start with a capital letter.
% ---------------------------------------------------------------------
% 
\titulo{Talk Title}

% ---------------------------------------------------------------------
% Author(s)
% Replace Author i with the author's name in the format “first name” followed by “last name”.
% For each author, identify the affiliation(s) with a number and place the ORCID in square brackets and superscript.
% For each author, identify their email address.
% Insert a line for each affiliation presented.
% Example: \afil{\textsuperscript{1} CEAUL – Centro de Estatística e Aplicações, Faculdade de Ciências, Universidade de Lisboa, Portugal}
% or \afil{\textsuperscript{1} CEAUL, Faculdade de Ciências, Universidade de Lisboa, Portugal}
% The author who will be presenting the paper (oral or poster) should be highlighted in bold. In the LaTex lines of code below, Author 1 is the author who will be presenting the paper. If you want one of the other authors to present the paper, permute the bold code.
% ---------------------------------------------------------------------
%
\autor{\textbf{Author 1} \textsuperscript{1[ORCID]}, Author 2 \textsuperscript{1,2[ORCID]}, and Author 3 \textsuperscript{3[ORCID]}\\
%
author1@univ.pt, author2@univ.pt, author3@univ.pt}

\afil{\textsuperscript{1} affiliation 1\\
	\textsuperscript{2} affiliation 2\\
	\textsuperscript{3} affiliation 3}
    
\medskip

% -------------------------------------------------------------
% Abstract 
% --------------------------------------------------------------
%
\resumo{The abstract should summarize the contents of the talk using at most 250 words.  Formulas and citations must be avoided. Tables and figures cannot be included.}

\medskip

% -------------------------------------------------------------- 
%  Keywords (maximum 5) - the keywords must be written in alphabetical order, the first letter of each keyword must be capitalized and the keywords must be separated by midpoints and without a full stop.
% Example: \keyword{Long memory $\cdot$ Time series $\cdot$ Stochastic volatility}
% --------------------------------------------------------------
%
\pchave{Keyword 1 $\cdot$ Keyword 2 $\cdot$ Keyword 3}

\medskip

% --------------------------------------------------------------
% Acknowledgement (optional)
% Example:\agradecimentos{This work is partially financed by national funds through FCT – Fundação para a Ciência e a Tecnologia under the project UIDB/00006/2025 and UIDB/00006/2020. DOI: 10.54499/UIDB/00006/2020.}
% If you don't want to include acknowledgments, delete the command lines below.
% --------------------------------------------------------------
%
\agradecimentos{optional}


% --------------------------------------------------------------
% The bibliography is optional. 
% Use the following: \cite{SurnameYear} 
% If you don't want to include references, delete the command lines below.  
% Put the references in order of citation and use the DOI whenever applicable. 
% --------------------------------------------------------------
%
\vspace*{-.2cm}
\begin{thebibliography}{}\vspace*{-.5pc}
\small{
\bibitem{SurnameYear} % paper in a journal
Surname, N., Surname, N.M.: Paper title. Journal title, \textbf{Num. Vol.}(num.), pages (Year). \url{DOI:xxxxx}

\vspace*{-.5pc}

\bibitem{Surname2012} % paper in proceedings
Surname, N.: Paper title. In: Proceedings of the  Symposium  ..., pp. pages, Year. \url{DOI:xxxxx}

\vspace*{-.5pc}

\bibitem{SurnameYear} % book
Surname, N.: Book title. Publisher(s) (Year). \url{DOI:xxxxx}

}

\end{thebibliography}


\end{document}

