軟體包 lucidabr 和 yhmath 導致錯誤的符號

軟體包 lucidabr 和 yhmath 導致錯誤的符號

我獲得了 TUGlucida字體,並將它們用於在我的一份文件中進行測試,該文件yhmath也已加載。

在本文檔中,$\Delta x$使用了很多,在查看結果後,我也意識到了下面的最小範例所產生的行為:

在此輸入影像描述

字元\Delta顯示為一個巨大的\sqrt\Gamma符號也是如此,\Omega符號變成\widehat重音。

更改載入順序(yhmath首先,然後lucidabr)將解決問題,但這對於使用載入順序錯誤等的yhmath套件的人來說不是一個選擇。lucidabr

我的問題更具有普遍性:這個錯誤的映射可以解決嗎?我個人實際上並不需要yhmath(它只是偶然加載的)

當然,一種選擇是切換到標準字體或其他不與yhmath.

\documentclass{article}

\usepackage[T1]{fontenc} % Can be omitted, shows the same effect with or without using this
\usepackage{lucidabr} 
\usepackage{yhmath}

\begin{document}

\[\Delta x \]

\[\Gamma x \]

\[ \Omega  x\]

\end{document}

答案1

您必須載入lucidabr選項expert

\documentclass{article}

\usepackage[expert]{lucidabr}
\usepackage{yhmath}

\begin{document}

\[\Delta x \]

\[\Gamma x \]

\[ \Omega  x\]

\end{document}

在此輸入影像描述

否則, 的定義\Delta

\DeclareMathSymbol{\Delta}{\mathord}{largesymbols}{'321}

yhmath當也加載時這顯然是錯誤的。

相關內容