%!TEX program = xelatex

\documentclass[10pt,a4paper,onecolumn]{report}
\usepackage{marginnote}
\usepackage{graphicx}
\usepackage{xcolor}
\usepackage{etoolbox}
\usepackage{titlesec}
\usepackage{calc}
\usepackage{tikz}
\usepackage{hyperref}
\hypersetup{colorlinks,breaklinks,
            urlcolor=[rgb]{0.0, 0.5, 1.0},
            linkcolor=[rgb]{0.0, 0.5, 1.0}}
\usepackage{caption}
\usepackage{tcolorbox}
\usepackage{amssymb,amsmath}
\usepackage{ifxetex,ifluatex}
\usepackage{seqsplit}
\usepackage[en-US]{datetime2}
\usepackage{fixltx2e} % provides \textsubscript
% \usepackage[
%   backend=biber,
% %  style=alphabetic,
% %  citestyle=numeric
% ]{biblatex}


% --------------- ORCID Logo taken from academicons package --------------------
% https://github.com/diogo-fernan/academicons

\DeclareFontFamily{TU}{academicons}{}
\DeclareFontShape{TU}{academicons}{m}{n}
  {<-> \UnicodeFontFile{academicons.ttf}{}}{}

\newcommand\AI{\usefont{TU}{academicons}{m}{n}}

\newcommand*{\aiicon}[1]
{\AI\csname aiicon@#1\endcsname}

\definecolor{orcidlogocol}{HTML}{A6CE39}

\makeatletter
\expandafter\def\csname%
  aiicon@orcid\endcsname{\symbol{"E9D9}}
\def\aiOrcid{{\AI\csname%
  aiicon@orcid\endcsname}}
\makeatother

% ---------- END section from academicons.sty ----------------------------------

% \bibliography{}


% --- Page layout -------------------------------------------------------------
\usepackage[top=3.5cm, bottom=3cm, right=1.5cm, left=1.0cm,
            headheight=2.2cm, reversemp, includemp, marginparwidth=4.5cm]{geometry}

% --- Default font ------------------------------------------------------------
% \renewcommand\familydefault{\sfdefault}

% --- Style -------------------------------------------------------------------
% \renewcommand{\bibfont}{\small \sffamily}
\renewcommand{\captionfont}{\small\sffamily}
\renewcommand{\captionlabelfont}{\bfseries}

% --- Section/SubSection/SubSubSection ----------------------------------------
\titleformat{\section}
  {\normalfont\sffamily\Large\bfseries}
  {}{0pt}{}
\titleformat{\subsection}
  {\normalfont\sffamily\large\bfseries}
  {}{0pt}{}
\titleformat{\subsubsection}
  {\normalfont\sffamily\bfseries}
  {}{0pt}{}
\titleformat*{\paragraph}
  {\sffamily\normalsize}

\DTMsavedate{publication_date}{2026-11-29}
\DTMsavedate{creationDate}{2026-11-29}

% --- Header / Footer ---------------------------------------------------------
\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyhf{}
%\renewcommand{\headrulewidth}{0.50pt}
\renewcommand{\headrulewidth}{0pt}
\fancyhead[L]{\hspace{-0.75cm}\includegraphics[width=5.5cm]{/opt/app-root/src/media/public/static/images/logos/logo.png}\vspace{1em}\lblob}
\fancyhead[C]{}
\fancyhead[R]{}
\renewcommand{\footrulewidth}{0.25pt}

\fancyfoot[L]{\footnotesize{\sffamily{
   \DTMfetchyear{publication_date}.
      Submissions to CLM-Community Assembly 2022.
        }
}}

\fancyfoot[R]{\footnotesize{\sffamily{\thepage}}}
\makeatletter
\let\ps@plain\ps@fancy
\fancyheadoffset[L]{5cm}
\fancyfootoffset[L]{5cm}

% --- Macros ---------

\definecolor{linky}{rgb}{0.0, 0.5, 1.0}

\newtcolorbox{repobox}
   {colback=red, colframe=red!75!black,
     boxrule=0.5pt, arc=2pt, left=6pt, right=6pt, top=3pt, bottom=3pt}

\newcommand{\ExternalLink}{%
   \tikz[x=1.2ex, y=1.2ex, baseline=-0.05ex]{%
       \begin{scope}[x=1ex, y=1ex]
           \clip (-0.1,-0.1)
               --++ (-0, 1.2)
               --++ (0.6, 0)
               --++ (0, -0.6)
               --++ (0.6, 0)
               --++ (0, -1);
           \path[draw,
               line width = 0.5,
               rounded corners=0.5]
               (0,0) rectangle (1,1);
       \end{scope}
       \path[draw, line width = 0.5] (0.5, 0.5)
           -- (1, 1);
       \path[draw, line width = 0.5] (0.6, 1)
           -- (1, 1) -- (1, 0.6);
       }
   }

% --- Title / Authors ---------------------------------------------------------
% patch \maketitle so that it doesn't center
\patchcmd{\@maketitle}{center}{flushleft}{}{}
\patchcmd{\@maketitle}{center}{flushleft}{}{}
% patch \maketitle so that the font size for the title is normal
\patchcmd{\@maketitle}{\LARGE}{\LARGE\sffamily\bfseries}{}{}

\newcommand\Authfont{\sffamily\bfseries}
\newcommand\Affilfont{\sffamily\small\mdseries}


\ifnum 0\ifxetex 1\fi\ifluatex 1\fi=0 % if pdftex
  \usepackage[T1]{fontenc}
  \usepackage[utf8]{inputenc}

\else % if luatex or xelatex
  \usepackage{fontspec}
  \defaultfontfeatures{Ligatures=TeX,Scale=MatchLowercase}

\fi
% use upquote if available, for straight quotes in verbatim environments
\IfFileExists{upquote.sty}{\usepackage{upquote}}{}
% use microtype if available
\IfFileExists{microtype.sty}{%
\usepackage{microtype}
\UseMicrotypeSet[protrusion]{basicmath} % disable protrusion for tt fonts
}{}

\usepackage{hyperref}
\hypersetup{unicode=true,
            pdftitle={Submissions to CLM-Community Assembly 2022},
            pdfborder={0 0 0},
            breaklinks=true}
\urlstyle{same}  % don't use monospace font for urls
\usepackage{longtable,booktabs,array}
\usepackage{graphicx,grffile}
\makeatletter
\def\maxwidth{\ifdim\Gin@nat@width>\linewidth\linewidth\else\Gin@nat@width\fi}
\def\maxheight{\ifdim\Gin@nat@height>\textheight\textheight\else\Gin@nat@height\fi}
\makeatother
% Scale images if necessary, so that they will not overflow the page
% margins by default, and it is still possible to overwrite the defaults
% using explicit options in \includegraphics[width, height, ...]{}
\setkeys{Gin}{width=\maxwidth,height=\maxheight,keepaspectratio}
\IfFileExists{parskip.sty}{%
\usepackage{parskip}
}{% else
\setlength{\parindent}{0pt}
\setlength{\parskip}{6pt plus 2pt minus 1pt}
}
\setlength{\emergencystretch}{3em}  % prevent overfull lines
\providecommand{\tightlist}{%
  \setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}
\setcounter{secnumdepth}{0}
% Redefines (sub)paragraphs to behave more like sections
\ifx\paragraph\undefined\else
\let\oldparagraph\paragraph
\renewcommand{\paragraph}[1]{\oldparagraph{#1}\mbox{}}
\fi
\ifx\subparagraph\undefined\else
\let\oldsubparagraph\subparagraph
\renewcommand{\subparagraph}[1]{\oldsubparagraph{#1}\mbox{}}
\fi

\title{Submissions to CLM-Community Assembly 2022}


\date{\vspace{-5ex}}

\renewcommand{\descriptionlabel}[1]{\hspace{\labelsep}\sffamily\bfseries{#1}}

\newcommand\lblob{%
  %\hrule
  \sffamily\small

  
  \vspace{2mm}

    {\bfseries Links}

  \begin{minipage}{4.2cm}
  \begin{itemize}
    \setlength\itemsep{0em}
        \item \href{https://www.clm-community.eu/}{\color{linky}{CLM-Community}}\,\,\ExternalLink
        \item \href{https://www.clm-community.eu/events/clmcommunity-assembly-2022/submissions/export/?format=latex}{\color{linky}{View
on site}}\,\,\ExternalLink
      \end{itemize}
  \end{minipage}
  \vspace{2mm}
  
    \begin{minipage}{4.2cm}
      {\bfseries Exported:} \DTMusedate{creationDate}

    \vspace{0.5em}
    \end{minipage}
  
  \vspace{2mm}
    {\bfseries License}\\
    All rights reserved
    }

\begin{document}
\maketitle

{
\setcounter{tocdepth}{1}
\tableofcontents
}
\newpage

\subsection{Metadata}\label{metadata}

\begin{description}
\tightlist
\item[Submitted by:]
\end{description}

\href{https://www.clm-community.eu}{View on event website}


\end{document}
