如何更改论文模板的参考文献格式

如何更改论文模板的参考文献格式

我正在使用以下链接的模板完成我的论文。当前版本使用 [1]、[2] 作为参考格式。但我想使用 (姓氏 2019) 或姓氏 (2019) 作为我的参考格式。

我正在尝试通过以下方式实现上述格式:

1-添加\\usepackage{natbib}thesis.tex文件;

2-\RequirePackage[backend=biber,sorting=none,bibstyle=ieee]{biblatex}在 rutgersthesis.cls 文件中注释并在 thesis.tex 文件中添加“\bibliographystyle{dcu} \bibliography{references.bib}”,这是我需要的。

有人能帮忙吗?非常感谢!原始代码来自以下链接:

https://github.com/tangbao/RU-Thesis-Dissertation-Latex-Template

\documentclass[12pt]{rutgersthesis}

% preamble

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Your information here
% !IMPORTANT!
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\thesisType}{Dissertation } % Dissertation for PhD and Thesis for Master
\newcommand{\thesisTitle}{Title} % your thesis/dissertation title, e.g., How to Write A Thesis
\newcommand{\yourName}{Name} % your name, e.g., Tim Cook
\newcommand{\yourDegree}{Doctor of Philosophy} % your degree to be obtained, e.g., Master of Science, Doctor of Philosophy
\newcommand{\yourProgram}{Graduate Program} %insert your graduate program’s official name
\newcommand{\yourDirectorTitle}{Prof.} % the title of your thesis director
\newcommand{\yourDirector}{Dissertation/Thesis Director} % your thesis director name here, his/her title not included
\newcommand{\yourCommitteeNumber}{4} % IMPORTANT! the number of the committee members for your defense
\newcommand{\yourMonth}{Month} % your graduation month, not your defense month
\newcommand{\yourYear}{Year} % your graduation year


\bibliography{references}

% document body
\begin{document}
% \doublespacing  %set line spacing

\input{copyright}

\makeTitlePage{Month}{Year}

\begin{frontmatter}
    \input{abstract}
    \input{acknowledgments}
    \makeTOC
    \makeListOfTables
    \makeListOfFigures
    \input{abbrevs}
\end{frontmatter}

\begin{thesisbody}
    \input{chapters/chapter1}
    \input{chapters/chapter2}
    % \input{chapters/chapter3}
    % \input{chapters/chapter4}
    % \input{chapters/chapter5.tex}
    % \input{chapters/appendix.tex}
    \input{publications.tex}
    \makeBibliography
\end{thesisbody}

\end{document}

相关内容