New answers tagged


There doesn't seem to be an option in includepdf, but if you want to redefine \includepdf to behave this way, you can use code like this (assuming you always provide an optional argument): \let\realincludepdf=\includepdf \def\includepdf[#1]#2{\IfFileExists{#2} {\realincludepdf[#1]{#2}} {\fbox{Missing #2}}}


One of the possible options is to use the package background. Makes it easy to set up the grid on the page. \documentclass[letterpaper]{minimal} \usepackage[margin=0in,footskip=0in]{geometry} %%************************************************* added \usepackage{tikz} \newcommand{\mygraphpaper}{%Make a grid \begin{tikzpicture} \draw[line ...


The option handling is a bit curious. To get a background grid you need both grid and gridBG: \documentclass[letterpaper]{article} \usepackage[margin=0in,footskip=0in]{geometry} \usepackage[grid,gridBG, gridcolor=red!20, subgridcolor=black!20, gridunit=pt]{eso-pic} \usepackage[final]{pdfpages} \usepackage{ifthen} \usepackage{xcolor} \...


Printing n pages up to the last is not supported directly, but it can be done. File wds1.tex \documentclass[a4paper]{article} \usepackage{lipsum} \begin{document} \lipsum[1-50] \end{document} File wds2.tex \documentclass[a4paper]{article} \usepackage{pdfpages} \makeatletter \newcommand{\fromlast}[1]{% \noexpand\the\numexpr\noexpand\AM@pagecount-#1+1\...

Top 50 recent answers are included