[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

-------------- next part --------------
----------- Please Consult the Following Before Posting -----------
TeX FAQ: http://www.tex.ac.uk/faq
List Reminders and Etiquette: http://email.esm.psu.edu/mac-tex/
List Archive: http://tug.org/pipermail/macostex-archives/
TeX on Mac OS X Website: http://mactex-wiki.tug.org/
List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex



More information about the macostex-archives mailing list