脚注标记和脚注文本之间的空格

脚注标记和脚注文本之间的空格

对于我的论文,我需要在脚注标记和文本之间留一个空格。我不知道是否有包可以使这更容易,或者也许可以对以下代码进行修改:

编辑:我清理了 MWE。

%footnote
\makeatletter
\renewcommand\@makefntext[1]{%
    \noindent\makebox[0.7in][r]{\@makefnmark}\raggedright#1}
\makeatother
\setlength{\footnotesep}{24pt}

以下是完整的 MWE

\documentclass[letterpaper,12pt]{book}
\usepackage[letterpaper,left=1.25in,right=1.25in,top=1in,bottom=1in,headheight=12pt,headsep=12pt,ignorehead,ignorefoot]{geometry}

\usepackage{fontspec}
\usepackage{polyglossia}
\setmainlanguage[variant=us]{english}
\usepackage[style=sbl,maxcitenames=3,maxbibnames=100,minnames=1,backend=biber,citepages=omit,fullbibrefs=true,sblfootnotes=false,citereset=chapter,doi=false,url=true]{biblatex}

\setmainfont{Times New Roman}

%footnote
\makeatletter
\renewcommand\@makefntext[1]{%
    \noindent\makebox[0.7in][r]{\@makefnmark}\raggedright#1}
\makeatother
\setlength{\footnotesep}{24pt}

  
\begin{document}

This is a sample text with a sample footnote.\footnote{This is the footnote text. I would like a space between the footnote marker and the footnote text.}

\end{document}

答案1

在标记后添加一些水平空间:

\makebox[0.7in][r]{\@makefnmark\enspace}\raggedright#1}% changed <<<<<<<<<<

b

\documentclass[letterpaper,12pt]{book}
\usepackage[letterpaper,left=1.25in,right=1.25in,top=1in,bottom=1in,headheight=12pt,headsep=12pt,ignorehead,ignorefoot]{geometry}

\usepackage{fontspec}
\usepackage{polyglossia}
\setmainlanguage[variant=us]{english}
\usepackage[style=sbl,maxcitenames=3,maxbibnames=100,minnames=1,backend=biber,citepages=omit,fullbibrefs=true,sblfootnotes=false,citereset=chapter,doi=false,url=true]{biblatex}

\setmainfont{Times New Roman}

%
%%footnote
\makeatletter
\renewcommand\@makefntext[1]{%
\makebox[0.7in][r]{\@makefnmark\enspace}\raggedright#1}% changed <<<<<<<<<<
\makeatother
\setlength{\footnotesep}{24pt}

\begin{document}
    
This is a sample text with a sample footnote.\footnote{This is the footnote text. I would like a space between the footnote marker and the footnote text.}

This is a sample text with a sample footnote.\footnote{This another  footnote text. I would like a space between the  marker and the footnote text.}
    
\end{document}

对于较长的文本,我建议使用

%%footnote
\makeatletter
\renewcommand\@makefntext[1]{%
\noindent\makebox[0.7in][r]{\@makefnmark\enspace}\parbox{\dimexpr\textwidth-0.7in}{\raggedright#1}}% changed <<<<<<<<<<
\makeatother

C

相关内容