我想将我的参考书目的布局更改如下:
最小工作示例 Tex 文件:
\documentclass{article}
\begin{document}
\title{My Article}
\author{Nobody Jr.}
\date{Today}
\maketitle
Blablabla said Nobody ~\cite{bressoud1989factorization}.
\bibliography{Master}
\bibliographystyle{alpha}
\end{document}
主.bib:
@book{bressoud1989factorization,
title={Factorization and Primality Testing},
author={Bressoud, D.M.},
isbn={9780387970400},
lccn={89019690},
series={Undergraduate Texts in Mathematics},
year={1989},
publisher={Springer}
}
答案1
环境内部thebibliography
使用一个列表,因此您可以更改其值\labelsep
(控制标签和条目之间的分隔);最快的方法是借助以下命令修补命令,例如etoolbox
(而不是20pt
使用最适合您需要的长度):
\begin{filecontents*}{Master.bib}
@book{bressoud1989factorization,
title={Factorization and Primality Testing},
author={Bressoud, D.M.},
isbn={9780387970400},
lccn={89019690},
series={Undergraduate Texts in Mathematics},
year={1989},
publisher={Springer}
}
@book{bressoud1990,
title={Another Factorization and Primality Testing},
author={Bressoud, D.M.},
isbn={9780387970400},
lccn={89019690},
series={Undergraduate Texts in Mathematics},
year={1990},
publisher={Springer}
}
\end{filecontents*}
\documentclass{article}
\usepackage{etoolbox}
\patchcmd{\thebibliography}{\leftmargin\labelwidth}{\leftmargin\labelwidth\labelsep=20pt}{}{}
\begin{document}
\nocite{*}
\bibliographystyle{alpha}
\bibliography{Master}
\end{document}