\documentclass[11pt,a4paper]{article}

% layout
\usepackage[a4paper,left=22mm,right=22mm,top=5mm,bottom=12mm,includeheadfoot]{geometry}
\setlength{\parindent}{0pt}
\setlength{\parskip}{4pt}
\setlength{\columnsep}{7mm}

\usepackage[ngerman,english]{babel}
\usepackage{graphicx}
\graphicspath{{./images/}}
\usepackage{url}
\usepackage{xcolor}
\usepackage{multicol}
\usepackage{capt-of}
\usepackage{titlesec}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{tgpagella}
\usepackage{microtype}
\usepackage{listings}
\usepackage{booktabs}
\usepackage{float}
\usepackage{array}
\usepackage{amsmath}
\usepackage{orcidlink}
\usepackage[backend=biber,style=numeric,sorting=none,defernumbers=false,labelnumber]{biblatex}

\usepackage{rotating}
\defbibenvironment{bibliography}
  {\list
     {\printtext[labelnumberwidth]{\printfield{labelnumber}}}
     {\setlength{\leftmargin}{\bibhang}%
      \setlength{\labelwidth}{2em}%
      \setlength{\labelsep}{0.5em}%
      \setlength{\itemsep}{0.8\baselineskip}%
      \setlength{\parsep}{0pt}%
      \setlength{\parskip}{0pt}}}
  {\endlist}
  {\item}

  
\addbibresource{references.bib}
\definecolor{listingbg}{HTML}{FBFBFB} % almost-white gray
\lstset{
  backgroundcolor=\color{listingbg},
  basicstyle=\ttfamily\small,
  numberstyle=\tiny,
  breaklines=true,
  captionpos=b,
  xleftmargin=2mm,
  xrightmargin=0mm
}
\titleformat{\section}[block]{\normalfont\Large\bfseries\centering}{\thesection}{1em}{}
\titleformat{\subsection}[block]{\normalfont\large\bfseries\centering}{\thesubsection}{1em}{}

