我正在使用 LyX 中的 KOMA 脚本撰写论文。我已按照此链接中的指南进行操作
http://fkurth.de/uwest/LyX/ThesisTemplate/Diss-Template.zip
但是,我有一个与行距有关的问题。我希望首页、传记等使用单倍行距,第 1、2、3 章使用双倍行距。如何设置首页和分章节不同的行距?
我尝试了一些方法但没有效果,例如在分支章节中设置双倍行距的文本布局。
主文档和分支中的序言都是
% print no date
\date{}
% increase link area for cross-references and autoname them
\AtBeginDocument{\renewcommand{\ref}[1]{\mbox{\autoref{#1}}}}
\newlength{\abc}
\settowidth{\abc}{\space}
\addto\extrasenglish{
\renewcommand{\equationautorefname}{\hspace{-\abc}}
\renewcommand{\sectionautorefname}{sec.\negthinspace}
\renewcommand{\subsectionautorefname}{sec.\negthinspace}
\renewcommand{\subsubsectionautorefname}{sec.\negthinspace}
\renewcommand{\figureautorefname}{Fig.\negthinspace}
\renewcommand{\tableautorefname}{Tab.\negthinspace}
}
% in case somebody want to have the label "equation"
%\renewcommand{\eqref}[1]{equation~(\negthinspace\autoref{#1})}
% that links to image floats jumps to the beginning
% of the float and not to its caption
\usepackage[figure]{hypcap}
% the pages of the TOC is numbered roman
% and a pdf-bookmark for the TOC is added
\let\myTOC\tableofcontents
\renewcommand\tableofcontents{%
\frontmatter
\pdfbookmark[1]{\contentsname}{}
\myTOC
\mainmatter }
% make caption labels bold
\setkomafont{captionlabel}{\bfseries}
\setcapindent{1em}
% enable calculations
\usepackage{calc}
% fancy page header/footer settings
\renewcommand{\chaptermark}[1]{\markboth{#1}{#1}}
\renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}}
%\lhead[\fancyplain{}{}]{\fancyplain{}{\rightmark}}
\rhead[\fancyplain{}{\leftmark}]{\fancyplain{}{}}
\lfoot[\thepage]{}
\rfoot[]{\thepage}
\cfoot{}
% increase the bottom float placement fraction
\renewcommand{\bottomfraction}{0.5}
% avoid that floats are placed above its sections
\let\mySection\section\renewcommand{\section}{\suppressfloats[t]\mySection}
% widen the space for the nomenclature entry labels
\renewcommand{\nomlabelwidth}{2.5cm}