I want to layout a LaTeX document with following conditions:
- Let the base element of my document be a box.
- A box contains a content which must not be split by page breaks, and in a multi columned environment, it should not be split by a column break.
- The width of a box will be defined before. The height of the box may vary. The boxes should work fine with
\vspacemacro, because the boxes may contain additional space after or before its real content. - The boxes must lay on a multi columned page. Each column must contain maximum number of boxes.
- If the total height of boxes in a column, does not fill the whole column vertically, the rest space must be shared between boxes vertically.
To be more clear, I have made some drawings describing what I want:

Sorry for hand drawing I had not enough time to make it using computer. So can you provide me sample code for making this layout?
