I'm using the default article documentclass for a document that is just supposed to hold the accompanying figures for a paper.
This is what I'm doing:
\documentclass{article}
\usepackage{graphicx}
\graphicspath{ {path} }
\geometry
\begin{document}\vspace{-10ex}
\title{My title}
\author{Author 1 \and
Author 2 \and
Author 3 }
\maketitle
\\
\\
\center
\section*{Accompanying Figures}
\begin{figure}
\includegraphics[width=7cm]{twoapproaches.pdf}
\caption{Two approaches to mutli-class vehicle classification}
\label{fig:1}
\end{figure}\\
% Few more figures
\end{document}
On the first page I have to put a rather long diagram, but it always shows up on the second page. I thought maybe it just doesn't fit. I reduced the image size but it only comes on the first page if I make it really small. I have an entirely empty first page! How can I fix this? How can I edit the margins/font size of the default article document class?
Best Answer
One suggestion is to use
float
package andH
position, forcing the figure to stay in its position in the text. Just add\usepackage{float}
to your preamble and start your figure as\begin{figure}[H]
.