Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

大佬们是否有办法单独加一个展望部分 #26

Open
MingDegree opened this issue Apr 26, 2024 · 1 comment
Open

大佬们是否有办法单独加一个展望部分 #26

MingDegree opened this issue Apr 26, 2024 · 1 comment

Comments

@MingDegree
Copy link

我导师希望我在学校模版结论部分后面加一个展望部分,但是我知道dtx文件里是没有展望环境的,使用\chapter*{展望}的话在目录中不会显示,所以有大佬可以教下怎么添加这个展望环境嘛。。
image
image

@Kai2510
Copy link

Kai2510 commented May 20, 2024

我在cls文件里把结论的标题改成了“结论与展望”,但是里面\section的编号是接着上一章的。。也需要改。


更新:现在找到个救急的办法。
首先在 .cls 文件里面搜索“结论”,改成
\newenvironment{conclusion}{\shu@chapter*[结论与展望]{结论与展望}}{}

然后把在'conclusion.tex'里面写:

\addcontentsline{toc}{section}{1. \quad 结论}  %为了目录里对齐,应该有更好的办法。目前先这样微调缩进。
\section*{1. 结论} %不使用章节自动编号

\addcontentsline{toc}{section}{2.\quad 展望}
\section*{2. 展望}

图片

这样结论和展望就在同一章了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants