你好,欢迎访问远方教程PC版!
广告位招租
网站首页 >> 统计之窗 >> LaTeX专区 >> 文章内容

LaTex技巧[20]:如何在首页显示页脚内容?

[日期:2015-07-03]   来源:远方教程  作者:远方教程   阅读:5612次[字体: ] 访问[旧版]
 捐赠远方教程 

解决方案:
我们要重定义一下empty的页面样式就可以了。
演示效果图:

LaTeX技巧:如何在首页显示页脚内容-远方教程

演示代码:
  

 \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}

图片展示
 
相关评论
站长推荐