-
Notifications
You must be signed in to change notification settings - Fork 63
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
[Bug]: lualatex 下摘要标题前有换行 #248
Labels
bug
Something isn't working
Comments
若(不)可以复现,麻烦先告知,我好知道是不是我自己的问题,谢谢! |
确实可以复现。排查要点时间,先用 xelatex 吧。 |
问题是 LuaTeX 下全角冒号测出来的宽度和实际占用宽度不一致,我写模板时也没想到加 glue,这些内容超出一点宽度就自己跑到下一行了。我也试着在对应位置加了一点 glue,感觉伸缩后样式不太统一,不好看。 当然,一种很有效的解决办法就是把默认用到的中文冒号都换成英文冒号(……) \njusetname{colon}{:~} |
atxy-blip
added a commit
that referenced
this issue
Apr 3, 2024
@atxy-blip ,谢谢上面的修复!下载artifact文件试了一下,摘要页换行确实解决了。 但是,尽管不严重,貌似还有一些副作用,一些模板中的全角冒号显得很窄了: 如果你觉得没问题,也可以关掉issue,我没有异议。 |
先不关闭吧,等以后找到办法彻底解决这个问题。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
先决条件
期望的现象
摘要中的标题前不换行(下图为xelatex编译结果)
发生了什么
摘要中的标题前有换行(下图为lualatex编译结果)
最小工作示例
njuthesis 模板版本
v1.4.0
模板获取途径
通过 GitHub Releases 或镜像站下载
操作系统
Linux
TeX 发行版
Texlive 2024.0
编译程序
LuaLaTeX
额外信息
我更新texlive之前就有这个问题,也就是适用于texlive 2023.x
The text was updated successfully, but these errors were encountered: