latex中使用proof证明时如何去掉QED(结尾的方括号)

本文介绍了如何在LaTeX中使用amsthm包调整证明环境的QED符号,包括默认显示、隐藏及再次显示符号的方法。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

原文在here

举例说明吧

例1,

\documentclass{article}
\usepackage{amsthm}
\begin{document}
\begin{proof}
This has the QED symbol.
\end{proof}
\begin{proof}<span style="background-color: rgb(255, 0, 0);">\renewcommand{\qedsymbol}{}</span>
This hasn't.
\end{proof}
\begin{proof}
And this has it again.
\end{proof}
\end{document}

输出结果


例2:if you're using amsthm, you can do this:

<span style="color:#393318;background-color: rgba(255, 255, 255, 0.529412);">\documentclass{article}
\usepackage{amsthm}
\begin{document}
\begin{proof}
This has the QED symbol.
\end{proof}
\begin{proof}</span><strong style="background-color: rgb(204, 0, 0);">\let\qed\relax</strong><span style="color:#393318;background-color: rgba(255, 255, 255, 0.529412);">
This hasn't.
\end{proof}
\begin{proof}
And this has it again.
\end{proof}
\end{document}</span>
注意红色部分



评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值