GeneralFigure on whole page

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
azael
Posts: 1
Joined: Sat Apr 26, 2008 11:21 am

Figure on whole page

Post by azael »

Hello,
How to insert figure in LaTeX document on whole page (without margins)?

Greetings

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

Figure on whole page

Post by gmedina »

You could use the \geometry command provided by the gmeometric package to temporarily suppress the margins in the page that you want to use to include your image and the restore the margins again using the \geometry command.
1,1,2,3,5,8,13,21,34,55,89,144,233,...
User avatar
Stefan Kottwitz
Site Admin
Posts: 10360
Joined: Mon Mar 10, 2008 9:44 pm

Figure on whole page

Post by Stefan Kottwitz »

Hi Azael,

welcome to the LaTeX Community board!
If you are able to convert the graphic that you want to include into pdf format, you could include it as one single page with the pdfpages package.

Stefan
LaTeX.org admin
User avatar
Juanjo
Posts: 657
Joined: Sat Jan 27, 2007 12:46 am

Figure on whole page

Post by Juanjo »

...And a different option: use the textpos package. See this example:

Code: Select all

\documentclass[a4paper]{article}
\usepackage[absolute]{textpos}
\usepackage{graphicx}

\usepackage{lipsum}

\begin{document}

\lipsum[1-5]

\newpage
\thispagestyle{empty}
\begin{textblock*}{\paperwidth}(0mm,0mm)
   \noindent\includegraphics[width=\paperwidth,height=\paperheight]{lion_orig.png}
\end{textblock*}
\mbox{}\newpage

\lipsum[1-5]

\end{document}
To build the example, download lion_orig.png from http://www.ctan.org/lion.html (it is just the image in the center of that page, that I like a lot, as you easily can guess ;) )
Post Reply