Imposition#

Calculating layout and case of signature is not an easy task. It is a research topic in computational geometric field. However, for standard page numbers, 4, 8, 16, … 32, 64, their layouts have been well known in printing area.

The imposition is locating works of pages to paper and the result of them. Unless you bining book in old Asia style (their method can use single paper as a basic signature), you must print the signature considering fold action for efficiency. This is why the manuscript for a book should have page range which is a divisor of 4.

Since, imposition is implicitly considering fold action in post stage. Calculating its layout on single page is not an easy task.

Folding#

Standard Type#

This type signature alternately changes folding direction in each step. \(2, 4, 8, \dots, 2^n\) leaves signatures are included in.

Algorithm#

It will be worth to describe folding layout update process.

  • \(n\) sheets signature contains \(n\) number of pages.

  • Imposition of \(n\) sheets signatures are divided into two sections, the front page and the back page.

This process covers next signatures.

\[ \begin{align}\begin{aligned}\begin{split}a_0 = 4 \\\\\end{split}\\a_n = 2 \cdot a_{n-1}\end{aligned}\end{align} \]

Let’s start from \(4\) sheets signature, its page layout is a \((1,2)\).

Front page: \([4, 1]\)

Back page: \([2, 3]\)

from these two matrix, we will get page imposition of \(8\) sheets signature.

Imagine the folding process of \(4\) sheets signature to make \(8\) sheets signature. We rotate 90 degrees and split them into \(2\) sub-sections. Interesting point is that, the \(k\)-th page of \(2n\) sheets signature always exists in \(k\)-th page of \(n\) sheets signature, \(1 \leq k \leq n\). In addition, the two pages, \(a, b\), seperated by the creasing line have next relationship, \(a+b = n+1\).

These are all we need. The remains are just following them.

Rotating#

Rotating elements of matrix can be divided into two steps, transpose and flip. See rotation of the elements of 90 degree in counter-clockwise direction,

Transpose:

\[\begin{split}[4, 1] \rightarrow \begin{bmatrix} 4 \\ 1 \end{bmatrix}\end{split}\]

Flip:

\[\begin{split}\begin{bmatrix} 4 \\ 1 \end{bmatrix} \rightarrow \begin{bmatrix} 1 \\ 4 \end{bmatrix}\end{split}\]

Expanding#

Now expand each line using \(a+b = n+1\). Basically, in a single number case, an additional number is left of the previous number.

\[ \begin{align}\begin{aligned}\begin{split}8 = 8 + 1 -1, [1] \rightarrow [8 ,1] \\\\\end{split}\\5 = 8 +1 -4, [4] \rightarrow [5, 4]\end{aligned}\end{align} \]

Then, we get a front layout matrix of the \(8\) sheets signature. In the same way, let’s get a front layout matrix of the \(16\) sheets signature.

Rotating:

\[\begin{split}\begin{bmatrix} 8& 1 \\ 5& 4 \end{bmatrix} \rightarrow \begin{bmatrix} 1& 4 \\ 8& 5 \end{bmatrix}\end{split}\]

Expanding:

Note

There is a little different in \(n>4\) case. In expanding steps, you must divide row numbers into sub-groups whose length is \(2\). The prior number process is the same with \(n=4\) case but the second number is remained at right in expanding progress. For example, if we have \([13, 12, 4, 5, 1, 8, ...]\) row then, \([[13, 12], [4, 5], [1, 8], ...]\) and expand them.

\[[1, 4] \rightarrow [ [16 , 1 ], [4, 13] ]\]
\[[8, 5] \rightarrow [ [ 9 , 8 ], [ 5 , 12 ] ]\]

See update steps of front matrix:

\[\begin{split}\begin{bmatrix} 4& 1\end{bmatrix} \rightarrow \begin{bmatrix} 8& 1 \\ 5& 4 \end{bmatrix} \rightarrow \begin{bmatrix} 16& 1& 4& 13 \\ 9& 8& 5& 12 \end{bmatrix}\end{split}\]

Rotating Page#

Imposition work includes folding work. That is, pages must be rotated in the right direction to match the direction of each page after the fold. In imposition layout, it is simple. Just rotating \(2, 4, 6, ..., 2k, ...\) rows of 180 degrees.

Deep Type#

Deep type is applying arcodian folding in one step in fold process. This allow as more flexible layout than standard folding. For example, 12, 24 leaves imposition was impossible, but here we can acheieve right ordered page signature.

Composition of multiple Signature#

Example#

Implementation#

Further readings#