LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 10-30-2004, 02:30 PM   #1
doublefailure
Member
 
Registered: Mar 2002
Location: ma
Distribution: slackware
Posts: 747

Rep: Reputation: 30
Latex question, image and paragraph ordering..


hello

i'm very new to tex.

when i import a graph file with

paragraph1

\begin{figure}[htbp]
\begin{center}
\input{figure3.pstex_t}
\caption{figure3 name }
\label{figure:figure3}
\end{center}
\end{figure}

paragraph2


sometimes when the image is big, the graph position gets changed.

i.e. on pdf, it appears like this

pargraph1

paragraph2

the figure3


can i fix this problem?

thank you in advance
 
Old 10-30-2004, 02:45 PM   #2
ToniT
Senior Member
 
Registered: Oct 2003
Location: Zurich, Switzerland
Distribution: Debian/unstable
Posts: 1,357

Rep: Reputation: 47
The line
Code:
\begin{figure}[htbp]
means: Here starts a figure, please put it here, or if it doesn't fit there very well, put it in the top of the page, or if it doesn't look good there either, but it at the bottom of the page, or into a separate figures-page.

To force it to be "here", you can say
Code:
\begin{figure}[!h]
Warning: micromanaging your document leads to a major loss in efficiency and work hours. Generally it is better to let LaTeX decide where to put the text and figures and focus your energy on just referring to the picture in right place of the text (and to the subject itself).
 
Old 10-30-2004, 03:27 PM   #3
doublefailure
Member
 
Registered: Mar 2002
Location: ma
Distribution: slackware
Posts: 747

Original Poster
Rep: Reputation: 30
thanks

i got your point.

i just changed location of images so that it can be better related to the text contents.


btw, !h gives warning
LaTeX Warning: `!h' float specifier changed to `!ht'.

and doesn't seem to work as you said.


thank you again.
 
Old 10-30-2004, 08:40 PM   #4
ToniT
Senior Member
 
Registered: Oct 2003
Location: Zurich, Switzerland
Distribution: Debian/unstable
Posts: 1,357

Rep: Reputation: 47
hmm.. that is strange.
I just checked from lshort manual (page 42, floating bodies)
and if I understand it correctly, it should work as I said.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Latex question spoonsha Linux - Software 6 08-16-2005 08:35 PM
Simple Latex Question Optimistic Linux - Software 6 07-18-2005 03:41 AM
Firefox problem and a question on latex mssm Suse/Novell 5 02-28-2005 08:30 AM
LaTeX commands: texi2pdf, latex, dvipdf kaon Linux - Software 7 01-23-2005 03:32 PM
latex question about verbasem realos Linux - General 2 07-03-2003 09:43 AM


All times are GMT -5. The time now is 09:21 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration