我正在尝试在论文的参考书目标题后添加 2 个双倍空格。我尝试了几种解决方案,但都失败了。渗透式如下所示,我正在使用 natbib 库。任何帮助都值得赞赏。
\documentclass[]{memoir}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{graphicx}
\usepackage{wrapfig}
\usepackage{subcaption}
\usepackage{amsmath}
\usepackage{mathtools}
\usepackage[labelsep=space]{caption}
\usepackage{booktabs}
\usepackage{varwidth}
\usepackage{array}
\usepackage[table]{xcolor}% http://ctan.org/pkg/xcolor
\usepackage{enumitem}
\usepackage{xfrac}
\usepackage{float}
\usepackage{caption}
\usepackage{multirow}
\usepackage{titlesec}
\bibliographystyle{unsrtnat}
\usepackage[numbers,sort&compress]{natbib}
\usepackage{url}
\begin{document}
% thesis stuff
\bibliography{bibs}
\end{document}
bibs.bib文件内容如下:
@article{panayi_schock_chui_ejakov_2006, title={Parameterization and FEA Approach for the Assessment of Piston Characteristics}, DOI={10.4271/2006-01-0429}, journal={SAE Technical Paper Series}, author={Panayi, Andreas and Schock, Harold and Chui, Boon-Keat and Ejakov, Mikhail}, year={2006}, month={3}}
我找到了以下内容,但这会改变标题文本和格式。我不知道在哪里修改才能在标题(参考书目)后添加额外的空格
\makeatletter
\renewenvironment{thebibliography}[1]
{\refname%
\@mkboth{\MakeUppercase\refname}{\MakeUppercase\refname}%
\list{\@biblabel{\@arabic\c@enumiv}}%
{\settowidth\labelwidth{\@biblabel{#1}}%
\leftmargin\labelwidth
\advance\leftmargin\labelsep
\@openbib@code
\usecounter{enumiv}%
\let\p@enumiv\@empty
\renewcommand\theenumiv{\@arabic\c@enumiv}}%
\sloppy
\clubpenalty4000
\@clubpenalty \clubpenalty
\widowpenalty4000%
\sfcode`\.\@m}
{\def\@noitemerr
{\@latex@warning{Empty `thebibliography' environment}}%
\endlist}
\makeatother
标记的空间目前是一个空间,可以将其增加到双倍空间。
答案1
您可以(误)使用\bibpreamble
在标题和参考书目内容之间添加所需的任意空格。
\documentclass{memoir}
\bibliographystyle{unsrtnat}
\usepackage[numbers,sort&compress]{natbib}
\usepackage{filecontents}
\begin{filecontents*}{\jobname.bib}
@article{panayi_schock_chui_ejakov_2006,
title={Parameterization and FEA Approach for the Assessment of Piston Characteristics},
DOI={10.4271/2006-01-0429},
journal={SAE Technical Paper Series},
author={Panayi, Andreas and Schock, Harold and Chui, Boon-Keat and Ejakov, Mikhail},
year={2006},
month={3}
}
\end{filecontents*}
\renewcommand{\bibpreamble}{\vskip3cm}
\begin{document}
\nocite{*}
\bibliography{\jobname}
\end{document}