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.

I am trying to print a CD booklet, that will be stapled in the center of the pages.

To that end I am printing the pages double-sided on a4 paper and cut them.

When there are more than a few physical sheets of paper going into the booklet, the edges are not aligned any more - due to the folding. I would like to "correct" for that by increasing the delta between the pages from the 'inside' sheets to the 'outside' sheets.

Just to clarify: What I would like to achieve is this:

Innermost sheet:

+-------------------------------------------------------+
|                                                       |
|                                                       |
|      +-------------------++-------------------+       |
|      |                   ||                   |       |
|      |                   ||                   |       |
|      |                   ||                   |       |
|      |                   ||                   |       |
|      |                   ||                   |       |
|      |                   ||                   |       |
|      |                   ||                   |       |
|      |                   ||                   |       |
|      |                   ||                   |       |
|      |                   ||                   |       |
|      +-------------------++-------------------+       |
|                                                       |
|                                                       |
+-------------------------------------------------------+

Outermost sheet (the cover):

+-------------------------------------------------------+
|                                                       |
|                                                       |
|   +-------------------+      +-------------------+    |
|   |                   |      |                   |    |
|   |                   |      |                   |    |
|   |                   |      |                   |    |
|   |                   |      |                   |    |
|   |                   |      |                   |    |
|   |                   |      |                   |    |
|   |                   |      |                   |    |
|   |                   |      |                   |    |
|   |                   |      |                   |    |
|   |                   |      |                   |    |
|   +-------------------+      +-------------------+    |
|                                                       |
|                                                       |
+-------------------------------------------------------+

As I print two-sided, I would like to increase the delta between the pages at every second page only.

Since I do not have any experience in this, I do not know how I have to increase the space (linearly, quadratically, ...). So it would be super-cool, if this even was a parameter.

Here is a sample booklet to play with:

\documentclass{article}
\usepackage[papersize={120.7mm,120.7mm},
            layoutsize={120.7mm,120.7mm}]{geometry}

\usepackage[ngerman]{babel}
\usepackage{blindtext}

\begin{document}

\Blindtext
\Blindtext
\Blindtext
\Blindtext


\end{document}

And here is a version of the to-be-cut booklet without the dynamically increasing delta between the pages:

\batchmode
\documentclass[a4paper,landscape]{article}
\usepackage[utf8]{inputenc}
\usepackage{pdfpages}

\begin{document}
\includepdfmerge[booklet=true,noautoscale=true,turn=false]{dummybooklet.pdf,-}
\end{document}

I got this as temporary output from the excellent pdfjam suite called like this:

 pdfjam --no-tidy --a4paper --landscape --booklet true --noautoscale true --turn false --outfile dummybooklet-book.pdf dummybooklet.pdf
share|improve this question

migrated from stackoverflow.com Jan 7 '13 at 12:50

This question came from our site for professional and enthusiast programmers.

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.