I need to include figures in my document and i use the following code for that
\begin{figure}[h]
\centering
\includegraphics{QApic}
\caption{Figure One}
\label{QApic}
\end{figure}
The figure appears with a black box around it. How can i modify so that the figure appears with no box around it?
Below is the entire structure
\documentclass[runningheads]{llncs} %runningheads adds headers with page numbers
\usepackage{graphicx}
\graphicspath{ {images/} }
\usepackage{float}
\floatstyle{boxed}
\restylefloat{figure}
\usepackage{listings}
\usepackage{amsmath}
\usepackage{url}
\usepackage{color}
\usepackage{lipsum}
\renewcommand{\sectionmark}[1]{\markright{#1}}
\lstdefinestyle{myjava}{language=Java}
\lstset{style=myjava}
\title{Evaluation of xyz}
\begin{document}
\begin{abstract}
\end{abstract}
%\tableofcontents
\tableofcontents
\newpage
\section{Introduction}
\begin{figure}[h]
\centering
\includegraphics{QApic}
\caption{Figure One}
\label{QApic}
\end{figure}
\section{Experiment}
\section{conclusion}
\end{document}
\floatstyle{boxed}
\begin{figure}[htp]
[h]
means do not put the float at the top of the page, the bottom of a page, or an a page of floats (as not
,b
orp
) so it gives latex almost no chance to place the figure so going to the end is quite likely. latex gives a warning and changes it toht
but even that is very restrictive.