Register to reply

How to insert Images in LaTeX

by bhaazee
Tags: images, insert, latex
Share this thread:
bhaazee
#1
Mar26-12, 07:34 AM
P: 80
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,

\usepackage{graphicx}
\begin{figure}
\includegraphics[scale=0.40]{121127332}
\end{figure}

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

Regards
Phys.Org News Partner Science news on Phys.org
Suddenly, the sun is eerily quiet: Where did the sunspots go?
'Moral victories' might spare you from losing again
Mammoth and mastodon behavior was less roam, more stay at home
D H
#2
Mar26-12, 07:55 AM
Mentor
P: 15,053
That results from using the [draft] option to graphicx. Apparently MiKTex makes draft the default.

Try using \usepackage[final]{graphicx} instead of \usepackage{graphicx} .
bhaazee
#3
Mar26-12, 11:59 AM
P: 80
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?

Regards

D H
#4
Mar26-12, 12:41 PM
Mentor
P: 15,053
How to insert Images in LaTeX

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.
bhaazee
#5
Apr20-12, 07:50 AM
P: 80
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

\documentclass{article}
\usepackage{nomencl}
\makenomenclature
\begin{document}
\section*{Main equations}
\begin{equation}
a=\frac{N}{A}
\end{equation}%
\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.
\printnomenclature
\end{document}

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

Could you suggest me the right procedure for introducing the nomenclature

Regards


Register to reply

Related Discussions
How do you insert a break using latex? Calculus & Beyond Homework 18
Images in Latex Math & Science Software 16
How to insert spaces between words in latex Math & Science Software 3
How do I insert an image on a LaTex doc? Math & Science Software 8
Free programs that use Latex that I could insert in a ms word doc and attach Math & Science Software 3