
패키지를 사용하여 문서 전체에서 1.5 간격을 얻으려고합니다 setspace
. 그러나 머리말의 TOC 항목에서는 간격이 더 많이 나타납니다. 머리말의 TOC 항목 간격을 줄이는 방법.
\documentclass[a4paper, 12pt]{book}
\usepackage{newtxtext}
\usepackage{setspace}
\onehalfspacing
\begin{document}
\frontmatter
\pagestyle{plain}
\addcontentsline{toc}{chapter}{\normalfont Front 1}
\addcontentsline{toc}{chapter}{\normalfont Front 2}
\addcontentsline{toc}{chapter}{\normalfont Front 3}
\addcontentsline{toc}{chapter}{\normalfont Front 4}
\tableofcontents
\mainmatter
\chapter{Chap 1}
\section{section 1}
\subsection{subsection 2}
\chapter{Chap 2}
\section{section 1}
\subsection{subsection 2}
\end{document}