摘要: 默认字体就是宋体(方正书宋) 主要区别在于英文字体。5.0 中的斜体、宋体、黑体和楷体的英文字体都变化较大。 个人认为 5.0 更为合理。因为斜体和楷体本身就是较为接近手写字体的字体。而 5.0 中的英文斜体和楷体改的更像手写了。 阅读全文
posted @ 2024-05-10 19:03 Undefined443 阅读(17) 评论(0) 推荐(0) 编辑
摘要: 在编译一篇中文文档时遇到如下警告: Package fontspec Warning: Script 'CJK' not explicitly supported within font 'FandolSong-Regular'. Check the typeset output, and if i 阅读全文
posted @ 2024-05-10 16:31 Undefined443 阅读(21) 评论(0) 推荐(0) 编辑
摘要: 在编译一篇从 arXiv 下载的文档时遇到如下错误: Class acmart Error: An attempt to redefine \baselinestretch detected. Please do not do this for ACM submissions!. 根据 StackE 阅读全文
posted @ 2024-05-10 15:12 Undefined443 阅读(56) 评论(0) 推荐(0) 编辑
摘要: 在编译一篇从 arXiv 下载的文档时遇到如下错误: Class acmart Error: No country present for an affiliation. 有两种解决方案: 将错误降级为警告 在 \documentclass[xxx]{acmart} 后添加如下代码: \makeat 阅读全文
posted @ 2024-05-10 14:49 Undefined443 阅读(66) 评论(0) 推荐(0) 编辑
摘要: 在编译一篇从 arXiv 下载的文档时遇到如下错误: Package hyperxmp Error: hyperref must be loaded before hyperxmp. 根据 GitHub 上这个问题 Load hyperref before hyperxmp ? 的答案得到错误的原因 阅读全文
posted @ 2024-05-10 14:33 Undefined443 阅读(88) 评论(0) 推荐(0) 编辑
摘要: 介绍 LaTeX 原生不支持中文。为了添加中文的功能,我们需要引入宏包。XeLaTeX 原生支持中文。不过由于默认使用的字体是英文字体,我们需要设置中文字体之后才能用。不过由于一些原因,在使用 LaTeX 书写中文文档的时候最好还是使用 XeLaTeX 引擎搭配 ctex 文档类或者 ctex 宏包 阅读全文
posted @ 2024-05-10 02:36 Undefined443 阅读(90) 评论(0) 推荐(0) 编辑