我想在页脚中 1. 和脚注底部的文本之间添加 6 毫米的间距。示例:1.(此处为 6 毫米间距)不要与干草混淆。
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[supstfm=libertinesups]{superiors}
\usepackage{libertine}
\usepackage{fnpct}
\usepackage{scrextend}
\deffootnote{1.5em}{1em}{\thefootnotemark. }
\renewcommand*\thempfootnote{\arabic{mpfootnote}}
\begin{document}
\begin{minipage}{.5\linewidth}
\noindent The three little pigs built their houses
out of straw\footnote{not to be confused with hay},
sticks\footnote{or lumber according to some sources}
and bricks\footnote{probably fired clay bricks}.
\end{minipage}
\end{document}
答案1
\footnotesize
我建议在已知宽度时测量文档开始时的宽度。
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[supstfm=libertinesups]{superiors}
\usepackage{libertine}
\usepackage{fnpct}
\usepackage{scrextend}
\newlength{\fmwidth}
\AtBeginDocument{%
\settowidth{\fmwidth}{\footnotesize 00.}%
\addtolength{\fmwidth}{6mm}%
\deffootnote[\fmwidth]{\fmwidth}{1em}{\thefootnotemark.\hspace{6mm}}%
}
\textheight=2.2cm % just to compress the picture
\begin{document}
The three little pigs built their houses
out of straw\footnote{not to be confused with hay},
sticks\footnote{or lumber according to some sources} \setcounter{footnote}{9}
and bricks\footnote{probably fired clay bricks}.
\noindent{\footnotesize 10.\hspace{6mm}probably}
\end{document}
如果你不打算使用超过 9 个脚注,请0.
使用00.
答案2
将 6mm 间距添加到<format code>
部分\deffootnote
,并根据 进行调整<indent>
:
\deffootnote[<mark indent>]{<indent>}{<par indent>}{<format code>}
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[supstfm=libertinesups]{superiors}
\usepackage{libertine}
\usepackage{fnpct}
\usepackage{scrextend}
\deffootnote{\dimexpr1.5em+6mm}{1em}{\thefootnotemark.\hspace{6mm}}
\renewcommand*\thempfootnote{\arabic{mpfootnote}}
\begin{document}
\begin{minipage}{.5\linewidth}
\noindent The three little pigs built their houses
out of straw\footnote{not to be confused with hay},
sticks\footnote{or lumber according to some sources}
and bricks\footnote{probably fired clay bricks}.
\end{minipage}
\end{document}