答案1
您可以将环境加载的某些设置更新thebibliography
为一组固定长度:
\documentclass{article}
\usepackage{filecontents}
\begin{filecontents*}{\jobname.bib}
@article{adk-1997,
author = {B Alziary and JP D{\'e}camps and PF Koehl},
title = {A {PDE} approach to {A}sian options: {A}nalytical and numerical evidence},
journal = {Journal of Banking \& Finance},
year = {1997},
volume = {21},
number = {5},
pages = {613-640}
}
\end{filecontents*}
\usepackage[numbers]{natbib}
\usepackage{etoolbox}
\makeatletter
\patchcmd{\thebibliography}{\c@NAT@ctr\z@}{\c@NAT@ctr\z@
\renewcommand{\makelabel}[1]{\makebox[1.2em][r]{##1\hfill}}%
\setlength{\labelwidth}{1.2em}%
\setlength{\labelsep}{.5em}%
\setlength{\leftmargin}{\dimexpr\labelwidth+\labelsep}%
}{}{}
\makeatother
\begin{document}
\nocite{*}
\bibliographystyle{apalike}
\bibliography{\jobname}
\end{document}
如果您有超过 9 个参考,则可以增加构成设置1.2em
一部分的两个长度测量值。\makelabel
\labelwidth