使用LaTeX,如何在每个部分的末尾提供参考文献列表? [英] Using LaTeX, how can I have a list of references at the end of each section?

查看:758
本文介绍了使用LaTeX,如何在每个部分的末尾提供参考文献列表?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想为每个部分生成参考书目,并将其放在本部分的末尾.当我这样做时,它将生成完整的书目并将其放在每个部分的后面.

I want to generate the bibliography for each section, and have it at the end of the section. When I do this at the moment it generates the full bibliography and places it after each section.

有没有办法做到这一点?

Is there a way that this can be done?

此处的建议

""Chapterbib软件包提供了一个 选项部分围嘴 \ section *中的参考书目,而不是 \ chapter *,这很有意义 如果每个书目都有 章节.此选项不起作用 当还加载了natbib时;反而, 将选项添加到natbib. "

"The chapterbib package provides an option sectionbib that puts the bibliography in a \section* instead of \chapter*, something that makes sense if there is a bibliography in each chapter. This option will not work when natbib is also loaded; instead, add the option to natbib. "

我不明白这意味着什么,并且我尝试尝试了我认为的选项.具体来说,将选项添加到natbib"是什么意思?

I don't understand what this means, and I've tried experimenting with what I thought the options are. Specifically, what does "add the option to natbib" mean?

我的下一个问题(在解决第一个问题后演变)是在参考文献和下一节之间没有分页符.

My subsequent question (which evolved after my first one was solved) is to not have pagebreaks between the references, and the next section.

谢谢您的帮助.

推荐答案

如果您使用的是 Biblatex ,如

If you are using Biblatex, as for citing article titles, you can use it to produce bibliographies at the end of sections or chapters, or even have a combined bibliography where they are separated by chapter/section. As a package, it is intended to replace "babelbib, bibtopic, bibunits, chapterbib, cite, inlinebib, mlbib, multibib, splitbib."

您可以通过以下三种方式之一在每节后面放置一个参考书目.首先,将您的节的文本包装为\begin{refsection}/\end{refsection}对,例如

You can put a bibliography after each section, in one of three ways. First, wrap the text of your section in a \begin{refsection}/\end{refsection} pair, as such

\section{SomeSectionName}
\begin{refsection}
% your text goes here
\printbibliography
\end{refsection}
\section{NextSection}

第二,在每个\section语句之后,放置一个\newrefsection语句,该语句结束上一节并开始新的语句.并且,再次在下一个\section之前添加\printbibliography语句.最后,有一个refsection软件包选项,它以nonepartchaptersectionsubsection作为参数.要按全局书目中的每个部分对书目条目进行分组,请改用refsegment,而使用\bibbysegment按顺序打印所有段. (\bibbysection也可以以相同的方式用于引用节.)

Second, after each \section statement you put a \newrefsection statement which ends the previous section and begins the new one. And, you precede the next \section with a \printbibliography statement, again. Finally, there is a refsection package option that takes either none, part, chapter, section, or subsection as an argument. To group your bibliographic entries per section in a global bibliography you use refsegment instead, using \bibbysegment to print all the segments in order. (\bibbysection can be used in the same manner for ref-sections, too.)

根据@Norman的回答,我不知道您需要拆分多少文本,但是通过一些试验您就可以弄清楚.

I don't know how much you'll have to split up your text, as per @Norman's answer, but with a little experimentation you can figure it out.

这篇关于使用LaTeX,如何在每个部分的末尾提供参考文献列表?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