Comments (6)
阁下您好,感谢反馈关于附录的问题。
已明确该行为是由于未导出到模板 WHUT-Bachelor
的自用宏包 tikz
和其库 external
的相关指令残留引起的。现已移除残留指令。
自版本 v0.9999
以后,如阁下需要使用附录结构,不引入 appendix
宏包,可以直接在 main.tex
中使用
\include{body/appendices}
在 body/appendices.tex
文件 \appendix
指令之后的章节(\section
)编号将转换为附录编号。
from whut-bachelor.
非常感谢学长的解答!
from whut-bachelor.
学长您好,我使用更新后的模板,按照您给出的方法进行了附录添加,但编译生成的附录格式似乎存在一些问题。
我注意到学校的论文格式文件中,对附录的格式定义是这样的:
(20)附录
论文附录依次用大写字母“附录A、附录B、附录C……”表示,附录内的分级序号可采用“附A1、附A1.1、附A1.1.1”等表示,图、表、公式均依此类推为“图A1、表A1、式(A1)”等。
同样地,我在学长的模板文件中找到下列可能相关的代码:
%% redefine appendix \let\@appendix\appendix \renewcommand\appendix{\par \@appendix \gdef\thesection{\appendixname\@Alph\c@section} \gdef\thesubsection{\Alph{section}.\@arabic\c@subsection} \gdef\thesubsubsection{\Alph{section}.\arabic{subsection}.\@arabic\c@subsubsection} % \ifwhut@options@minimal\else\tikzexternaldisable\fi \let\@appendix\relex }
看上去学长似乎确实想要使模板生成的附录格式与学校规范文件要求的格式“附录A 附录B...”相同,但在编译后的PDF文档中,附录的格式如下所示:
A 附录标题
我的编译环境是Windows11+TexLive2022+TexStudio,应该与学长的测试环境相同。所以这里可能是一个bug嘛?
from whut-bachelor.
已于分支 issue7-appendix
修复上述问题,待确认无误后并入主分支。
另外有关规范文件还有一点要向阁下咨询一下,规范在“毕业设计(论文)内容:目录”、“撰写要求:字体和字号”等多个环节只提及三级标题,然而在“附录”中疑似出现“附A1.1.1”的四级标题。为了解释这个出现的四级标题,想问一下例如“附录B第二节第一子节”是表示为以下哪种标题:
附B2.1
“四级标题”为规范笔误,或仅在正文中出现而不在目录中出现附A2.2.1
将“A”解释为与“附”连接在一起的符号附B.2.1
将拉丁字母后的数字解释为多余字符予以删除其他情况
本人对规范理解有偏差
还望解答,以便在模板中实现相应规范要求。
from whut-bachelor.
学长好,我使用分支中的模板添加了附录,目前没有发现我能察觉到的问题,非常感谢学长对模板的改进!
关于学长提及的四级标题问题:我也注意到了规范文件中存在学长所述的模糊要求,但由于本人的附录结构深度原因没有特别加以关注。学长提及后我向指导老师进行了相关咨询,但没有得到确定的回答(可能老师自己也没有意识到)。就我个人的理解来看,我倾向于选择学长所述的第1种方案,即四级标题仅在附录正文中出现,目录中不出现,但个人见解仅供学长参考。
最后,再次感谢学长对模板的付出!
from whut-bachelor.
感谢使用本模板,本问题讨论已结束,如果有新的问题欢迎新开issue。
from whut-bachelor.
Related Issues (7)
- 可以给我一下你的联系方式吗,有些问题想请教一下 HOT 1
- 阿尔伯特·爱因斯坦的学生你好 HOT 1
- 学长,请问为什么把字体加进项目文件后,还是无法显示华文中宋字体啊。 HOT 7
- 模板导出的文献格式中似乎存在不必要的"//"符号问题 HOT 2
- 请问行间距好像不一样如何解决 HOT 3
- 关于在Linux上使用SimSun字体的问题 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from whut-bachelor.