I'm new to latex and I'm using a template I found on overleaf. I'm struggling with my appendix; for some reason, when I add an image, the appendix title will appear below the image instead of at the top. It is probably a very simple mistake, but I'm learning it by myself and still need to grasp a lot of things.
Code: Select all
Code, edit and compile here:
\documentclass[12pt,a4paper]{article}\usepackage[german]{babel}\usepackage{xcolor}\usepackage[utf8]{inputenc}\usepackage{amsmath, amsthm, amssymb}\usepackage{enumerate}\usepackage{graphicx}\usepackage{lscape}\usepackage{setspace}\onehalfspacing\usepackage{wrapfig}\usepackage{multirow}\usepackage[round]{natbib}\usepackage{hyperref}\bibliographystyle{apalike}\newtheorem{definition}{Definition}[section]\newtheorem{interview}{Interview}[section]\newtheorem{satz}{Satz}[section]\newtheorem{beispiel}{Beispiel}[section]\newtheorem{bemerkung}{Bemerkung}[section]\newtheorem{literaturverzeichnis}{Literaturverzeichnis}[section]\usepackage[top=25mm, bottom=20mm, vmargin=25mm, includehead]{geometry}\setlength{\topmargin}{0cm}\setlength{\parindent}{5mm}\setlength{\parskip}{2mm}\setlength{\evensidemargin}{0mm}\setlength{\oddsidemargin}{0cm}\newpage\appendix\section{Abbildungen}In diesem Anhang finden Sie alle Abbildungen.\begin{figure}\includegraphics[width=\textwidth]{FS-Vorlage/Abbildungen/G.Egle Metakognition Grafik deklarativ exekutiv.jpeg}\caption{Schema zur Metakognition} \centering\cite{Egle}
thanks in advance,
Di.