一切顺利!
我通常使用“Overleaf”,但最近我决定切换到离线版本 - LaTex。而且,我遇到了这个问题,参考文献显示为粗体问号“????“。你知道怎么解决这个问题吗?我一直在阅读并尝试 LaTeX 论坛上的不同方法,但还是无法解决这个问题。谢谢
\documentclass[12pt]{article}
\usepackage{mathptmx}
\usepackage{times} % these two packages "times" and "mathptmx" are for "times new roman" font, if you dont want these font, then delete these 2 packages
\usepackage{apacite} %for citations in APA style
\usepackage{etoolbox} %for bibliography
\usepackage{graphicx,url}
\usepackage{amsmath}
\usepackage[utf8]{inputenc}
\usepackage{placeins}
\usepackage{hyperref}
\usepackage{setspace}
\usepackage{csquotes}
\usepackage{natbib}
\typeout{}
\bibliographystyle{apalike}
\bibliography{bibfile}
\title{Bibliography management: \texttt{natbib} package}
\usepackage{listings}
\usepackage{color}
\usepackage[affil-it]{authblk}
\usepackage{soul}
\usepackage{booktabs} %For Tables
\usepackage{float} %For Tables
\usepackage{graphicx} %For Tables
\usepackage{caption} %For Tables
\usepackage{lscape} %for Tables
\usepackage{blindtext}
\pagestyle{plain}
\begin{document}
\addcontentsline{toc}{section}{References}
\begin{flushleft}
\raggedbottom
\bibliographystyle{apalike}
\bibliography{bibfile}
\end{flushleft}
\end{document}*