\documentclass[DIV=8, pagesize=auto]{scrartcl}

\usepackage{fixltx2e}
\usepackage{etex}
\usepackage{xspace}
\usepackage{lmodern}
\usepackage[T1]{fontenc}
\usepackage{textcomp}
\usepackage{array}
\usepackage[utf8]{inputenc}
\usepackage{microtype}
\usepackage[unicode=true]{hyperref}

\newcommand*{\mail}[1]{\href{mailto:#1}{\texttt{#1}}}
\newcommand*{\pkg}[1]{\textsf{#1}}
\newcommand*{\cs}[1]{\texttt{\textbackslash#1}}
\makeatletter
\newcommand*{\cmd}[1]{\cs{\expandafter\@gobble\string#1}}
\makeatother
\newcommand*{\env}[1]{\texttt{#1}}
\newcommand*{\opt}[1]{\texttt{#1}}
\newcommand*{\meta}[1]{\textlangle\textsl{#1}\textrangle}
\newcommand*{\marg}[1]{\texttt{\{}\meta{#1}\texttt{\}}}

\addtokomafont{title}{\rmfamily}

\title{The \pkg{flushend} package}
\author{Sigitas Tolušis\\\mail{sigitas@vtex.lt}\\\url{http://www.vtex.lt/tex/download/macros/}}
\date{1997/10/01}


\begin{document}

\maketitle

\section{Purpose:}

Balanced columns on last page in \opt{twocolumn} mode.


\section{Short Description:}

\begin{labeling}[\hspace{\labelsep}--]{\cmd{\flushend} (loaded by default)}
\item[\cmd{\flushend} (loaded by default)] Switches on column balancing at last page
\item[\cmd{\raggedend}] Switches off column balancing at last page
\item[\cmd{\atColsBreak=}\marg{\#1}] Adds \meta{\#1} in place of original column break (without balancing)\\
  Example: \verb+\atColsBreak{\vskip-2pt}+
\item[\cmd{\showcolsendrule}] Adds rule to the bottom of columns (just for debugging)
\end{labeling}

P.\,S.\ To stretch right column by \meta{\#1} add command \cmd{\vskip-}\meta{\#1} just before
command \verb+\end{document}+.
TO shrink right column by \meta{\#1} add command \cmd{\vskip}\meta{\#1} just before
command \verb+\end{document}+.
Example:
%
\begin{verbatim}
\vskip-10pt
\end{document}
\end{verbatim}


\section{List of Changes}

\begin{tabular}{@{}l@{ -- }>{\raggedright\arraybackslash}p{10cm}@{}}
  1997/05/16 & first version                                  \\
  1997/09/09 & support for compatibility with \pkg{cuted.sty} \\
  1997/10/01 & \cmd{\vipersep} changed to \cmd{\stripsep} for compatibility with \pkg{cuted.sty}
\end{tabular}

\bigskip

\footnotesize
\noindent
\pkg{flushend.sty}\\
Copyright 1997 Sigitas Tolušis\\
V\TeX\ Ltd., Akademijos 4, Vilnius, Lithuania\\
e-mail \mail{sigitas@vtex.lt}\\
\url{http://www.vtex.lt/tex/download/macros/}

This program can redistributed and/or modified under the terms
of the \LaTeX\ Project Public License Distributed from CTAN
archives in directory \texttt{macros/latex/base/lppl.txt}; either
version~1 of the License, or (at your option) any later version.

\end{document}
