Great, thanks, it works!
On Jan 27, 2008 10:21 PM, Ernesto Posse <[EMAIL PROTECTED]> wrote:
> My solution to this problem is creating a lyx layout file which
> extends the Theorem environments with "Appendix theorems". This layout
> can be created for example by modifying one of the AMS layouts, adding
> styles like this:
>
>
> Style ApxTheorem
> CopyStyle Theorem
> DependsOn Theorem
> LatexName apx-thm
> Preamble
> \newenvironment{apx-thm}[1]
> {\noindent \rm \textbf{Theorem #1.} \it}
> {}
> EndPreamble
> End
>
>
> To use it, add a label to your original theorem, and then, in your
> appendix, whenever you create an "ApxTheorem", you put a reference to
> that label immediately after the "Theorem" label, enclosed in { } (in
> ERT).
>
> I hope it helps.
>
>
> On Jan 27, 2008 2:42 PM, Nadiv Avidan <[EMAIL PROTECTED]> wrote:
> > Hi all,
> > I'm using Lyx with AMS and I want to state a theorem in one of my main
> > sections, but prove it in one of the appendices.
> > That is, I want to have "Theroem 5: something something" in the paper
> > itself, and "Theorem 5: something something. Proof: something other" in
> the
> > appendix, and the thing is, I can't get both theorems declarations to
> have
> > the same number.
> > Any ideas?
> >
> >
> > Hope you can help me with this, I looked and googled and found nothing
> > (probably used the wrong key words),
> > Thanks,
> > nadiv.
> >
>
>
>
> --
> Ernesto Posse
> Modelling, Simulation and Design Lab - School of Computer Science
> McGill University - Montreal, Quebec, Canada
> url: http://moncs.cs.mcgill.ca/people/eposse
>