
我在參考書目方面遇到一些問題。
當我同時引用超過 2 篇參考文獻時,例如 3 篇文章,我通常引用為:( \cite{a}-\nocite{b}\cite{c}
)
“如[1]-[3]所示”
問題是我正在寫一篇很長的文檔(論文),而參考文獻有時會在不同的章節中以不同的順序引用。
例如,如果我想在論文末尾引用三篇參考文獻,但其中一篇已在開頭引用,那麼 nocite 將看起來像
「如[1]-[128]所示」。
快速的答案是不要使用 nocite 並單獨引用所有它們,但是當它們太多時,它看起來不太聰明。
有什麼想法或評論嗎?
先謝,
伊格納西奧
答案1
您可以使用語法一次引用多個參考文獻\cite{a,b,c}
,在plain
參考書目風格(和衍生物)中,這會創建一個類似於 [1,2,3] 的參考文獻。如果您想要一個範圍,那麼您可以使用該cite
套件。這也處理非連續引用。 Bibtex 的 MWE:
\documentclass{article}
\usepackage{cite}
\begin{filecontents}{sample.bib}
@article{a,
author = "John Day",
title = "Life",
journal = "Journal of Life",
year = {1979}
}
@article{b,
author = "Jane Dice",
title = "The Universe",
journal = "Journal of the Universe",
year = {1980}
}
@article{c,
author = "Jack Doe",
title = "Everything",
journal = "Journal of Everything",
year = {1981}
}
@article{d,
author = "Jack Doe",
title = "Everything reconsidered",
journal = "Journal of Everything",
year = {1982}
}
@article{e,
author = "Jill Duhr",
title = "Nothing",
journal = "Journal of Nothing",
year = {1983}
}
\end{filecontents}
\begin{document}
All you need to know is described in \cite{a,b,c,d,e}. Some things you need to know are mentioned in \cite{a,b,c,e}.
\bibliographystyle{plain}
\bibliography{sample}
\end{document}
結果:
您需要了解的所有資訊均在 [1-5] 中進行了描述。 [1-3, 5] 中提到了一些您需要了解的事情。
對於 Biblatex 你可以使用\usepackage[style=numeric-comp]{biblatex}
,那麼就cite
不需要這個包了。也可以看看引用一系列論文(使用數字鍵)?。