Graphics, Figures & Tablesplace figure in one full page ?

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
rajini
Posts: 64
Joined: Mon Mar 22, 2010 2:27 pm

place figure in one full page ?

Post by rajini »

hello all,
I want to place a big figure perfectly in one full page (A4) such the body text before and after the figure flows smoothly. If i use float package [H] then the text after the figure starts as anew para and the text before figure does not end properly. How to do it? Because when i tried to play with scaling factor (115mm in code below), at one point some how one line of text (from body text) always appear below the figure..So if i increase the size, the figure goes to last page of my document. I just want to scale the figure (along with its caption) to one full page.
My code as follows:

Code: Select all

\begin{figure}[!t]/* i tried h,t,b, etc*/
  \centering
  \includegraphics[width=115mm]{nameos}
\caption{Lorentzian peaks.}\label{fig:catinpy}
\end{figure}

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

place figure in one full page ?

Post by gmedina »

Hi,

have you tried something like this?

Code: Select all

\begin{figure}[!th]
  \centering
  \includegraphics[height=\textheight]{nameos}
  \caption{Lorentzian peaks.}
  \label{fig:catinpy}
\end{figure}
1,1,2,3,5,8,13,21,34,55,89,144,233,...
rajini
Posts: 64
Joined: Mon Mar 22, 2010 2:27 pm

Re: place figure in one full page ?

Post by rajini »

Hi gemedia,
just now i tried. No use! The figure scales to the full page's height..but caption goes to the extreme end of that page..But still figure does not stay in that place..and goes to end of document somewhere. However i will play with different heights. (figure should be a float but should occupy one full page)
Meanwhile if you have some other idea please inform me.
thanks
rajini
Posts: 64
Joined: Mon Mar 22, 2010 2:27 pm

Re: place figure in one full page ?

Post by rajini »

Hello,
i got the information. Now i am happy that i solved my problem :lol:
Here are the valuable info. Should be helpful for many latex intermediate level ppl.
Although, there are some tip but i like this:
First load the 'afterpage' package in preamble then before \begin{figure}, place a \afterpage{\clearpage}. Thatz it. Only this is you have to place all these figure commands roughly after the text..so that the fig. appears after the same text.

regards, rajini


http://people.cs.uu.nl/piet/floats/node1.html
Post Reply