ibycus4 호출 후 \dagger(amsbook)가 인쇄되지 않습니다.

ibycus4 호출 후 \dagger(amsbook)가 인쇄되지 않습니다.

다음은 단일 단검이 인쇄에 실패하는 원인입니다.

\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}

여기에 이미지 설명을 입력하세요

관련 정보