I'm using a simple code.
Code: Select all
\documentclass[12pt,journal,compsoc]{IEEEtran}
\usepackage{alltt}
\usepackage{amssymb}
\usepackage{amsfonts}
\usepackage{mathtools}
\usepackage{array}
\usepackage{amsmath}
\begin{document}
\begin{figure}[ht]
\centering
\includegraphics[width=\linewidth]{image1}
\caption{my comments}
\label{referenceForText}
\end{figure}
\end{document}
- Should the image lie in the folder we are having the source file?
- And when I am using I am getting this error.
Code: Select all
Overfull \hbox (19.95824pt too wide) in paragraph at lines 96--123 [][] Overfull \hbox (18.2944pt too wide) in paragraph at lines 129--150 [][] Underfull \hbox (badness 10000) in paragraph at lines 153--157 [3] Overfull \hbox (181.7277pt too wide) detected at line 223 \OML/cmm/m/it/12 R[] \OT1/cmr/m/n/12 = [] [] ! Undefined control sequence. l.229 \includegraphics ?