Tex Code for a specific class type

2011-10-18 Thread Wei-Dong Lian
Hello, I have a small problem in using the pgf codes. In beamer, I need to define some animations operations, examples \only1-{pgf code}. However, for my article document, I do not want to invoke the animation operations codes. I wonder if we can determine the document type, if it is beamer, then

Re: Tex Code for a specific class type

2011-10-18 Thread Richard Heck
On 10/18/2011 01:18 PM, Wei-Dong Lian wrote: Hello, I have a small problem in using the pgf codes. In beamer, I need to define some animations operations, examples \only1-{pgf code}. However, for my article document, I do not want to invoke the animation operations codes. I wonder if we can

Re: Tex Code for a specific class type

2011-10-18 Thread Liviu Andronic
On Tue, Oct 18, 2011 at 7:18 PM, Wei-Dong Lian weidong.l...@gmail.com wrote: Hello, I have a small problem in using the pgf codes. In beamer, I need to define some animations operations, examples \only1-{pgf code}. However, for my article document, I do not want to invoke the animation

Re: Tex Code for a specific class type

2011-10-18 Thread Wei-Dong Lian
hi, Yes, you were right. I did not use beamer article but the ordinary article and elesvier article. Then I got error message. wd On Tue, Oct 18, 2011 at 8:41 PM, Liviu Andronic landronim...@gmail.comwrote: On Tue, Oct 18, 2011 at 7:18 PM, Wei-Dong Lian weidong.l...@gmail.com wrote: Hello,

Re: Tex Code for a specific class type

2011-10-18 Thread Wei-Dong Lian
hi Richard, Thanks a lot for your suggestion. The problem is that my pgf codes are generated in several external files. In this case, the branch can not be used, since I assume that branch is controlled by lyx not implemented by Tex code. I can employ the branch in my external files. weidong On

Tex Code for a specific class type

2011-10-18 Thread Wei-Dong Lian
Hello, I have a small problem in using the pgf codes. In beamer, I need to define some animations operations, examples \only1-{pgf code}. However, for my article document, I do not want to invoke the animation operations codes. I wonder if we can determine the document type, if it is beamer, then

Re: Tex Code for a specific class type

2011-10-18 Thread Richard Heck
On 10/18/2011 01:18 PM, Wei-Dong Lian wrote: Hello, I have a small problem in using the pgf codes. In beamer, I need to define some animations operations, examples \only1-{pgf code}. However, for my article document, I do not want to invoke the animation operations codes. I wonder if we can

Re: Tex Code for a specific class type

2011-10-18 Thread Liviu Andronic
On Tue, Oct 18, 2011 at 7:18 PM, Wei-Dong Lian weidong.l...@gmail.com wrote: Hello, I have a small problem in using the pgf codes. In beamer, I need to define some animations operations, examples \only1-{pgf code}. However, for my article document, I do not want to invoke the animation

Re: Tex Code for a specific class type

2011-10-18 Thread Wei-Dong Lian
hi, Yes, you were right. I did not use beamer article but the ordinary article and elesvier article. Then I got error message. wd On Tue, Oct 18, 2011 at 8:41 PM, Liviu Andronic landronim...@gmail.comwrote: On Tue, Oct 18, 2011 at 7:18 PM, Wei-Dong Lian weidong.l...@gmail.com wrote: Hello,

Re: Tex Code for a specific class type

2011-10-18 Thread Wei-Dong Lian
hi Richard, Thanks a lot for your suggestion. The problem is that my pgf codes are generated in several external files. In this case, the branch can not be used, since I assume that branch is controlled by lyx not implemented by Tex code. I can employ the branch in my external files. weidong On

Tex Code for a specific class type

2011-10-18 Thread Wei-Dong Lian
Hello, I have a small problem in using the pgf codes. In beamer, I need to define some animations operations, examples \only<1->{pgf code}. However, for my article document, I do not want to invoke the animation operations codes. I wonder if we can determine the document type, if it is beamer,

Re: Tex Code for a specific class type

2011-10-18 Thread Richard Heck
On 10/18/2011 01:18 PM, Wei-Dong Lian wrote: > Hello, > > I have a small problem in using the pgf codes. In beamer, I need to > define some animations operations, examples \only<1->{pgf code}. > However, for my article document, I do not want to invoke the > animation operations codes. I wonder if

Re: Tex Code for a specific class type

2011-10-18 Thread Liviu Andronic
On Tue, Oct 18, 2011 at 7:18 PM, Wei-Dong Lian wrote: > Hello, > I have a small problem in using the pgf codes. In beamer, I need to define > some animations operations, examples \only<1->{pgf code}. However, for my > article document, I do not want to invoke the animation

Re: Tex Code for a specific class type

2011-10-18 Thread Wei-Dong Lian
hi, Yes, you were right. I did not use beamer article but the ordinary article and elesvier article. Then I got error message. wd On Tue, Oct 18, 2011 at 8:41 PM, Liviu Andronic wrote: > On Tue, Oct 18, 2011 at 7:18 PM, Wei-Dong Lian > wrote: >

Re: Tex Code for a specific class type

2011-10-18 Thread Wei-Dong Lian
hi Richard, Thanks a lot for your suggestion. The problem is that my pgf codes are generated in several external files. In this case, the branch can not be used, since I assume that branch is controlled by lyx not implemented by Tex code. I can employ the branch in my external files. weidong On