RE: how to insert a theorem?

2008-03-05 Thread Daniel CLEMENT
Thank you, I can see them now. It had not occurred to me that this setting
could be applied _after_ the document being created. I'm switching to LyX
from SW; in the latter, it's much   easier to choose the class once and for
all at the beginning.

 -Original Message-
 From: news [mailto:[EMAIL PROTECTED] Behalf Of Paul A. Rubin
 Sent: Tuesday, March 04, 2008 3:59 PM
 To: lyx-users@lists.lyx.org
 Subject: Re: how to insert a theorem?


[...]
 

 I think I was using it in LyX 1.3.x; I know I was in 1.4.x.  In Document
 - Settings... - Document class, pick from:  article (AMS); article
 (AMS, sequential numbering); article (AMS, unnumbered); or (if you're
 really wordy) book (AMS).  The differences among the article classes
 have to do with how theorem-like things are numbered.  All three have
 theorems, lemmas, corollaries etc. on the environment list.

However, there are also differences in the display of section titles.


 The four AMS layout files load a bunch of include files that define all
 these things and tell LyX how to display and number them.  Richard Heck
 indicated that, in LyX 1.6, we'll be able to plug those modules into
 other classes.

 /Paul

Then I'll wait for 1.6 even more eagerly.

One small remark: in an AMS class, the drop-down list becomes quite
cluttered. Possibly, it will be possible to customize (reduce) it by editing
a proper configuration file.

But what about 2 or more drop-down lists: one for sectioning, one for
theorems, or text styles... Just an idea.

Daniel




Re: how to insert a theorem?

2008-03-05 Thread Richard Heck



One small remark: in an AMS class, the drop-down list becomes quite
cluttered. Possibly, it will be possible to customize (reduce) it by editing
a proper configuration file.

But what about 2 or more drop-down lists: one for sectioning, one for
theorems, or text styles... Just an idea.

  
Yes, this is a problem. 1.6 will address it in a few ways: (i) the 
theorem modules are split up a bit; there's one for basic stuff and 
one for extra stuff, so at least there are fewer; (ii) Stefan 
Schimanski has just implemented a search by typing feature, so if you 
type sub, you just see the ones starting with sub; (iii) he and I 
are working on introducing categories of layouts, which may make 
something like your second suggestion posible.


rh



Re: how to insert a theorem?

2008-03-05 Thread Jean-Marc Lasgouttes
Daniel CLEMENT [EMAIL PROTECTED] writes:

 One small remark: in an AMS class, the drop-down list becomes quite
 cluttered. Possibly, it will be possible to customize (reduce) it by editing
 a proper configuration file.

 But what about 2 or more drop-down lists: one for sectioning, one for
 theorems, or text styles... Just an idea.

Or rather a hierarchical menu, maybe. One cannot have the first box
set to Theorem and the second one to Section, it does not make sense.

JMarc


RE: how to insert a theorem?

2008-03-05 Thread Daniel CLEMENT
Thank you, I can see them now. It had not occurred to me that this setting
could be applied _after_ the document being created. I'm switching to LyX
from SW; in the latter, it's much   easier to choose the class once and for
all at the beginning.

 -Original Message-
 From: news [mailto:[EMAIL PROTECTED] Behalf Of Paul A. Rubin
 Sent: Tuesday, March 04, 2008 3:59 PM
 To: lyx-users@lists.lyx.org
 Subject: Re: how to insert a theorem?


[...]
 

 I think I was using it in LyX 1.3.x; I know I was in 1.4.x.  In Document
 - Settings... - Document class, pick from:  article (AMS); article
 (AMS, sequential numbering); article (AMS, unnumbered); or (if you're
 really wordy) book (AMS).  The differences among the article classes
 have to do with how theorem-like things are numbered.  All three have
 theorems, lemmas, corollaries etc. on the environment list.

However, there are also differences in the display of section titles.


 The four AMS layout files load a bunch of include files that define all
 these things and tell LyX how to display and number them.  Richard Heck
 indicated that, in LyX 1.6, we'll be able to plug those modules into
 other classes.

 /Paul

Then I'll wait for 1.6 even more eagerly.

One small remark: in an AMS class, the drop-down list becomes quite
cluttered. Possibly, it will be possible to customize (reduce) it by editing
a proper configuration file.

But what about 2 or more drop-down lists: one for sectioning, one for
theorems, or text styles... Just an idea.

Daniel




Re: how to insert a theorem?

2008-03-05 Thread Richard Heck



One small remark: in an AMS class, the drop-down list becomes quite
cluttered. Possibly, it will be possible to customize (reduce) it by editing
a proper configuration file.

But what about 2 or more drop-down lists: one for sectioning, one for
theorems, or text styles... Just an idea.

  
Yes, this is a problem. 1.6 will address it in a few ways: (i) the 
theorem modules are split up a bit; there's one for basic stuff and 
one for extra stuff, so at least there are fewer; (ii) Stefan 
Schimanski has just implemented a search by typing feature, so if you 
type sub, you just see the ones starting with sub; (iii) he and I 
are working on introducing categories of layouts, which may make 
something like your second suggestion posible.


rh



Re: how to insert a theorem?

2008-03-05 Thread Jean-Marc Lasgouttes
Daniel CLEMENT [EMAIL PROTECTED] writes:

 One small remark: in an AMS class, the drop-down list becomes quite
 cluttered. Possibly, it will be possible to customize (reduce) it by editing
 a proper configuration file.

 But what about 2 or more drop-down lists: one for sectioning, one for
 theorems, or text styles... Just an idea.

Or rather a hierarchical menu, maybe. One cannot have the first box
set to Theorem and the second one to Section, it does not make sense.

JMarc


RE: how to insert a theorem?

2008-03-05 Thread Daniel CLEMENT
Thank you, I can see them now. It had not occurred to me that this setting
could be applied _after_ the document being created. I'm switching to LyX
from SW; in the latter, it's much   easier to choose the class once and for
all at the beginning.

> -Original Message-
> From: news [mailto:[EMAIL PROTECTED] Behalf Of Paul A. Rubin
> Sent: Tuesday, March 04, 2008 3:59 PM
> To: lyx-users@lists.lyx.org
> Subject: Re: how to insert a theorem?
>
>
[...]
> >
>
> I think I was using it in LyX 1.3.x; I know I was in 1.4.x.  In Document
> -> Settings... -> Document class, pick from:  article (AMS); article
> (AMS, sequential numbering); article (AMS, unnumbered); or (if you're
> really wordy) book (AMS).  The differences among the article classes
> have to do with how theorem-like things are numbered.  All three have
> theorems, lemmas, corollaries etc. on the environment list.

However, there are also differences in the display of section titles.

>
> The four AMS layout files load a bunch of include files that define all
> these things and tell LyX how to display and number them.  Richard Heck
> indicated that, in LyX 1.6, we'll be able to plug those modules into
> other classes.
>
> /Paul

Then I'll wait for 1.6 even more eagerly.

One small remark: in an AMS class, the drop-down list becomes quite
cluttered. Possibly, it will be possible to customize (reduce) it by editing
a proper configuration file.

But what about 2 or more drop-down lists: one for sectioning, one for
theorems, or text styles... Just an idea.

Daniel




Re: how to insert a theorem?

2008-03-05 Thread Richard Heck



One small remark: in an AMS class, the drop-down list becomes quite
cluttered. Possibly, it will be possible to customize (reduce) it by editing
a proper configuration file.

But what about 2 or more drop-down lists: one for sectioning, one for
theorems, or text styles... Just an idea.

  
Yes, this is a problem. 1.6 will address it in a few ways: (i) the 
theorem modules are split up a bit; there's one for "basic" stuff and 
one for "extra" stuff, so at least there are fewer; (ii) Stefan 
Schimanski has just implemented a "search by typing" feature, so if you 
type "sub", you just see the ones starting with "sub"; (iii) he and I 
are working on introducing "categories" of layouts, which may make 
something like your second suggestion posible.


rh



Re: how to insert a theorem?

2008-03-05 Thread Jean-Marc Lasgouttes
"Daniel CLEMENT" <[EMAIL PROTECTED]> writes:

> One small remark: in an AMS class, the drop-down list becomes quite
> cluttered. Possibly, it will be possible to customize (reduce) it by editing
> a proper configuration file.
>
> But what about 2 or more drop-down lists: one for sectioning, one for
> theorems, or text styles... Just an idea.

Or rather a hierarchical menu, maybe. One cannot have the first box
set to Theorem and the second one to Section, it does not make sense.

JMarc


RE: how to insert a theorem?

2008-03-04 Thread Daniel CLEMENT
Hello,

 -Original Message-
 From: news [mailto:[EMAIL PROTECTED] Behalf Of Paul A. Rubin
 Sent: Sunday, March 02, 2008 7:56 PM
 To: lyx-users@lists.lyx.org
 Subject: Re: how to insert a theorem?


[...]

 If you are using one of the AMS classes, just start a new paragraph,
 then click the drop down list of environments (left-most widget in the
 first tool bar, or M-p space to open it from the keyboard), and click on
 Theorem.

 /Paul


Is this a recent addition to LyX? I'd like to insert theorem-like
environments this way, but I can't do it. E.g., what AMS class do I have
to use, to see theorem in the drop-down list?

Daniel




Re: how to insert a theorem?

2008-03-04 Thread Paul A. Rubin

Daniel CLEMENT wrote:


If you are using one of the AMS classes, just start a new paragraph,
then click the drop down list of environments (left-most widget in the
first tool bar, or M-p space to open it from the keyboard), and click on
Theorem.



Is this a recent addition to LyX? I'd like to insert theorem-like
environments this way, but I can't do it. E.g., what AMS class do I have
to use, to see theorem in the drop-down list?



I think I was using it in LyX 1.3.x; I know I was in 1.4.x.  In Document 
- Settings... - Document class, pick from:  article (AMS); article 
(AMS, sequential numbering); article (AMS, unnumbered); or (if you're 
really wordy) book (AMS).  The differences among the article classes 
have to do with how theorem-like things are numbered.  All three have 
theorems, lemmas, corollaries etc. on the environment list.


The four AMS layout files load a bunch of include files that define all 
these things and tell LyX how to display and number them.  Richard Heck 
indicated that, in LyX 1.6, we'll be able to plug those modules into 
other classes.


/Paul



Re: how to insert a theorem?

2008-03-04 Thread rgheck


The four AMS layout files load a bunch of include files that define 
all these things and tell LyX how to display and number them.  Richard 
Heck indicated that, in LyX 1.6, we'll be able to plug those modules 
into other classes.



Yes, that's right.

An alpha of 1.6 should be out pretty soon, if you want to have a peek.

rh



RE: how to insert a theorem?

2008-03-04 Thread Daniel CLEMENT
Hello,

 -Original Message-
 From: news [mailto:[EMAIL PROTECTED] Behalf Of Paul A. Rubin
 Sent: Sunday, March 02, 2008 7:56 PM
 To: lyx-users@lists.lyx.org
 Subject: Re: how to insert a theorem?


[...]

 If you are using one of the AMS classes, just start a new paragraph,
 then click the drop down list of environments (left-most widget in the
 first tool bar, or M-p space to open it from the keyboard), and click on
 Theorem.

 /Paul


Is this a recent addition to LyX? I'd like to insert theorem-like
environments this way, but I can't do it. E.g., what AMS class do I have
to use, to see theorem in the drop-down list?

Daniel




Re: how to insert a theorem?

2008-03-04 Thread Paul A. Rubin

Daniel CLEMENT wrote:


If you are using one of the AMS classes, just start a new paragraph,
then click the drop down list of environments (left-most widget in the
first tool bar, or M-p space to open it from the keyboard), and click on
Theorem.



Is this a recent addition to LyX? I'd like to insert theorem-like
environments this way, but I can't do it. E.g., what AMS class do I have
to use, to see theorem in the drop-down list?



I think I was using it in LyX 1.3.x; I know I was in 1.4.x.  In Document 
- Settings... - Document class, pick from:  article (AMS); article 
(AMS, sequential numbering); article (AMS, unnumbered); or (if you're 
really wordy) book (AMS).  The differences among the article classes 
have to do with how theorem-like things are numbered.  All three have 
theorems, lemmas, corollaries etc. on the environment list.


The four AMS layout files load a bunch of include files that define all 
these things and tell LyX how to display and number them.  Richard Heck 
indicated that, in LyX 1.6, we'll be able to plug those modules into 
other classes.


/Paul



Re: how to insert a theorem?

2008-03-04 Thread rgheck


The four AMS layout files load a bunch of include files that define 
all these things and tell LyX how to display and number them.  Richard 
Heck indicated that, in LyX 1.6, we'll be able to plug those modules 
into other classes.



Yes, that's right.

An alpha of 1.6 should be out pretty soon, if you want to have a peek.

rh



RE: how to insert a theorem?

2008-03-04 Thread Daniel CLEMENT
Hello,

> -Original Message-
> From: news [mailto:[EMAIL PROTECTED] Behalf Of Paul A. Rubin
> Sent: Sunday, March 02, 2008 7:56 PM
> To: lyx-users@lists.lyx.org
> Subject: Re: how to insert a theorem?
>
>
[...]
>
> If you are using one of the AMS classes, just start a new paragraph,
> then click the drop down list of environments (left-most widget in the
> first tool bar, or M-p space to open it from the keyboard), and click on
> Theorem.
>
> /Paul
>

Is this a recent addition to LyX? I'd like to insert theorem-like
environments this way, but I can't do it. E.g., what "AMS class" do I have
to use, to see "theorem" in the drop-down list?

Daniel




Re: how to insert a theorem?

2008-03-04 Thread Paul A. Rubin

Daniel CLEMENT wrote:


If you are using one of the AMS classes, just start a new paragraph,
then click the drop down list of environments (left-most widget in the
first tool bar, or M-p space to open it from the keyboard), and click on
Theorem.



Is this a recent addition to LyX? I'd like to insert theorem-like
environments this way, but I can't do it. E.g., what "AMS class" do I have
to use, to see "theorem" in the drop-down list?



I think I was using it in LyX 1.3.x; I know I was in 1.4.x.  In Document 
-> Settings... -> Document class, pick from:  article (AMS); article 
(AMS, sequential numbering); article (AMS, unnumbered); or (if you're 
really wordy) book (AMS).  The differences among the article classes 
have to do with how theorem-like things are numbered.  All three have 
theorems, lemmas, corollaries etc. on the environment list.


The four AMS layout files load a bunch of include files that define all 
these things and tell LyX how to display and number them.  Richard Heck 
indicated that, in LyX 1.6, we'll be able to plug those modules into 
other classes.


/Paul



Re: how to insert a theorem?

2008-03-04 Thread rgheck


The four AMS layout files load a bunch of include files that define 
all these things and tell LyX how to display and number them.  Richard 
Heck indicated that, in LyX 1.6, we'll be able to plug those modules 
into other classes.



Yes, that's right.

An alpha of 1.6 should be out pretty soon, if you want to have a peek.

rh



how to insert a theorem?

2008-03-02 Thread Viktor Nagy
Hello,

Sorry for this stupid question, but I can't manage inserting a theorem.

I already switched my document to ams-seq, I read around the wiki, etc, but
simply I can't find out how to insert a theorem/example/whatever environment
to a LyX file.

I am a long time LaTeX user, so ERT would work, but I would like to avoid it
in order to learn LyX properly. I would like to know at least the click
this many, then that way, but it would be better if it would come together
with a shortcut.

I would like to know as well, what is the lightest document class that is
sufficient for a theorem. (I prefer the modularity of LaTeX a lot, and don't
want to use ams-seq all the time.) Is it possible to include layouts at
runtime, like packages? (runtime = I mean defined in the document's
properties.) If yes what should I include? (I think ams-seq.inc would
suffice, but don't know.)

Thanks for your help!
Viktor


Re: how to insert a theorem?

2008-03-02 Thread Paul A. Rubin

Viktor Nagy wrote:

Hello,

Sorry for this stupid question, but I can't manage inserting a theorem.

I already switched my document to ams-seq, I read around the wiki, etc, but
simply I can't find out how to insert a theorem/example/whatever environment
to a LyX file.

I am a long time LaTeX user, so ERT would work, but I would like to avoid it
in order to learn LyX properly. I would like to know at least the click
this many, then that way, but it would be better if it would come together
with a shortcut.

I would like to know as well, what is the lightest document class that is
sufficient for a theorem. (I prefer the modularity of LaTeX a lot, and don't
want to use ams-seq all the time.) Is it possible to include layouts at
runtime, like packages? (runtime = I mean defined in the document's
properties.) If yes what should I include? (I think ams-seq.inc would
suffice, but don't know.)

Thanks for your help!
Viktor



If you are using one of the AMS classes, just start a new paragraph, 
then click the drop down list of environments (left-most widget in the 
first tool bar, or M-p space to open it from the keyboard), and click on 
Theorem.


/Paul



Re: how to insert a theorem?

2008-03-02 Thread Kenward Vaughan

On Sun, 2008-03-02 at 13:55 -0500, Paul A. Rubin wrote:
 Viktor Nagy wrote:
  Hello,
  
  Sorry for this stupid question, but I can't manage inserting a theorem.
...

 If you are using one of the AMS classes, just start a new paragraph, 
 then click the drop down list of environments (left-most widget in the 
 first tool bar, or M-p space to open it from the keyboard), and click on 
 Theorem.


Additionally, the short-cut keys should show up on the bottom bar the
moment you choose the environment (assuming one's been assigned)...


Kenward
-- 
The church says the earth is flat, but I know that it is round, for I
have seen the shadow on the moon, and I have more faith in a shadow than
in the church.--Ferdinand Magellan




Re: how to insert a theorem?

2008-03-02 Thread rgheck

Viktor Nagy wrote:

I would like to know as well, what is the lightest document class that is
sufficient for a theorem. (I prefer the modularity of LaTeX a lot, and don't
want to use ams-seq all the time.) Is it possible to include layouts at
runtime, like packages? If yes what should I include? (I think ams-seq.inc would
suffice, but don't know.)

  
In LyX 1.5, you can't include layouts at runtime. In 1.6, you will be 
able to do so. So e.g. you can use article and include various modules 
that define theorem environments.


In 1.5, you can kind of get this effect by editing the article layout, 
but this is not a runtime thing.


rh



how to insert a theorem?

2008-03-02 Thread Viktor Nagy
Hello,

Sorry for this stupid question, but I can't manage inserting a theorem.

I already switched my document to ams-seq, I read around the wiki, etc, but
simply I can't find out how to insert a theorem/example/whatever environment
to a LyX file.

I am a long time LaTeX user, so ERT would work, but I would like to avoid it
in order to learn LyX properly. I would like to know at least the click
this many, then that way, but it would be better if it would come together
with a shortcut.

I would like to know as well, what is the lightest document class that is
sufficient for a theorem. (I prefer the modularity of LaTeX a lot, and don't
want to use ams-seq all the time.) Is it possible to include layouts at
runtime, like packages? (runtime = I mean defined in the document's
properties.) If yes what should I include? (I think ams-seq.inc would
suffice, but don't know.)

Thanks for your help!
Viktor


Re: how to insert a theorem?

2008-03-02 Thread Paul A. Rubin

Viktor Nagy wrote:

Hello,

Sorry for this stupid question, but I can't manage inserting a theorem.

I already switched my document to ams-seq, I read around the wiki, etc, but
simply I can't find out how to insert a theorem/example/whatever environment
to a LyX file.

I am a long time LaTeX user, so ERT would work, but I would like to avoid it
in order to learn LyX properly. I would like to know at least the click
this many, then that way, but it would be better if it would come together
with a shortcut.

I would like to know as well, what is the lightest document class that is
sufficient for a theorem. (I prefer the modularity of LaTeX a lot, and don't
want to use ams-seq all the time.) Is it possible to include layouts at
runtime, like packages? (runtime = I mean defined in the document's
properties.) If yes what should I include? (I think ams-seq.inc would
suffice, but don't know.)

Thanks for your help!
Viktor



If you are using one of the AMS classes, just start a new paragraph, 
then click the drop down list of environments (left-most widget in the 
first tool bar, or M-p space to open it from the keyboard), and click on 
Theorem.


/Paul



Re: how to insert a theorem?

2008-03-02 Thread Kenward Vaughan

On Sun, 2008-03-02 at 13:55 -0500, Paul A. Rubin wrote:
 Viktor Nagy wrote:
  Hello,
  
  Sorry for this stupid question, but I can't manage inserting a theorem.
...

 If you are using one of the AMS classes, just start a new paragraph, 
 then click the drop down list of environments (left-most widget in the 
 first tool bar, or M-p space to open it from the keyboard), and click on 
 Theorem.


Additionally, the short-cut keys should show up on the bottom bar the
moment you choose the environment (assuming one's been assigned)...


Kenward
-- 
The church says the earth is flat, but I know that it is round, for I
have seen the shadow on the moon, and I have more faith in a shadow than
in the church.--Ferdinand Magellan




Re: how to insert a theorem?

2008-03-02 Thread rgheck

Viktor Nagy wrote:

I would like to know as well, what is the lightest document class that is
sufficient for a theorem. (I prefer the modularity of LaTeX a lot, and don't
want to use ams-seq all the time.) Is it possible to include layouts at
runtime, like packages? If yes what should I include? (I think ams-seq.inc would
suffice, but don't know.)

  
In LyX 1.5, you can't include layouts at runtime. In 1.6, you will be 
able to do so. So e.g. you can use article and include various modules 
that define theorem environments.


In 1.5, you can kind of get this effect by editing the article layout, 
but this is not a runtime thing.


rh



how to insert a theorem?

2008-03-02 Thread Viktor Nagy
Hello,

Sorry for this stupid question, but I can't manage inserting a theorem.

I already switched my document to ams-seq, I read around the wiki, etc, but
simply I can't find out how to insert a theorem/example/whatever environment
to a LyX file.

I am a long time LaTeX user, so ERT would work, but I would like to avoid it
in order to learn LyX properly. I would like to know at least the "click
this many, then that" way, but it would be better if it would come together
with a shortcut.

I would like to know as well, what is the lightest document class that is
sufficient for a theorem. (I prefer the modularity of LaTeX a lot, and don't
want to use ams-seq all the time.) Is it possible to include layouts at
runtime, like packages? (runtime = I mean defined in the document's
properties.) If yes what should I include? (I think ams-seq.inc would
suffice, but don't know.)

Thanks for your help!
Viktor


Re: how to insert a theorem?

2008-03-02 Thread Paul A. Rubin

Viktor Nagy wrote:

Hello,

Sorry for this stupid question, but I can't manage inserting a theorem.

I already switched my document to ams-seq, I read around the wiki, etc, but
simply I can't find out how to insert a theorem/example/whatever environment
to a LyX file.

I am a long time LaTeX user, so ERT would work, but I would like to avoid it
in order to learn LyX properly. I would like to know at least the "click
this many, then that" way, but it would be better if it would come together
with a shortcut.

I would like to know as well, what is the lightest document class that is
sufficient for a theorem. (I prefer the modularity of LaTeX a lot, and don't
want to use ams-seq all the time.) Is it possible to include layouts at
runtime, like packages? (runtime = I mean defined in the document's
properties.) If yes what should I include? (I think ams-seq.inc would
suffice, but don't know.)

Thanks for your help!
Viktor



If you are using one of the AMS classes, just start a new paragraph, 
then click the drop down list of environments (left-most widget in the 
first tool bar, or M-p space to open it from the keyboard), and click on 
Theorem.


/Paul



Re: how to insert a theorem?

2008-03-02 Thread Kenward Vaughan

On Sun, 2008-03-02 at 13:55 -0500, Paul A. Rubin wrote:
> Viktor Nagy wrote:
> > Hello,
> > 
> > Sorry for this stupid question, but I can't manage inserting a theorem.
...

> If you are using one of the AMS classes, just start a new paragraph, 
> then click the drop down list of environments (left-most widget in the 
> first tool bar, or M-p space to open it from the keyboard), and click on 
> Theorem.


Additionally, the short-cut keys should show up on the bottom bar the
moment you choose the environment (assuming one's been assigned)...


Kenward
-- 
The church says the earth is flat, but I know that it is round, for I
have seen the shadow on the moon, and I have more faith in a shadow than
in the church.--Ferdinand Magellan




Re: how to insert a theorem?

2008-03-02 Thread rgheck

Viktor Nagy wrote:

I would like to know as well, what is the lightest document class that is
sufficient for a theorem. (I prefer the modularity of LaTeX a lot, and don't
want to use ams-seq all the time.) Is it possible to include layouts at
runtime, like packages? If yes what should I include? (I think ams-seq.inc would
suffice, but don't know.)

  
In LyX 1.5, you can't include layouts at runtime. In 1.6, you will be 
able to do so. So e.g. you can use article and include various "modules" 
that define theorem environments.


In 1.5, you can kind of get this effect by editing the article layout, 
but this is not a runtime thing.


rh