我想在参考书目部分中的标题下、第一个参考文献之前添加一个额外的段落。
这是否有可能,还是我需要寻找另一种解决方法?
我正在使用类库布局-我的参考书目目前是这样构建的:
\begin{thebibliography}{}
%%%I want to add a statement here!
\bibitem{G}
Carretero, J., Isaila, F., Kermarrec, A. M., Taïani, F., \& Tirado, J. M.
(2012, June).
Geology: Modular georecommendation in gossip-based social networks.
In Distributed Computing Systems (ICDCS), 2012 IEEE 32nd International Conference on (pp. 637-646).
IEEE.
\end{thebibliography}
答案1
您可以重新定义\thebibliography
在使用的列表之前添加文本;我定义\AddNote
为排版文本:
\documentclass{acmsmall}
\makeatletter
\newcommand\AddNote[1]{\def\@addnote{#1}}
\providecommand\@addnote{}
\def\thebibliography#1{%
\footnotesize
\refsection*{{\refname}
\@mkboth{\uppercase{\refname}}{\uppercase{\refname}}%
}
\@addnote\par
\list{}{
\settowidth\labelwidth{}
\leftmargin0pt
\advance\leftmargin\bibindent
\itemindent -\bibindent
\itemsep2pt
\parsep \z@
\usecounter{enumi}%
}%
\let\newblock\@empty
\sloppy
\sfcode`\.=1000\relax
}
\makeatother
\begin{document}
\AddNote{And here's the text that will be added to the bibliography, right after the title but before the first entry. We add some more text here.}
\begin{thebibliography}{9}
\bibitem{G}
Carretero, J., Isaila, F., Kermarrec, A. M., Taïani, F., \& Tirado, J. M.
(2012, June).
Geology: Modular georecommendation in gossip-based social networks.
In Distributed Computing Systems (ICDCS), 2012 IEEE 32nd International Conference on (pp. 637-646).
IEEE.
\end{thebibliography}
\end{document}
使用命令补丁可以简化代码:
\documentclass{acmsmall}
\usepackage{etoolbox}
\makeatletter
\newcommand\AddNote[1]{\def\@addnote{#1}}
\providecommand\@addnote{}
\patchcmd{\thebibliography}
{\list}
{\@addnote\par\list}
{}
{}
\makeatother
\begin{document}
\AddNote{And here's the text that will be added to the bibliography, right after the title but before the first entry. We add some more text here.}
\begin{thebibliography}{9}
\bibitem{G}
Carretero, J., Isaila, F., Kermarrec, A. M., Taïani, F., \& Tirado, J. M.
(2012, June).
Geology: Modular georecommendation in gossip-based social networks.
In Distributed Computing Systems (ICDCS), 2012 IEEE 32nd International Conference on (pp. 637-646).
IEEE.
\end{thebibliography}
\end{document}
答案2
另一种方法是,您可以biblatex
打印不带标题的参考书目,然后制作自己的标题和注释:
\section*{References}
This note will appear before the bibliography...
\printbibliography[heading=none,...]
...或者使用prenote=...
带有 的选项\defbibnote
来定义您的注释。
\defbibnote{intro}{This note will appear before the bibliography...}
\printbibliography[prenote=intro,...]
请参阅第 71 页biblatex 文档。