## 编译环境
操作系统
* [x] Windows 7/8/10
* [ ] macOS
* [ ] Linux
Tex发行版
* [x] TexLive `2020`
* [ ] MikTeX...
## 编译环境
操作系统
* [x] Windows 7/8/10
* [ ] macOS
* [ ] Linux
Tex发行版
* [x] TexLive `2020`
* [ ] MikTeX `版本号`
* [ ] CTeX
## 我的问题
使用 `XeLaTeX` 编译如下代码
```
\documentclass{article}
\usepackage{amsthm}
\newtheorem{Question}{Qu}
\begin{document}
\begin{Question}
test
\end{Question}
\end{document}
```
可以得到如下输出

使用 `XeLaTeX` 编译如下代吗
```
\documentclass{article}
\usepackage{unicode-math}
\usepackage{amsthm}
\newtheorem{Question}{Qu}
\begin{document}
\begin{Question}
test
\end{Question}
\end{document}
```
可以得到如下输出

前面的 Qu 消失了, 而且内容字体变为正体
而如果将定义环境定义为`Qu`, 即
```
\documentclass{article}
\usepackage{unicode-math}
\usepackage{amsthm}
\newtheorem{Qu}{Qu}
\begin{document}
\begin{Qu}
test
\end{Qu}
\end{document}
```
可以得到正常的输出

**补充**: 在进一步的测试中, 不使用 `amsthm` 宏包, 直接定义 `\newenvironment{Question}{envname}{}` 也会出现同样的问题.
请问是什么原因造成的, 以及除了更改环境名称以外有没有解决方法?
一周热门 更多>