\documentclass[11pt,a4paper]{article}

% Language and encoding settings
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[english]{babel}

% Page formatting
\usepackage[left=1in, right=1in, top=1in, bottom=1in]{geometry}
\usepackage{setspace}
\onehalfspacing

% Header/Footer
\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyhf{} % clear all header and footer fields
\fancyhead[L]{\textbf{\course}}
\fancyhead[C]{Assignment \assignmentnumber}
\fancyhead[R]{\name}
\fancyfoot[C]{\thepage}

% Other packages
\usepackage{enumitem}
\usepackage{graphicx}

% Custom commands for easy detail insertion
\newcommand{\assignmentnumber}{04} % <-- CHANGE Assignment Number
\newcommand{\name}{Simon Franken}      % <-- CHANGE YOUR NAME
\newcommand{\course}{Multimedia Project WiSe 2526}  % <-- CHANGE COURSE NAME
\newcommand{\duedate}{2025-11-12}  % <-- CHANGE DUE DATE

% Title formatting
\usepackage{titling}
\pretitle{
  \vspace*{2cm}
  \begin{center}
  \LARGE\bfseries
}
\posttitle{\par\end{center}\vspace{1cm}}

\begin{document}

\title{Assignment \assignmentnumber}
\author{\name}
\date{\duedate}

\maketitle

\begin{center}
    \textbf{Course:} \course
\end{center}
\vspace{0.5cm}

%------------------ START OF ASSIGNMENT -----------------------

% Write your solutions below

\section*{Exercise 4.2 Label Grid}
\begin{enumerate}[label=\alph*)]
    \setcounter{enumi}{2}
    \item \begin{figure}[htp]
              \centering
              \includegraphics[width=4cm]{output.jpg}
              \caption{output.txt}
          \end{figure}
\end{enumerate}

%------------------ END OF ASSIGNMENT -----------------------

\end{document}