On 12/22/2012 11:36 AM, Guy Rutenberg wrote:
Hi Richard,
On 20 December 2012 18:01, Richard Heck <rgh...@lyx.org
<mailto:rgh...@lyx.org>> wrote:
(4) Open theorems-mine.inc and change the Preamble code for each
environment as you wish. When you see the file, you'll see what to do.
Thanks, for your advise. After looking at the process, I thought I
should attempt writing adding a more throughout support for thmtools.
In order to do that, I need to redefine the "Numbered by *" modules,
to pass the correct options to thmtools if it's in use.
Is there an easy way to check if a module is loaded? It would help me
add code to detect thmtools in those modules.
Not directly, though you can check if a particular style is defined,
using the IfStyle directive. Not sure if that will help in this case.
Checking for particular modules is, in any case, fragile, since people
can always write their own, or modify existing ones, etc.
Richard