使用LaTeX,如何在每个部分的末尾提供参考文献列表?

编程入门 行业动态 更新时间:2024-10-28 20:23:49
本文介绍了使用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 ,如中,您可以使用它在各节或各章的末尾生成参考书目,甚至可以使用组合的参考书目将其按章/节分开.作为一个软件包,它将替代"babelbib,bibtopic,bibunits,chaptbbib,cite,inlinebib,mlbib,multibib,splitbib".

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软件包选项,它以none,part,chapter,section或subsection作为参数.要按全局书目中的每个部分对书目条目进行分组,请改用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,如何在每个部分的末尾提供参考文献列表?

本文发布于:2023-10-09 10:44:56,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1475527.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:末尾   参考文献   列表   在每个   LaTeX

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!