研究生数模模版里面怎么怎么使得表名和图名序号例如表1-1,表1.1,图1-1,2-1,1.1,2.1?

发布于 2021-09-14 09:43:39

mwe1.zip
我导言区是这么添加的counterwithin{table}{section}
renewcommand{thetable}{arabic{section}.arabic{table}}
counterwithin{figure}{section}
renewcommand{thetable}{arabic{section}.arabic{figure}

代码网址:https://pastebin.ubuntu.com/p/D2rK2QyR79/输入链接说明

查看更多

关注者
0
被浏览
952
2 个回答
口香糖
口香糖 2021-09-14
这家伙很懒,什么也没写!

QQ20210914-0.png
我弄出来像这样的

747
747 2021-09-14
这家伙很懒,什么也没写!

首先在 gmcmthesis.cls 中将 409 行

\renewcommand\thesection{\arabic{section}.}

改为:

\renewcommand\thesection{\arabic{section}}

然后加上这行

\ctexset{section/aftername={.}}

最后在导言区将你的代码修改为

\counterwithin{equation}{section}
\counterwithin{table}{section}
\counterwithin{figure}{section}

撰写答案

请登录后再发布答案,点击登录

发布
问题

分享
好友

手机
浏览

扫码手机浏览