我更喜欢手动创建参考书目,因为我对格式要求很高,我需要每个参考书目条目都有一个悬挂缩进,后面有一个空行。我使用以下代码做得很好:
\documentclass[12pt]{memoir}
\begin{document}
\par \noindent \hangindent=0.9cm Leyser, Karl J. \textit{Medieval Germany and Its Neighbours, 900--1250}. London, England: The Hambledon Press, 1982.\\
\par \noindent \hangindent=0.9cm Marongiu, Antonio. ``A Model State in the Middle Ages: The Norman and Swabian Kingdom of Sicily.'' \textit{Comparative Studies in Society and History} 6, iii (1964): 307--320.\\
\end{document}
等等,但我确信有一种方法可以通过重新定义章节开头的段落样式来一次性拯救所有这些格式。
我尝试了 titlesec 包,但恐怕尽管我过去曾使用它来格式化我的章节标题,但我对如何使它在这种情况下发挥作用还不够了解。
如果有人能给我指明正确的方向,并告诉我如何在参考书目末尾切换回默认段落样式,我将不胜感激...
先感谢您!
答案1
只需使用内置机制,即list
:
\documentclass[12pt]{memoir}
\usepackage{lipsum}
\newenvironment{mybib}
{\section*{\bibname}
\list{}{%
\topsep=0pt
\partopsep=0pt
\parsep=0pt
\leftmargin=0.9cm
\itemindent=-\leftmargin
\itemsep=\baselineskip}}
{\endlist}
\begin{document}
\lipsum[2]
\begin{mybib}
\item Leyser, Karl J. \textit{Medieval Germany and Its Neighbours, 900--1250}.
London, England: The Hambledon Press, 1982.
\item Marongiu, Antonio. ``A Model State in the Middle Ages: The Norman and
Swabian Kingdom of Sicily.'' \textit{Comparative Studies in Society and History}
6, iii (1964): 307--320.
\end{mybib}
\end{document}
答案2
natbib
是一个强大的替代方案:
\documentclass[12pt]{article}
\usepackage{lipsum}
\usepackage[authoryear]{natbib}
\setlength{\bibsep}{1\baselineskip}
\setlength{\bibhang}{0.9cm}
\begin{document}
\lipsum[2]
\begin{thebibliography}{}
\bibitem[Leyser(1982)]{ley82} Leyser, Karl J. \textit{Medieval Germany
and Its Neighbours, 900--1250}. London, England: The Hambledon
Press, 1982.
\bibitem[Marongiu(1964)]{mar64} Marongiu, Antonio. ``A Model State in
the Middle Ages: The Norman and Swabian Kingdom of Sicily.''
\textit{Comparative Studies in Society and History} 6, iii (1964):
307--320.
\end{thebibliography}
\end{document}
答案3
使用\everypar{}
和\parskip
:
\documentclass[12pt]{memoir}
\usepackage{kantlipsum}
\begin{document}
\kant[2]
\section*{References}
{\parindent0pt
\parskip\baselineskip
\everypar{\hangindent.9cm}
Leyser, Karl J. \textit{Medieval Germany and Its Neighbours, 900--1250}.
London, England: The Hambledon Press, 1982.
Marongiu, Antonio. ``A Model State in the Middle Ages: The Norman
and Swabian Kingdom of Sicily.'' \textit{Comparative Studies in
Society and History} 6, iii (1964): 307--320.
}
\end{document}