Hier ein Minimalbeispiel (inklusive aller meiner verwendeten packages)
\documentclass[fontsize=12pt]{scrreprt} % legt unsere Grundgestalt fest \usepackage[ngerman]{babel} % legt unsere Sprache fest ngerman: neue deutsche Rechtschreibung \usepackage[utf8]{inputenc} % universeller Zeichenkatalog, verhindert Probleme win-mac \usepackage[T1]{fontenc} % stellt modernere Zeichn zur Verfügung \usepackage{lmodern} % neue PDF Schrift, pixelt nicht \usepackage{microtype} % verhindert all zu große Abstände im Blocksatz \usepackage{paralist} %verändert aufzählungen \usepackage{amsmath} \usepackage{amsthm} \usepackage{amsbsy} \usepackage{amssymb} %bestimmte Symbole \usepackage{fullpage} \usepackage{fourier} \usepackage{tikz} \usetikzlibrary{arrows, shapes,positioning} \usepackage{tkz-graph} \usepackage{bibgerm} \usetikzlibrary{positioning,chains,fit,shapes,calc} \usepackage{comment} \usetikzlibrary{graphs,graphs.standard} \newtheorem{defi}{Definition}[section] \newtheorem{satz}{Satz}[section] \newtheorem{bsp}{Beispiel}[section] \newtheorem{lem}{Lemma}[section] \newtheorem{bem}{Bemerkung}[section] \newtheorem{kor}{Korollar}[section] \renewcaptionname{ngerman}{\figurename}{Abb.} \addtokomafont{caption}{\footnotesize} \addtokomafont{captionlabel}{\textbf} \setcapindent{0pt} \begin{document} \noindent\begin{minipage}[t]{0.45\textwidth} {\centering $ \begin{bmatrix} 1 & 2 & 3 & 4 \\ 4 & 3 & 1 & 2 \\ 3 & 1 & 4 & 3\\ 2 & 4 & 2 & 1 \end{bmatrix} $ \captionof{figure}{test}} \label{fig1} \end{minipage} \end{document}