Re: Consecutive math environments

2007-01-15 Thread Richard Heck
Marc Vinyals wrote:
 Hi,

 I want to have two instances of the same math environment without
 separation. Eg:

 Definition 1.3 (foo)
 Definition 1.4 (foo2)

 However, the two definitions merge into a single one. This can be very
 handy in some situations, but it's not what I'm looking for. I googled
 and found this was already a problem in LyX 1.1's days, and it can be
 solved by inserting some dummy environment (LyX-Note) between.

 Has any better solution been developed?
I think enhancement requests have been filed along these lines, but I
don't know their status.

Richard

-- 
==
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://bobjweil.com/heck/
==
Get my public key from http://sks.keyserver.penguin.de
Hash: 0x1DE91F1E66FFBDEC
Learn how to sign your email using Thunderbird and GnuPG at:
http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto



Re: Consecutive math environments

2007-01-15 Thread A S Hodel
This is handled in the beamer class with a separator.  I haven't  
looked at the structure of this command to see how it works; I ought  
to, though, because I've had the same frustration as you.


One workaround: put a \par command in ERT in a Standard  
environment between the two definitions.  I don't know how that will  
change spacing between the environments in the printed document, but  
it should achieve the desired effect.


Yours,

A S Hodel

On Jan 15, 2007, at 10:09 AM, Richard Heck wrote:


Marc Vinyals wrote:

Hi,

I want to have two instances of the same math environment without
separation. Eg:

Definition 1.3 (foo)
Definition 1.4 (foo2)

However, the two definitions merge into a single one. This can be  
very
handy in some situations, but it's not what I'm looking for. I  
googled

and found this was already a problem in LyX 1.1's days, and it can be
solved by inserting some dummy environment (LyX-Note) between.

Has any better solution been developed?

I think enhancement requests have been filed along these lines, but I
don't know their status.

Richard

--
==
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://bobjweil.com/heck/
==
Get my public key from http://sks.keyserver.penguin.de
Hash: 0x1DE91F1E66FFBDEC
Learn how to sign your email using Thunderbird and GnuPG at:
http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto





Re: Consecutive math environments

2007-01-15 Thread Paul A. Rubin

A S Hodel wrote:
One workaround: put a \par command in ERT in a Standard environment 
between the two definitions.  I don't know how that will change spacing 
between the environments in the printed document, but it should achieve 
the desired effect.




If you leave the ERT box empty, you get the separation effect without 
changing spacing.


/Paul



Re: Consecutive math environments

2007-01-15 Thread Jean-Pierre Chretien

Cc: lyx-users@lists.lyx.org
From: A S Hodel [EMAIL PROTECTED]
Subject: Re: Consecutive math environments
Date: Mon, 15 Jan 2007 11:28:51 -0600
To: [EMAIL PROTECTED]
X-Brightmail-Tracker: AA==
X-Brightmail-scanned: yes

This is handled in the beamer class with a separator.  I haven't  
looked at the structure of this command to see how it works; I ought  
to, though, because I've had the same frustration as you.

As far as I understand the layout dialect, it offers exactly the workaround 
below:

cite
# Separator style definition
Style Separator
  LatexType Paragraph
  LatexName dummy
  ParIndent MM
  ParSkip   0.4
  Align Left
  AlignPossible Block, Left, Right, Center
  MarginFirst_Dynamic
  TopSep0
  BottomSep 0
  ParSep0
  LabelType Static
  LabelBottomSep0
  LabelString   ___
  KeepEmpty 1

  LabelFont 
Series  Medium
SizeNormal
Color   latex
  EndFont
End
/cite


One workaround: put a \par command in ERT in a Standard  
environment between the two definitions.  I don't know how that will  
change spacing between the environments in the printed document, but  
it should achieve the desired effect.

Could be added to the basic styles, until this separation problem is
solved (1.5 ?)

-- 
Jean-Pierre



Re: Consecutive math environments

2007-01-15 Thread Richard Heck
Marc Vinyals wrote:
 Hi,

 I want to have two instances of the same math environment without
 separation. Eg:

 Definition 1.3 (foo)
 Definition 1.4 (foo2)

 However, the two definitions merge into a single one. This can be very
 handy in some situations, but it's not what I'm looking for. I googled
 and found this was already a problem in LyX 1.1's days, and it can be
 solved by inserting some dummy environment (LyX-Note) between.

 Has any better solution been developed?
I think enhancement requests have been filed along these lines, but I
don't know their status.

Richard

-- 
==
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://bobjweil.com/heck/
==
Get my public key from http://sks.keyserver.penguin.de
Hash: 0x1DE91F1E66FFBDEC
Learn how to sign your email using Thunderbird and GnuPG at:
http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto



