我打算向其投稿的期刊要求所有文本(包括脚注和致谢)都采用双倍行距。我使用 setspace 包,并将\doublespacing
和放在\renewcommand{\footnotelayout}{\doublespacing}
序言中。除了 \thanks 脚注不是双倍行距外,其他一切都正常。我该如何解决这个问题?
我:
\documentclass[12pt, a4paper, oneside]{article}
\usepackage[margin=1in]{geometry}
\usepackage{graphicx}
\usepackage{setspace}
\usepackage[utf8]{inputenc}
\usepackage{footmisc}
\usepackage{lipsum}
\renewcommand{\footnotelayout}{\doublespacing\normalsize}
\title{How to double space the ``thanks'' footnote?\thanks{\normalsize Some random text. Some random text. Some random text. Some random text. Some random text. Some random text. Some random text. Some random text. Some random text. Some random text.}}
\author{John Smith\thanks{\normalsize Some random text. Some random text. Some random text. Some random text. Some random text. Some random text. Some random text. Some random text. Some random text. Some random text.}}
\date{\today}
\doublespacing
\begin{document}
\begin{titlepage}
\maketitle
\lipsum[3]
\thispagestyle{empty}
\end{titlepage}
\section{Introduction}
Some random text. Some random text. Some random text. Some random text. Some random text. Some random text. Some random text. Some random text. Some random text. Some random text.\footnote{\lipsum[5]}
\end{document}
答案1
使用\thanks{\protect\doublespacing\normalsize ...}
。
或者,由于输入所有内容很累,因此可以使用etoolbox 包修补\thanks
命令本身的代码;因此
\usepackage{etoolbox}
\patchcmd{\thanks}{#1}{\protect\doublespacing\normalsize#1}{}{}
随后,\thanks{whatever}
应该生成一个正常大小、双倍行距的脚注。