[Tex/LaTex] Forcing a column-break in a multi-column page

multicolpage-breaking

This is a follow up to the question How do I force a column-break in a multi-column page?. Compiling code from the accepted answer at http://latex.informatik.uni-halle.de/latex-online/latex.php (and at my local machine as well) gives strange output: text in left column is stretched, it seems that the \vfill command has been ignored.

How to fix this behaviour? Here is the picture of the output:
enter image description here

Best Answer

Modified from referenced solution:

\documentclass{article}
\usepackage[a4paper,margin=2cm]{geometry}
\usepackage{lipsum,multicol}
\usepackage[colorlinks]{hyperref}
\title{Introduction to \LaTeX}
\author{xport}
\begin{document}

\begin{multicols}{2}
\maketitle
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section*{Abstract}
\lipsum[1-2]
\vspace*{\fill}
\columnbreak
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\tableofcontents
%\vfill
%\columnbreak
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{Counter}
\lipsum[1]
\section{Box}
\lipsum[1]
\subsection{Parbox}
\lipsum[1]
\subsection{Rule}
\lipsum[1]
\end{multicols}
\end{document}