现在的位置: 首页 > 综合 > 正文

Latex 设置页码位置 (包括 pdfpages)

2018年05月13日 ⁄ 综合 ⁄ 共 328字 ⁄ 字号 评论关闭

从新设置页码计数

\setcounter{page}{1}

\usepackage{fancyhdr} % 添加页眉页脚

\pagestyle{fancy}
\lhead{}
\chead{}
\rhead{}
\lfoot{}
\cfoot{}
\rfoot{\thepage}
\renewcommand{\headrulewidth}{0pt} %改为0pt即可去掉页眉下面的横线
\renewcommand{\footrulewidth}{0pt} %改为0pt即可去掉页脚上面的横线0.4pt

pdfpages宏包插入文件无页码的解决

\includepdfset{pagecommand={\thispagestyle{fancy}}} %pdfpages宏包插入文件无页码的解决

抱歉!评论已关闭.