]> mj.ucw.cz Git - diplomky.git/commitdiff
English version: Revive proof environment
authorMartin Mares <mj@ucw.cz>
Wed, 17 Jul 2019 11:25:05 +0000 (13:25 +0200)
committerMartin Mares <mj@ucw.cz>
Wed, 17 Jul 2019 11:25:05 +0000 (13:25 +0200)
Originally, it was commented out, since it collided with the built-in
proof environment. Renamed it to "myproof" instead.

en/macros.tex

index aefc435ca34cf6addcb2d2a9c9b52746ab6e47c7..d2d261660f29f01a770e095c49ebd7f51c127554 100644 (file)
 
 %%% An environment for proofs
 
-%%% FIXME %%% \newenvironment{proof}{
-%%% FIXME %%%   \par\medskip\noindent
-%%% FIXME %%%   \textit{Proof}.
-%%% FIXME %%% }{
-%%% FIXME %%% \newline
-%%% FIXME %%% \rightline{$\square$}  % or \SquareCastShadowBottomRight from bbding package
-%%% FIXME %%% }
+\newenvironment{myproof}{
+  \par\medskip\noindent
+  \textit{Proof}.
+}{
+\newline
+\rightline{$\qedsymbol$}
+}
 
 %%% An environment for typesetting of program code and input/output
 %%% of programs. (Requires the fancyvrb package -- fancy verbatim.)