ustcthesis icon indicating copy to clipboard operation
ustcthesis copied to clipboard

\centernot 斜线位置问题

Open SirNing opened this issue 3 years ago • 1 comments

检查

  • [x] 已经阅读《研究生学位论文撰写手册》或《中国科学技术大学本科毕业论文(设计)格式》
  • [x] 已经将模板升级到了最新版
  • [x] 已经阅读使用说明文档 ustcthesis.pdf
  • [x] 已经阅读 常见问题

编译环境

  • 编译的系统:Windows 11
  • TeX 发行版:TeXLive 2021
  • 模板类型:doctor

描述问题

\centernot 的斜线出现在被否定符号的前面,而不是被否定符号上

截图: image

复现上述问题的代码:

\documentclass[degree=doctor]{ustcthesis}
\begin{document}
$0.5 \centernot \in \mathbb{Z}$ \\
$\mathbb{Q} \centernot \subset \mathbb{Z}$ \\
$1 \centernot = 0.5$ \\
$1 \neq 0.5$
\end{document}

SirNing avatar Jul 16 '22 01:07 SirNing

\documentclass[degree=doctor]{ustcthesis}
\begin{document}
$0.5 \notin \mathbb{Z}$

$\mathbb{Q} \nsubset \mathbb{Z}$

$1 \neq 0.5$
\end{document}
image

xkwxdyy avatar Jul 16 '22 03:07 xkwxdyy

模板中使用了 unicode-math 宏包,直接使用 \not \in,没必要使用 centernot

zepinglee avatar Oct 03 '22 08:10 zepinglee