avatar
d*u
1
正文中的Section前面有编号, 例如1.1, 1.2....
怎么到了Table of Contents里面编号就没了呢?
avatar
T*n
2
What document class and packages are you using?
Add the following line
\makeatother\showthe\[email protected]\showthe\[email protected]\makeatletter
before \tableofcontents, immediately after \tableofcontents, and a third
time somewhere in the text body after a \subsection. What numbers
do LaTeX give for these counters (look on the console or in the log
file for the numbers)?

【在 d**u 的大作中提到】
: 正文中的Section前面有编号, 例如1.1, 1.2....
: 怎么到了Table of Contents里面编号就没了呢?

avatar
d*u
3
The document class is report.
When I click the table of conents, I get following information:
\contentsline {chapter}{CHAPTER{} \numberline {1} \uppercase {INTRODUCTION}}
{1}
\contentsline {section}{\numberline {}{Section 1}}{2}
...

【在 T*******n 的大作中提到】
: What document class and packages are you using?
: Add the following line
: \makeatother\showthe\[email protected]\showthe\[email protected]\makeatletter
: before \tableofcontents, immediately after \tableofcontents, and a third
: time somewhere in the text body after a \subsection. What numbers
: do LaTeX give for these counters (look on the console or in the log
: file for the numbers)?

avatar
T*n
4
Okay, report class, so should have standard behavior.
I just noticed that the other instruction I gave previous is
wrong. You should instead swap the two \makeat... commands and
add this line instead at the three places I said:
\makeatletter\showthe\[email protected]\showthe\[email protected]\makeatother
Then run LaTeX, look at the console output (messages) from LaTeX,
and tell me what numbers LaTeX reports for \[email protected] and
\[email protected]
Somewhere you probably have loaded some package or wrote your o

【在 d**u 的大作中提到】
: The document class is report.
: When I click the table of conents, I get following information:
: \contentsline {chapter}{CHAPTER{} \numberline {1} \uppercase {INTRODUCTION}}
: {1}
: \contentsline {section}{\numberline {}{Section 1}}{2}
: ...

avatar
d*u
5
I found the problem:
The template deletes numbering of section in the table of content.
thanks

【在 T*******n 的大作中提到】
: Okay, report class, so should have standard behavior.
: I just noticed that the other instruction I gave previous is
: wrong. You should instead swap the two \makeat... commands and
: add this line instead at the three places I said:
: \makeatletter\showthe\[email protected]\showthe\[email protected]\makeatother
: Then run LaTeX, look at the console output (messages) from LaTeX,
: and tell me what numbers LaTeX reports for \[email protected] and
: \[email protected]
: Somewhere you probably have loaded some package or wrote your o

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。