
Ich schreibe meine Abschlussarbeit an der Uni und wir müssen doppelten Zeilenabstand und Times New Roman verwenden. Wenn ich das \linespread{1.6}
in der Präambel einstelle, ist alles in Ordnung, außer dass im Inhaltsverzeichnis \section
große Abstände entstehen. Wenn ich den Zeilenabstand nach dem \tableofcontents
Tag-Notieren einstelle, bleibt der Zeilenabstand normal.
Gibt es eine Möglichkeit, die normale Zeilenverteilung nur im Inhaltsverzeichnis beizubehalten?
Antwort1
Sie können die vom Paket bereitgestellten Funktionen nutzen setspace
:
\documentclass{article}
\usepackage{setspace}
\doublespacing
\begin{document}
\begingroup
\singlespacing
\tableofcontents
\endgroup
\section{Section One}
\section{Section Two}
\section{Section Three}
\section{Section Four}
\section{Section Five}
\end{document}
oder
\documentclass{article}
\usepackage{setspace}
\begin{document}
\tableofcontents
\doublespacing
\section{Section One}
\section{Section Two}
\section{Section Three}
\section{Section Four}
\section{Section Five}
\end{document}
Antwort2
setspace
Du kannst das Paket verwenden . Füge einfach \usepackage{setspace}
in die Präambel und \doublespacing
nach dem Inhaltsverzeichnis ein:
\documentclass{article}
\usepackage{setspace}
\usepackage{lipsum}
\begin{document}
\tableofcontents
\doublespacing
\section{one}
\lipsum[1-4]
\section{two}
\lipsum[5-8]
\section{three}
\lipsum[9-12]
\end{document}