我正在尝试增加除标题页之外的每个章节的基线跳过。我正在使用 setlength 来更改其值,但没有效果。任何帮助都很好。以下是我的主文件。
\documentclass[11pt, a4paper, twoside, openright]{memoir}
% \includeonly{./chapters/conclusion/conclusion}
\usepackage{graphicx} % For inserting graphics in the page
\usepackage{epstopdf} % For automatically converting eps images to pdf while using pdflatex
\usepackage{dblfloatfix} % For using a "b" as placement specifier for a page wide image
\usepackage{fixltx2e} % For ensuring correct image numbering when we use \figure*
\usepackage{mathtools} % For using mathematics environments
\usepackage{amsfonts} % For using text formatting in equations eg \mathbf
\usepackage{algorithm} % For wrapping algorithmic environment to produce a floating environment.
\usepackage{algorithmic} % For using algorithmic environment
\usepackage{threeparttable} % For adding footnotes to the table
\usepackage{subcaption} % For putting multiple figures within a single figure environment
\usepackage{tikz} % For drawing
\graphicspath{{chapters/SASNN/img/}{chapters/GSNN/img/}{chapters/literature/img/}{chapters/intro/img/}{chapters/conclusion/img/}{garnish/cover/}}
\setsecnumdepth{subsubsection}
% To ensure equal margin for odd and even pages
\setlength{\oddsidemargin}{15.5pt}
\setlength{\evensidemargin}{15.5pt}
% Increase line spacing
\setlength{\baselineskip}{24pt plus 1pt minus 1pt}
\begin{document}
% title page
\input{./garnish/cover/cover}
% abstract
\begin{abstract}
\input{./garnish/abstract/abstract} % We use input because usage of include causes an extra bank page to be added.
\end{abstract}
\mainmatter
\include{./chapters/intro/intro}
\include{./chapters/literature/literature}
\include{./chapters/GSNN/gsnn}
\include{./chapters/SASNN/sasnn}
\include{./chapters/conclusion/conclusion}
\backmatter
\include{./garnish/pub/pub}
\bibliographystyle{plain}
\bibliography{../../../Bibliography/Bibtex/SNN}
\end{document}
更新:我也尝试了 \linespread,但是也不起作用。
答案1
我建议使用memoir
自己的间距命令(基于setspace
),因为它不会对实际上不应该双倍行距的内容进行双倍行距,也不会受到上述\baselineskip
更改的影响,一旦进行字体大小更改,该更改将不起作用。请参阅此常问问题.比较以下例子:
\documentclass[openany, 11pt, a4paper, twoside]{memoir}
\usepackage{lipsum}
\begin{document}
\begin{abstract}
\lipsum[1]
\end{abstract}
\DoubleSpacing% <-- memoir command; comment and this line and uncomment the next...
\setlength{\baselineskip}{24pt plus 1pt minus 1pt}% <-- ... in order to see the difference
\mainmatter
\chapter{a}
\footnote{\lipsum*[2]}%
\large % <-- things like this will cause problems (and they are often implicitly set by other document commands)
\lipsum[1]
\backmatter
\chapter{b}\lipsum[1]
\end{document}
memoir
实际上提供了一整套间距命令;有关更多选项,请参阅手册(§ 3.3.2)。