[OS X TeX] Borderless (or almost borderless) printing
Margarida Mello
agram.mello at gmail.com
Tue Oct 27 20:50:50 CET 2009
Hi,
regarding the suggestion and related question by Alan Munn, I infer
that tikz adds some kind of padding to the picture, which, albeit
small, causes an overflow. Hence the picture is rendered in the
second page, leaving the first page blank. This can be eliminated by
adding a bounding box command. The code would read
\documentclass[letter]{article}
\usepackage[margin=0in]{geometry}
\usepackage{tikz}
\pagestyle{empty}
\begin{document}
\noindent\begin{tikzpicture}[x=1in,y=1in]
%
\useasboundingbox (0,0) rectangle (8.5,11);
%
\draw (0,0) -- (8.5,11);
\draw (0,11) -- (8.5,0);
\draw (4.25,0) -- (4.25,11);
\draw (0,5.5) -- (8.5,5.5);
\end{tikzpicture}
\end{document}
Regards,
Margarida P. Mello
More information about the macostex-archives
mailing list