\ProvidesPackage{icors2025}
          [2025/11/07 0.1 (Claudio Agostinelli)]

\usepackage{graphicx}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{authblk}
\usepackage{natbib}
\bibliographystyle{plainnat}

\usepackage{titling}
\predate{}
\postdate{}

\def\ixONxi{\@setsize\ixONxi{11pt}\ixpt\@ixpt}
\newcounter{afcount}
\newenvironment{afenum}
{\begin{list}
{$^{\arabic{afcount}}$}
{\usecounter{afcount}\setlength{\topsep}{0mm}\setlength{\itemsep}{0mm}%
\setlength{\parskip}{0pt}
\setlength{\parsep}{0pt}\setlength{\labelsep}{5pt}\setlength{\labelwidth}{1cm}%
\setlength{\leftmargin}{0.3cm} \ixONxi\rm}
}
{\end{list}}

\newcommand{\@institute}[1]
{\begingroup
\renewcommand{\and}{\item}
\begin{afenum}
\item  #1
\end{afenum}
\endgroup
}

\newcommand{\@keywords}[1]
{\begingroup
\renewcommand{\and}{ -- }
\noindent \textbf{Keywords}: #1  
\endgroup
}

\newcommand{\@abstract}[1]
{\begingroup
\noindent \textbf{Abstract}: \textit{#1}  
\endgroup
}

\newtoks\institute
\newtoks\keywords
\newtoks\abstract

\newcommand{\inst}[1]{$^{#1}$}

\newcommand{\icorsmaketitle}{
  \date{}
  \maketitle
  \if!\the\institute!{}
  \else
  \@institute{\the\institute}
  \fi
  \if!\the\abstract!{}
  \else
  \@abstract{\the\abstract} \\
  \fi  
  \if!\the\keywords!{}
  \else
  \@keywords{\the\keywords} \\
  \fi
}

\newcommand{\titlerunning}[1]{}
\newcommand{\authorrunning}[1]{}
\newcommand{\email}[1]{[\texttt{#1}]~}
\newtheorem{theorem}{Theorem}
\newtheorem{lemma}{Lemma}
\newtheorem{definition}{Definition}
\newtheorem{remark}{Remark}

\newenvironment{proof}[1][Proof]{\noindent\textit{#1.} }{\ \rule{0.5em}{0.5em}}

\newcommand{\E}{\mathbb{E}}
\newcommand{\Var}{\mathbb{V}ar}

\usepackage{fancyhdr}

\fancyhf{}
\fancyhead[R]{International Conference on Robust Statistics 2025, Stresa, Italy}
\fancyfoot[C]{\thepage}
\pagestyle{fancy}

\fancypagestyle{plain}{
  \fancyhf{}
  \fancyhead[R]{International Conference on Robust Statistics 2025, Stresa, Italy}
  \fancyfoot[C]{\thepage}
}

