\documentclass{article}
\usepackage{amsmath,amsthm}
\usepackage{times}
\begin{document}
\begin{proof}
The content of the new proof style $x \succ y, y\succeq z$ and $x \preceq y$.
\end{proof}
\end{document}
\documentclass{article}
\usepackage{amsmath,amsthm}
\usepackage{times}
\begin{document}
\begin{proof}[\indent \bfseries Solution]
The content of the new proof style $x \succ y, y\succeq z$ and $x \preceq y$.
\end{proof}
\end{document}
\documentclass{article}
\usepackage{amsmath,amsthm}
\usepackage{times}
%新增加的宏包
\usepackage{environ}
%新建环境iproof
\NewEnviron{iproof}[1][Proof]{\begin{proof}[\indent\bfseries #1]\BODY\end{proof}}{}
\begin{document}
\begin{proof}[\indent\bfseries Solution]
The content of the new solution style $x \succ y, y\succeq z$ and $x \preceq y$.
\end{proof}
\begin{iproof}
The content of the new proof style $x \succ y, y\succeq z$ and $x \preceq y$.
\end{iproof}
\begin{iproof}[Solution]
The content of the new solution style $x \succ y, y\succeq z$ and $x \preceq y$.
\end{iproof}
\end{document}
发表评论 取消回复