脚注:无缩进,无点

脚注:无缩进,无点

我试图获取没有缩进且数字后没有点的脚注。

这是我的目标:

在此处输入图片描述

现在,我已经用它来格式化我的脚注:

\renewcommand\footnoterule{\rule{\linewidth}{0.3pt}}


\let\oldfootnote\footnote
    \renewcommand{\footnote}[1]{\oldfootnote{ \fontsize{8.5}{12}\selectfont #1}}
    \long\def\@makefnmark{%
        \hbox {\@textsuperscript {\fontsize{10}{12}\selectfont  \@thefnmark}}
        }

我已经阅读过类似的问题,但它们没有帮助,解决方案从来没有起作用。

这是我的代码和结果:

在此处输入图片描述

\documentclass[12pt,twoside]{book}
\usepackage[paperheight=240mm,paperwidth=160mm, left=22mm, right = 20mm, top = 20mm, bottom = 22mm]{geometry}

\usepackage[cam,width=17.5truecm,height=25.54truecm,center,dvips,noinfo]{crop}
\usepackage[french]{babel}



\usepackage{fontspec}
\usepackage{xltabular}
\usepackage{tikz}
\usetikzlibrary{calc}
\usepackage{lipsum}
\usepackage[newparttoc]{titlesec}%
\usepackage{titletoc}
\usepackage{supertabular}
\usepackage{xcolor}
\definecolor{gray}{HTML}{BCBDC0}
\definecolor{white}{HTML}{FFFFFF}
\usetikzlibrary{positioning,shapes.misc}
\usepackage{emptypage}

\topskip=6pt
\addtolength{\skip\footins}{40pt}



%*****
% Footnotes
%*****


\renewcommand\footnoterule{\rule{\linewidth}{0.3pt}}


\let\oldfootnote\footnote
    \renewcommand{\footnote}[1]{\oldfootnote{ \fontsize{8.5}{12}\selectfont #1}}
    \long\def\@makefnmark{%
        \hbox {\@textsuperscript {\fontsize{10}{12}\selectfont  \@thefnmark}}
        }

Thank you all for your help !


\begin{document}
\lipsum[1]\\

Test\footnote{Test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test }\\

\lipsum[2-5]


\end{document}

感谢大家的帮助 !


编辑:结果与保罗的回答一致:

在此处输入图片描述

我的代码:

\documentclass[12pt,twoside]{book}
\usepackage[paperheight=240mm,paperwidth=160mm, left=22mm, right = 20mm, top = 20mm, bottom = 22mm]{geometry}

\usepackage[cam,width=17.5truecm,height=25.54truecm,center,dvips,noinfo]{crop}
\usepackage[french]{babel}



\usepackage{fontspec}
\usepackage{xltabular}
\usepackage{tikz}
\usetikzlibrary{calc}
\usepackage{lipsum}
\usepackage[newparttoc]{titlesec}%
\usepackage{titletoc}
\usepackage{supertabular}
\usepackage{xcolor}
\definecolor{gray}{HTML}{BCBDC0}
\definecolor{white}{HTML}{FFFFFF}
\usetikzlibrary{positioning,shapes.misc}
\usepackage{emptypage}

\topskip=6pt
\addtolength{\skip\footins}{40pt}



%*****
% Footnotes
%*****


\renewcommand*{\dotFFN}{}% Takes care of the dot
\setlength{\parindentFFN}{0pt}% Takes care of the indent
\makeatletter
\renewcommand*{\insertfootnotemarkFB}{%
  \parindent=\parindentFFN
  \rule\z@\footnotesep
  \setbox\@tempboxa\hbox{\@thefnmark}%
  \ifdim\wd\@tempboxa>\z@
    {\bfseries\@thefnmark}\dotFFN\kernFFN%<- Remove llap and make boldface
    \fi}
\makeatother

\renewcommand{\footnoterule}{\kern-3\p@
\hrule \@width \columnwidth \kern 2.7\p@}

\let\oldfootnote\footnote
    \renewcommand{\footnote}[1]{\oldfootnote{ \fontsize{8.5}{12}\selectfont #1}}
    \long\def\@makefnmark{%
        \hbox {\@textsuperscript {\fontsize{10}{12}\selectfont  \@thefnmark}}
        }




\begin{document}
\lipsum[1]\\

Test\footnote{Test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test }\\

\lipsum[2-5]


\end{document}

答案1

French Babel 非常戏剧性地重新定义了脚注制作机制。这似乎有效:

\renewcommand*{\dotFFN}{}% Takes care of the dot
\setlength{\parindentFFN}{0pt}% Takes care of the indent
\makeatletter
\renewcommand*{\insertfootnotemarkFB}{%
  \parindent=\parindentFFN
  \rule\z@\footnotesep
  \setbox\@tempboxa\hbox{\@thefnmark}%
  \ifdim\wd\@tempboxa>\z@
    {\bfseries\@thefnmark}\dotFFN\kernFFN%<- Remove llap and make boldface
    \fi}
\makeatother

在此处输入图片描述

注意:我删除了你的重新定义,\footnoterule因为那是另一个问题。但这并不完全正确:因为你使用了,\rule所以在它之前会有一个缩进。我想你可能想要

\renewcommand{\footnoterule}{\kern-3\p@
\hrule \@width \columnwidth \kern 2.7\p@}

相关内容