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

theorem环境标题应为黑体 #104

Closed
salviati6 opened this issue Apr 18, 2015 · 3 comments
Closed

theorem环境标题应为黑体 #104

salviati6 opened this issue Apr 18, 2015 · 3 comments
Labels

Comments

@salviati6
Copy link

按照代码里面的说明(thuthesis.dtx: 1694),定理字样使用黑体,正文使用宋体,thuthesis说明文档里看上去也是这样(3.7节)。但是目前版本(v4.8.1)的thuthesis编译出来的标题(“定理”、“引理”、“证明”等)不是黑体而是宋体的。把thuthesis.dtx: 1698-1699里面的两个\rmfamily删掉就好了:

\theorembodyfont{\songti\rmfamily}
\theoremheaderfont{\heiti\rmfamily}

MWE:

% !TeX program = pdflatex
\documentclass[doctor]{thuthesis}
\begin{document}
\begin{theorem}
这是一个测试。
\end{theorem}
\end{document}

测试环境:Windows 7 SP1 x64 + TeXlive 2014, pdflatex/xelatex

alick added a commit to alick/thuthesis that referenced this issue Apr 18, 2015
@alick
Copy link
Contributor

alick commented Apr 18, 2015

测试一下上面的提交吧。\rmfamily 会影响中英文字体,\heiti 只影响中文字体。

@alick alick added the bug label Apr 18, 2015
@salviati6
Copy link
Author

这一版没问题了~

还有就是“定理1.1:”既然里面有冒号了,后面最好就不要再附加空白了,现在看起来像是

定理1.1:  这是一个定理。

不是很好看。“证明”后面没有空格,后面的空白还是应该保留的。

@alick
Copy link
Contributor

alick commented Apr 20, 2015

@salviati6 空白的问题,你再开个issue吧……

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

No branches or pull requests

2 participants