我想在我的參考書目部分中的標題下、第一個參考文獻之前添加一個額外的段落。
這是否有可能,或者我是否需要尋找其他方法?
我正在使用acmsmall.cls佈局 - 我的參考書目目前是這樣建構的:
\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=...
帶有 a 的選項\defbibnote
來定義您的註釋。
\defbibnote{intro}{This note will appear before the bibliography...}
\printbibliography[prenote=intro,...]
請參閱第 71 頁biblatex 文檔。