我想\thanks
将注释的第一行缩进改为1em
,但是搜索之后article.cls
我latex.ltx
似乎无法弄清楚缩进在哪里指定。
\documentclass{article}
\makeatletter
\renewcommand\@makefntext[1]{%
\parindent1em%
\@thefnmark.\ #1}
\makeatother
\title{Lorem ipsum\thanks{Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.}}
\author{Fredrik P}
\begin{document}
\maketitle
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua.\footnote{Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.}
\end{document}
答案1
这些脚注的定义见\maketitle
(感谢,约翰!),所以我们需要进行编辑\maketitle
。我使用 来进行etoolbox
编辑\patchcmd
。
\documentclass{article}
\makeatletter
\renewcommand\@makefntext[1]{%
\parindent1em%
\@thefnmark.\ #1}
\makeatother
\usepackage{etoolbox}
\makeatletter
\patchcmd{\maketitle}{\hb@[email protected]}{\hb@[email protected]}{}{}
\makeatother
\title{Lorem ipsum\thanks{Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.}}
\author{Fredrik P}
\begin{document}
\maketitle
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua.\footnote{Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.}
\end{document}
如果您碰巧使用hyperref
,请注意所做hyperref
的事情\maketitle
,然后您要么\maketitle
在加载之前进行编辑hyperref
,要么进行编辑,\HyOrg@maketitle
这是副本。hyperref
\maketitle