% ---- affiliations helper (no extra packages) ----
\makeatletter
\newcounter{affil}
\newcommand{\Affil}[1]{%
  \refstepcounter{affil}%
  \expandafter\gdef\csname affil@\theaffil\endcsname{#1}%
}
\newcommand{\PrintAffiliations}{%
  \begin{center}%
    \begin{minipage}{0.92\textwidth}%
      \begingroup\footnotesize\itshape\raggedright
      \@tempcnta=\value{affil}\@tempcntb=1
      \loop\ifnum\@tempcntb>\@tempcnta\else
        \noindent\textsuperscript{\number\@tempcntb}\ %
        \csname affil@\number\@tempcntb\endcsname\par
        \advance\@tempcntb by 1
      \repeat
      \par\endgroup
    \end{minipage}%
  \end{center}%
}
\makeatother

\newcommand{\Author}[2]{{\scriptsize\textcolor{black}{#1}\textsuperscript{#2}}}
\definecolor{cbcol}{rgb}{0.00,0.35,0.70}
\newcommand{\contactbox}[4]{%
  \par\noindent
  \setbox0=\vbox{%
    \hsize=0.94\textwidth
    {\large\bfseries #1}\par\medskip
    #2\par\medskip
    {\itshape #3}\par\medskip\normalfont
    \textbf{Kontakt/Contact}\par
    \text{#4}\par
  }%
  \dimen0=\ht0 \advance\dimen0 by \dp0 \advance\dimen0 by 2mm
  \begin{minipage}{\linewidth}
    \noindent\textcolor{cbcol}{\dotfill}\vspace{1mm}\par
    \noindent\hbox{%
      \textcolor{cbcol}{\rule{2.2mm}{\dimen0}}\hspace{3mm}%
      \box0
    }\par
    \vspace{-2mm}\par\noindent\textcolor{cbcol}{\dotfill}
  \end{minipage}\par
  \vspace{5mm}
}%


\begin{document}
\pagestyle{empty} % suppress page numbers for the entire document

\hfill
\begin{flushright}{\scriptsize\textcolor{gray}{Proceedings of the Doctoral Colloquium DigiTech | 2026 No. 2 \\ Article}}\end{flushright}

\vspace{15mm}
\makeatletter
\renewcommand\footnoterule{%
  {\color{gray}\hrule \@width 0.4\columnwidth \@height 0.4pt}%
}
\makeatother

\begin{minipage}{1\textwidth}
  \begin{center}
  {\fontsize{22}{26}\selectfont\textbf{Title of the research proposal}}
  \end{center}
\end{minipage}
\par
\begin{center}
\vspace{5mm}
\Author{Author's name}{1}\
\Author{Author's name}{2}\quad
\end{center}

\begin{multicols}{2}
  {\tiny\itshape
    \textsuperscript{1} Author's institution and faculty; doctoral candidate and corresponding author \\
    \textsuperscript{2} Author's institution and faculty; supervisor\\
  }
\end{multicols}

\begin{center}{\scriptsize\textcolor{gray}{DOI (https://... is inserted by the library)}}\end{center}

\vspace{6mm}
{\large\bfseries\textcolor[rgb]{0.00,0.35,0.70}{Abstract}}\\[-0.8em]
{\color[rgb]{0.00,0.35,0.70}\dotfill}


Abstract in english: The abstract provides a summary of your research outline. It contains motivation, research question, methodology, results, and implications and has to be written in a single, short paragraph of 250 - 300 words. 
\\
\\
\selectlanguage{ngerman}
{\itshape
Abstract in deutsch
}
\selectlanguage{english}
\\
\\

\begin{minipage}{1\textwidth}
{\large\bfseries\textcolor[rgb]{0.00,0.35,0.70}{Keywords}}\\[-0.8em]
{\color[rgb]{0.00,0.35,0.70}\dotfill}

\begin{center}
\begin{minipage}{\textwidth}

keyword 1, keyword 2 (maximum of 5 keywords)

\end{minipage}
\end{center}
\end{minipage}
\\
\\
\\
\begin{multicols}{2}

\section{Introduction}

Major sections of the research outline are introduction, methodology, results, and discussion. 

Use bullet points, if necessary:

\begin{itemize}
    \item RQ1
    \item RQ2
    \item RQ3
\end{itemize}

Use bold type, if necessary: \textbf{Lorem ipsum}

How to cite sources, using Habermas as an example: \cite{HABERMAS200527}

Using formulas: The Pythagorean theorem states:

\begin{equation}
a^2 + b^2 = c^2
\end{equation}

Using listings: An example of LaTeX code

\lstinputlisting[
    caption={Example LaTeX code for Pythagoras},
    label={lst:pythagoras},
    language=TeX,
    basicstyle=\ttfamily,
    numbers=left,
    stepnumber=1,
    numberstyle=\tiny,
    numbersep=5pt,
    breaklines=true,
    captionpos=b,
    frame=single,
    framerule=0pt,
    framesep=0pt,
    rulecolor=\color{black}
]{listings/Example listing.txt}

\section{Second chapter}

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

\subsection{Subchapter}

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

\subsubsection{Subsubchapter}

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

\section{Third chapter}

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

\end{multicols}

\begin{figure*}[htbp]
	\centering
	\includegraphics[width=\textwidth]{images/Example figure.jpg}
	\caption{Title}
	\label{fig:Example figure}
\end{figure*}

\begin{multicols}{2}

\section{Fourth chapter}

Figure: Use of small figures, if necessary

\begin{center}
\begin{minipage}{\linewidth}
  \includegraphics[width=\linewidth]{images/Example figure.jpg}
  \captionof{figure}{Title}
  \label{tab:searchTerms}
\end{minipage}
\end{center}

Table: Use of tables, inserted as an image, if necessary

\begin{minipage}{\linewidth}
 \centering
  \captionof{table}{Title}
  \vspace{0.2cm}
  \includegraphics[width=\linewidth]{images/Example table.jpg}
  \label{tab:Table1}
\end{minipage}


Table: Use of tables, inserted as a table, if necessary

\begin{minipage}{\linewidth}
\begin{table}[H]
  \centering
  \caption{Titel der Tabelle}
  \vspace{0.2cm}
  \begin{tabular}{|c|c|c|}
    \hline
    Spalte 1 & Spalte 2 & Spalte 3 \\
    \hline
    Zelle 1 & Zelle 2 & Zelle 3 \\
    \hline
    Zelle 4 & Zelle 5 & Zelle 6 \\
    \hline
    \end{tabular}
    \label{tab:Table2}
\end{table}
\end{minipage}

\section{Results}

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Lorem ipsum dolor sit amet, consectetur adipiscing elit.


\section{Future Work}

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Lorem ipsum dolor sit amet, consectetur adipiscing elit.


\vspace{10mm}
\begingroup
  \renewcommand*{\bibfont}{\fontsize{7pt}{8pt}\selectfont}
  \printbibliography
\endgroup

\end{multicols}

\vspace{15mm}
% contacts full width
\contactbox
{Author's name}
{Brief description of the PhD candidate and their research activities (english)}
{Kurze Beschreibung des Promovierenden und Forschungstätigkeit (deutsch)}
{Email@.de
\orcidlink{0000-0000-0000-0000}}

\contactbox
{Author's name}
{Brief description of the supervisor and their research activities (english)}
{Kurze Beschreibung des Betreuenden und Forschungstätigkeit (deutsch)}
{Email@.de
\orcidlink{0000-0000-0000-0000}}

\vspace{4mm}

\begin{minipage}{1\textwidth}
{\large\bfseries\textcolor[rgb]{0.00,0.35,0.70}{Reviews}}\\[-0.8em]
{\color[rgb]{0.00,0.35,0.70}\dotfill}
\end{minipage}

\vspace{2mm}
\begin{minipage}{1\textwidth}
{\itshape
Name of the reviewing professor (Institution and Faculty) and name of the peer reviewer (Institution and Faculty)
}
\end{minipage}

\end{document}
