当我使用 xelatex 编译以下 mwe 时,系统提示我:
ERROR: LaTeX Error: Command \dddot already defined.
--- TeX said ---
Or name \end... illegal, see p.192 of the manual.
l.571 \hbox{\normalfont ...}\vss}}}}
(这是 amsmath.sty 的第 571 行)。
\documentclass{minimal}
\usepackage{fontspec}
\setmainfont{LinLibertine_R.otf}
\usepackage{unicode-math}
\setmathfont{STIXGeneral}
\usepackage{amsmath}
\begin{document}
Hello, world.
\end{document}
是否存在错误,或者我做错了什么?
这允许编译,但括号太小(第一个括号应该跨越 Ordinarium/Extraordinarium)。以下是较长的示例。
\documentclass{minimal}
\usepackage{mathtools}
\usepackage{unicode-math}
\setmainfont {LinLibertine_R.otf}
\setmathfont{STIXGeneral}
\begin{document}
\[
\begin{tabular}{c}
Somnium\\
proprie\\
dictum
\end{tabular}
\left\{\begin{array}{@{}l@{}}
\text{Ordinarium}
\left\{\begin{array}{@{}l@{}}
\begin{tabular}{@{}l@{}}
Vulgare seu commune\\
physicum ortum\\
ex principiis
\end{tabular}
\left\{\begin{tabular}{@{}l@{}}
Externis\\[3\jot]
Internis
\end{tabular}\right.\\[6\jot]
\text{Proprium aliquibus.}\\
\text{Præsagiens}
\end{array}\right.\\[12\jot]
\text{Extraordinarium}
\left\{\begin{array}{@{}l@{}}
\begin{tabular}{@{}l@{}}
θεῖον diuinum\\
θεόπεμπτον
immissum à Deo
\end{tabular}
\left\{\begin{tabular}{@{}l@{}}
Mediate per\\
bonos angelos\\[3\jot]
Immediate
\end{tabular}\right.\\[6\jot]
\text{Diabolicum}\\
\text{Δαιμονιόπεμπτον}
\end{array}\right.
\end{array}\right.
\]
\end{document}
答案1
这是我对您的输入进行以下修改后得到的结果:
\documentclass{article}
\usepackage{mathtools}
\usepackage{unicode-math}
\setmainfont {Linux Libertine O}
\setmathfont{XITS Math}
\begin{document}
\[
\begin{tabular}{c}
Somnium\\
proprie\\
dictum
\end{tabular}
\left\{\begin{array}{@{}l@{}}
\text{Ordinarium}
\left\{\begin{array}{@{}l@{}}
\begin{tabular}{@{}l@{}}
Vulgare seu commune\\
physicum ortum\\
ex principiis
\end{tabular}
\left\{\begin{tabular}{@{}l@{}}
Externis\\[3\jot]
Internis
\end{tabular}\right.\\[6\jot]
\text{Proprium aliquibus.}\\
\text{Præsagiens}
\end{array}\right.\\[12\jot]
\text{Extraordinarium}
\left\{\begin{array}{@{}l@{}}
\begin{tabular}{@{}l@{}}
θεῖον diuinum\\
θεόπεμπτον
immissum à Deo
\end{tabular}
\left\{\begin{tabular}{@{}l@{}}
Mediate per\\
bonos angelos\\[3\jot]
Immediate
\end{tabular}\right.\\[6\jot]
\text{Diabolicum}\\
\text{Δαιμονιόπεμπτον}
\end{array}\right.
\end{array}\right.
\]
\end{document}