问题: 参考文献如何取消悬挂缩进,目前样式是这样子的:
期望样式:
MWE如下:
mwe.zip
\documentclass[10pt,a4paper]{article}
\usepackage{ctex}
\usepackage{gbt7714}
\usepackage{natbib}
\begin{document}
222\cite{cn2}This\cite{cn3}is \cite{cn1}Test.\cite{cn1},
333\cite{en2}This\cite{en3}is \cite{cn1}Test.\cite{en1},
\bibliographystyle{gbt7714-numerical}
\bibliography{wpref}
\end{document}
本地环境: Win11 + TeX Live 2023 + XeLaTeX
给natbib
打补丁即可。
\usepackage{xpatch}
\makeatletter
\xapptocmd{\NAT@bibsetnum}{\setlength{\leftmargin}{0pt}\setlength{\itemindent}{\labelwidth}\addtolength{\itemindent}{\labelsep}}{}{}
\makeatother
\documentclass{article}
\usepackage{gbt7714}
\usepackage{xpatch}
\makeatletter
\xapptocmd{\NAT@bibsetnum}{\setlength{\leftmargin}{0pt}\setlength{\itemindent}{\labelwidth}\addtolength{\itemindent}{\labelsep}}{}{}
\makeatother
\begin{document}
\cite{angenendt}\cite{augustine}
\bibliographystyle{gbt7714-numerical}
\bibliography{biblatex-examples}
\end{document}
这是哪个文件