在我的目录中,“首字母缩略词”和“参考书目”的字体与目录的其余部分不同:
我认为这是因为它们不像其他的章节那样,但我不知道如何更改它。有人能帮我吗?我不想将首字母缩略词或参考书目添加为章节,但我希望它们具有与章节相同的字体
\documentclass[oneside,12pt, a4paper, footinclude=true, headinclude=true, cleardoublepage=empty]{scrbook}
\usepackage[linedheaders,parts,pdfspacing,dottedtoc]{classicthesis}
\usepackage{amsmath}
\usepackage{mathabx}
\usepackage{bm}
\newtheorem{assumption}{Assumption}
\newtheorem{theorem}{Theorem}
\usepackage[a4paper, hmargin={2.8cm, 2.8cm}, vmargin={2.5cm, 2.5cm}]{geometry}
\usepackage{eso-pic} % \AddToShipoutPicture
\usepackage{graphicx} % \includegraphics
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage{csquotes}
\usepackage{bookmark}
\usepackage{longtable}
\usepackage{array}
\usepackage{multirow}
\usepackage[format=plain,
font=it]{caption}
\usepackage{times}
\usepackage{float}
\usepackage{dingbat}
\usepackage{epigraph}
\usepackage{lingmacros}
\usepackage{color, colortbl}
\usepackage{tabularx}
\usepackage{pdfpages}
\usepackage{footnote}
\usepackage[ruled,vlined]{algorithm2e}
\definecolor{mygray}{rgb}{0.86,0.86,0.86}
\makesavenoteenv{tabular}
\makesavenoteenv{table}
\usepackage{booktabs}
\usepackage{enumitem}
\renewcommand{\baselinestretch}{1.5}
\def\signed #1{{\leavevmode\unskip\nobreak\hfil\penalty50\hskip2em
\hbox{}\nobreak\hfil(#1)%
\parfillskip=0pt \finalhyphendemerits=0 \endgraf}}
\newsavebox\mybox
\newenvironment{aquote}[1]
{\savebox\mybox{#1}\begin{quote}}
{\signed{\usebox\mybox}\end{quote}}
\usepackage[citestyle=authoryear,bibstyle=authortitle,natbib=true,backend=bibtex, maxcitenames=1]{biblatex}
\addbibresource{references.bib}
\usepackage[savewrites,nopostdot,toc,acronym,symbols,nogroupskip]{glossaries}
\makeglossaries
\newacronym{NNs}{NNs}{Neural Networks}
\newacronym{MDP}{MDP}{Markov Decision Process}
\begin{document}
\pagenumbering{roman}
\clearpage
\renewcommand*{\glstextformat}[1]{\textcolor{black}{#1}}
\printglossary[type=\acronymtype, nonumberlist]
\printglossary
\tableofcontents
\chapter{Test1}
\acrfull{NNs}
\chapter{Test2}
\acrfull{MDP}
\end{document}
答案1
我担心那里有很多冲突的问题:内部classicthesis
使用titlesec
,这与 KoMa 类不太兼容。glossaries
也有问题classicthesis
据我从他们的文档中了解到,:-)
。在这一点上,我想说你可以 (1) 等待更好的人提供答案,或 (2) 避免使用classicthesis
,或 (3) 只需手动输入内容行:
\documentclass[oneside,12pt, a4paper, footinclude=true, headinclude=true, cleardoublepage=empty]{scrbook}
% /|\
% |
% Do you REALLY mean this?!
\usepackage[linedheaders,parts,pdfspacing,dottedtoc]{classicthesis}
\usepackage{amsmath}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage[savewrites,nopostdot,acronym,symbols,nogroupskip,section=chapter]{glossaries}
\makeglossaries
\newacronym{NNs}{NNs}{Neural Networks}
\newacronym{MDP}{MDP}{Markov Decision Process}
\begin{document}
\pagenumbering{roman}
\clearpage
\addcontentsline{toc}{chapter}{%
\texorpdfstring{\spacedlowsmallcaps{\acronymname}}{\acronymname}%
}%
\printglossary[type=\acronymtype, nonumberlist]
\tableofcontents
\chapter{Test1}
\acrfull{NNs}
\chapter{Test2}
\acrfull{MDP}
\end{document}