Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Question says it all: I am using classicthesis with XeTeX to typeset my PhD thesis. I want to use B5 paper size (176 × 250 mm) and the beautiful Linux Libertine font. I'm wondering how to

  1. calculate the optimal page margins
  2. actually apply these settings to the document

Any help is greatly appreciated =)

EDIT: I should add that I need to generate two different PDF files from this:

  1. a version with papersize A4 (210 × 297 mm), where the B5 layout is (approximately) centered, and crop marks are shown, to pass on to the printing company
  2. a version with papersize B5 for online distribution, having the same layout as the printed one.

I tried fiddling with using geometry package and \areaset command, but to no avail.

share|improve this question
2  
Does this question actually have something to do with the Libertine font? If not, you could remove that tag. –  Tyler Dec 13 '12 at 19:13
    
@Tyler: Yes, I asked about calculating optimal page margins for using B5paper classicthesis with Linux Libertine. And I guess that the optimal margins do depend on the used font. –  andreas-h Dec 14 '12 at 9:12
    
Ok. I didn't know you should change the margins when you change your font. –  Tyler Dec 14 '12 at 13:10
add comment

1 Answer

The manual of geometry v5.6 reads:

"The options specified for the area, in which the page dimensions are calculated, are added: layout, layoutsize, layoutwidth, layoutheight and so forth. These options would help to print the specified layout to a different sized paper. For example, with a4paper and layout=a5paper, the geometry package uses 'A5' layout to calculate margins with the paper size still 'A4'."

For your thesis layout=b5paper, of course. Using layouthoffset=((A4 paper width minus B5 paper width)/2) "specifies the horizontal offset from the left edge of the paper", "layoutvoffset specifies the vertical offset from the top edge of the paper": layoutvoffset=((A4 paper height - B5 paper height)/2).

\usepackage[a4paper,layout=b5paper,layouthoffset=17mm,layoutvoffset=23.5mm,%
  showcrop]{geometry}% B5 at A4

respectively

\usepackage[b5paper,layout=b5paper]{geometry}% B5 at B5

should work. And use either geometry or \areaset but not both, because they both try to set the page layout and mixing them can cause unwanted results.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.