I am writing an essay which has different math environments e.g. theorems, lemmas, proofs, etc.
At the end of the proofs, I have the default white square.
I wanted to add symbols at the end of definitions, examples, and remarks as well. I found this solution online, which I've added to my preamble:
Code: Select all
\theoremstyle{definition}
\newtheorem{definitionx}{Definition}[chapter]
\newtheorem{examplex}[definitionx]{Example}
\newtheorem{remarkx}[definitionx]{Remark}
\newenvironment{example}
{\pushQED{\qed}\renewcommand{\qedsymbol}{$\lrcorner_E$}\examplex}
{\popQED\endexamplex}
\newenvironment{remark}
{\pushQED{\qed}\renewcommand{\qedsymbol}{$\lrcorner_R$}\remarkx}
{\popQED\endremarkx}
\newenvironment{definition}
{\pushQED{\qed}\renewcommand{\qedsymbol}{$\lrcorner_D$}\definitionx}
{\popQED\enddefinitionx}
$\lrcorner_R$
Anyone know how I can fix this?