我正在使用\usepackage[hang,flushmargin]{footmisc}
,以便所有文本都将正确的脚注编号。但这也完全阻止了脚注的缩进。
当编写普通文本时,我通常会立即得到缩进。
First paragraph.
Second paragraph.
结果是
First paragraph.
Second paragraph.
我也希望在脚注中包含此内容。\usepackage[hang,flushmargin]{footmisc}
但是 的选项仍然有效。
最小工作示例:
\documentclass[12pt,a4paper]{report}
\usepackage[british]{babel}
\usepackage[T3,T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[activate={true,nocompatibility},final,tracking=true,kerning=true,spacing=true,factor=1100,stretch=10,shrink=10]{microtype}
\DisableLigatures[f]{encoding = T1}
\microtypecontext{spacing=nonfrench}
\usepackage[bottom,hang]{footmisc}
\usepackage{geometry}
\geometry{
left=2cm,
right=2cm,
top=2cm,
bottom=2cm,
bindingoffset=0mm
}
\addto\captionsbritish{% Replace "english" with the language you use
\renewcommand{\contentsname}%
{Table of contents}%
}
\setcounter{secnumdepth}{5}
\setcounter{tocdepth}{5}
\begin{document}
\begin{titlepage}
\vspace*{2cm}
\centering
{\scshape\LARGE Titlepage \par}
\end{titlepage}
\cleardoublepage
\pagenumbering{Roman}
\tableofcontents
\cleardoublepage
\pagenumbering{arabic}
\chapter{One}
Text.\footnote{This is a very long text. The sentences in this text are so long that they will cause a line break at the end of some sentences.\\Now, beginning a second paragraph with \texttt{\textbackslash\textbackslash} does not result in an indent of the second paragraph itself. Using a blank line between the two will just add some whitespace between the two paragraphs. But it will still not indent the second paragraph.}
\end{document}
答案1
也许我误解了一些东西,但我认为我的第一条评论确实解决了你的问题。
您的错误在于脚注中的新段落(与其他地方一样)应该用空行分隔,而不是\\
。
\documentclass[a5paper]{article}
\usepackage[hang,flushmargin]{footmisc}
\usepackage{geometry}
\renewcommand{\hangfootparskip}{0ex}
\renewcommand{\hangfootparindent}{1em}
\pagestyle{empty}
\begin{document}
\null
\vfill
Filler text.\footnote{This is a very long text. The sentences in this text are
so long that they will cause a line break at the end of some sentences.
Now, beginning a second paragraph with a \textbf{blank line} does result in
an indent of the second paragraph itself.}
Filler text.\footnote{Another footnote.}
\end{document}