我有多個參考書目(我論文的每一章都有一個)。使用序言中的這些命令一切都很好:
%!TEX TS-program = xelatex
%!TEX encoding = UTF-8 Unicode
% Modify the following line to match your school
% Available options include `Harvard`, `Princeton`, and `NYU`.
\documentclass[School=Harvard]{Dissertate}
\setcounter{tocdepth}{5}
\setcounter{secnumdepth}{5}
\usepackage{chapterbib}
\usepackage{etoolbox}
\patchcmd{\thebibliography}{\chapter*}{\section*}{}{} % Changes the heading to \section
\apptocmd{\thebibliography}{\let\chapter\section}{}{} % Ensures the heading is treated as a section
\apptocmd{\thebibliography}{\vspace*{-3.5em}}{}{} % Adjust the -1em value as needed
我bibliography.tex
每章都有一個,並在每章末尾使用此程式碼:
\renewcommand{\bibname}{}
\section{References}
\bibliographystyle{achemso}
\bibliography{bibliographies/ref_chap1}
如何重置計數器,以便每章的每個參考部分從 1 開始編號,而不是從上一節開始連續編號?
謝謝!