
목차의 줄 간격을 어떻게 줄입니까? 같이 해봤는데 \renewcommand{\baselinestretch}{1}
안되네요...
답변1
간격 환경 대신 tocloft
보다 세부적인 제어를 위해 패키지를 사용할 수도 있습니다. MWE를 참조하세요:
\documentclass{book}
\usepackage[titles]{tocloft}
\setlength{\cftbeforechapskip}{.1ex}
\setlength{\cftbeforesecskip}{-.5ex}
\usepackage{lipsum} % placeholder text
\begin{document}
\tableofcontents
\chapter{The chapter one}
\chapter{The chapter two}
\section{Lore ipsum}
\lipsum[1]
\section{Nam dui ligula}
\lipsum[2]
\section{Nulla malesuada}
\lipsum[3]
\chapter{The chapter three}
\section{Lore ipsum}
\lipsum[1]
\chapter{The chapter four}
\section{Lore ipsum}
\lipsum[1]
\end{document}