Latex參考文獻在文中引用格式爲author et al. [number]

目的:希望\cite後直接自動顯示li et al. [1],而不是每個引用都手動拼寫作者名字。

引用包及語句:

...
\usepackage[numbers]{natbib}
...
\begin{document}
...
The grayscale image can be colorized by propagating the scribble from users. \citet{Levin2004Colorization} proposed a colorization method, which is based on the user-specific scribbles. The main idea is to solve the cost function of the luminance difference between a special pixel and its contiguous pixels using least-square optimization. While this method only considers the luminance between pixels, the color bleeding may appear at the boundaries in original images.
...
\bibliographystyle{plainnat}
\bibliography{IEEE_Trans}
...
\end{document}

效果:
在這裏插入圖片描述
需要注意的點:

  1. 導入包\usepackage[numbers]{natbib},必須有[numbers]不然在文中顯示的效果就會是作者加年份。因爲natbib包默認是author-year的風格。
    在這裏插入圖片描述
  2. 使用\citet{}進行引用,如果使用\cite{}最後只會出現序號。
  3. 在導入參考文獻bib文件的前面添加參考格式\bibliographystyle{plainnat}。

參看資料:
Why do I get (author?) when I use \citet with natbib?

怕內地訪問不了,截取了有用信息。
在這裏插入圖片描述
在這裏插入圖片描述

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章