Re: Consecutive math environments

2007-01-15 Thread A S Hodel
This is handled in the beamer class with a separator.  I haven't  
looked at the structure of this command to see how it works; I ought  
to, though, because I've had the same frustration as you.


One workaround: put a \par command in ERT in a Standard  
environment between the two definitions.  I don't know how that will  
change spacing between the environments in the printed document, but  
it should achieve the desired effect.


Yours,

A S Hodel

On Jan 15, 2007, at 10:09 AM, Richard Heck wrote:


Marc Vinyals wrote:

Hi,

I want to have two instances of the same math environment without
separation. Eg:

Definition 1.3 (foo)
Definition 1.4 (foo2)

However, the two definitions merge into a single one. This can be  
very
handy in some situations, but it's not what I'm looking for. I  
googled

and found this was already a problem in LyX 1.1's days, and it can be
solved by inserting some dummy environment (LyX-Note) between.

Has any better solution been developed?

I think enhancement requests have been filed along these lines, but I
don't know their status.

Richard

--
==
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://bobjweil.com/heck/
==
Get my public key from http://sks.keyserver.penguin.de
Hash: 0x1DE91F1E66FFBDEC
Learn how to sign your email using Thunderbird and GnuPG at:
http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto





Re: Consecutive math environments

2007-01-15 Thread Paul A. Rubin

A S Hodel wrote:
One workaround: put a \par command in ERT in a Standard environment 
between the two definitions.  I don't know how that will change spacing 
between the environments in the printed document, but it should achieve 
the desired effect.




If you leave the ERT box empty, you get the separation effect without 
changing spacing.


/Paul



Re: Consecutive math environments

2007-01-15 Thread Jean-Pierre Chretien

Cc: lyx-users@lists.lyx.org
From: A S Hodel [EMAIL PROTECTED]
Subject: Re: Consecutive math environments
Date: Mon, 15 Jan 2007 11:28:51 -0600
To: [EMAIL PROTECTED]
X-Brightmail-Tracker: AA==
X-Brightmail-scanned: yes

This is handled in the beamer class with a separator.  I haven't  
looked at the structure of this command to see how it works; I ought  
to, though, because I've had the same frustration as you.

As far as I understand the layout dialect, it offers exactly the workaround 
below:

cite
# Separator style definition
Style Separator
  LatexType Paragraph
  LatexName dummy
  ParIndent MM
  ParSkip   0.4
  Align Left
  AlignPossible Block, Left, Right, Center
  MarginFirst_Dynamic
  TopSep0
  BottomSep 0
  ParSep0
  LabelType Static
  LabelBottomSep0
  LabelString   ___
  KeepEmpty 1

  LabelFont 
Series  Medium
SizeNormal
Color   latex
  EndFont
End
/cite


One workaround: put a \par command in ERT in a Standard  
environment between the two definitions.  I don't know how that will  
change spacing between the environments in the printed document, but  
it should achieve the desired effect.

Could be added to the basic styles, until this separation problem is
solved (1.5 ?)

-- 
Jean-Pierre



Re: Consecutive math environments

2007-01-15 Thread Richard Heck
Marc Vinyals wrote:
> Hi,
>
> I want to have two instances of the same math environment without
> separation. Eg:
>
> Definition 1.3 (foo)
> Definition 1.4 (foo2)
>
> However, the two definitions merge into a single one. This can be very
> handy in some situations, but it's not what I'm looking for. I googled
> and found this was already a problem in LyX 1.1's days, and it can be
> solved by inserting some dummy environment (LyX-Note) between.
>
> Has any better solution been developed?
I think enhancement requests have been filed along these lines, but I
don't know their status.

Richard

-- 
==
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://bobjweil.com/heck/
==
Get my public key from http://sks.keyserver.penguin.de
Hash: 0x1DE91F1E66FFBDEC
Learn how to sign your email using Thunderbird and GnuPG at:
http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto



Re: Consecutive math environments

2007-01-15 Thread A S Hodel
This is handled in the beamer class with a "separator."  I haven't  
looked at the structure of this command to see how it works; I ought  
to, though, because I've had the same frustration as you.


One workaround: put a "\par" command in ERT in a "Standard"  
environment between the two definitions.  I don't know how that will  
change spacing between the environments in the printed document, but  
it should achieve the desired effect.


Yours,

A S Hodel

On Jan 15, 2007, at 10:09 AM, Richard Heck wrote:


Marc Vinyals wrote:

Hi,

I want to have two instances of the same math environment without
separation. Eg:

Definition 1.3 (foo)
Definition 1.4 (foo2)

However, the two definitions merge into a single one. This can be  
very
handy in some situations, but it's not what I'm looking for. I  
googled

and found this was already a problem in LyX 1.1's days, and it can be
solved by inserting some dummy environment (LyX-Note) between.

Has any better solution been developed?

I think enhancement requests have been filed along these lines, but I
don't know their status.

Richard

--
==
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://bobjweil.com/heck/
==
Get my public key from http://sks.keyserver.penguin.de
Hash: 0x1DE91F1E66FFBDEC
Learn how to sign your email using Thunderbird and GnuPG at:
http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto





Re: Consecutive math environments

2007-01-15 Thread Paul A. Rubin

A S Hodel wrote:
One workaround: put a "\par" command in ERT in a "Standard" environment 
between the two definitions.  I don't know how that will change spacing 
between the environments in the printed document, but it should achieve 
the desired effect.




If you leave the ERT box empty, you get the separation effect without 
changing spacing.


/Paul



Re: Consecutive math environments

2007-01-15 Thread Jean-Pierre Chretien

>>Cc: lyx-users@lists.lyx.org
>>From: A S Hodel <[EMAIL PROTECTED]>
>>Subject: Re: Consecutive math environments
>>Date: Mon, 15 Jan 2007 11:28:51 -0600
>>To: [EMAIL PROTECTED]
>>X-Brightmail-Tracker: AA==
>>X-Brightmail-scanned: yes
>>
>>This is handled in the beamer class with a "separator."  I haven't  
>>looked at the structure of this command to see how it works; I ought  
>>to, though, because I've had the same frustration as you.

As far as I understand the layout dialect, it offers exactly the workaround 
below:


# Separator style definition
Style Separator
  LatexType Paragraph
  LatexName dummy
  ParIndent MM
  ParSkip   0.4
  Align Left
  AlignPossible Block, Left, Right, Center
  MarginFirst_Dynamic
  TopSep0
  BottomSep 0
  ParSep0
  LabelType Static
  LabelBottomSep0
  LabelString   "___"
  KeepEmpty 1

  LabelFont 
Series  Medium
SizeNormal
Color   latex
  EndFont
End


>>
>>One workaround: put a "\par" command in ERT in a "Standard"  
>>environment between the two definitions.  I don't know how that will  
>>change spacing between the environments in the printed document, but  
>>it should achieve the desired effect.

Could be added to the basic styles, until this separation problem is
solved (1.5 ?)

-- 
Jean-Pierre



Consecutive math environments

2007-01-14 Thread Marc Vinyals
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

I want to have two instances of the same math environment without
separation. Eg:

Definition 1.3 (foo)
Definition 1.4 (foo2)

However, the two definitions merge into a single one. This can be very
handy in some situations, but it's not what I'm looking for. I googled
and found this was already a problem in LyX 1.1's days, and it can be
solved by inserting some dummy environment (LyX-Note) between.

Has any better solution been developed?

Thanks.
Marc.
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFqmcku4rFT+k3kmQRAj08AKCevd6TbTe2wSHLburRWLCZFx35kgCfXOF7
+zSblUu4Zg4OPyMEg35plUA=
=TX8A
-END PGP SIGNATURE-


Consecutive math environments

2007-01-14 Thread Marc Vinyals
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

I want to have two instances of the same math environment without
separation. Eg:

Definition 1.3 (foo)
Definition 1.4 (foo2)

However, the two definitions merge into a single one. This can be very
handy in some situations, but it's not what I'm looking for. I googled
and found this was already a problem in LyX 1.1's days, and it can be
solved by inserting some dummy environment (LyX-Note) between.

Has any better solution been developed?

Thanks.
Marc.
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFqmcku4rFT+k3kmQRAj08AKCevd6TbTe2wSHLburRWLCZFx35kgCfXOF7
+zSblUu4Zg4OPyMEg35plUA=
=TX8A
-END PGP SIGNATURE-


Consecutive math environments

2007-01-14 Thread Marc Vinyals
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

I want to have two instances of the same math environment without
separation. Eg:

Definition 1.3 (foo)
Definition 1.4 (foo2)

However, the two definitions merge into a single one. This can be very
handy in some situations, but it's not what I'm looking for. I googled
and found this was already a problem in LyX 1.1's days, and it can be
solved by inserting some dummy environment (LyX-Note) between.

Has any better solution been developed?

Thanks.
Marc.
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFqmcku4rFT+k3kmQRAj08AKCevd6TbTe2wSHLburRWLCZFx35kgCfXOF7
+zSblUu4Zg4OPyMEg35plUA=
=TX8A
-END PGP SIGNATURE-