在双倍行距文档中将脚注设置为单倍行距

在双倍行距文档中将脚注设置为单倍行距

标题说明了一切。如何将脚注间距设置为单倍行距?在图片底部,您可以看到脚注之间的间距略小于每个脚注中行之间的间距。我想保持脚注之间的间距不变,但减少单个脚注中的行距。谢谢!

在此处输入图片描述

\documentclass[preprint,nofootinbib]{revtex4-2}
\usepackage{setspace} 
\begin{document}
\title{Exciting Title about Paper Subject}
  \author{Hodor P. Hodor}
  \affiliation{High Powered University, Antarctica}
\date{\today}
\begin{abstract}
    This is the abstract.  This is the abstract.  This is the abstract.  This is the abstract.  This is the abstract.  This is the abstract.  This is the abstract.  This is the abstract.  This is the abstract.  This is the abstract.  This is the abstract.  
\end{abstract}
\maketitle


This is the main body of text.  This is the main body of text.  This is the main body of text.  This is the main body of text.  This is the main body of text.  This is the main body of text.  This is the main body of text.  This is the main body of text.\footnote{This is a footnote where I want to have single spacing instead of the current double spacing.  This is a footnote where I want to have single spacing instead of the current double spacing.}  This is the main body of text.  This is the main body of text.  This is the main body of text.  This is the main body of text.  This is the main body of text.  This is the main body of text.\footnote{This is a footnote where I want to have single spacing instead of the current double spacing.  This is a footnote where I want to have single spacing instead of the current double spacing.  This is a footnote where I want to have single spacing instead of the current double spacing.}  This is the main body of text.  This is the main body of text.  This is the main body of text.  
\end{document}

答案1

在此处输入图片描述

在此解决方案中,您必须手动调整\footnotesep和的值\setspace@singlespace

\documentclass[preprint,nofootinbib]{revtex4-2}
\usepackage{lipsum}
\usepackage{setspace}
\footnotesep=9pt
  
\usepackage{etoolbox}
\makeatletter
\patchcmd{\@footnotetext}
  {\setspace@singlespace}{0.8}
  {}{}
\makeatother
  
\begin{document}

\title{Exciting Title about Paper Subject}
\author{Hodor P. Hodor}
\affiliation{High Powered University, Antarctica}
\date{\today}
\begin{abstract}
The abstract
\end{abstract}
\maketitle

This is the main body of text.\footnote{This is a footnote where I want to have single spacing instead of the current double spacing.  This is a footnote where I want to have single spacing instead of the current double spacing.}  

This is the main body of text.\footnote{This is a footnote where I want to have single spacing instead of the current double spacing.  This is a footnote where I want to have single spacing instead of the current double spacing.}  

\end{document}

相关内容