I am using the following code:
\documentclass[12pt, a4paper, pdftex]{article}
\usepackage{graphicx, color}
\usepackage[utf8]{inputenc}
\usepackage{indentfirst}
\usepackage [bottom=2cm, top=3cm, left=3cm, right=2cm]{geometry}
\usepackage{pgf,tikz}
\usepackage{epstopdf}
\usepackage[justification=centering]{caption}
\pagestyle{headings}
\begin{document}
\input{./Title.tex}
\newgeometry{left=0cm, right=0cm, top=0cm, bottom=0cm}
\includegraphics[angle=-0.87]{Folha_de_rosto}
\restoregeometry
\tableofcontents
\newpage
\end{document}
When I compile the file, an empty page is created between the title and the image inserted with \includegraphics. When I don't use \newgeometry, it doesn't happen. The image that I want to use has the size of a whole page. So, when I try to include the image without changing the margins, it is displaced and a part of it is cut out, because it's out of the page. I don't know any other way to correct this displacement. Does anyone kwon why it is happening? Is there any other way to correct the displacement of the image besides changing margins?
\newgeometrydoes the\clearpage, since the page parameters change completely. Do you really need a new page geometry after the page title? – May 10 '15 at 17:56\includepdf. – Johannes_B May 10 '15 at 17:59\newgeometrybefore\input{Title}. But it is hard to think of a case where this would be truly necessary. Since we don't know what is wrong with the image's displacement, the second question isn't really answerable. – cfr May 10 '15 at 18:20\newgeometry/\restoregeometryaround an\includegraphics– David Carlisle May 10 '15 at 18:59\includepdf(from the pdfpages package), not with\includegraphics. In this case, I'm a bit confused by the very small rotation angle, that makes your intentions unclear. – GuM May 10 '15 at 21:29eso-pic,tikz,texpos,scrlayer-scrpage... – Johannes_B May 11 '15 at 09:44