加载中…
个人资料
  • 博客等级:
  • 博客积分:
  • 博客访问:
  • 关注人气:
  • 获赠金笔:0支
  • 赠出金笔:0支
  • 荣誉徽章:
正文 字体大小:

LaTeX技巧215:如何在首页显示页脚内容?

(2010-01-08 15:31:49)
标签:

latex

首页

页脚

显示

分类: 页面设置

QQ群:91940767/145316219/141877998/80300084/194770436
淘宝店:http://latexstudio.taobao.com
技巧续篇:http://latexstudio.net/
常见数学公式问题集下载

解决方案:
我们要重定义一下empty的页面样式就可以了。
演示效果图:
LaTeX技巧215:如何在首页显示页脚内容?

演示代码:
   \documentclass[11pt, a4paper]{report}
    \usepackage[latin1]{inputenc}
    \usepackage[T1]{fontenc}
    \setlength\textheight{180pt}
    \setlength\textwidth{150pt}
    \usepackage{fancyhdr}
    \pagestyle{fancy}

    \fancypagestyle{plain}{
    \fancyhf{}
    \fancyfoot[C]{\textsc{Faculty Name}}
    \renewcommand{\headrulewidth}{0pt}
    \renewcommand{\footrulewidth}{0pt}}
    \fancypagestyle{empty}{
    \fancyhf{}
    \fancyfoot[C]{\textsc{Faculty Name}}
    \renewcommand{\headrulewidth}{0pt}
    \renewcommand{\footrulewidth}{0pt}}


    \title{Lab Report Title}
    \author{Person 1 \& Person 2}
    \date{}:


    \begin{document}

    \maketitle
   
    $$
    \int_a^b f(x) \mathrm{d}x = A
    $$

    \end{document}

0

阅读 收藏 喜欢 打印举报/Report
  

新浪BLOG意见反馈留言板 欢迎批评指正

新浪简介 | About Sina | 广告服务 | 联系我们 | 招聘信息 | 网站律师 | SINA English | 产品答疑

新浪公司 版权所有