NWPUMetaphysicsOffice / Yet-Another-LaTeX-Template-for-NPU-Thesis

西北工业大学硕博学位论文模版 | Yet Another Thesis Template for Northwestern Polytechnical University
https://nwpumetaphysicsoffice.github.io/Yet-Another-LaTeX-Template-for-NPU-Thesis/
GNU General Public License v3.0
370 stars 96 forks source link

[误报] Macos系统 字体与页眉问题——参考已有issue #51 #94

Closed mwh-aki closed 1 year ago

mwh-aki commented 1 year ago

目前Mcc系统存在以下两个问题,不知如何是好。

问题1:跨平台字体控制部分会报错 \newcommand\defaultSog{SimSun} % 宋体,用于正文 \newcommand\defaultHei{SimHei} % 黑体,用于标题 \newcommand\defaultKai{KaiTi} % 楷体,一般用于强调 \newcommand\defaultFag{FangSong} % 仿宋,一般用于强调 目前直接替换为mac对应的postscript虽然可以运行但是不知道会不会产生什么其他的附加问题。

问题2 目前mac运行之后页眉出现问题,本身的页眉应为“第n章 XXXX”,现在页眉实际为“第n章 n.XXXXXX”。

截屏2023-03-14 18 40 57
note286 commented 1 year ago

字体问题,可以找有Windows系统的同学拷贝后安装即可。

note286 commented 1 year ago

页眉问题,Windows 10、TeX Live 2022直接编译yanputhesis-sample.tex无任何问题,MacTeX和TeX Live是一样的,macOS和Windows使用LaTeX的差异一般仅在字体配置方面,其他方面都是一致的。

polossk commented 1 year ago

字体可替换或按照要求编译 页眉请参考已有issue,是库没有更新导致 https://github.com/NWPUMetaphysicsOffice/Yet-Another-LaTeX-Template-for-NPU-Thesis/issues/51