我想在参考书目的标题中添加脚注(使用 bibtex)。它看起来像这样:
参考书目*
- 参考文献1
- 参考文献2
ETC。
*这是参考书目的脚注。
这个怎么做?
不带脚注的参考书目由以下方式生成:
\bibliographystyle{bst-file-name}
\bibliography{bibtex-database-file}
我将文章类与 natbib、tocloft 和 tocbibind 包一起使用。
答案1
有了你的设置,补丁就足够简单了。最大的问题是没有将脚注传播到目录中。
\begin{filecontents}{\jobname.bib}
@Book{Lam94,
author = {L. Lamport},
title = {{\LaTeX}---A Document Preparation System---User's Guide and Reference Manual},
publisher = {Addison-Wesley},
year = 1994,
edition = {2nd},
note = {Updated for {\LaTeXe}},
}
\end{filecontents}
\documentclass{article}
\usepackage{natbib}
\usepackage[nottoc]{tocbibind}
\usepackage[titles]{tocloft}
%%% Code for adding the footnote
\usepackage{etoolbox}
\makeatletter
\patchcmd{\toc@section}
{\prw@mkboth}
{\BIBFOOTNOTE\prw@mkboth}
{}{}
\AtBeginEnvironment{thebibliography}{%
\renewcommand{\thefootnote}{\@fnsymbol{1}}%
}
\makeatother
%%% Here you define the footnote text
\newcommand\BIBFOOTNOTE{%
\footnote{It would be better not having a footnote to the bibliography.}%
}
%%%
\begin{document}
\tableofcontents
\section{Title}
In his book \cite{lam94}
\bibliographystyle{plainnat}
\bibliography{\jobname}
\end{document}
(拍摄照片时文字高度已降低。)
答案2
实现这一点的一种方法是修补\thebibliography
环境(启动命令),这样就将\section*{\refname}
其更改为\section*{\refname\footnote{some text}}
。
这不会对目录造成任何损害,因为\section*{}
它不会出现在那里(在正常设置中)。
我还把脚注符号改为*
。但是,如果脚注计数器到目前为止为零,这只会产生一个星号 ;-)
如果文档类是book
,则必须\section*{\refname}
更改为\chapter*{\bibname}
\documentclass{article}
\usepackage{xpatch}
\usepackage{filecontents}
\begin{filecontents}{localbib.bib}
@Book{GSM97,
AUTHOR = {Michel Goossens and Sebastian Rahtz and Frank Mittelbach},
TITLE = {{T}he {\LaTeX} {G}raphics {C}ompanion},
PUBLISHER = "Addison-Wesley",
YEAR = 1997
}
@Book{Lam94,
author = {L. Lamport},
title = {{\LaTeX}---A Document Preparation System---User's Guide and Reference Manual},
publisher = {Adsison-Wesley},
year = 1994,
edition = {2nd},
note = {Updated for {\LaTeXe}}
}
\end{filecontents}
\newcommand{\BibliographyFootnoteText}{My super sophisticated footnote}
\xpatchcmd{\thebibliography}{\section*{\refname}}{\renewcommand{\thefootnote}{\fnsymbol{footnote}}\section*{\refname\footnote{\BibliographyFootnoteText}}}{}{}
\begin{document}
In his book \cite{lam94}
\clearpage
\bibliographystyle{unsrt}
\bibliography{localbib}
\end{document}