Natbib 参考文献未出现在参考书目中

Natbib 参考文献未出现在参考书目中

我想要像这样的书目

在此处输入图片描述

我尝试了不同的 natbib 风格,但到目前为止还没有成功。

我的代码:

\documentclass[11pt,a4paper,twoside]{memoir}

\usepackage[T1]{fontenc} % Support for more character glyphs
\usepackage{helvet}
\usepackage[square]{natbib}\citeindextrue % Round brackets around citations, change to square for square brackets
\usepackage{graphicx} % Required to include images
\usepackage{amsmath,amssymb,theorem} % Math packages
\usepackage{booktabs} % Required for better horizontal rules in tables
\usepackage{xspace} % Provides the ability to use an intelligent space which is used in \institution and \department
\usepackage{acronym} % Include a list of acronyms
\usepackage{lscape}
\usepackage{rotating} % Allows tables and figures to be rotated
\usepackage{hyperref} % Required for links and changing link options
\usepackage{microtype} % Slightly tweak font spacing for aesthetics
\usepackage{textcomp} %Sopecial symbols
\usepackage{gensymb} % Special symbols like °C
\usepackage{xcolor,colortbl}
\usepackage{pdfpages}% Allows include PDF files
\usepackage{adjustbox} % Required to fit table to the page
\usepackage{float} %unflota and place figures and tables
\usepackage{multirow}
\usepackage{setspace}

\begin{document}
Some random text \citep{IRENA2015}, more text and something something cites \citep{web:TWB2016, AlIbrahim2006}.


\bibliographystyle{apalike} % Use the plainnat bibliography style
\bibliography{biblio} % Use the bibliography.bib file as the source of references
\end{document}

我的书目文件如下:

@Misc{IRENA2015,
  author={IRENA},
  title={RENEWABLE ENERGY IN THE WATER, ENERGY {\&} FOOD NEXUS},
  howpublished={Available online at \url{http://www.irena.org/DocumentDownloads/Publications/IRENA_Water_Energy_Food_Nexus_2015.pdf}},
  year={2015},
  note={Consulted on: 07/04/2016}
}

@Misc{web:TWB2016,
  publisher={World Bank},
  title={World Bank databank},
  year={2016},
  note={Consulted on: 16/01/2016},
  url={http://databank.worldbank.org/data/reports.aspx?source=global-economic-monitor-%28gem%29-commodities#},
  author={WB}
}

@article{AlIbrahim2006,
    year  = {2006},
    month = {jun},
    publisher = {International Society for Horticultural Science ({ISHS})},
    number = {710},
    pages = {251--264},
    author = {A. AlIbrahim and N. AlAbbadi and I. AlHelal},
    title = {{PV} {GREENHOUSE} {SYSTEM} {SYSTEM} {DESCRIPTION},  {PERFORMANCE} {AND} {LESSON} {LEARNED}},
    journal = {Acta Hortic.}
}

答案1

在输入所有引用命令并且它们稳定后 - 省略natbib包的加载并使用\cite代替\citep

我忍不住要对存根参考书目的两个方面发表评论。首先,请将World Bank(字段中的title)括在一对花括号中;这样,BibTeX 就不会将“Bank”中的“B”小写。其次,如果您真的更喜欢使用apalike参考书目样式(而不是plainnat注释中提到的样式),请不要使用名为 的字段urlapalike这是一种非常古老的样式,来自 1980 年代的 latex,即互联网出现之前且 URL 还不为人所知的时代。如果您确实想打印出字段中的信息url,请将信息移动到note字段并将 URL 字符串括在指令中\url

相关内容