I assume that you want to use the formatting style of theorems in the
IEEETran class, but with a different document class than that. The way to do
this in LyX is through Modules.

If you check in Document>Settings>Modules, there are several options that
define theorem environments, and guide how they are formatted. If one of
these modules provides the formatting you are looking for, problem solved. I
do not specifically know if any of these are identical to the theorem style
in the IEEETran class.

If the desired formatting is not provided by any of these modules, you will
have to write your own. It doesn't have to be written completely from
scratch, though since the IEEETran document class already contains the
necessary code. Thus, it is mostly an operation of finding the desired parts
of the code for that class, and using it as the guts of your new module.

I should acknowledge that I have never actually written my own module, but I
think this is how it would be done. Someone wiser can correct if this is not
accurate.

I hope this helps.

Jacob

On Fri, Aug 6, 2010 at 1:28 PM, Anders Host-Madsen <ahostmad...@yahoo.com>wrote:

> I have a lyx and a latex question
>
> First, is it possible to define new theorem environments in LyX?
> I looked through the help manuals, but could not find anything.
>
> If not possible in LyX, of course I can use latex \newtheorem. Here the
> question is, is it possible to make this follow the style of an already
> defined theorem environment? Specifically, I want my environment
> to look like the theorem style in the IEEETran class,
> but if I just use \newtheorem it has a completely different style.
>
>

Reply via email to