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 in LaTeX

  1. Mar 26, 2012 #1
    Hello PF,
    I am using MiKTex and TeXnicCenter for writing my Thesis Report. I want to add images (.jpg or .eps format) into the report.

    The last one I tried was,


    What I get is just a empty squared box with the file name 121127332.jpg

    Although I have been trying various procedures every attempt to add an image has failed.
    Can anyone please provide me the right procedure for adding images

  2. jcsd
  3. Mar 26, 2012 #2

    D H

    User Avatar
    Staff Emeritus
    Science Advisor

    That results from using the [draft] option to graphicx. Apparently MiKTex makes draft the default.

    Try using \usepackage[final]{graphicx} instead of \usepackage{graphicx} .
  4. Mar 26, 2012 #3
    Thanks for mentioning about draft. Indeed I have mentioned "draft" in documentclass

    Now obtaining proper output. I have yet another doubt. For the sections and subsections I have been obatining the numbers as follows

    0.1 Introduction
    0.2 blah blah
    0.2.1 blah blah

    I would like to know how to change the numbers to 1, 2, 2.1, etc. Any suggestions?

  5. Mar 26, 2012 #4

    D H

    User Avatar
    Staff Emeritus
    Science Advisor

    It sounds like you are using the report document class, or something similar, but are only using section, subsection, etc. Reports have chapters, sections, subsections, etc. If you don't want chapters you should use the article document class instead.
  6. Apr 20, 2012 #5
    Hi! I have yet another doubt

    I would like to add nomenclature for my thesis report. After googling, I tried this sample doc. Yet to obtain the proper results

    \section*{Main equations}
    \nomenclature{$a$}{The number of angels per unit area}%
    \nomenclature{$N$}{The number of angels per needle point}%
    \nomenclature{$A$}{The area of the needle point}%
    The equation $\sigma = m a$%
    \nomenclature{$\sigma$}{The total mass of angels per unit area}%
    \nomenclature{$m$}{The mass of one angel}
    follows easily.

    After typing the above, All I get is just the equation

    Could you suggest me the right procedure for introducing the nomenclature

Share this great discussion with others via Reddit, Google+, Twitter, or Facebook