Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

How to insert images into TeXnicCenter (DVI)

  1. Oct 3, 2012 #1
    I am trying to using this line:


    But there is no image showing up when I view the DVI file. What am I doing wrong? (I have \usepackage{graphicx} somewhere at the top)

    nvm, I got it
    Last edited: Oct 3, 2012
  2. jcsd
  3. Oct 26, 2012 #2
    No matter which you use tex editor (TeXnicCenter), if you have the necessary packages to include graphics you should not put any problem as long as you include the necessary libraries.

    Code (Text):

    These are the default for lines include a graph.

    Code (Text):

    \includegraphics[scale=0.5]{your graphic}\quad
    Overview pdf If you can see the graph and then your problem is with the dvi. You should check with other formats (png, eps, pdf)

  4. Oct 26, 2012 #3
    I don't think that DVI directly supports included graphics. This is usually handled by dvips or pdfLaTeX if you compile directly into PDF (my preferred way).

    pdfLaTeX supports .jpg, .png and .pdf. Last time I checked, dvips needed .eps
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Similar Threads - insert images TeXnicCenter Date
Latex Pdf figs insertion May 12, 2015
How to insert Images in LaTeX Mar 26, 2012
Inserting images on LaTeX Nov 11, 2010
How do I insert an image on a LaTex doc? Feb 5, 2009