新浪博客

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

2012-02-22 17:57阅读:
\usepackage{fancyhdr} % 添加页眉页脚
\pagestyle{fancy}
\lhead{}
\chead{}
\rhead{}
\lfoot{}
\cfoot{}
\rfoot{\thepage}
\renewcommand{\headrulewidth}{0pt} %改为0pt即可去掉页眉下面的横线
\renewcommand{\footrulewidth}{0pt} %改为0pt即可去掉页脚上面的横线 0.4pt
\includepdfset{pagecommand={\thispagestyle{fancy}}} % pdfpages宏包插入文件无页码的解决

我的更多文章

下载客户端阅读体验更佳

APP专享