
저는 두 개의 칼럼으로 글을 쓰고 있습니다. 공백이 추가되지 않도록 텍스트를 세로로 정렬하려고 합니다. 페이지가 끝나기 전에 콘텐츠가 끝나서 다행입니다.
이것이 내가 원하는거야:
이것에 대한 수업은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
이것이 내가 가진 것입니다:
나는 사용 \raggedbottom
하고 extarticle
수업하고 있습니다 :
\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}
답변1
문서 클래스에 대한 옵션을 사용하는 대신 목차를 둘러싼 단일 환경에서 twocolumn
다중 콜 패키지( )를 사용하는 것을 고려해 보십시오 .\usepackage{multicol}
\begin{multicol}{2}
\begin{multicols}{2}
\tableofcontents
\end{multicols}
\pagebreak
(필요하다면 다음 페이지에서 다른 페이지를 시작할 수 있습니다.)
참조패키지 문서.