帐号: 密码:
// 设为首页 // 收藏本站 // 请您留言 // 网址导航
远方教程-满足你的求知欲!
站内搜索:
HTML ASP PHP CSS DIV Dreamweaver Photoshop Word Excel PPT SEO技巧
您当前位置:网站首页 >> 统计之窗 >> LaTeX专区 >> 阅读文章

LaTex技巧[57]:LaTeX附录Appendix标题的制作和使用技巧

来源:远方教程 作者:远方教程 发布时间:2018-01-27 查看次数:26811 访问[新版]

        附录是较为常用的内容之一,但是往往标题很多读者不会制作,本文提供一个制作方法。 解决方案效果图:

LaTeX附录标题的制作和使用技巧-远方教程

LaTeX附录标题的制作和使用技巧-远方教程

LaTeX附录标题的制作和使用技巧-远方教程

代码演示:

    \documentclass[a4paper,10pt]{report}
    \usepackage{titlesec}
       \titleformat{\chapter}[display]
             {\normalfont\Large\bfseries}{\thechapter}{11pt}{\Large}
       \titleformat{\section}
             {\normalfont\large\bfseries}{\thesection}{11pt}{\large}
       \titlespacing*{\chapter}{0pt}{0pt}{15pt} %left, beforesep, aftersep, right
       \titlespacing*{\section}{0pt}{3.5ex plus 1ex minus .2ex}{2.3ex plus .2ex}
    \usepackage[titletoc]{appendix}
    \begin{document}
    \tableofcontents
    \chapter{Introduction}
    A chapter intro.
    \section{Project}
    A section here.

    \bibliographystyle{unsrtnat}
    \bibliography{mybibfile}
    \addcontentsline{toc}{chapter}{\bibname}
    \titleformat{\chapter}[display]
           {\normalfont\Large\bfseries}{Appendix~\Alph{chapter}}{11pt}{\Large}

    \begin{appendices}
    \renewcommand{\thechapter}{\Alph{chapter}.}
      \chapter{First appendix}
    some text...
      \chapter{Second appendix}
    some more text
    \end{appendices}
    \end{document}

打印 打印 | 关闭 关闭 评论
相关文章
图片新闻
站内搜索  
搜索
猜您喜欢  
最新更新  
阅读排行  
关于我们 | 联系方式 | 大事记 | 免责声明 | | 给我留言
部分广告源自金山联盟2345联盟 QQ咨询 站长之家QQ群:232617873
Copyright 2024 远方教程 © All Rights Reserved.

回顶部