Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I tried this

\documentclass[12pt,a4paper,x11names,landscape]{article}
\usepackage[top=2.5cm, left=3.5cm, bottom=2.5cm, right=2.5cm]{geometry}  
\usepackage{incgraph,mwe}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[spanish]{babel}
\begin{document}
\incgraph[paper=document][width=\paperwidth,height=\paperheight]{example-image-a.eps}
jei
\end{document}

but the image is not as I want. Any parts are out, and an parts are in white, as you can see

-edited after Werner´s comment

enter image description here

How to correct this?

share|improve this question
    
Perhaps a angle=-90 or angle=90 could help in the second optional argument of \incgraph, it least for \includegraphics –  Christian Hupfer Jun 18 at 14:21
    
the image is well oriented, the problem is that a part it´s out of the paper. –  Mika Ike Jun 18 at 15:16

1 Answer 1

up vote 3 down vote accepted

This problem is specific to a compilation sequence via LaTeX, since using XeLaTeX or pdfLaTeX compiles without problem. Here is a work-around, using eso-pic to insert the picture in the foreground of the first page only:

\documentclass[a4paper,landscape]{article}
\usepackage[top=2.5cm, left=3.5cm, bottom=2.5cm, right=2.5cm]{geometry}  
\usepackage{eso-pic,graphicx}
\begin{document}

\AddToShipoutPictureFG*{%
  \AtPageUpperLeft{%
    \raisebox{-\height}{%
      \includegraphics[width=\paperwidth,height=\paperheight]{example-image-a}%
    }%
  }%
}

\null\clearpage

Some content

\end{document}
share|improve this answer
    
PERFECT!! . Thank you. –  Mika Ike Jun 18 at 18:14

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.