NewFuture / NKThesis

南开大学硕士毕业论文/博士论文模板 (Latex Template for Nankai University)
https://nkthesis.newfuture.cc
MIT License
129 stars 45 forks source link

请问如何更改公式格式为Times New Roman? #3

Closed jinjilr closed 5 years ago

jinjilr commented 5 years ago

你好, 请问如何更改公式格式为Times New Roman? 目前并不是,如下 image 正确的应该是 image

请问该如何在NKTfonts.cfg中进行更改? 谢谢!

NewFuture commented 5 years ago

用times包试一下

http://www.latexstudio.net/archives/7697.html

jinjilr commented 5 years ago

@NewFuture 不行。平时写小论文用\usepackage{mathptmx}是可以的。

NewFuture commented 5 years ago

xelatex的字体配置在这里

https://github.com/NewFuture/NKThesis/blob/c754dda016be23c4d480112f44923f6139222582/NKTfonts.cfg#L9-L11

jinjilr commented 5 years ago

@NewFuture 还有两个问题, 1、NKThesis.sty中,figure caption定义的是zihaowu,table caption定义的也是zihaowu。 但实际运行效果table caption是zihaowu,figure caption字体明显要大,肯定不是zihaowu,好像是zihaosi。 2、参考文献字号如何设置? 谢谢!

NewFuture commented 5 years ago

这个可能用的不是一个标签

NewFuture commented 5 years ago

通用的格式修改可以提个PR 😄

jinjilr commented 5 years ago

@NewFuture 1、caption的问题解决了,应该是“标签”的原因。 figure的caption要用\figurecaption{},不能直接用\caption{}。

2、参考文献字体大小仍然不知如何设置。

另外,不会PR(笑哭,表情都不会加)

NewFuture commented 5 years ago

参考文献可以再开一个issue

TCLiuu commented 1 year ago

你好, 请问如何更改公式格式为Times New Roman? 目前并不是,如下 image 正确的应该是 image

请问该如何在NKTfonts.cfg中进行更改? 谢谢!

数学字体的问题应该是这里调用了 mathpazo 包导致的。 https://github.com/NewFuture/NKThesis/blob/744226c223987d2e23b8db728576ba9b10c197f4/NKThesis.sty#L792K

Brice-fan commented 1 year ago

你好, 请问如何更改公式格式为Times New Roman? 目前并不是,如下 image 正确的应该是 image 请问该如何在NKTfonts.cfg中进行更改? 谢谢!

数学字体的问题应该是这里调用了 mathpazo 包导致的。 https://github.com/NewFuture/NKThesis/blob/744226c223987d2e23b8db728576ba9b10c197f4/NKThesis.sty#L792K

感觉和times new roman还是有点偏差。比如加总符号和求和符号

image

正确的

image
TCLiuu commented 1 year ago

感觉和times new roman还是有点偏差。比如加总符号和求和符号 image 正确的 image

可参考下面这个回答 https://www.zhihu.com/question/391007830/answer/1184553340