I am using includegraphics to place images. These are basically answers to questions, therefore I would like to images to appear immediately below the question label. However, I the images just keep floating out of position and appear on top of the question label. How can I prevent this?
Sample code below:
\documentclass[12pt]{article}
\usepackage{graphicx}
\usepackage{epstopdf}
\DeclareMathSizes{11}{11}{11}{11}
\begin{document}
\setlength\parindent{0pt}
\textbf{1.} [Nothing to submit]
\textbf{2. (a)}
\includegraphics[scale=0.25]{graphs/fig_2a.eps}
\textbf{2. (b)}
\includegraphics[scale=0.25]{graphs/fig_2b.eps}
\end{document}
figure
with your example the images will always appear exct;y where placed in the source. (Unrelated but it is almost always better to use a structura; environment such as a list and\item
rather than numbering by hand\textbf{2. (b)}
{\textbf (1a)} {\Huge X}
The X doesn't float but its top is above that of 1a