我希望脚注编号和脚注文本之间有一个水平空格。为此,我使用以下代码:
\documentclass{article}
\usepackage[english]{babel}
\usepackage{blindtext}
\usepackage{ragged2e}
\usepackage[ragged,hang]{footmisc}
\usepackage{dblfnote}
\begin{document}
\blindtext\footnote{A blind text like this gives you information about the selected font, how the letters are written and an impression of the look.}
\setcounter{footnote}{10}
\blindtext\footnote{A blind text like this gives you information about the selected font, how the letters are written and an impression of the look.}
\setcounter{footnote}{100}
\blindtext\footnote{A blind text like this gives you information about the selected font, how the letters are written and an impression of the look.}
\end{document}
这给出了以下结果:
这里的问题是数字没有正确对齐(我希望“11”中的“1”位于第二个 1 上方,而“101”中的“11”位于“01”上方)。如果我不使用-packagehang
的 -option,则footmisc
对齐是正确的,但数字和文本之间没有水平空格:
答案1
您可以修补\@makefntext
:
\documentclass{article}
\usepackage[english]{babel}
\usepackage{blindtext}
\usepackage{ragged2e}
\usepackage[ragged,hang]{footmisc}
\usepackage{dblfnote}
\usepackage{etoolbox}
\makeatletter
\patchcmd\@makefntext
{\@makefnmark\hss}
{\hss\@makefnmark\space}
{}{}
\makeatother
\begin{document}
\blindtext\footnote{A blind text like this gives you information about the
selected font, how the letters are written and an impression of the look.}
\setcounter{footnote}{10}
\blindtext\footnote{A blind text like this gives you information about the
selected font, how the letters are written and an impression of the look.}
\setcounter{footnote}{100}
\blindtext\footnote{A blind text like this gives you information about the
selected font, how the letters are written and an impression of the look.}
\end{document}