Page Layoutcrop marks

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
dmuthu_cse
Posts: 97
Joined: Fri Sep 04, 2009 4:56 pm

crop marks

Post by dmuthu_cse »

Hello friends,
I am using book documentclass.. And i need to get crop marks,
I'd like to use B5 size format and want it to be printed in A4 paper.
my size of text is with : 6in, height : 8.2in

When i insert crop using, crop package, the scrip collopses..

please help..

Muthu

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

crop marks

Post by localghost »

dmuthu_cse wrote:[...] When i insert crop using, crop package, the scrip collopses [...]
This statement is trivial. There should be error messages or warnings. I can't see any problems.

Code: Select all

\documentclass[11pt,b5paper,english]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{babel}
\usepackage[centering,includeheadfoot,text={6in,8.2in}]{geometry}
\usepackage[cam,a4,center]{crop}
\usepackage{blindtext}

\begin{document}
  \blinddocument
\end{document}
I'm sure a forum search will yield more usable results.


Best regards
Thorsten
dmuthu_cse
Posts: 97
Joined: Fri Sep 04, 2009 4:56 pm

Re: crop marks

Post by dmuthu_cse »

Thanking you immediate reply...

But, when i execute the above code...

the same problem exist... However, when I remove the coding for crop, the page layout is correct.. Including crop mark coding, makes the layout to go mad.. I am using TeXnicCenter and MiKTeX2.7

For reference i've added the PDF.

Muthu..
Attachments
k.pdf
(28.28 KiB) Downloaded 816 times
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Re: crop marks

Post by localghost »

Perhaps a version problem. If not done yet, update the package by means of the MiKTeX Package Manager.
dmuthu_cse
Posts: 97
Joined: Fri Sep 04, 2009 4:56 pm

Re: crop marks

Post by dmuthu_cse »

Thanks... i will update and let you know..
dmuthu_cse
Posts: 97
Joined: Fri Sep 04, 2009 4:56 pm

crop marks

Post by dmuthu_cse »

Hello Thorsten,

Somehow, I tried to update the MikTex and completed updating all the packages..

Then, i thought of trying your code.. It again gives me the same problem..

Anyhow I am using "Book - Document class". Finally, I've come up with this coding..

Code: Select all

\documentclass[11pt,b5paper,english]{book}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{babel}

\usepackage[cam,width=8.27in,height=11.69in,center,dvips,vorigin=-1in]{crop}
%------------------------------------------------------------------------------%
%PAGE MARGIN SETUP
%------------------------------------------------------------------------------%
\topmargin -0.5in
\headheight 14pt
\textheight 7.7in
\textwidth 6in
\oddsidemargin -0.5in
\evensidemargin -0.5in
\headsep 25pt
\parskip 10pt

\usepackage{blindtext}

\begin{document}
  \blinddocument
\end{document}
The above coding works fine, while converting to the PDF too. But the position of the crop marks are not according to my wish..

And I hope you can help me in this issue..

Actually, my paper size is A4 (i.e. Height - 11.69in, width - 8.27in), I want to print my text with height - 8.2in, width - 6in.. So, the crop marks should be exactly 0.5 inches separated from the document. (i.e. top = 0.5in, bottom=0.5in, left=0.5in, right=0.5in)

I am very sorry to disturb you again... I tried doing with geometry package, but the crop marks vanishes, i can see only one crop mark.. So please help..

Thanks in advance...

Regards,
Muthu.
Attachments
mm.pdf
(41.79 KiB) Downloaded 648 times
meho_r
Posts: 823
Joined: Tue Aug 07, 2007 5:28 pm

crop marks

Post by meho_r »

The code localghost provided works perfectly on my system. You should check your calculations: if the size of paper you'll be printing on is A4 and page size of document B5, you can't get crop marks positioned 0.5in from all sides:

Code: Select all

Width: 8.27–2x0.5=7.27in (and width of B5 paper is 6.9in)
Height: 11.69-2x0.5=10.69in (and height of B5 paper is 9.8in)
It isn't possible to get proportional distance for all crop marks for these dimensions. So, the output displayed in mm.pdf file you provided is correct. Or maybe I didn't understand correctly what you are trying to achieve.
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

crop marks

Post by localghost »

At first please use the code environment when posting longer pieces of source code (see Section 2.4 of the Board Rules).

One thing that irritates me is that you now come along with a different size for the type area. Please clarify such things right at the beginning.

The file mm.pdf doesn't show any unusual behaviour. Everything looks like it should. Please describe your compilation route, that means whether you compile with pdflatex directly or with latex via DVI and PS to PDF.

I did some research and perhaps I forgot a detail in the option list for the geometry package in my first reply. The code is adapted to your new demands.

Code: Select all

\documentclass[11pt,b5paper,english]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{babel}
\usepackage[
  centering,
  headheight=14pt,
  headsep=25pt,
  includeheadfoot,
  text={6in,7.7in},
  dvips=false,
  pdftex=false,
  vtex=false
]{geometry}
\usepackage[a4,cam,center]{crop}
\usepackage{blindtext}

\pagestyle{headings}

\begin{document}
  \blinddocument
\end{document}
It is absolutely sufficient to give the a4 option to the crop package for cropping your layout and print it on A4 paper.

Be careful with the length \parskip. Assign values to this length can cause problems. See the manual for the parskip package.

I attached the output compiled directly with pdflatex. For verification please attach the output and the log file (together in one archive) of exactly this code to your next post.
Attachments
crop-prblm.pdf
Output of the above given code compiled directly to PDF.
(61.63 KiB) Downloaded 595 times
dmuthu_cse
Posts: 97
Joined: Fri Sep 04, 2009 4:56 pm

Re: crop marks

Post by dmuthu_cse »

Hello Thorsten,

Thanks for the reply..

Your coding works fine for me..

But the problem, i am repeatedly facing is with the "TOP & BOTTOM END CROP MARKS POSITION"

Please take a look on your PDF...

The space I required between the bottom end of text and the bottom crop marks is 0.5in, similarly the top end 0.5in, left end 0.5in and right end 0.5in.

I have commented the PDF using markers.. please go through..

Sorry for continously annoying you..

I think, this may be because of the [b5paper] what we use.. Is there any alternative, where I can get the exact what i need...
Attachments
crop-prblm.pdf
(82.88 KiB) Downloaded 540 times
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

crop marks

Post by localghost »

While I was composing my last response, I missed that meho_r already replied. meho_r is absolutely right. If you really want the crop marks to be half an inch from all the A4 paper margins, you have to specify the paper size with geometry instead of the b5paper option for the document class. meho_r has already done the required calculations.
Post Reply