在我的 pdf 中,参考书目显示为附录的一部分,但我想为其添加自己的书签。
书签如下所示。
...
Chapter D
Chapter E
Appendix
Appendix A
Appendix C
Appendix D
...
Bibliography
如何在最后的书签中使用参考书目?就像这样:
...
Chapter D
Chapter E
Appendix
Appendix A
Appendix C
Appendix D
...
Bibliography
我在我的 TeX 文档中使用了以下内容。
% Appendix
\appendix
\addpart{\appendixname}
\input{Appendix/A_Requirements}
\input{Appendix/B_Analysis}
\input{Appendix/C_Feature}
\input{Appendix/D_Project}
% Bibliography
\printbibliography
编辑
\documentclass[paper=a4,twoside=false,DIV10,chapterprefix,headsepline=true,index=totoc,listof=totoc,bibliography=totoc,appendixprefix=true]{scrbook}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[hidelinks]{hyperref}
\usepackage[babel,german=quotes]{csquotes}
\usepackage[backend=biber,style=alphabetic]{biblatex}
\usepackage{chngcntr}
\usepackage{float}
\usepackage[german]{cleveref}
\usepackage[ngerman]{babel}
\usepackage[normalem]{ulem}
\usepackage[printonlyused]{acronym}
\usepackage{enumerate}
\usepackage{graphicx, epstopdf}
\usepackage{listingsutf8}
\usepackage{lmodern}
\usepackage{longtable}
\usepackage{microtype}
\usepackage[x11names]{xcolor}
\bibliography{Bibliography/Bibliography}
\counterwithout{footnote}{chapter}
\input{Component/Settings}
% Author informations
% Front
\begin{document}
\frontmatter
\input{Component/Titlepage}
\input{Component/Declaration-Of-Authorship}
\input{Component/Abstract}
\cleardoublepage
\pdfbookmark{\contentsname}{toc}
\tableofcontents
\listoffigures
\listoftables
\lstlistoflistings
\chapter{Acronym}
\begin{acronym}
\acro{...}{...}
\end{acronym}
% Content
\mainmatter
\input{...}
% Appendix
\appendix
\addpart{\appendixname}
\input{Appendix/...}
\input{Appendix/...}
\input{Appendix/...}
\input{Appendix/...}
% Bibliography
\backmatter
\printbibliography
\end{document}
任何想法?
答案1
包为此bookmark
提供了选项。如果在参考书目之前设置,则参考书目的书签将设置在顶层,例如:startatroot
\documentclass[...]{scrbook}
...
\usepackage[...]{hyperref}
\usepackage{bookmark}
\bookmarksetup{open,numbered}% I like numbered bookmarks
...
\begin{document}
\frontmatter
...
\mainmatter
...
\backmatter
\bookmarksetup{startatroot}
\printbibliography
...
\end{document}
答案2
因为有一个最小工作示例(MWE)你的问题中缺少了什么,我只能猜测。
\backmatter
我会在你的 之前插入宏\printbibliography
。当然你应该使用 documentclassbook
或scrbook
并且你应该加载包hyperref
。像这样:
\documentclass[%
,paper=a4 % papersize
,fontsize=12pt %
,bibliography=totoc %
]{scrbook} % scrbook
\usepackage{hyperref} %
\begin{document}
\frontmatter % first part of book
\maketitle % Title of the book/thesis
\tableofcontents %
\listoffigures %
\listoftables %
\mainmatter % main part of book
\include{introduction} % and so on ...
\appendix
\include{tables} % first part of appendix
\backmatter % bibliography, index
%\bibliography{bibfile} % bibliography with bibtex
\printbibliography % bibliography with biblatex
\printindex % index
\end{document}
如果您想要更好的建议,请添加 MWE。