我如何更改书目间距?

我如何更改书目间距?

这是我的 WME

\documentclass[a4paper,12pt]{article}
\usepackage[top=2.5 cm, bottom=2.5 cm, left=4 cm, right=2.5 cm]{geometry}
\usepackage[turkish,shorthands=:!]{babel}
\usepackage[backend=biber, citestyle=numeric, bibstyle=authoryear, sorting=none]{biblatex}
\addbibresource{dnm.bib}
\AtEveryBibitem{[\printfield{labelnumber}]\addspace}
\addto\captionsturkish{\renewcommand\bibname{Kaynakça}}
\usepackage{fontspec}
\usepackage{titlesec}
\setmainfont{Times New Roman}
\begin{document}
Latex is the best \cite{alman}.
But sometimes it's hard \cite{pdf_26}.
\printbibliography[heading=bibintoc, title=KAYNAKLAR]

\end{document}

我的结果

我得到了什么

但我需要这种设置

我想要的是

为此我需要

  1. 项目之间的空格
  2. 那个有趣的缩进,非常感谢......

答案1

可以使用 来控制项目之间的间距\bibitemsep

可以通过重新定义参考书目环境来引入“悬挂缩进”,以\itemindent基于进行修改\bibhang

\documentclass[british]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{babel}
\usepackage{csquotes}

\usepackage[style=numeric, backend=biber]{biblatex}

\setlength{\bibhang}{4em}

\defbibenvironment{bibliography}
  {\list
     {\printtext[labelnumberwidth]{%
        \printfield{labelprefix}%
        \printfield{labelnumber}}}
     {\setlength{\labelwidth}{\labelnumberwidth}%
      \setlength{\leftmargin}{\labelwidth}%
      \setlength{\labelsep}{\biblabelsep}%
      \addtolength{\leftmargin}{\labelsep}%
      \setlength{\itemindent}{-\bibhang}%
      \addtolength{\leftmargin}{-\itemindent}%
      \setlength{\itemsep}{\bibitemsep}%
      \setlength{\parsep}{\bibparsep}}%
      \renewcommand*{\makelabel}[1]{\hss##1}}
  {\endlist}
  {\item}


\addbibresource{biblatex-examples.bib}

\begin{document}
\cite{sigfridsson,worman,geer,nussbaum,cicero}
\printbibliography
\end{document}

参考书目中每条条目的非首行均有额外缩进

相关内容