Graphics, Figures & TablesPage Margins and increasing Figure Height

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
latexhelp1
Posts: 141
Joined: Sun Jun 12, 2011 6:30 am

Page Margins and increasing Figure Height

Post by latexhelp1 »

I want to place two figures on the same page. However, I can only get the combined heights of the figures and the space in the between them to be 7 inches, figuring the caption titles and margins to be no more than another 0.5 inch or so each. Either way, it is clear visually that there is more space between the page number and the last graph that can be exploited although I cannot figure out how.

I would appreciate your help in stretching out the figures so that they are closer to the page number. I am including the .pdf file with the figures so you can see what I mean. I am also including both .eps in the .zip file if you would like them for compiling purposes.

Code: Select all

\documentclass[12pt,english]{article}

\usepackage{times}
\usepackage{setspace} 
\usepackage{numlscape}
\usepackage[T1]{fontenc}
\usepackage[font=large,labelfont=bf,tableposition=top,textfont=bf]{caption}
\usepackage{varwidth}

\begin{document}
     
\singlespace

\begin{figure}[!ht]
\begin{adjustwidth}{2em}{2em}
\centering
\caption{Table 1 Caption}
\begin{varwidth}{5.50in}
\includegraphics[height = 3.35in, width = 5.50in]{Testfig1.eps}
       
\smallskip
\footnotesize
Notes: 

Source:  
\end{varwidth}
\end{adjustwidth}
\end{figure}

\vspace{0.25in}
\begin{figure}[!ht]
\begin{adjustwidth}{}{2em}
\centering
\caption{Table 2 Caption}
\begin{varwidth}{5.50in}
\includegraphics[height = 3.35in, width = 5.50in]{Testfig2.eps}
       
\smallskip
\footnotesize
Notes: .

Source: . 
\end{varwidth}
\end{adjustwidth}
\end{figure}


\end{document}
I would very much appreciate any help you can provide!
Attachments
Testfig1.zip
(189.67 KiB) Downloaded 168 times
Test3.pdf
(37.38 KiB) Downloaded 278 times

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

5gon12eder
Posts: 126
Joined: Sun Feb 13, 2011 8:36 pm

Page Margins and increasing Figure Height

Post by 5gon12eder »

Your code requires some packages I don't have. However, I think that the geometry package's \newgeometry macro could help you. It is possible with this macro to make the margins for some pages smaller than usual. After the graphics page, you can restore the geometry via \restoregeometry.

For example:

Code: Select all

\documentclass{article}
\usepackage{geometry}

\geometry{bottom=3cm, footskip=2cm}

\begin{document}
  top \vfill bottom
  
  \newgeometry{bottom=1cm, footskip=0cm}
  top \vfill bottom
  % Your figures here...
  \restoregeometry
  
  top \vfill bottom
\end{document}
The package offers you a lot of screws to turn on. Please see the manual to decide which one you'd like to adjust.

Best
I'm using pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian).
latexhelp1
Posts: 141
Joined: Sun Jun 12, 2011 6:30 am

Page Margins and increasing Figure Height

Post by latexhelp1 »

I really appreciate this! I love this package and your example is tremendously helpful!

One question though. I've been playing around the dimensions endlessly and can't get it the way I would like.

I want there to about a 0.75 inch margin between the very top of the page and the beginning of the text on the first page, its caption. I would like a 0.75 inch margin between the bottom of the page and the bottom of of the text of the page, the second figure's footnotes. I would also like the page number to be about 0.65 inches from the page's bottom, and thus about 0.1 inch from the last line of text.

The following is the best that I can come up with. I am fairly happy with the space from the top of the bottom and top of the page, but would just like the page number elevated a little higher without changing the position of the bottom of the page.

I would very much appreciate your help!

Code: Select all

\geometry{top=0.7in,bottom=0.4in, footskip=0in}
5gon12eder wrote:Your code requires some packages I don't have. However, I think that the geometry package's \newgeometry macro could help you. It is possible with this macro to make the margins for some pages smaller than usual. After the graphics page, you can restore the geometry via \restoregeometry.

For example:

Code: Select all

\documentclass{article}
\usepackage{geometry}

\geometry{bottom=3cm, footskip=2cm}

\begin{document}
  top \vfill bottom
  
  \newgeometry{bottom=1cm, footskip=0cm}
  top \vfill bottom
  % Your figures here...
  \restoregeometry
  
  top \vfill bottom
\end{document}
The package offers you a lot of screws to turn on. Please see the manual to decide which one you'd like to adjust.

Best
5gon12eder
Posts: 126
Joined: Sun Feb 13, 2011 8:36 pm

Page Margins and increasing Figure Height

Post by 5gon12eder »

I would like a 0.75 inch margin between the bottom of the page and the bottom of of the text of the page, the second figure's footnotes. I would also like the page number to be about 0.65 inches from the page's bottom, and thus about 0.1 inch from the last line of text.
You should get this if you set bottom to 0.75 in and footskip to the estimated height of your footer plus 0.1 in.
I'm using pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian).
latexhelp1
Posts: 141
Joined: Sun Jun 12, 2011 6:30 am

Page Margins and increasing Figure Height

Post by latexhelp1 »

Thank you! Your help is just tremendous!!

So in other words:

Code: Select all

\geometry{top=0.75in,bottom=0.75in, footskip=0.1in}  
would give me a 0.75 margin at the top and the bottom of the page with the page number being 0.65 inches from the bottom. That looks spot on!

What is the default footskip that corresponds with a 1-in margin: 0.5in?

Code: Select all

\geometry{top=1in,bottom=1in, footskip=0.5in}  
I am attaching an example of such a page.
5gon12eder wrote:You should get this if you set bottom to 0.75 in and footskip to the estimated height of your footer plus 0.1 in.
Attachments
Test3.pdf
(5.55 KiB) Downloaded 270 times
Post Reply