Results 1 to 3 of 3

Math Help - How to insert images in latex

  1. #1
    Newbie
    Joined
    Sep 2008
    Posts
    1

    Smile How to insert images in latex

    I have tried inserting image of eps and png format as required by latex but still only the file name is displayed. I am currently using TexMaker Latex editor and MikTex package for this purpose. Can any one help me.
    Follow Math Help Forum on Facebook and Google+

  2. #2
    Super Member
    Joined
    Aug 2008
    Posts
    903
    First use graphicx package:

    \usepackage{graphicx}

    Now, decide on whether you're building a PDF file or a DVI file. I use eps graphics for PDF and JPEG graphics for DVI files. If you're using TeXnicCenter, there should be a menu item in the menu bar for choosing the output. I create DVI output for draft files because the YAP viewer allows you to click on the output and sends you to the code that produced that line. So I create a JPEG file. Then it's simple: Choose Insert/Picture, then fill in the blanks: find the file, add a caption, add a label. Bam. Done deal. Can also read up on the graphicx package (Do Google for graphicx package in latex) for other options such as scaling the size of the picture, and tons more. Here's some typical code that's created when you do the Insert/Image operation:

    Code:
    \begin{figure}
        \centering
            \includegraphics[scale=1]{Hankel2.eps}
            \caption{Hankel Contour}
        \label{fig:Hankel}
    \end{figure}
    Follow Math Help Forum on Facebook and Google+

  3. #3
    Senior Member bkarpuz's Avatar
    Joined
    Sep 2008
    From
    R
    Posts
    481
    Thanks
    2

    Lightbulb

    Quote Originally Posted by sfrodd View Post
    I have tried inserting image of eps and png format as required by latex but still only the file name is displayed. I am currently using TexMaker Latex editor and MikTex package for this purpose. Can any one help me.
    See http://www.mathhelpforum.com/math-he...eps-files.html
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Abiword latex insert problem
    Posted in the LaTeX Help Forum
    Replies: 1
    Last Post: February 8th 2010, 05:27 AM
  2. how to insert a 3*3 matrix in latex?
    Posted in the LaTeX Help Forum
    Replies: 3
    Last Post: June 9th 2008, 11:17 AM
  3. How to Render Latex images
    Posted in the LaTeX Help Forum
    Replies: 1
    Last Post: May 12th 2008, 04:13 PM

Search Tags


/mathhelpforum @mathhelpforum