4

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}
6

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

  • 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

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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