Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I'm preparing a paper for submission to a journal. The journal submission system (Elsevier) requires me to load the EPS files (I convert my figures to EPS using gnuplot) separately. But if I do not include my figures in my .tex file how can I refer to my figures in LaTeX? Should I include my figures both in my paper and also load them separately? I wonder whether there is a standard way to do this.

share|improve this question
1  
Yes, including them in the document and uploaded them separately is one way to do it. I will upload a journal soon (TCAS-I) and this is how they told me to do it. –  Martin Scharrer May 27 '12 at 11:59
1  
If you use the \includegraphics command, there is no problem at all. You refer to the file name of the image and the file is aside the tex document. –  Fèlix Galindo Allué May 27 '12 at 12:31

1 Answer 1

The standard way of including images in separate files is with the help of the \includegraphics command. You can use the general float for images as this:

\begin{figure}[h]
\centering
\includegraphics{myimage.eps}
\caption{caption of the image}
\label{fig:figure_reference_label}
\end{figure}

When you want to refer to that image you can use the \ref{fig:figure_reference_label} command in the body of text.

This implies that the images are in the same folder as the .tex document. But you can use relative paths to address the images, as in

\includegraphics{images/myimage.eps}

Hope that helped.

share|improve this answer
    
Don't forget to put \usepackage{graphicx} somewhere before \begin{document} –  amorua May 27 '12 at 15:33

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.