参考文献分章(群里消息汇编) #435
Answered
by
YDX-2147483647
YDX-2147483647
asked this question in
Q&A
-
文章较长时,可能想在每一章之后添加参考文献,并不统一甩到最后。 效果 |
Beta Was this translation helpful? Give feedback.
Answered by
YDX-2147483647
Apr 3, 2024
Replies: 1 comment
-
biblatex提供了 手动方法
\mainmatter
% 请根据论文内容,按照顺序添加章节。
+\begin{refsection}
\input{./chapters/chapter1.tex}
+\input{./misc/2_reference.tex}
+\end{refsection}
+
+\begin{refsection}
\input{./chapters/chapter2.tex}
+\input{./misc/2_reference.tex}
+\end{refsection}
\backmatter
% 结论
\input{./misc/1_conclusion.tex}
-% 参考文献
-\input{./misc/2_reference.tex} 解释:biblatex会在每个
\__bithesis_if_thesis_english:TF {
- \chapter{\c__bithesis_label_reference_en_tl}
+ \section{\c__bithesis_label_reference_en_tl}
} {
- \chapter{c__bithesis_label_reference_tl}
+ \section{\c__bithesis_label_reference_tl}
} 解释:原本参考文献是单独一章(标题居中),现在改为每章的一节(标题居左并编号)。 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
YDX-2147483647
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
biblatex提供了
refsection=chapter
选项自动实现,但模板间接使用了titletoc,会冲突,无效。于是暂时只能手动实现。手动方法
main.tex
,给每一章套个refsection
环境,并将原来的2_reference.tex
移动、复制到每个refsection
内:解释:biblatex会在每个
refsection
中单独统计参考文献,现在人为每章设置一个refsection
。bithesis.cls
,搜索bibprint
,往下十几行,把\chapter
改为\section
: