\usepackage{graphicx}
\usepackage{qrcode}
%\usepackage{wrapfig}
%\usepackage[utf8]{inputenc} %unicode support
\usepackage{lmodern}
\usepackage[T1]{fontenc}
\usepackage{color}
\usepackage{geometry}
\usepackage{multicol}
\setlength{\columnsep}{0.3cm}

%% Play around with Unistra fonts
\usepackage{fontspec} % Require compilation with XeLaTeX
%\usepackage{polyglossia} %for multiple languages

\newfontfamily{\Brill}{Brill}[Extension=.ttf, UprightFont=*-Regular, BoldFont=*-Bold, ItalicFont=*-Italic, BoldItalicFont=*-BoldItalic, Path=fonts/, Scale=1.]
\newfontfamily{\Unistra}{UnistraA}[Extension=.ttf, UprightFont=*-Regular, BoldFont=*-Bold, ItalicFont=*-Italic, BoldItalicFont=*-BoldItalic, Path=fonts/, Scale=1.]
\newfontfamily{\UnistraEnc}{UnistraEncadre}[Extension=.ttf, UprightFont=*-Regular, BoldFont=*-Bold, Path=fonts/, Scale=1.]


%% New section types
\usepackage{titlesec}
\titleformat*{\section}{\Unistra\LARGE}

\newcommand{\info}[1]{
    \noindent
    \hrulefill
    \begin{center}
        {\Unistra \Large  #1}
    \end{center}
    \hrulefill
}

\newcommand{\entete}[4]{
    {%
        \Unistra\Large%
        {%
            \large\UnistraEnc \noindent(\_(\_((\_Universit\'e\_de\_Strasbourg\_))\_\_)
        } \hfill #1 \\[1mm]
       #2 \hfill #3
        \par
        \begin{center} \Huge \textbf{#4} \end{center}
    }
}

\newenvironment{changemargin}[2]{%
\begin{list}{}{%
    \setlength{\topsep}{0pt}%
    \setlength{\leftmargin}{#1}%
    \setlength{\rightmargin}{#2}%
    \setlength{\listparindent}{\parindent}%
    \setlength{\itemindent}{\parindent}%
    \setlength{\parsep}{\parskip}%
}%
\item[]}{\end{list}}

\newcommand{\compresslist}{%
    \setlength{\itemsep}{0pt}%
    \setlength{\itemindent}{-12pt}%
    \setlength{\parskip}{1pt}%
    \setlength{\parsep}{0pt}%
    \setlength{\parindent}{0mm}%
}

\newenvironment{boenumerate}
    {\begin{enumerate}\renewcommand\labelenumi{\textbf\theenumi.}}
    {\end{enumerate}}


%% Color accents in the poster
\selectcolormodel{cmyk}
\definecolor{Mycolor1}{HTML}{455AC3}
\definecolor{Mycolor2}{HTML}{3577C4}

%% Setup for bibliography
\usepackage{aas_macros}
\usepackage[square,numbers]{natbib}
\bibliographystyle{aa}
\setlength{\bibsep}{1pt}
\renewcommand{\bibpreamble}{\vspace{-4mm}\begin{multicols}{2}}
\renewcommand{\bibpostamble}{\end{multicols}\vspace{-3mm}}
