这个是美赛的论文封面,我复制过来运行后就得到上面的结果,第二页有一个“0.4pt”的数字和字母,怎么会有这个东西呢?作者: っ成为你 时间: 2013-1-12 21:42
问题出在:
\setlength{\headrulewidth}
latex help e-book上的说明:
\setlength{\gnat}{length}
The \setlength command is used to set the value of a length command. The length argument can be expressed in any terms of length LaTeX understands, i.e., inches (in), millimetres (mm), points (pt), etc.
这条命令设置的一些了一些参数,这些参数的单位可以是inches (in), millimetres (mm), points (pt), etc.
The \setlength command is used to set the value of a length command. The length argument can be expressed in any terms of length LaTeX understands, i.e., inches (in), millimetres (mm), points (pt), etc.
这里setlength设置的是一些参数的值,单位必须是inches (in), millimetres (mm), points (pt), etc.
但是\headrulewidth本身是一条命令,所以这样用会错。
google了一下,一般是这样用的:
\renewcommand{\headrulewidth}{xxx}
renewcommand和newcommand的区别大家都清楚吧,不口水了。
试了一下后发现:
\renewcommand{\headrulewidth}{0.4ex}的页眉线明显比
\renewcommand{\headrulewidth}{0.1ex}的页眉线要粗。
这个我不太清楚 但是要想输出那些东西
\documentclass{article}
\usepackage{amsmath}
\begin {document}
\title {Cardboard Comfortable When it Comes to Crashing},
\author {Team \# 24}
\maketitle