\leftskip0.5in \parindent-0.5in Author. Title. Place: Publisher, Date. Medium.
令人信服地伪造了 MLA 样式书目的悬挂缩进。有没有办法在区域内的每个新段落中为该区域设置此缩进,以便不必在每个新条目中重复它?目前我遇到了这种情况
\leftskip0.5in \parindent-0.5in Albert, Leonard. “Gnomonology: Joyce’s ‘The Sisters’.” \textit{James Joyce Quarterly} 27.2 (1990): 355–364. PDF.
\leftskip0.5in \parindent-0.5in Aristotle. \textit{The Poetics}. Trans. W. Hamilton Frye. Cambridge: Harvard UP, 1927. Print. Loeb Classical Library 199, Aristotle 23.
\leftskip0.5in \parindent-0.5in Attridge, Derek. “Unpacking the Portmanteau, or Who’s Afraid of \textit{Finnegans Wake}?” \textit{On Puns: The Foundation of Letters}. Ed. Jonathan Culler. Oxford: Blackwell, 1988. 140–155. Print.
我宁愿只定义一次。谢谢!
答案1
只需说一次。如果你使用 LaTeX,那么环境形式可能是
\newenvironment{fakemlabib}
{\par\leftskip=0.5in \parindent=-\leftskip}
{\par}
进而
\begin{fakemlabib}
Albert, Leonard. “Gnomonology: Joyce’s ‘The Sisters’.” \textit{James Joyce Quarterly} 27.2 (1990): 355–364. PDF.
Aristotle. \textit{The Poetics}. Trans. W. Hamilton Frye. Cambridge: Harvard UP, 1927. Print. Loeb Classical Library 199, Aristotle 23.
Attridge, Derek. “Unpacking the Portmanteau, or Who’s Afraid of \textit{Finnegans Wake}?” \textit{On Puns: The Foundation of Letters}. Ed. Jonathan Culler. Oxford: Blackwell, 1988. 140–155. Print.
\end{fakemlabib}
会做。
使用 Plain TeX,
\par\begingroup
\leftskip=0.5in \parindent=-\leftskip
Albert, Leonard. “Gnomonology: Joyce’s ‘The Sisters’.” \textit{James Joyce Quarterly} 27.2 (1990): 355–364. PDF.
Aristotle. \textit{The Poetics}. Trans. W. Hamilton Frye. Cambridge: Harvard UP, 1927. Print. Loeb Classical Library 199, Aristotle 23.
Attridge, Derek. “Unpacking the Portmanteau, or Who’s Afraid of \textit{Finnegans Wake}?” \textit{On Puns: The Foundation of Letters}. Ed. Jonathan Culler. Oxford: Blackwell, 1988. 140–155. Print.
\par\endgroup