Option 1: Using the eso-pic
package.
The eso-pic
package provides a means to add content to the background|foreground of a|every page using a number of commands:
\AddToShipoutPictureBG
: Content added to background of every page;
\AddToShipoutPictureBG*
: Content added to background of current page;
\AddToShipoutPictureFG
: Conent added to foreground of every page;
\AddToShipoutPictureFG*
: Content added to foreground of current page.
The default coordinate origin for content placement is the lower-left corner of the page (also obtained through the package option pscoord
), but this can be modified to the upper-left corner of the page if needed (by using the package option texcoord
).
Additional macros for placing content at predefined locations is provided by (with their meaning being obivous)
\AtPageUpperLeft
\AtPageLowerLeft
\AtPageCenter
\AtTextUpperLeft
\AtTextLowerLeft
\AtTextCenter
\AtStockUpperLeft
\AtStockLowerLeft
\AtStockCenter
The definitions of \..Stock...
, \..Page...
and \..Text
coincide with memoir
's use of the lengths \stock...
, \paper...
and \text...
. Consequently, using your document preamble settings, the following minimal example
\documentclass[showtrims, 10pt]{memoir}
\usepackage{lipsum}% Dummy text/Lorem Ipsum
\usepackage{eso-pic}% www.ctan.org/pkg/eso-pic
\usepackage{graphicx}
...
\begin{document}
\pagestyle{empty}
\lipsum[1-5]% Dummy text/Lorem Ipsum
\clearpage \null
\AddToShipoutPictureBG*{% Add picture to current page
\AtStockLowerLeft{% Add picture to lower-left corner of paper stock
\includegraphics[width=\stockwidth,height=\stockheight]{tiger}}% http://latex.tug.org/texlive/devsrc/Master/texmf-dist/doc/generic/pstricks/images/tiger.eps
}
\clearpage
\lipsum[6-10]% Dummy text/Lorem Ipsum
\end{document}
produces
I would assume the lengths used here are much more self-explanatory, and can be modified (if needed) to produce exactly what you want.
Option 2: Using the pdfpages
package.
The pdfpages
package allows for the inclusion of external documents using the \includepdf[...]{...}
command. It can even include images in the formats supported by pdfTeX (PNG, JPG, etc.), although this has to be explicitly specified in the form <image.ext>
. Using a similar setup as above, you would use
\includepdf[noautoscale]{<image.ext>}
to insert <image.ext>
without scaling into your document. Assuming that your image is sized exactly as needed, this should also produce the desired result. See the package documentation for more options (like fitpaper=true
if you want the paper to sized accord to your image; this would allow you to use your printer's "Fit to page" printing option).
\trimtop
is the diff between the stock paper so I don't want that there. I also realised that I can't have a white line before the\includegraphics
so changd those two things. However there is still som air left between the paper border and my figure and I don't know where it comes from... Oh nd thre was a missing - before the 3mm but that was just a typo... :)pdfpages
package:\includepdf{image}
. Maybe it even works with JPGs directly.