I am trying to include a graph in a tex document. I do realize that there have already been several questions asked about this topic, but I think by now I have tried all suggested solutions but none seem to work. This is the minimal example:
\documentclass[12pt]{report}
\usepackage{graphicx}
\graphicspath{{C:/Users/felix/Desktop/Bachelorarbeit/TeX/BA_text2/images}}
\usepackage[a4paper]{geometry}
\begin{document}
\begin{figure}
\includegraphics[scale=1]{gap_v3_v4_AT.png}
\end{figure}
\end{document}
Information about my setup:
I am using Texmaker and MiKTeX 2.9.
Things I have tried:
- Absolute and relative paths,
- not initialising a figure environment,
- including the directory where the graph is in the MiKTeX Options-> root directory (was suggested in one of the answers to a similar question)
There is definetly a .png file with the same exact name in the folder set by \graphicspath.
I would be really grateful for any ideas!
", so special characters get escaped. – naphaneal May 02 '17 at 15:37\graphicspathisn't necessary. You can just say\includegraphics{relative_path_from_main}. – Teepeemm Sep 14 '20 at 00:55