我使用 biblatex-mla(基于这个答案)。
它运行完美,除了根据 MLA 规范,biblatex-mla 中的悬挂缩进是应有长度的 1/2(即 0.5 英寸)。
我该如何解决?
梅威瑟:test.tex
\documentclass[12pt,letterpaper]{article}
\usepackage[american]{babel}
\usepackage{csquotes}
\usepackage[style=mla]{biblatex}
\usepackage{ifpdf}% required by mla.sty
\usepackage{mla}
\defbibheading{bibliography}{\newpage\centering Works Cited}
\bibliography{main.bib}
\begin{document}
\begin{mla}{Stephen}{Searles}{Schultz}{Queering American History}{\today}{Week 7}
Test sentence. \autocite{Somerville:2005fk}.
\printbibliography
\end{mla}
\end{document}
main.bib
@Online{Somerville:2005fk,
Title = {Dr. James Maas, Professor and Bestselling Author, and Consultant Rebecca Robbins on Sleep for Success},
Author = {Ken Dawson and Sheryl Dawson},
Year = {2010},
Urldate = {2015-08-11},
Maintitle = {From Career Treadmill to Fast Track},
Publisher = {n.p.}
}
答案1
答案2
如果您非常肯定它只是所需值的一半,那么您可以这样做\setlength{\bibhang}{2\bibhang}
(或将其设置为该值本身\setlength{\bibhang}{<value>}
)。
关于您的 MWE:mla
需要加载ifpdf
包,您应该选择使用 biblatexaddbibresource
而不是。bibliography
这是你的 MWE:
\begin{filecontents}{\jobname.bib}
@Online{Somerville:2005fk,
Title = {Dr. James Maas, Professor and Bestselling Author, and Consultant Rebecca Robbins on Sleep for Success},
Author = {Ken Dawson and Sheryl Dawson},
Year = {2010},
Urldate = {2015-08-11},
Maintitle = {From Career Treadmill to Fast Track},
Publisher = {n.p.}
}
\end{filecontents}
\documentclass[12pt,letterpaper]{article}
\usepackage[american]{babel}
\usepackage{csquotes}
\usepackage[style=mla]{biblatex}
\addbibresource{\jobname.bib}
\defbibheading{bibliography}{\newpage\centering Works Cited}
\usepackage{ifpdf}% required by mla.sty
\usepackage{mla}
\setlength{\bibhang}{2\bibhang}
\begin{document}
\begin{mla}{Stephen}{Searles}{Schultz}{Queering American History}{\today}{Week 7}
Test sentence. \autocite{Somerville:2005fk}.
\printbibliography
\end{mla}
\end{document}
以及(经过改编的)示例输出: