パッケージ phfthm で定理の証明を取得する方法

パッケージ phfthm で定理の証明を取得する方法

私はパッケージを使用して、phfthm表示付きの証明を取得しようとしています定理1の証明、など。

私は、パッケージドキュメント、15ページにありますが、1の証明、単語なしで定理、どこで間違いを犯しているのか理解できません。

私の例は次のとおりです。

\documentclass[]{article}

\usepackage[resetstyle]{phfthm}

\begin{document}

\section*{Introduction}
This is a theorem
\begin{theorem}[Gauss]
    \label{thm:Gauss}
    For a closed surface $S$ enclosing a volume $V$, we have
    \begin{equation}
    \oint_S\vec u\cdot d\vec S = \int_V(\vec\nabla\cdot\vec u)\,dV\ .
    \end{equation}
\end{theorem}
Then the proof.
\begin{proof}[*thm:Gauss]
text of proof
\end{proof}

\end{document}

答え1

をロードして、証明の種類を印刷するために必要な をhyperref提供する必要があります。が利用できない場合は、がフォールバックとして使用され、番号のみが表示されます (cf.\autoref\autoref\refhttps://tex.stackexchange.com/a/137433/29873)。これはドキュメントでもっと明確に述べられているはずです(むしろ隠されたコメントしかありません)。とにかく、ここにあります:

\documentclass[]{article}
\usepackage[resetstyle]{phfthm}
\usepackage{hyperref}
\begin{document}

\section*{Introduction}
This is a theorem
\begin{theorem}[Gauss]
    \label{thm:Gauss}
    For a closed surface $S$ enclosing a volume $V$, we have
    \begin{equation}
    \oint_S\vec u\cdot d\vec S = \int_V(\vec\nabla\cdot\vec u)\,dV\ .
    \end{equation}
\end{theorem}
Then the proof.
\begin{proof}[*thm:Gauss]
text of proof
\end{proof}

\end{document}

ここに画像の説明を入力してください

関連情報