How can I create (in XeLaTeX) a box that has a defined height in multiples of lines that keeps this size 100% without any additional spacings?
Please see the following MWE:
\documentclass{article}
\usepackage{lipsum}
\usepackage{multicol}
\newcommand{\mybox}[2]{\parbox[t][#1\baselineskip]{\columnwidth}{#2}}
\begin{document}
\begin{multicols}{2}\raggedcolumns
\lipsum[1]
\mybox{3}{Some more text}
\lipsum[2-8]
\end{multicols}
\end{document}
The mybox should create a 3-line box. However, after that box, the base lines seem to be off ~1pt if compared to the right column. I've tried a lot of different types of boxes, spacers, minipages and such, and have not yet a solution. Often the box has the correct height, but it does not properly fit into the surrounding, throwing baseline-alignment in the other column off.
In the solution I look for, the first priority should be exact height, no matter what happens inside or right next to the box. The box might contain text, but also images or maybe small tables - it's purpose is to create a reliable "reserved space". Or, to be more precise, the base lines in both columns before and after the box should always stay aligned. If odd fonts are used with artistic overlength letters (both upwards and downwards, like in handwriting), the box should not make space for that. If more content is in the box than there is space, it's ok to either crop or to overflow into the surrounding, or if it looks odd what happens inside the box, but the specified hight in lines must be enforced. Also, the solution should not require hardcoded values (like point sizes for line heights, skips or spacing) but work with any text/font size that is currently in use.


