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

论文短标题不能正常显示,显示为“(论文长标题一)、(论文长标题二)” #30

Open
Hewillbegood opened this issue May 24, 2018 · 6 comments

Comments

@Hewillbegood
Copy link

如题

@zyf12389
Copy link

请问解决了吗?我也遇到这个问题

@abelyue
Copy link

abelyue commented Dec 21, 2018

同问,现在只能显示长标题,将titlea,titleb注释掉以后仍然无法正常显示title

@ZLCao
Copy link

ZLCao commented Dec 24, 2018

问题源头已经找到,正在Fork,修改后commit一份。

@abelyue
Copy link

abelyue commented Dec 24, 2018

不是很熟悉latex的语法,看了一下,大概是njuthesis.cls这个文件第865行的问题。
暂时修改成:
\ifdefempty{\njut@cap@cover@title}{\njut@covertable@twolinetitle}{\njut@covertable@onelinetitle}
前后twolinetitle,onelinetitle对调了一下,显示成单行的了。具体什么原因也没深究。。。

@ZLCao
Copy link

ZLCao commented Dec 24, 2018

\njut@cap@cover@title 是一个常量,而对应南大封面“论文题目”这个字段,是个常量。其实应该判断的是 \title 对应设置的 \njut@value@title 字段是否为空。另外,由于这个字段有默认值,实际使用中,如果需要长标题效果,还要额外添加 \title{} 命令来置空这个字段。

@xigrug
Copy link

xigrug commented Jun 26, 2019

\njut@cap@cover@title 是一个常量,而对应南大封面“论文题目”这个字段,是个常量。其实应该判断的是 \title 对应设置的 \njut@value@title 字段是否为空。另外,由于这个字段有默认值,实际使用中,如果需要长标题效果,还要额外添加 \title{} 命令来置空这个字段。

用了在线overleaf的模板,发现中文标题titlea titleb分行没有作用,已在你的项目提交issue,不知道能否解决

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

No branches or pull requests

5 participants