On 02/16/2017 12:01 PM, Mario D wrote:
Hi all,
I would like that every example should be closed by a symbol of my
choice (say, for example, a black triangle).
I tried what is suggested in this answer:
http://tex.stackexchange.com/questions/36791/including-end-mark-in-definitions-and-examples-using-amsthm
The suggested code works in a plain text file but if I try it in a lyx
file I get an error saying that example is already defined, since lyx
already defines it (the same error doesn't show for definition since
the relative environment in lyx is called "defn").
So the question is: is there a way to use the package thmtools in lyx
and avoid such problems?
Otherwise, how can I get my goal in lyx?
Thank you
In the preamble, prior to the line
\declaretheorem[style=definition,qed=$\blacktriangle$,sibling=definition]{example}
insert the following:
\let\example\relax
Paul