hust-latex / hustthesis

:notebook_with_decorative_cover: An Unofficial Thesis Template in LaTeX for Huazhong University of Science and Technology
http://hust-latex.github.io/download#hustthesis
LaTeX Project Public License v1.3c
151 stars 30 forks source link

目录格式问题 #16

Closed fomy closed 8 years ago

fomy commented 8 years ago
  1. 英文摘要的页码没有在目录中显示;
  2. 一级标题,如“1 绪论”后面不显示页码;
  3. 目录的页码显示增加括号为“(1)”

请问这些应该如何修改呢?谢谢。

fomy commented 8 years ago

第一个问题,如下增加 \addcontentsline{toc}{chapter}{\HUST@enabstractname},页码会不对。

\ifthenelse{\equal{\HUST@language}{chinese}}{ \addcontentsline{toc}{chapter}{\HUST@zhabstractnamenospace} \addcontentsline{toc}{chapter}{\HUST@enabstractname} } ======

\def\makeabstract{ \phantomsection \ifthenelse{\equal{\HUST@language}{chinese}}{ \addcontentsline{toc}{chapter}{\HUST@zhabstractnamenospace} }{ \addcontentsline{toc}{chapter}{\HUST@enabstractname} } \ifthenelse{\equal{\HUST@language}{english-draft}}{}{ \HUST@zhabstractpage \clearpage } \addcontentsline{toc}{chapter}{\HUST@enabstractname} \HUST@enabstractpage \clearpage }

这样就行了

fomy commented 8 years ago

后两个问题已用 \titlecontents 解决。

bdgong commented 6 years ago

请问关于 ' 目录的页码显示增加括号为“(1)” ' 问题\titlecontents具体命令是什么?