I am writing in two columns. I am trying to align the text vertically such that it does not add extra spaces. Happy for the content to be finished before the end of the page.
This is what I want:
The class for this one is dndbook
\documentclass[letterpaper,twocolumn,openany,nodeprecatedcode]{dndbook}
\usepackage{listings}
\usepackage{shortvrb}
\usepackage{stfloats}
\MakeShortVerb{|}
\lstset{%
basicstyle=\ttfamily,
language=[LaTeX]{TeX},
breaklines=true,
}
\begin{document}
\frontmatter
\maketitle
\tableofcontents
This is what I have:
I am using \raggedbottom
and extarticle
class:
\documentclass[twoside,twocolumn,10pt]{extarticle}
\raggedbottom
\begin{document}
\tableofcontents
\pagebreak
\section{A section}
\section{A section}
\section{A section}
\section{A section}
\section{A section}
\section{A section}
\section{A section}
\section{A section}
\section{A section}
\section{A section}
\section{A section}
\section{A section}
\section{A section}
\section{A section}
\section{A section}
\section{A section}
\section{A section}
\section{A section}
\section{A section}
\section{A section}
\section{A section}
\section{A section}
\section{A section}
\section{A section}
\section{A section}
\section{A section}
\section{A section}
\section{A section}
\section{A section}
\section{A section}
\section{A section}
\section{A section}
\end{document}
\raggedbottom
will solve the issue