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

在peerreview模式下,中文摘要的“关键词:”意外的缩进问题 #81

Open
loganwhite opened this issue Mar 23, 2021 · 2 comments
Labels

Comments

@loganwhite
Copy link

在设置finish=peerreview后,发现中文摘要最后的“关键词:”这一段发生了首行两个字符的缩进,请问如何解决? @rioxwang

@loganwhite
Copy link
Author

经过测试后发现,问题产生的原因可能是黑体字体的问题。通过将“关键字:”标签的字体使用\bf或者使用\textbf{}替换\hei即可解决问题。代码如下:

{
    \sihao[1.6]
    \par{
      \CJKindent
      \song\bupt@meta@cabstract
    }\par
    \vspace{12bp}
    \setbox0=\hbox{\textbf{\bupt@label@ckeywords}}
    \noindent\hangindent\wd0\hangafter1\box0\bupt@meta@ckeywords
  }

@NigelBoxing
Copy link

请作者提交个pull request吧,确实是个bug

经过测试后发现,问题产生的原因可能是黑体字体的问题。通过将“关键字:”标签的字体使用\bf或者使用\textbf{}替换\hei即可解决问题。代码如下:

{
    \sihao[1.6]
    \par{
      \CJKindent
      \song\bupt@meta@cabstract
    }\par
    \vspace{12bp}
    \setbox0=\hbox{\textbf{\bupt@label@ckeywords}}
    \noindent\hangindent\wd0\hangafter1\box0\bupt@meta@ckeywords
  }

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

3 participants