% File: doc/layout.tex
% Copyright 2025 Jasper Habicht (mail(at)jasperhabicht.de).
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License version 1.3c,
% available at http://www.latex-project.org/lppl/.
%
% This file is part of the `leporello' package (The Work in LPPL)
% and all files in that bundle must be distributed together.
%
% This work has the LPPL maintenance status `maintained'.
%
\documentclass[
  prepress,
  show frames,
  show ids
]{leporello}

\usepackage{lipsum}

\begin{leporellocolumn}{example-a}
\begin{leporellobox}[
  background color={black!10},
  height={75mm},
  bleed={t},
  flow into={box-b}
]
\lipsum[1-3]

This is another paragraph without any particular meaning. The sole
reason for its existence is to show how this \leporelloboxbreak
document class can be used and to explain some of its core features. \par
\end{leporellobox}
\end{leporellocolumn}

\begin{leporellocolumn}{example-b}
\begin{leporellobox}[
  background color={black!10},
  offset={0mm,75mm},
  %height={\leporellolayoutheight-75mm},
  stretch,
  bleed={r,b},
  name={box-b},
  flow into={box-c}
]
Some more text
\end{leporellobox}
\end{leporellocolumn}

\begin{leporellocolumn}{example-c}
\begin{leporellobox}[
  background color={black!10},
  bleed={l,t},
  name={box-c}
]
\end{leporellobox}
\end{leporellocolumn}

\begin{document}

\leporellotypesetcolumns{
  example-c, example-a, example-b
}

\end{document}

% EOF