Re: Crop Maaks and Custom Paper Size
- From: "Axel Retif" <axretif@xxxxxxxxxx>
- Date: 4 Feb 2006 23:10:44 -0800
p8mode wrote:
Hello,
Im having some problems with crop marks and custom page sizes. Im
trying to use the geometry and crop packages. My workflow is
LaTeX->dvi->(dvips)->ps->(distiller)->pfd.
(1) How can I create say a pdf that has a document size of say 123mm x
184mm.
I thought I could achieve this with something like:
%%---------------------------------------
\documentclass{article}
\usepackage{geometry}
\setlength{\paperwidth} {123 mm} \setlength{\paperheight}{184 mm}
\begin{document}
Hello Hello Hello Hello Hello Hello
\end{document}
%%---------------------------------------
However when I open the resulting pdf in Acrobat it says that the
document is 215 x 279 mm
This is how I do it for a 135mm x 210mm:
\usepackage{graphicx,geometry}
\geometry{paperwidth=13.5truecm,
paperheight=21truecm}
\usepackage{ifpdf}
\ifpdf
\usepackage{epstopdf}
\usepackage[cam,width=17.5truecm,height=25truecm,center]{crop}% <-- 2
cm for cropmarks
\setlength{\topmargin}{-63truept}%%%%% <-- You have to "play" with
these
\setlength{\oddsidemargin}{-2.5truepc}% <-- in order to have the
margins
\setlength{\evensidemargin}{-2.5truepc}% <-- of your textbox as you
need them
\else
\usepackage[cam,width=16.5truecm,height=24truecm,center]{crop}% <--
17.5 didn't work
\setlength{\topmargin}{-63truept}%
% for me in dvi mode
\setlength{\oddsidemargin}{-2.5truepc}
\setlength{\evensidemargin}{-2.5truepc}
\fi
\setlength{\textwidth}{25truepc}%% <-- Of course, take care your texbox
fits
\setlength{\textheight}{490truept}% <-- in your paper size
Best
Axel
.
- References:
- Crop Maaks and Custom Paper Size
- From: p8mode
- Crop Maaks and Custom Paper Size
- Prev by Date: Re: spurious blank at end of file?
- Next by Date: Re: spurious blank at end of file?
- Previous by thread: Re: Crop Maaks and Custom Paper Size
- Next by thread: Position of text in book
- Index(es):
Relevant Pages
|