TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

migration rejected from stackoverflow.com Sep 26 '15 at 6:52

This question came from our site for professional and enthusiast programmers. Votes, comments, and answers are locked due to the question being closed here, but it may be eligible for editing and reopening on the site where it originated.

closed as unclear what you're asking by Kurt, Harish Kumar, Jesse, Mico, moewe Sep 26 '15 at 6:52

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question.If this question can be reworded to fit the rules in the help center, please edit the question.

    
Your given MWE gives not something like that back you described in your two sketches. What is the problem with the available templates for cd booklets? have you tried some? Which one? Result? Where is the problem? Or please make your question clear. – Kurt Sep 12 '15 at 20:31

Browse other questions tagged or ask your own question.