LaTeX forum ⇒ 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

Postby dmuthu_cse » Mon Sep 14, 2009 10:16 pm

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

User avatar
localghost
Site Moderator
Posts: 9204
Joined: Fri Feb 02, 2007 12:06 pm

Postby localghost » Mon Sep 14, 2009 10:55 pm

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.
  1. \documentclass[11pt,b5paper,english]{article}
  2. \usepackage[T1]{fontenc}
  3. \usepackage[utf8]{inputenc}
  4. \usepackage{babel}
  5. \usepackage[centering,includeheadfoot,text={6in,8.2in}]{geometry}
  6. \usepackage[cam,a4,center]{crop}
  7. \usepackage{blindtext}
  8.  
  9. \begin{document}
  10. \blinddocument
  11. \end{document}

I'm sure a forum search will yield more usable results.


Best regards
Thorsten
LaTeX Community Moderator
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes


¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1

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

Postby dmuthu_cse » Mon Sep 14, 2009 11:11 pm

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 541 times

User avatar
localghost
Site Moderator
Posts: 9204
Joined: Fri Feb 02, 2007 12:06 pm

Postby localghost » Mon Sep 14, 2009 11:19 pm

Perhaps a version problem. If not done yet, update the package by means of the MiKTeX Package Manager.
LaTeX Community Moderator
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes


¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1

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

Postby dmuthu_cse » Mon Sep 14, 2009 11:33 pm

Thanks... i will update and let you know..

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

Postby dmuthu_cse » Thu Sep 17, 2009 5:52 pm

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..
  1. \documentclass[11pt,b5paper,english]{book}
  2. \usepackage[T1]{fontenc}
  3. \usepackage[utf8]{inputenc}
  4. \usepackage{babel}
  5.  
  6. \usepackage[cam,width=8.27in,height=11.69in,center,dvips,vorigin=-1in]{crop}
  7. %------------------------------------------------------------------------------%
  8. %PAGE MARGIN SETUP
  9. %------------------------------------------------------------------------------%
  10. \topmargin -0.5in
  11. \headheight 14pt
  12. \textheight 7.7in
  13. \textwidth 6in
  14. \oddsidemargin -0.5in
  15. \evensidemargin -0.5in
  16. \headsep 25pt
  17. \parskip 10pt
  18.  
  19. \usepackage{blindtext}
  20.  
  21. \begin{document}
  22. \blinddocument
  23. \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 323 times

User avatar
meho_r
Posts: 823
Joined: Tue Aug 07, 2007 5:28 pm

Postby meho_r » Thu Sep 17, 2009 7:01 pm

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:
  1. Width: 8.27–2x0.5=7.27in (and width of B5 paper is 6.9in)
  2. 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: 9204
Joined: Fri Feb 02, 2007 12:06 pm

Postby localghost » Thu Sep 17, 2009 7:09 pm

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.
  1. \documentclass[11pt,b5paper,english]{article}
  2. \usepackage[T1]{fontenc}
  3. \usepackage[utf8]{inputenc}
  4. \usepackage{babel}
  5. \usepackage[
  6. centering,
  7. headheight=14pt,
  8. headsep=25pt,
  9. includeheadfoot,
  10. text={6in,7.7in},
  11. dvips=false,
  12. pdftex=false,
  13. vtex=false
  14. ]{geometry}
  15. \usepackage[a4,cam,center]{crop}
  16. \usepackage{blindtext}
  17.  
  18. \pagestyle{headings}
  19.  
  20. \begin{document}
  21. \blinddocument
  22. \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 349 times
LaTeX Community Moderator
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes


¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1

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

Postby dmuthu_cse » Fri Sep 18, 2009 8:48 am

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 259 times

User avatar
localghost
Site Moderator
Posts: 9204
Joined: Fri Feb 02, 2007 12:06 pm

Postby localghost » Fri Sep 18, 2009 9:29 am

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.
LaTeX Community Moderator
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes


¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1


Return to “Page Layout”

Who is online

Users browsing this forum: No registered users and 5 guests