I am trying to figure out how to make more space on particular pages for some large figure floats. The effect I would like is that for these particular pages the header be turned off (I am using a fancy header pagestyle) and the space reserved for the header be made available for the figure float so that the figure will print at a reasonable size.
I have tried changing the Pagestyle to Empty, I have tried using Enlargethispage and Enlargethispage*, and lots of other things. Nothing has worked so far. Any ideas?
General ⇒ Making more space available for oversized figures
NEW: TikZ book now 40% off at Amazon.com for a short time.
Re: Making more space available for oversized figures
Use \thispagestyle{empty}
B.A.
B.A.
Making more space available for oversized figures
balfonsi wrote: Use \thispagestyle{empty}
B.A.
Thank you.
I have tried this, but am unable to get empty page style to apply to the page with the float. I have placed the code line before the float, after it and finally, IN it (after the \begin{figure}, but nothing seems to work. In the pdf output, the page without the header is always the one preceeding the float. Any other ideas?
Re: Making more space available for oversized figures
What's your preamble? Perhaps you use a class/package that modifies page styles. Maybe the problem is linked to the floats. Did you compile several times? Or put \mbox{}\thispagestyle{empty} AFTER your figure: \mbox{} is there to (try) to make understand LaTeX it is in a new paragraph after the figure. Also, which placement parameter did you use?
The point is that, for LaTeX, the command must be delivered in the right page (where exactly is unimportant).
Best regards,
B.A.
The point is that, for LaTeX, the command must be delivered in the right page (where exactly is unimportant).
Best regards,
B.A.
Making more space available for oversized figures
balfonsi wrote: What's your preamble? Perhaps you use a class/package that modifies page styles. Maybe the problem is linked to the floats. Did you compile several times? Or put \mbox{}\thispagestyle{empty} AFTER your figure: \mbox{} is there to (try) to make understand LaTeX it is in a new paragraph after the figure. Also, which placement parameter did you use?
The point is that, for LaTeX, the command must be delivered in the right page (where exactly is unimportant).
Best regards,
B.A.
Thanks for your response.
I tried \mbox{}\thispagestyle{empty} after the figure - no luck. The page for which the headers are turned off is still not the one associated iwth the figure.
Here are the packages I am using:
\documentclass[12pt,twoside]{report}
\usepackage{graphicx}
\usepackage{float}
\usepackage[T1]{fontenc}
\usepackage[ansinew]{inputenc}
\usepackage[english]{babel}
\selectlanguage{english}
\usepackage{array}
\usepackage[letterpaper,left=1.25in, right=1in, t
\usepackage{setspace}
\usepackage{rotating}
\usepackage{fancyhdr}
\usepackage{fancybox}
\usepackage[ragged,outercaption]{sidecap}
\usepackage{boxedminipage}
\usepackage{titlesec}
\usepackage{natbib}
\usepackage{titletoc}
\usepackage{pdfpages}
\usepackage[colorlinks, linkcolor=blue]{hyperref}
Concerning the placement parameters, I was using the default so I tried all of the others (I thought "h" might work as perhaps Latex was getting confused about which page the float was on and relating that to the page for which I want to turn off the headers) but again, no luck. The page with the headers turned off is always 1 (or even 2) pages from the page with the figure.
Again, thanks for your help.
Making more space available for oversized figures
Okay. I finally figured out that there is a package for this (as there usually is).
The floatpag package that is part of the sttools package of packages allows me to set the page style for float pages, rotated float pages, etc. This is very good.
The problem I have is that this does not really give me more room on the page. I want to be able to print rotated (sidewaysfigure) figures to within about .5 in of the top and bottom of the page. In other words, I want to be able to print a figure that is 10 in high, so that it will be centred on the page vertically.
Any ideas would be helpful. Thanks.
The floatpag package that is part of the sttools package of packages allows me to set the page style for float pages, rotated float pages, etc. This is very good.
The problem I have is that this does not really give me more room on the page. I want to be able to print rotated (sidewaysfigure) figures to within about .5 in of the top and bottom of the page. In other words, I want to be able to print a figure that is 10 in high, so that it will be centred on the page vertically.
Any ideas would be helpful. Thanks.
Re: Making more space available for oversized figures
I've just looked at fancyhdr's doc: I think there's a solution to your pb in §14 'Special page layout for float pages'.
Btw, did you use the parameter !ht (! means 'do all you can to put it here'). If your float appears on top of a page, and your document in final form, try:
\clearpage
\thispagestyle{empty}
\begin{figure}
...
B.A.
Btw, did you use the parameter !ht (! means 'do all you can to put it here'). If your float appears on top of a page, and your document in final form, try:
\clearpage
\thispagestyle{empty}
\begin{figure}
...
B.A.