1

It said "

%% For including figures, graphicx.sty has been loaded in
%% elsarticle.cls

I do not know how to use that effectively. can you provide a worked example here.

For example

\usepackage{epsfig}
 \usepackage{graphicx}
\usepackage{placeins}
\begin{figure}
\caption{Damage at }
\includegraphics[width=\textwidth]{fig1.pdf}
\end{figure} 
\FloatBarrier

How should I place the figure within manuscript. Or do I need to bring them at the end of manuscript? (attention to elsarticle requirement). The code above is currently place figure randomly in somewhere doc. why?

Mohammad
  • 966
  • 1
    Latex does not support tif, convert it into, say, png and include that – daleif Feb 02 '16 at 19:50
  • @ daleif As far as I know .tif gives a good quality of resolution in a hard copy version of publication. .png is the worst, is it not? – Mohammad Feb 02 '16 at 19:58
  • I haven't had any problems with it. – daleif Feb 02 '16 at 19:59
  • 1
    As long as the source is of good quality. Crappy we images will always be Crappy no matter the format. Have had good results scanning hi res images (diagrams from old books) on our photo copier, then converting it into png to be used in pdf for printing. – daleif Feb 02 '16 at 20:02

1 Answers1

1

How about

\documentclass[preprint,12pt,authoryear]{elsarticle}
\begin{document}

\begin{figure}
\caption{abc} \label{fig:abc}
\includegraphics[width=\textwidth]{<filename>}
\end{figure}
\end{document}

Simply use a real filename, of an image file encoded in a supported format, instead of <filename>.

Mico
  • 506,678