Appendix numbering scheme for equations

2006-08-21 Thread Tomás Revilla

Could someone please point me how to get numbered equations in the
appendix like this: A.1, A.2, etc... while at the same time preserving
the default scheme for the main text.

The appendix is an independent appendix.lyx file in the same
directory as the main text article.lyx, both use the same
kommascript article class. The appendix sections are numbered corectly
(A.1, A.2, etc) but the equation numbers continue the sequence of the
main text. It doesn't make a difference if I include the appendix with
input or include option.

My LyX version in 1.3.4. Thanks,

Tomas


Re: Appendix numbering scheme for equations

2006-08-21 Thread Richard Heck

ERT at the beginning of the appendix:

\setcounter{equation}{0}
\renewcommand{\theequation}{A.\arabic{equation}}

I think the first line is right, but you'll know what to do if it's not.

Richard

Tomás Revilla wrote:
 Could someone please point me how to get numbered equations in the
 appendix like this: A.1, A.2, etc... while at the same time preserving
 the default scheme for the main text.

 The appendix is an independent appendix.lyx file in the same
 directory as the main text article.lyx, both use the same
 kommascript article class. The appendix sections are numbered corectly
 (A.1, A.2, etc) but the equation numbers continue the sequence of the
 main text. It doesn't make a difference if I include the appendix with
 input or include option.

 My LyX version in 1.3.4. Thanks,

 Tomas



Appendix numbering scheme for equations

2006-08-21 Thread Tomás Revilla

Could someone please point me how to get numbered equations in the
appendix like this: A.1, A.2, etc... while at the same time preserving
the default scheme for the main text.

The appendix is an independent appendix.lyx file in the same
directory as the main text article.lyx, both use the same
kommascript article class. The appendix sections are numbered corectly
(A.1, A.2, etc) but the equation numbers continue the sequence of the
main text. It doesn't make a difference if I include the appendix with
input or include option.

My LyX version in 1.3.4. Thanks,

Tomas


Re: Appendix numbering scheme for equations

2006-08-21 Thread Richard Heck

ERT at the beginning of the appendix:

\setcounter{equation}{0}
\renewcommand{\theequation}{A.\arabic{equation}}

I think the first line is right, but you'll know what to do if it's not.

Richard

Tomás Revilla wrote:
 Could someone please point me how to get numbered equations in the
 appendix like this: A.1, A.2, etc... while at the same time preserving
 the default scheme for the main text.

 The appendix is an independent appendix.lyx file in the same
 directory as the main text article.lyx, both use the same
 kommascript article class. The appendix sections are numbered corectly
 (A.1, A.2, etc) but the equation numbers continue the sequence of the
 main text. It doesn't make a difference if I include the appendix with
 input or include option.

 My LyX version in 1.3.4. Thanks,

 Tomas



Appendix numbering scheme for equations

2006-08-21 Thread Tomás Revilla

Could someone please point me how to get numbered equations in the
appendix like this: A.1, A.2, etc... while at the same time preserving
the default scheme for the main text.

The appendix is an independent "appendix.lyx" file in the same
directory as the main text "article.lyx", both use the same
kommascript article class. The appendix sections are numbered corectly
(A.1, A.2, etc) but the equation numbers continue the sequence of the
main text. It doesn't make a difference if I include the appendix with
"input" or "include" option.

My LyX version in 1.3.4. Thanks,

Tomas


Re: Appendix numbering scheme for equations

2006-08-21 Thread Richard Heck

ERT at the beginning of the appendix:

\setcounter{equation}{0}
\renewcommand{\theequation}{A.\arabic{equation}}

I think the first line is right, but you'll know what to do if it's not.

Richard

Tomás Revilla wrote:
> Could someone please point me how to get numbered equations in the
> appendix like this: A.1, A.2, etc... while at the same time preserving
> the default scheme for the main text.
>
> The appendix is an independent "appendix.lyx" file in the same
> directory as the main text "article.lyx", both use the same
> kommascript article class. The appendix sections are numbered corectly
> (A.1, A.2, etc) but the equation numbers continue the sequence of the
> main text. It doesn't make a difference if I include the appendix with
> "input" or "include" option.
>
> My LyX version in 1.3.4. Thanks,
>
> Tomas