我在撰写论文时使用的是“哈佛”风格。在引用 3 位以上作者的论文时,有时会出现 lastNameAuthor1、LastNameAuthor2、LastNameAuthor3、LastnameAuthor4 等,而不是 lastNameAuthor1 et al。
这种情况仅在某些情况下发生。
我搜索了所有可能的方法,但无法纠正。请帮助我纠正 BibTex 的这种不一致行为。我附上了一个代码示例。
\documentclass{iitkgpthesis}
\usepackage[utf8]{inputenc}
%\usepackage[english]{babel}
\usepackage{fancyhdr}
%\usepackage[round]{natbib}
\usepackage{lipsum}
\usepackage{longtable}
%\usepackage{mathpazo}
\usepackage{microtype}
\usepackage{amsmath}
\usepackage{epstopdf}
\usepackage{sectsty}
\usepackage{titlesec}
\usepackage{multicol}
\usepackage{booktabs}
\usepackage{multirow}
\usepackage{longtable}
\usepackage[dvipsnames]{xcolor}
\usepackage{array}
\newcolumntype{M}[1]{>{\centering\arraybackslash}m{#1}}
\newcolumntype{N}{@{}m{0pt}@{}}
\newcommand{\SymbolInRed}{$\textcolor{red}{\times}$}
\renewcommand\chaptername{\bf CHAPTER}
\newcommand{\ssubsection}[1]{%
\subsection[#1]{\raggedright\normalfont\itshape\bfseries #1}}
\begin{document}
% Frontmatter. Add other pages as needed.
%\pagenumbering{roman}
%\include{firstpage}
%\include{frontmatter}
% \include{abstract}
% \cleardoublepage
% \tableofcontents
% \cleardoublepage
% \listoftables
% \listoffigures
%\cleardoublepage
%\include{listofnotation}
%\cleardoublepage
\fancyhf{}
\fancyhead[RE]{\leftmark}
\fancyhead[LO]{\rightmark}
\fancyhead[LE,RO]{\thepage}
\renewcommand{\headrulewidth}{1pt}
% Main thesis section
\pagenumbering{arabic}
%\input{test}
\cite{mahanthesh2017marangoni}, \cite{li2021dynamics}, \cite{khan2021transportation},\cite{algehyne2022cattaneo}, \cite{bai2022unsteady}, \cite{algehyne2022analysis}.\cite{kumar2020simultaneous}, \cite{li2021motion}. \cite{khan2021marangoni}, \cite{khan2020numerical}, \cite{kumar2020heat}, \cite{tripathi2015dynamics},\cite{kumar2020wetting}, \cite{tripathi2015non}
\singlespacing
\bibliographystyle{harvard}
\bibliography{myref}
\addcontentsline{toc}{chapter}{Bibliography}
\newpage
\thispagestyle{empty}
\cleardoublepage
\end{document}