我在 Windows 10 中使用 TeXstudio 完成我的博士论文。我想添加命名法,因此我在选项 --> 配置 TeXstudio --> Makeindex 中添加了以下行
makeindex %.nlo -s nomencl.ist -o %.nls -t %.nlg
以及此链接中 .cls 文件中的代码https://drive.google.com/drive/folders/101GvLp6hknlY0TTdSl3r8ZkmH8IUm7de?usp=sharing
论文中术语标题的垂直空间很大,如何减少它?
这是 .cls 文件中的代码示例
% Adjust spaces between header and the rest of pages for toc,lof,lot and nomenclature
\makeatletter
\patchcmd{\tableofcontents}{\@starttoc{toc}}{\vskip-10pt\@starttoc{toc}}{}{}
\patchcmd{\tableofcontents}{\contentsname}{\vskip-70pt\contentsname}{}{}
\patchcmd{\listoffigures}{\@starttoc{lof}}{\vskip-10pt\@starttoc{lof}}{}{}
\patchcmd{\listoffigures}{\listfigurename}{\vskip-70pt\listfigurename}{}{}
\patchcmd{\listoftables}{\@starttoc{lot}}{\vskip-10pt\@starttoc{lot}}{}{}
\patchcmd{\listoftables}{\listtablename}{\vskip-70pt\listtablename}{}{}
\patchcmd{\thenomenclature}{\chapter*{\nomname}}{\chapter*{\vskip-70pt\nomname\vskip-15pt}}{}{}
\makeatother
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Definitions required for document formatting:
\linespread{1.5}
\setlength\parindent{40pt}
%\setlength{\parindent}{1.5cm}
\makenomenclature
\DeclareMathSizes{13}{14}{11}{9}
.
.
.
.
.
.
\mtcaddtoc{Acknowledgment}
\begin{MTCacknowledgement}
\begin{spacing}{1.4} \input{acknowledgement}\end{spacing} % include an acknowledgements.tex file % By Desoky as file name
\end{MTCacknowledgement} \newpage
\mtcaddtocNoTOC{Contents}
\tableofcontents % generate and include a table of contents
\mtcaddtoc{List of Figures}
\listoffigures % generate and include a list of figures
\mtcaddtoc{List of Tables}
\listoftables % generate and include a list of tables
\mtcaddtoc{Nomenclature}
\printnomenclature[4cm] % generate and include a list of abbreviations
\mtcaddtoc{Abstract} % By Desoky
\begin{MTCabstract}
\begin{spacing}{1.4} \input{abstract}\end{spacing} % include the abstract.tex
\end{MTCabstract}
\end{romanpages} % end roman page numbering
\end{spacing}
\mtcnorm}