Page LayoutHow to reset margin?

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
User avatar
anta40
Posts: 38
Joined: Thu Sep 11, 2008 2:36 pm

How to reset margin?

Post by anta40 »

I use a PDF file as an image for the cover.
Unfortunately, the margins also affects the cover as well.
Is there any way to make the margins not applied to the cover?

Recommended reading 2024:

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

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

How to reset margin?

Post by localghost »

Use the pdfpages package.


Best regards
Thorsten
User avatar
anta40
Posts: 38
Joined: Thu Sep 11, 2008 2:36 pm

How to reset margin?

Post by anta40 »

Yes, I already did that.
At the bottom, the margin is still visible.

Code: Select all

\documentclass[a4paper, 11pt]{article}
\usepackage[margin=1in]{geometry}
\usepackage{pdfpages}

\begin{document}
\includepdf{cover.pdf}
\end{document}
Just in case someone's wondering, the cover.pdf is an image file stretched manually in MS Word, than exported to PDF.
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Re: How to reset margin?

Post by localghost »

You just have to prepare the cover more carefully to make it fit to the whole page. The margin is not a result of the compilation process.
Post Reply