Skip to content

Commit

Permalink
Update jmlr2e.sty
Browse files Browse the repository at this point in the history
  • Loading branch information
akucukelbir committed Sep 2, 2020
1 parent ae01c41 commit f1ff6b9
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion jmlr2e.sty
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
% Added a preprint option
% Last edited February 3, 2020 Boyue Li
% Fixed section counter in appendix
% Last edited Sept 2, 2020 Alp Kucukelbir
% Do not define proof environemtn if already defined. (Thank you James Martens)
%
% The name of this file should follow the article document
% type, e.g. \documentstyle[jmlr]{article}
Expand Down Expand Up @@ -359,7 +361,11 @@ are provided at \url{http:https://jmlr.org/papers/v#1/#6.html}.\hfill}}%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\newcommand{\BlackBox}{\rule{1.5ex}{1.5ex}} % end of proof
\newenvironment{proof}{\par\noindent{\bf Proof\ }}{\hfill\BlackBox\\[2mm]}
\ifdefined\proof
\renewenvironment{proof}{\par\noindent{\bf Proof\ }}{\hfill\BlackBox\\[2mm]}
\else
\newenvironment{proof}{\par\noindent{\bf Proof\ }}{\hfill\BlackBox\\[2mm]}
\fi
\newtheorem{example}{Example}
\newtheorem{theorem}{Theorem}
\newtheorem{lemma}[theorem]{Lemma}
Expand Down

0 comments on commit f1ff6b9

Please sign in to comment.