当我引用参考文献时,我只有第一作者和年份。我想显示所有作者和年份。我必须做什么?
\documentclass{article}
\usepackage{natbib}
\usepackage{paralist}
\usepackage{hyperref}
\hypersetup{
colorlinks = true,
citecolor = blue,
linkcolor = blue,
urlcolor=blue
}
\begin{document}
\citealt{Li2001}
\begin{thebibliography}{99}
\bibitem[Li(2001)]{Li2001} Li W, Jaroszewsk L, Godzik A (2001) Clustering of highly homologous sequences to reduce the size of large protein databases. Bioinformatics 17(3):282-283
\end{thebibliography}
\end{document}
答案1
由于您喜欢手动执行此操作,请执行以下操作:
\bibitem[Li, Jaroszewsk and Godzik (2001)]{Li2001} Li W, Jaroszewsk L,........
\documentclass{article}
\usepackage{natbib}
\usepackage{hyperref}
\hypersetup{
colorlinks = true,
citecolor = blue,
linkcolor = blue,
urlcolor=blue
}
\begin{document}
\citealt{Li2001}
\begin{thebibliography}{99}
\bibitem[Li, Jaroszewsk and Godzik (2001)]{Li2001} Li W, Jaroszewsk L, Godzik A (2001) Clustering of highly homologous sequences to reduce the size of large protein databases. Bioinformatics 17(3):282-283
\end{thebibliography}
\end{document}
现在如何使用兽叫bibtex
?
\documentclass{article}
\usepackage{natbib}
\usepackage{hyperref}
\hypersetup{
colorlinks = true,
citecolor = blue,
linkcolor = blue,
urlcolor=blue
}
\usepackage{filecontents}
\begin{filecontents}{mybib.bib}
@article{Li2001,
Author = {Li, W and Jaroszewsk, L and Godzik, A},
Journal = {Bioinformatics},
Pages = {282--283},
Publisher = {Springer},
Title = {Clustering of highly homologous sequences to reduce the size of large protein databases},
Volume = 17,
number = {3},
Year = {2001}
}
\end{filecontents}
\begin{document}
\citealt*{Li2001}
%\setlength{\bibhang}{2em} %% if you want to change the indentation in bibliography
\bibliographystyle{plainnat}
\bibliography{mybib}
\end{document}
剩下的就是选择合适的参考书目样式。这具有更改样式的灵活性、.bib
数据库的可重用性等优点。