insert image in latex

Posted on 2005-03-22
Medium Priority
Last Modified: 2008-01-09
I have an image pipo.eps and a latex file named invoice.tex
Both are placed in the same dir on a server, and I have a webapplication that displays a nice pdf document from the tex file. Now, I want to insert pipo.eps into the file. Assume that I really know nothing about latex. Someone gave me some code but it gives errors. Someone else said there is something wrong with "usepackage". I really don't know what to do?
Question by:alberthendriks
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
LVL 38

Expert Comment

ID: 13608389
I have not played with Latex for more than 10 years now, please have a look at my answer in

Just follow the links to have a look at the sample codes.

Expert Comment

ID: 13610237

here is an exemple to show you how to insert image(.eps) in your file

% invoice.tex
\Logo{\umbclogo}   % add an optional UMBC logo


Use the \verb|\includegraphics| command to include
encapsulated Postscript graphics in \LaTeX\ documents,
like this:






You can get this exemple here :

Hope this helps,



Author Comment

ID: 13620360
Sorry, it seems that the problem is different. Although the embedded latex compiler I am using generates a pdf document, there seem to be errors in it. Because small normal modifications to the document cause the compiler to fail generating a pdf document, with errors. I am not a latex expert. I did not make this document, I just have to add an image to it. Could someone debug? The below document works, but if I remove the % on the 2nd line, it fails with errors. (points increased).




    Telephone & \\
    Facsimile & 



%\thispagestyle{empty}     use this with letterhead paper

  \textbf{Subtotal} & \textbf{} \\




  \textbf{Number} & \textbf{Description} & \textbf{Qt'y} &
    \textbf{Unit} & \textbf{Price} & \textbf{Disc} & \textbf{Amount} \\
  & carried forward from page  \\




\textbf{F A K T U U R}
  \textbf{Datum} &  \\
  \textbf{Faktuurnummer} &  \\
  \textbf{Klantnummer} & 


  \textbf{Artikelnr} & \textbf{Omschrijving} & \textbf{Aantal} &
    \textbf{Eenheid} & \textbf{Prijs} & \textbf{Korting} & \textbf{Bedrag} \\





  \textbf{Subtotaal} & \textbf{} \\


  \textbf{Totaal} & \textbf{}\\


  Alle prijzen in \textbf{}.




\centerline{\textbf{Dank voor uw gewaardeerde klandizie!}}



Accepted Solution

kaireny earned 1000 total points
ID: 13621381
Well, if when you uncomment the graphic package, you get an error, i would say you have a probleme with your package.
If i well remember, graphicx is a standard package, but maybe yours is corrupted or somethig likes that.
Maybe reinstalling it is a good idea.

Here is a pdf file for LateX :
Check chapter 5.1 etc for packages installation.

Hope you will find what you need,


Featured Post

Veeam Task Manager for Hyper-V

Task Manager for Hyper-V provides critical information that allows you to monitor Hyper-V performance by displaying real-time views of CPU and memory at the individual VM-level, so you can quickly identify which VMs are using host resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses
Course of the Month15 days, 2 hours left to enroll

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question