
我做了一個空證明作為一個笑話(最糟糕的視覺證明)。當我使用文檔類時它工作正常article
,
\documentclass{article}
\usepackage{amsthm}
\begin{document}
\begin{proof}
\end{proof}
\end{document}
但我想擺脫頁面和其他類似文章的行為。當我嘗試將其編譯為standalone
使用時
\documentclass{standalone}
\usepackage{amsthm}
在序言中,它給了我錯誤:
! LaTeX Error: Something's wrong--perhaps a missing \item.
我怎樣才能將空證明作為standalone
文檔,最好使用proof
來自的環境amsthm
?