Closed annProg closed 3 years ago
ctexbook 无此问题
不使用 Source serif pro,默认的字体不支持 Unicode 字符,商标 ® 符号乱码
定义列表未加粗是 newtxtext
导致的,换成 ctexbook 测试,可以复现
\documentclass[]{ctexbook}
\usepackage{newtxtext}
\setmainfont[]{Source Serif Pro}
\begin{document}
\begin{description}
\item[Linux]
Operation System
\end{description}
\end{document}
newtxtext
在前,定义列表不能加粗
\usepackage{newtxtext}
\setmainfont[]{Source Serif Pro}
newtxtext
在后,商标符号 ® 乱码
\setmainfont[]{Source Serif Pro}
\usepackage{newtxtext}
解决方案
\makeatletter
\@namedef{ver@newtxtext.sty}{9999/99/99}
\makeatother
\documentclass[cn]{elegantbook}
\setmainfont{Source Serif Pro}
\begin{document}
\begin{description}
\item[Linux®]
Operation System
\end{description}
\end{document}
参考:https://tex.stackexchange.com/questions/39415/unload-a-latex-package
mainfont 字体问题
删去,或者设置为其他字体