Related Question
Aim:
I develop a din-a4 questionnaire and want to typeset the questions in a two column layout. As a constraint i don't want columnbreaks or pagebreaks inside a test item. In addition the columns should be separated by a rule.
Current status:
Unfortunately the \columnseprule
hangs over the bottom of the type area.
The following MWE illustrates this (look at the bottom of the first output page):
MWE
\documentclass{scrartcl}
\usepackage{tikz}
\usepackage{multicol}
\usepackage{adjustbox}
\usepackage{showframe}
\setlength\parindent{0pt}
\setlength\parskip{1.5ex}
\setlength\parsep{1.5\parskip}
\setlength\fboxsep{0pt}
\newcommand{\drawbox}[2][1] {
\adjustbox{
minipage=\linewidth,
padding=1ex #1 0ex #1,
center,
bgcolor=red!20,
cfbox=red
}{%
#2
}%
}
\begin{document}
\setlength\columnseprule{0.4pt}
\begin{multicols*}{2}
\foreach \i in {1,...,3} {
\drawbox[17em]{Item \i}\par
}
\end{multicols*}
\end{document}
Output:
Question
How can i limit the \columseprule
to the typearea?