Here is a kind of style I want: The proof environment, which has some margin on both left and right side. Also has a qed square on the last line.


 Theorem 1: xxxxxxxxxxxxxxxxxxx.

       proof: xxxxxx,xxxxx,


       xxxxxxxxx.        □

That is the proof environment has margin on both left and right sides.

I do not know how to make it. I tried newtcbtheorem, but it always has a "1" after the "proof", it needs \begin{proof*} to dismiss it, which i think it is troublesome.

I just want to use \begin{proof} in my document, and define everything in the cls file.

  • 1
    Have you tried placing the proof environment in a quotation environment?
    – Mico
    Commented Nov 20, 2020 at 5:56
  • 1
    The easiest way I know of to obtain a QED symbol at the end of the proof is to load the amsthm package and employ its proof environment
    – Mico
    Commented Nov 20, 2020 at 5:58

1 Answer 1


The amsthm package defines the proof environment as

  \normalfont \topsep6\p@\@plus6\p@\relax

I therefore patch this to a \list (instead of \trivlist) with the parameters taken from the quotation environment:


\usepackage{lipsum} % for dummy text


  \normalfont \topsep6\p@\@plus6\p@\relax
  \list{}{\listparindent 1.5em
          \itemindent    \z@
          \labelwidth    \z@
          \rightmargin   \leftmargin
          \parsep        \z@ \@plus\p@}%





enter image description here

  • That's great! It is exactly what I want. Thank you very much! Commented Nov 21, 2020 at 3:38

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .