我的标签如下:
\documentclass{book}
\usepackage[natbib,authordate,backend=biber]{biblatex-chicago}%
\begin{filecontents}{test.bib}
@book{anderson,
Address = {Mahwah, New Jersey},
Author = {J. R. Anderson},
Date-Added = {2014-02-05 15:27:59 +0100},
Date-Modified = {2014-02-05 16:10:22 +0100},
Publisher = {Lawrence {E}rlbaum {A}ssociates},
Title = {The architecture of cognition},
Year = {1983}}
\end{filecontents}
\addbibresource{test.bib}
\makeatletter
\renewenvironment{thebibliography}[1]{%
\chapter*{\refname}%
\addcontentsline{toc}{chapter}{\refname}%
\small\list{}{%
\usecounter{enumi}%
\leftmargin 1em\itemindent -1em\parsep \z@
\itemsep4\p@%
}}%
{\endlist}%
\makeatother
\begin{document}
Test for reference entry \citep{anderson}
\printbibliography
\end{document}
以上标签工作正常,但无法更改营业额(hangindent)值和条目的字体大小。请提出建议....
答案1
由于biblatex
不使用thebibliography
,您不需要重新定义该环境,并且任何重新定义都不会影响biblatex
生成的参考书目。
悬挂缩进的大小由长度控制\bibhang
,其定义为
\setlength{\bibhang}{\ifnumequal{\parindent}{0}{1em}{\parindent}}
并biblatex.def
重新定义为
\setlength{\bibhang}{2em}
在biblatex-chicago.sty
。
您可以尝试\setlength{\bibhang}{\parindent}
或\setlength{\bibhang}{1em}
。
\documentclass{book}
\usepackage[authordate,backend=biber]{biblatex-chicago}%
\setlength{\bibhang}{1em}
\addbibresource{biblatex-examples.bib}
\begin{document}
Test for reference entry \autocite{sigfridsson}
\printbibliography
\end{document}
字体大小可以通过
\renewcommand*{\bibfont}{\normalfont\normalsize}
\normalsize
只需用您想要的尺寸命令替换即可。
更多细节。
默认的书目环境biblatex-chicago
定义为
\defbibenvironment{bibliography}% New for 0.9a
{\list
{}
{\setlength{\leftmargin}{\bibhang}%
\setlength{\itemindent}{-\leftmargin}%
\setlength{\itemsep}{\bibitemsep}%
\setlength{\parsep}{\bibparsep}}}
{\endlist}
{\item}
如果你想在左侧添加额外的空间,你可以这样说
\documentclass{book}
\usepackage[authordate,backend=biber]{biblatex-chicago}%
\setlength{\bibhang}{1cm}
\newlength{\bibleftadd}
\setlength{\bibleftadd}{1cm}
\defbibenvironment{bibliography}
{\list
{}
{\setlength{\leftmargin}{\bibhang}%
\setlength{\itemindent}{-\leftmargin}%
\addtolength{\leftmargin}{\bibleftadd}%
\setlength{\itemsep}{\bibitemsep}%
\setlength{\parsep}{\bibparsep}}}
{\endlist}
{\item}
\addbibresource{biblatex-examples.bib}
\begin{document}
Test for reference entry \autocite{sigfridsson}
\printbibliography
\end{document}