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.

this may be really obvious but I'm trying to use pdfpages to annotate a pdf "form". To help with filling it in, I'm trying to put a grid on the page.

The following code places a grid on the page but it covers the pdf so I cant see what I'm trying to fill.

What am I doing wrong? (MWE with \includepdf ..somepdf replaced with any pdf file/page)

\documentclass[10pt]{article}
\usepackage{grffile}
\usepackage[colorgrid,texcoord,gridunit=pt]{eso-pic}
\usepackage{pdfpages}


\begin{document}

\includepdf[pages=1-1]{"/home/me/somepdf"}

\end{document}
share|improve this question

1 Answer 1

up vote 4 down vote accepted

Use

\usepackage[grid,
      gridcolor=red!20,
      subgridcolor=green!20,
      %texcoord,
      gridunit=pt]{eso-pic}

Code:

\documentclass[10pt]{article}
\usepackage{grffile}
\usepackage[grid,
  gridcolor=red!20,
  subgridcolor=green!20,
  %texcoord,
  gridunit=pt]{eso-pic}
\usepackage{pdfpages}

\begin{document}
\includepdf[pages=-]{snifs_fov}
\end{document}

enter image description here

share|improve this answer
    
thanks @HarishKumar. As ever your answer works perfectly, and as ever, I'm not quite sure why it works. Appreciate the help. –  Tahnoon Pasha Jan 22 '13 at 6:02

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.