Skip to content
New issue

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

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

Already on GitHub? # to your account

Fix: 修复表格标题位置问题 #253

Closed
wants to merge 1 commit into from

Conversation

CofinCup
Copy link

@CofinCup CofinCup commented May 6, 2024

2024年本科生毕业论文模板中增加了如下的表格内容要求:
image

虽然可以通过修改caption位置来使得表格标题在上方,但tex.nju里默认的table模板当中caption还是靠下的,因此我尝试将这一内容放在模板中定义来防止手滑没改位置的情况出现。

我尝试了一些类似于\captionsetup[table]{position=top}的方式,但是似乎放在各处都不起作用。最后还是把我能找到的唯一能用的方法,也就是使用floatrow,给引进来了(虽然看了一眼changelog发现它在2021年被移除过)

如果有更好的修改方式还请指正!

@atxy-blip
Copy link
Member

floatrow 做出的额外修改太多,比如 #49 报告的问题就是 floatrowfloat 包不能同时使用。所以这个 PR 就不合并了。

另一方面,其实 caption 包本身提供了相关的设置,见手册 2.6 节。我稍后会提交更改。

@atxy-blip atxy-blip closed this May 7, 2024
atxy-blip added a commit that referenced this pull request May 8, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants