当显示参考书目时,我希望当我得到一个新行时,新行会偏移第一行的三个字母。例如:
Lio W, Jaroszewsk L, Godzik A (2001) 高度同源序列聚类以减少大型蛋白质数据库的大小。生物信息学 17(3):282-283
我希望第二行中的字母 t 位于字母 o 下方。请帮忙
\documentclass{article}
\usepackage{natbib}
\usepackage{paralist}
\makeatletter
\renewenvironment{thebibliography}[1]
{\bibsection\parindent\z@\begin{inparaitem}}
{\end{inparaitem}}
\makeatother
\usepackage{hyperref}
\hypersetup{
colorlinks = true,
citecolor = blue,
linkcolor = blue,
urlcolor=blue
}
\begin{document}
\citealt{Lio2001}
\begin{thebibliography}{99}
\bibitem[Lio(2001)]{Lio2001} Lio W, Jaroszewsk L, Godzik A (2001) Clustering of
highly homologous sequences to reduce the size of large protein databases.
Bioinformatics 17(3):282-283.\\
\bibitem[Lio(2000)]{Lio2000} Lio W, Jaroszewsk L, Godzik A (2000) Clustering of highly homologous sequences to reduce the size of large protein databases. Bioinformatics
17(3):282-283.
\end{thebibliography}
\end{document}
答案1
这就是您所寻求的吗?
\documentclass{article}
\usepackage{natbib}
% following lines commented
% \usepackage{paralist}
% \makeatletter
% \renewenvironment{thebibliography}[1]
% {\bibsection\parindent\z@\begin{inparaitem}}
% {\end{inparaitem}}
% \makeatother
\usepackage{hyperref}
\hypersetup{
colorlinks = true,
citecolor = blue,
linkcolor = blue,
urlcolor=blue
}
\begin{document}
\citealt{Lio2001}
\setlength{\bibsep}{-\baselineskip} %%<------ added
\begin{thebibliography}{}
\bibitem[Lio(2001)]{Lio2001} Lio W, Jaroszewsk L, Godzik A (2001) Clustering of
highly homologous sequences to reduce the size of large protein databases.
Bioinformatics 17(3):282-283.\\
\bibitem[Lio(2000)]{Lio2000} Lio W, Jaroszewsk L, Godzik A (2000) Clustering of highly homologous sequences to reduce the size of large protein databases. Bioinformatics
17(3):282-283.
\end{thebibliography}
\end{document}