General ⇒ Full page figure, image at top margin, caption on bottom mar
Full page figure, image at top margin, caption on bottom mar
I hoped I would make \vfill work somehow. \vfill by itself doesn't work inside the float, I guess it's the wrong environment for it. I then made a \vbox to \textheight{\vfill\caption{...}}, but this pushed the caption off the end of the page...
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
Full page figure, image at top margin, caption on bottom mar
Code: Select all
\newlength{\mylen}
\addtolength{\mylen}{\textheight}
\addtolength{\mylen}{-16pt}
Code: Select all
\newpage
\begin{figure}[!ht]
\parbox[t][\mylen]{\textwidth}{%
\centering
\includegraphics[<options>]{<your_image>}
\vfill
\caption{<image_caption>}
}
\end{figure}
Re: Full page figure, image at top margin, caption on bottom mar
Full page figure, image at top margin, caption on bottom mar
one posible solution is to use the \changetext command provided by the changepage package (documentation at the end of the changepage.sty file itself) to change the page layout for the page that will contain the image and then restoring the original layout with the same command. Take a look at the following example:
Code: Select all
\documentclass{article}
\usepackage{changepage}
\usepackage{graphicx}
\usepackage{lipsum}% just to automatically generate some text
\begin{document}
\lipsum[1-4]
\newpage
%changing the page design temporarily
\changepage{9cm}{9.4cm}{-4.7cm}{-4.7cm}{}{-4.5cm}{}{}{}
\noindent\rule{\textwidth}{\textheight}
\newpage
%restoring the standard settings
\changepage{-9cm}{-9.4cm}{4.7cm}{4.7cm}{}{4.5cm}{}{}{}
\lipsum[1-4]
\end{document}
Re: Full page figure, image at top margin, caption on bottom mar
I downloaded changepage.sty, but TeXnicCenter can't find it .. usually TeXnicCenter automatically locates new packages for me at compile time, but it doesn't seem to do anything right now. Do I need anything other than changepage.sty?? Or could I specify where I want it to look ??
Full page figure, image at top margin, caption on bottom mar
MikTeX->Settings
and ckick on the Refresh FNDB button.
As far as I now, the MiKTeX Package Manager should do the installation for you. Anyway, a quick "dirty" fix is to save the file changepage.sty in the same folder that contains your .tex file.
Re: Full page figure, image at top margin, caption on bottom mar
I prefer not to put the .sty file in the same folder as my .tex file
Full page figure, image at top margin, caption on bottom mar
No. Assuming you are on Windows XP with MiKTeX 2.7, go tojuliette wrote:Should I be able to see the MiKTeX tab in TeXnicCenter ?? along the row with the tabes "File" , "edit" "view " ... ??
Start->All Programs->MiKTeX2.7->Settings
Re: Full page figure, image at top margin, caption on bottom mar
but it does work when I put the file in the same folder as the .tex file.
There's something strange here .. maybe I should post this on the TeXnicCentre forum.