我正在使用 classicthesis,我的参考书目标题有问题:我收到的不是小写字母,而是普通字体字母。我不知道如何制作可重现的 MWE,因为当我使用以下代码加载参考书目时
\begin{thebibliography}{99}
\bibitem{example}
\bibitem{example}
\bibitem{example}
\end{thebibliography}
问题没有发生。而在 classicthesis-package 本身中,参考书目太短,无法显示问题(标题从第二页开始)。
所以这就是我正在做的事情:
\documentclass[ twoside,openright,titlepage,numbers=noenddot,headinclude,footinclude=true,
cleardoublepage=empty,
fontsize=11pt, ngerman,american]{scrbook}
\input{classicthesis-config}
\bibliography{bibliography} % change to your own bibliography
\renewcommand*{\bibname}{Bibliography}
\setbibpreamble{}
\begin{document}
\tableofcontents
\pagestyle{scrheadings}
\part{Introduction}
\include{Chapters/test} % insert chapter with lots of citations
\manualmark
\markboth{\spacedlowsmallcaps{\bibname}}{\spacedlowsmallcaps{\bibname}} % work-around to have small caps also
\refstepcounter{dummy}
\addtocontents{toc}{\protect\vspace{\beforebibskip}} % to have the bib a bit from the rest in the toc
\addcontentsline{toc}{chapter}{\tocEntry{\bibname}}
\printbibliography
\end{document}
我不确定这是否有效...如果没有,你可能知道我可以尝试什么
答案1
看来您正在使用,所以我删除了对biblatex
的调用并在序言中添加了一些命令:natbib
classicthesis-config.tex
\documentclass[
twoside,
openright,
titlepage,
numbers=noenddot,
headinclude,
footinclude=true,
cleardoublepage=empty,
fontsize=11pt,
ngerman,
american,
]{scrbook}
\input{classicthesis-config}
\usepackage{lipsum}
\usepackage{csquotes}
\usepackage{biblatex}
\addbibresource{xampl.bib} % change to your own bibliography
\defbibheading{classicthesis}[\bibname]{%
\cleardoublepage\phantomsection
\manualmark
\markboth{\spacedlowsmallcaps{#1}}{\spacedlowsmallcaps{#1}}%
\addtocontents{toc}{\protect\vspace{\beforebibskip}}%
\addcontentsline{toc}{chapter}{\tocEntry{#1}}%
\chapter*{#1}%
}
\begin{document}
\tableofcontents
\cleardoublepage
\pagestyle{scrheadings}
\part{Introduction}
% a dummy chapter just by way of example
\chapter{Test}
\nocite{*} % cite everything
\lipsum[1-30]
\printbibliography[heading=classicthesis]
\end{document}
关键点在于用 定义适当的 bibheading \defbibheading
。
目录
参考书目第二页,显示页眉
答案2
一般来说,这可以手动完成,这对于将其他列表转换为小型大写字母也很有用,这些对我有用(不要忘记重新激活 \automark):
\manualmark
\markboth{\spacedlowsmallcaps{\listfigurename}}{\spacedlowsmallcaps{\listfigurename}}
\listoffigures
\automark[section]{chapter}
\renewcommand{\chaptermark}[1]{\markboth{\spacedlowsmallcaps{#1}}{\spacedlowsmallcaps{#1}}}
\renewcommand{\sectionmark}[1]{\markright{\thesection\enspace\spacedlowsmallcaps{#1}}}
和
\manualmark
\markboth{\spacedlowsmallcaps{\bibname}}{\spacedlowsmallcaps{\bibname}} % work-around to have small caps also
\phantomsection
\refstepcounter{dummy}
\addtocontents{toc}{\protect\vspace{\beforebibskip}} % to have the bib a bit from the rest in the toc
\addcontentsline{toc}{chapter}{\tocEntry{\bibname}}
\bibliographystyle{plainnat}
\label{apen:bibliography}
\bibliography{Bibliography}
\automark[section]{chapter}
\renewcommand{\chaptermark}[1]{\markboth{\spacedlowsmallcaps{#1}}{\spacedlowsmallcaps{#1}}}
\renewcommand{\sectionmark}[1]{\markright{\thesection\enspace\spacedlowsmallcaps{#1}}}
答案3
使用 FGiorlando 响应参考书目和 Lyx - 首先使用 ERT(LaTeX 代码)并包括:
\manualmark
\markboth{\spacedlowsmallcaps{\bibname}}{\spacedlowsmallcaps{\bibname}}
使用 Lyx 菜单插入列表/TOC/Bib(la)TeX 书目插入书目,然后执行以下操作 ERT:
\automark[section]{chapter}
\renewcommand{\chaptermark}[1]{\markboth{\spacedlowsmallcaps{#1}} {\spacedlowsmallcaps{#1}}}
\renewcommand{\sectionmark}[1]{\markright{\thesection\enspace\spacedlowsmallcaps{#1}}}
只需将 \bibname 替换为 \contentsname 即可对目录执行相同操作:
\manualmark
\markboth{\spacedlowsmallcaps{\contentsname}}{\spacedlowsmallcaps{\contentsname}}
插入目录菜单列表/TOC/目录然后在 ERT 内插入:
\automark[section]{chapter}
\renewcommand{\chaptermark}[1]{\markboth{\spacedlowsmallcaps{#1}} {\spacedlowsmallcaps{#1}}}
\renewcommand{\sectionmark}[1]{\markright{\thesection\enspace\spacedlowsmallcaps{#1}}}