我只是想让我的脚注使用数字而不是符号(由于某种原因,这是的默认行为article
。我还希望水平线能够延伸页面的宽度。我该怎么做呢?
\documentclass[a4paper,oneside,12pt]{article}
\usepackage[english]{babel} % formatting rules for the English language
\usepackage[T1]{fontenc} % proper formatting for accented characters and non-standard characters such as pipelines
\usepackage[top=33mm, bottom=38mm, left=26mm, right=20mm]{geometry} % page layout
\usepackage{lmodern} % font formatting
\usepackage{float} % allow floating environments such as figures
\usepackage{amsmath} % math eqn formatting
\usepackage{amssymb} % math fonts
\begin{document}
\renewcommand{\thefootnote}{\arabic{footnote}} % this doesn't even fix it
\title{\bf{PROJECT}}
\author{NAME.\footnote{Student}}
\date{\today}
\maketitle
\vfill
\begin{abstract}
Abstract here
\end{abstract}
\clearpage
\tableofcontents
\cleardoublepage
\end{document}
答案1
标题或作者的脚注与正文中的脚注处理方式不同,因为它们通常用于致谢或与作者相关的数据。您可以重新定义\maketitle
不这样做并使用标准\footnote
机制。
为了使脚注规则使用整个文本宽度,必须重新定义另一个命令。
\documentclass[a4paper,oneside,12pt]{article}
\usepackage[
top=33mm,
bottom=38mm,
left=26mm,
right=20mm
]{geometry}
\usepackage[T1]{fontenc}
\usepackage[english]{babel}
\usepackage{lmodern}
\usepackage{amsmath}
\usepackage{amssymb}
\makeatletter % access to internal commands
%% redefine \maketitle to use the normal \footnote mechanism
\renewcommand\maketitle{\par
\begingroup
\if@twocolumn
\ifnum \col@number=\@ne
\@maketitle
\else
\twocolumn[\@maketitle]%
\fi
\else
\newpage
\global\@topnum\z@ % Prevents figures from going at top of page.
\@maketitle
\fi
\thispagestyle{plain}\@thanks
\endgroup
\global\let\maketitle\relax
\global\let\@maketitle\relax
\global\let\@author\@empty
\global\let\@date\@empty
\global\let\@title\@empty
\global\let\title\relax
\global\let\author\relax
\global\let\date\relax
\global\let\and\relax
}
%% redefine \footnoterule for using the whole text width
\renewcommand\footnoterule{%
\kern-3\p@\hrule\@width\columnwidth\kern 2.6\p@
}
\makeatother
\begin{document}
\title{PROJECT}
\author{NAME\footnote{Student}}
\date{\today}
\maketitle
\vfill
\begin{abstract}
Abstract here
\end{abstract}
\clearpage
\tableofcontents
\cleardoublepage
\end{document}
请注意,\bf
已被弃用(连同所有两个字母的字体更改命令,例如\it
或\tt
)约二十年了。\textbf
如果您确实想要粗体标题,请使用。