%20%E5%91%BC%E5%8F%AB%20ibycus4%20%E5%BE%8C%E4%B8%8D%E5%88%97%E5%8D%B0.png)
以下僅導致單匕無法列印。
\documentclass{amsbook}
\usepackage{ibycus4}
\newtheorem{theorem}{Theorem}
\begin{document}
\begin{theorem}
\begin{align*}\tag{$\dagger$}\label{formula}
7 + 5 = 12
\end{align*}
\begin{align*}\tag{$\ddagger$}\label{formula1}
7 + 5 = 13
\end{align*}
\ref{formula} and \ref{formula1} are both false.
\end{theorem}
\end{document}
之後我嘗試了\let\dagger\undefined
(以及它的幾種變體),\usepackage{ibycus4}
但這阻止了編譯。感謝您的考慮。
答案1
您可以恢復原始定義:
\documentclass{amsbook}
\usepackage{ibycus4}
\def\dagger{\mathchar"2279}
\newtheorem{theorem}{Theorem}
\begin{document}
\begin{theorem}
\begin{align*}\tag{$\dagger$}\label{formula}
7 + 5 = 12
\end{align*}
\begin{align*}\tag{$\ddagger$}\label{formula1}
7 + 5 = 13
\end{align*}
\ref{formula} and \ref{formula1} are both false.
\end{theorem}
\end{document}
答案2
好吧,你不只是輸了\dagger
。您將完全放棄所有 UTF-8 字符,並且基本上只允許使用 ASCII。
但該文件是你的......
使用\textdagger
和\textdaggerdbl
來代替:標籤是文字的。您還可以在\dagger
加載之前保存數學定義ibycus4
(現在我認為沒有理由加載它)。
\documentclass{amsbook}
\NewCommandCopy{\latexdagger}{\dagger}
\usepackage{ibycus4}
\NewCommandCopy{\sdagger}{\dagger}
\RenewCommandCopy{\dagger}{\latexdagger}
\newtheorem{theorem}{Theorem}
\begin{document}
\begin{theorem}
\begin{align*}\tag{\textdagger}\label{formula}
7 + 5 = 12+\dagger
\end{align*}
\begin{align*}\tag{\textdaggerdbl}\label{formula1}
7 + 5 = 13
\end{align*}
\eqref{formula} and \eqref{formula1} are both false.
\end{theorem}
\end{document}