jeudi 4 décembre 2014

Image inside exam environment above question


I am wondering how can I fix the constant problem in inserting an image for a question. When I insert the image, I always have the image being above the question number. I want the question number to come first and then below it the inserted figure. What is a simple way to fix this? Here is my minimal working example:



\documentclass[12pt,a4paper]{exam}%,answers
\usepackage{tikz}
\usepackage{alphalph}
\usepackage{amsmath,amssymb}
\usepackage[margin=1in]{geometry}
\usepackage{graphicx}
\usepackage{pgfplots} % for plots

\usepgfplotslibrary{groupplots}
\usetikzlibrary{arrows}

\makeatletter
\pgfplotsset{compat=1.6
auto title/.style={ title=(\AlphAlph{\pgfplots@group@current@plot})
}
}
\makeatother
\begin{document}
\begin{questions}


\question

\begin{center}
\includegraphics[scale=0.5]{10.png}
\end{center}




\end{questions}
\end{document}


enter image description here





Aucun commentaire:

Enregistrer un commentaire