我需要写一篇论文,所以我在文件中Times New Roman
使用with 命令并使用和指定字体。问题是我无法在论文中找到任何引文或参考资料。这是一个 MWE:LuaLaTex
.tex
% !TEX TS-program = lualatex
\usepackage{fontspec}
\setmainfont{Times New Roman}
\documentclass[12pt,a4paper]{article}
\usepackage{natbib}
\bibliographystyle{ecta}
\usepackage{fontspec}
\setmainfont{Times New Roman}
\title{The Pathbreaking Paper}
\author{Dr Genius}
\begin{document}
\maketitle
\section{Introduction}
Climate change is an urgent issue that needs an immediate intervention through human actions.
\nocite{*}
\bibliography{references}
\end{document}
我的参考文献保存在.bib
名为的文件中references
,保存在同一目录中,它们看起来像这样:
@article{falkner2016paris,
title={The Paris Agreement and the new logic of international climate politics},
author={Falkner, Robert},
journal={International Affairs},
volume={92},
number={5},
pages={1107--1125},
year={2016},
publisher={Oxford University Press}
}
@article{handler1994succession,
title={Succession in family business: A review of the research},
author={Handler, Wendy C},
journal={Family business review},
volume={7},
number={2},
pages={133--157},
year={1994},
publisher={Wiley Online Library}
}
我尝试了所有能想到的方法,但无法使文件正常工作。如能得到任何帮助,我将不胜感激。我正在TeX Live 2019
使用Win 10
。