Re: Unsupported math environments

2014-07-01 Thread Guenter Milde
On 2014-06-30, Jacob Bishop wrote:
 On Sun, Jun 29, 2014 at 1:52 AM, Georg Baum georg.b...@post.rwth-aachen.de
 wrote:


 Unfortunately it is not possible to use unsupported math environments
 in LyX without putting the whole formula in ERT or do some advanced
 macro tricks. 

This depends 

* on the type of math environment:

  It is possible to write \begin{foo}  \end{foo}, 
  
  it is possible to write \begin{foo}{c}  \end{foo} where the second
  opening bracket needs to be input as `Ctrl-l {`,
  
  but I did not find a way to write unescaped `` and `\` in math-mode.
  
* on the notation of advanced:

  if there is a compatible (in input requirements) math environment that
  LyX supports and that is not used in the document, a simple
  re-definition in the user-preable would do the trick.

 The reason for this is that the native LyX format for
 math formulas is LaTeX. This is implemented in such a way that
 _everything_ is parsed, so it is not possible to have a true ERT in
 mathed. The parser supports unknown commands somewhat (so they appear
 in red), but not environments.

 This is of course a problem and needs to be fixed, but up to now nobody
 worked on it. If it does not exist already please file a bug report at
 http://www.lyx.org/trac/wiki/BugTrackerHome to support unknown
 environments
 in math.

 I fully agree with Georg that it is not currently possible to use
 unsupported math environments in LyX without using ERT or macro tricks.
 I also agree that this is a problem that should be fixed (although I
 can't immediately think of an easy way to fix it)

As defining an array/multiline type of equation for LyX is a nontrivial
task, there will be no easy way. I can imagine several ways:

* simple hack: ERT for math: allow unescaped special characters like \ and 
  this would still provide a LyX-rendering for the normal content of the
  unsupported environment.

* Define math environments in LyX-layout rules instead of hard-coded. Then,
  a LyX-module can add support for new math environments.

* math-macro with inheritance: base math macros on existing commands and
  environments, allowing to change name and maybe some more aspects.
  
Günter  



Re: Unsupported math environments

2014-07-01 Thread Guenter Milde
On 2014-06-30, Jacob Bishop wrote:
 On Sun, Jun 29, 2014 at 1:52 AM, Georg Baum georg.b...@post.rwth-aachen.de
 wrote:


 Unfortunately it is not possible to use unsupported math environments
 in LyX without putting the whole formula in ERT or do some advanced
 macro tricks. 

This depends 

* on the type of math environment:

  It is possible to write \begin{foo}  \end{foo}, 
  
  it is possible to write \begin{foo}{c}  \end{foo} where the second
  opening bracket needs to be input as `Ctrl-l {`,
  
  but I did not find a way to write unescaped `` and `\` in math-mode.
  
* on the notation of advanced:

  if there is a compatible (in input requirements) math environment that
  LyX supports and that is not used in the document, a simple
  re-definition in the user-preable would do the trick.

 The reason for this is that the native LyX format for
 math formulas is LaTeX. This is implemented in such a way that
 _everything_ is parsed, so it is not possible to have a true ERT in
 mathed. The parser supports unknown commands somewhat (so they appear
 in red), but not environments.

 This is of course a problem and needs to be fixed, but up to now nobody
 worked on it. If it does not exist already please file a bug report at
 http://www.lyx.org/trac/wiki/BugTrackerHome to support unknown
 environments
 in math.

 I fully agree with Georg that it is not currently possible to use
 unsupported math environments in LyX without using ERT or macro tricks.
 I also agree that this is a problem that should be fixed (although I
 can't immediately think of an easy way to fix it)

As defining an array/multiline type of equation for LyX is a nontrivial
task, there will be no easy way. I can imagine several ways:

* simple hack: ERT for math: allow unescaped special characters like \ and 
  this would still provide a LyX-rendering for the normal content of the
  unsupported environment.

* Define math environments in LyX-layout rules instead of hard-coded. Then,
  a LyX-module can add support for new math environments.

* math-macro with inheritance: base math macros on existing commands and
  environments, allowing to change name and maybe some more aspects.
  
Günter  



Re: Unsupported math environments

2014-07-01 Thread Guenter Milde
On 2014-06-30, Jacob Bishop wrote:
> On Sun, Jun 29, 2014 at 1:52 AM, Georg Baum <georg.b...@post.rwth-aachen.de>
> wrote:


>> Unfortunately it is not possible to use unsupported math environments
>> in LyX without putting the whole formula in ERT or do some advanced
>> macro tricks. 

This depends 

* on the type of math environment:

  It is possible to write \begin{foo}  \end{foo}, 
  
  it is possible to write \begin{foo}{c}  \end{foo} where the second
  opening bracket needs to be input as `Ctrl-l {`,
  
  but I did not find a way to write unescaped `&` and `\` in math-mode.
  
* on the notation of "advanced":

  if there is a compatible (in input requirements) math environment that
  LyX supports and that is not used in the document, a simple
  re-definition in the user-preable would do the trick.

>> The reason for this is that the native LyX format for
>> math formulas is LaTeX. This is implemented in such a way that
>> _everything_ is parsed, so it is not possible to have a true ERT in
>> mathed. The parser supports unknown commands somewhat (so they appear
>> in red), but not environments.

>> This is of course a problem and needs to be fixed, but up to now nobody
>> worked on it. If it does not exist already please file a bug report at
>> http://www.lyx.org/trac/wiki/BugTrackerHome to support unknown
>> environments
>> in math.

> I fully agree with Georg that it is not currently possible to use
> unsupported math environments in LyX without using ERT or macro tricks.
> I also agree that this is a problem that should be fixed (although I
> can't immediately think of an easy way to fix it)

As defining an array/multiline type of equation for LyX is a nontrivial
task, there will be no easy way. I can imagine several ways:

* simple hack: ERT for math: allow unescaped special characters like \ and &
  this would still provide a LyX-rendering for the "normal" content of the
  unsupported environment.

* Define math environments in LyX-layout rules instead of hard-coded. Then,
  a LyX-module can add support for new math environments.

* math-macro with "inheritance": base math macros on existing commands and
  environments, allowing to change name and maybe some more aspects.
  
Günter  



Re: Unsupported math environments

2014-06-30 Thread Jacob Bishop
On Sun, Jun 29, 2014 at 1:52 AM, Georg Baum georg.b...@post.rwth-aachen.de
wrote:


 Unfortunately it is not possible to use unsupported math environments in
 LyX
 without putting the whole formula in ERT or do some advanced macro tricks.
 The reason for this is that the native LyX format for math formulas is
 LaTeX. This is implemented in such a way that _everything_ is parsed, so it
 is not possible to have a true ERT in mathed. The parser supports unknown
 commands somewhat (so they appear in red), but not environments.

 This is of course a problem and needs to be fixed, but up to now nobody
 worked on it. If it does not exist already please file a bug report at
 http://www.lyx.org/trac/wiki/BugTrackerHome to support unknown
 environments
 in math.


 Georg

 I fully agree with Georg that it is not currently possible to use
unsupported math
environments in LyX without using ERT or macro tricks. I also agree that
this is a
problem that should be fixed (although I can't immediately think of an easy
way to
fix it)...I was simply trying to help Rudi find a workaround that would
make life a bit
more pleasant given the limitations in LyX as it exists today (which is
much better
than using plain LaTeX, in my opinion).

Jacob


Re: Unsupported math environments

2014-06-30 Thread Jacob Bishop
On Sun, Jun 29, 2014 at 1:52 AM, Georg Baum georg.b...@post.rwth-aachen.de
wrote:


 Unfortunately it is not possible to use unsupported math environments in
 LyX
 without putting the whole formula in ERT or do some advanced macro tricks.
 The reason for this is that the native LyX format for math formulas is
 LaTeX. This is implemented in such a way that _everything_ is parsed, so it
 is not possible to have a true ERT in mathed. The parser supports unknown
 commands somewhat (so they appear in red), but not environments.

 This is of course a problem and needs to be fixed, but up to now nobody
 worked on it. If it does not exist already please file a bug report at
 http://www.lyx.org/trac/wiki/BugTrackerHome to support unknown
 environments
 in math.


 Georg

 I fully agree with Georg that it is not currently possible to use
unsupported math
environments in LyX without using ERT or macro tricks. I also agree that
this is a
problem that should be fixed (although I can't immediately think of an easy
way to
fix it)...I was simply trying to help Rudi find a workaround that would
make life a bit
more pleasant given the limitations in LyX as it exists today (which is
much better
than using plain LaTeX, in my opinion).

Jacob


Re: Unsupported math environments

2014-06-30 Thread Jacob Bishop
On Sun, Jun 29, 2014 at 1:52 AM, Georg Baum <georg.b...@post.rwth-aachen.de>
wrote:

>
> Unfortunately it is not possible to use unsupported math environments in
> LyX
> without putting the whole formula in ERT or do some advanced macro tricks.
> The reason for this is that the native LyX format for math formulas is
> LaTeX. This is implemented in such a way that _everything_ is parsed, so it
> is not possible to have a true ERT in mathed. The parser supports unknown
> commands somewhat (so they appear in red), but not environments.
>
> This is of course a problem and needs to be fixed, but up to now nobody
> worked on it. If it does not exist already please file a bug report at
> http://www.lyx.org/trac/wiki/BugTrackerHome to support unknown
> environments
> in math.
>
>
> Georg
>
> I fully agree with Georg that it is not currently possible to use
unsupported math
environments in LyX without using ERT or macro tricks. I also agree that
this is a
problem that should be fixed (although I can't immediately think of an easy
way to
fix it)...I was simply trying to help Rudi find a workaround that would
make life a bit
more pleasant given the limitations in LyX as it exists today (which is
much better
than using plain LaTeX, in my opinion).

Jacob


Re: Unsupported math environments

2014-06-29 Thread Georg Baum
Rudi Gaelzer wrote:

 What I want and need is a means to implement the math ENVIRONMENTS defined
 by the mathtools package and that are not explicitly supported by LyX.
 Specifically for multiline equations.  LyX supports the standard AMS inner
 and outer environments, such as align (outer) and aligned (inner). 
 However, multline is only an outer env in the standard AMSmath.  The
 mathtools pack defines the corresponding inner multlined environment, and
 it seems that there is no way to use it other than ERTing the math input
 (see attached file). I guess the same tweak can be applied in order to use
 the other new environments defined by mathtools, such as dcases, rcases,
 drcases, psmallmatrix, bsmallmatrix, etc.

Unfortunately it is not possible to use unsupported math environments in LyX 
without putting the whole formula in ERT or do some advanced macro tricks. 
The reason for this is that the native LyX format for math formulas is 
LaTeX. This is implemented in such a way that _everything_ is parsed, so it 
is not possible to have a true ERT in mathed. The parser supports unknown 
commands somewhat (so they appear in red), but not environments.

This is of course a problem and needs to be fixed, but up to now nobody 
worked on it. If it does not exist already please file a bug report at 
http://www.lyx.org/trac/wiki/BugTrackerHome to support unknown environments 
in math.


Georg




Re: Unsupported math environments

2014-06-29 Thread Georg Baum
Rudi Gaelzer wrote:

 What I want and need is a means to implement the math ENVIRONMENTS defined
 by the mathtools package and that are not explicitly supported by LyX.
 Specifically for multiline equations.  LyX supports the standard AMS inner
 and outer environments, such as align (outer) and aligned (inner). 
 However, multline is only an outer env in the standard AMSmath.  The
 mathtools pack defines the corresponding inner multlined environment, and
 it seems that there is no way to use it other than ERTing the math input
 (see attached file). I guess the same tweak can be applied in order to use
 the other new environments defined by mathtools, such as dcases, rcases,
 drcases, psmallmatrix, bsmallmatrix, etc.

Unfortunately it is not possible to use unsupported math environments in LyX 
without putting the whole formula in ERT or do some advanced macro tricks. 
The reason for this is that the native LyX format for math formulas is 
LaTeX. This is implemented in such a way that _everything_ is parsed, so it 
is not possible to have a true ERT in mathed. The parser supports unknown 
commands somewhat (so they appear in red), but not environments.

This is of course a problem and needs to be fixed, but up to now nobody 
worked on it. If it does not exist already please file a bug report at 
http://www.lyx.org/trac/wiki/BugTrackerHome to support unknown environments 
in math.


Georg




Re: Unsupported math environments

2014-06-29 Thread Georg Baum
Rudi Gaelzer wrote:

> What I want and need is a means to implement the math ENVIRONMENTS defined
> by the mathtools package and that are not explicitly supported by LyX.
> Specifically for multiline equations.  LyX supports the standard AMS inner
> and outer environments, such as align (outer) and aligned (inner). 
> However, multline is only an outer env in the standard AMSmath.  The
> mathtools pack defines the corresponding inner multlined environment, and
> it seems that there is no way to use it other than ERTing the math input
> (see attached file). I guess the same tweak can be applied in order to use
> the other new environments defined by mathtools, such as dcases, rcases,
> drcases, psmallmatrix, bsmallmatrix, etc.

Unfortunately it is not possible to use unsupported math environments in LyX 
without putting the whole formula in ERT or do some advanced macro tricks. 
The reason for this is that the native LyX format for math formulas is 
LaTeX. This is implemented in such a way that _everything_ is parsed, so it 
is not possible to have a true ERT in mathed. The parser supports unknown 
commands somewhat (so they appear in red), but not environments.

This is of course a problem and needs to be fixed, but up to now nobody 
worked on it. If it does not exist already please file a bug report at 
http://www.lyx.org/trac/wiki/BugTrackerHome to support unknown environments 
in math.


Georg




Fwd: Unsupported math environments

2014-06-28 Thread Jacob Bishop
Forgot to reply to lyx-users...sorry. Now including reply to list.

On Fri, Jun 27, 2014 at 11:41 AM, Rudi Gaelzer rudi.gael...@ufrgs.br
wrote:

 Dear Jacob.


 What I want and need is a means to implement the math ENVIRONMENTS defined
 by the mathtools package and that are not explicitly supported by LyX.
 Specifically for multiline equations.  LyX supports the standard AMS inner
 and outer environments, such as align (outer) and aligned (inner).
  However, multline is only an outer env in the standard AMSmath.  The
 mathtools pack defines the corresponding inner multlined environment, and
 it seems that there is no way to use it other than ERTing the math input
 (see attached file).


Hi Rudi,

It looks like I did indeed misunderstand your question initially. As you
demonstrated in your example file, it is indeed possible to use ERT to
accomplish what you wanted. The main thing (if I understand correctly now)
is that you would like to avoid the need to ERT math, which basically
defeats the purpose of LyX's math editing tools (and preview). I was able
accomplish what *I believe* you were looking for using the environ package.
Basically, you can re-define an environment. In the attached example, I
re-defined the multline* environment to use the multlined environment
instead. You could easily include a box if desired. See the attached
example. The magic is in the preamble:

\usepackage{environ}


\RenewEnviron{multline*}{%

   \begin{displaymath}

 \begin{multlined}

   \BODY

 \end{multlined}

   \end{displaymath}

}

I hope this helps,

Jacob


mathtoolsEnvironDemo.lyx
Description: application/lyx


Fwd: Unsupported math environments

2014-06-28 Thread Jacob Bishop
Forgot to reply to lyx-users...sorry. Now including reply to list.

On Fri, Jun 27, 2014 at 11:41 AM, Rudi Gaelzer rudi.gael...@ufrgs.br
wrote:

 Dear Jacob.


 What I want and need is a means to implement the math ENVIRONMENTS defined
 by the mathtools package and that are not explicitly supported by LyX.
 Specifically for multiline equations.  LyX supports the standard AMS inner
 and outer environments, such as align (outer) and aligned (inner).
  However, multline is only an outer env in the standard AMSmath.  The
 mathtools pack defines the corresponding inner multlined environment, and
 it seems that there is no way to use it other than ERTing the math input
 (see attached file).


Hi Rudi,

It looks like I did indeed misunderstand your question initially. As you
demonstrated in your example file, it is indeed possible to use ERT to
accomplish what you wanted. The main thing (if I understand correctly now)
is that you would like to avoid the need to ERT math, which basically
defeats the purpose of LyX's math editing tools (and preview). I was able
accomplish what *I believe* you were looking for using the environ package.
Basically, you can re-define an environment. In the attached example, I
re-defined the multline* environment to use the multlined environment
instead. You could easily include a box if desired. See the attached
example. The magic is in the preamble:

\usepackage{environ}


\RenewEnviron{multline*}{%

   \begin{displaymath}

 \begin{multlined}

   \BODY

 \end{multlined}

   \end{displaymath}

}

I hope this helps,

Jacob


mathtoolsEnvironDemo.lyx
Description: application/lyx


Fwd: Unsupported math environments

2014-06-28 Thread Jacob Bishop
Forgot to reply to lyx-users...sorry. Now including reply to list.

On Fri, Jun 27, 2014 at 11:41 AM, Rudi Gaelzer 
wrote:

> Dear Jacob.
>
>
> What I want and need is a means to implement the math ENVIRONMENTS defined
> by the mathtools package and that are not explicitly supported by LyX.
> Specifically for multiline equations.  LyX supports the standard AMS inner
> and outer environments, such as align (outer) and aligned (inner).
>  However, multline is only an outer env in the standard AMSmath.  The
> mathtools pack defines the corresponding inner multlined environment, and
> it seems that there is no way to use it other than ERTing the math input
> (see attached file).
>

Hi Rudi,

It looks like I did indeed misunderstand your question initially. As you
demonstrated in your example file, it is indeed possible to use ERT to
accomplish what you wanted. The main thing (if I understand correctly now)
is that you would like to avoid the need to ERT math, which basically
defeats the purpose of LyX's math editing tools (and preview). I was able
accomplish what *I believe* you were looking for using the environ package.
Basically, you can re-define an environment. In the attached example, I
re-defined the multline* environment to use the multlined environment
instead. You could easily include a box if desired. See the attached
example. The magic is in the preamble:

\usepackage{environ}


\RenewEnviron{multline*}{%

   \begin{displaymath}

 \begin{multlined}

   \BODY

 \end{multlined}

   \end{displaymath}

}

I hope this helps,

Jacob


mathtoolsEnvironDemo.lyx
Description: application/lyx


Re: Unsupported math environments

2014-06-27 Thread Rudi Gaelzer
Dear Jacob.
Thanks for the reply.
However, I think that the solution suggested by Guy Rutenberg will only work 
for math COMMANDS.  See the attached file, where I define a math macro \pFq in 
order to write the symbol for generalized hypergeometric functions.

What I want and need is a means to implement the math ENVIRONMENTS defined by 
the mathtools package and that are not explicitly supported by LyX.
Specifically for multiline equations.  LyX supports the standard AMS inner and 
outer environments, such as align (outer) and aligned (inner).  However, 
multline is only an outer env in the standard AMSmath.  The mathtools pack 
defines the corresponding inner multlined environment, and it seems that there 
is no way to use it other than ERTing the math input (see attached file).
I guess the same tweak can be applied in order to use the other new 
environments defined by mathtools, such as dcases, rcases, drcases, 
psmallmatrix, bsmallmatrix, etc.

The only other alternative I was able to find was this suggestion by Uwe Stôhr:
http://marc.info/?l=lyx-usersm=117565214529188w=2
which would demand some tweaking with the default spaces of the multline 
environment (see file).

I also tried to create first a tex file with

\[
 \begin{multlined}
  a = \\
  b
 \end{multlined}
\]

and then import it into LyX, but only the first line was used.  So, I guess 
multlined is indeed unsupported.

On Thursday 26 June 2014 21:45:37 you wrote:
 On Thu, Jun 26, 2014 at 6:52 AM, Rudi Gaelzer rgael...@gmail.com wrote:
 
  Using LyX 2.1.x, is it now possible to implement via ERT the
  still-unsupported capabilities of the mathtools package, such as the
  multlined (section 3.4.2), *smallmatrix (sec. 3.4.1) and *cases (sec.
  3.4.3) environments?
 
 
 I'm not sure I understand the question. What you wrote seems to imply that
 it was not previously possible to use the capabilities of the mathtools
 package via ERT. As far as I know, it has *always* (or maybe just for a
 very long time) been possible to use the capabilities of *any* LaTeX
 package via ERT (as long as it doesn't conflict with another package that
 is in use). For example, here is a post of someone using the mathtools
 package in LyX over two years ago:
 http://www.guyrutenberg.com/2009/05/13/displaying-non-builtin-math-macros-in-lyx/
 . As another example for one of your specific scenarios, here is a post
 from another person using the cases environment from mathtools:
 http://tex.stackexchange.com/questions/127417/cases-environment-makes-latex-hang
 .
 
 Why don't you try it, and if you have trouble, post the specific problem
 here? I hope this helps.
 
 Jacob
-- 
Rudi Gaelzer
Institute of Physics
Federal University of Rio Grande do Sul
BRAZIL
Registered linux user # 153741

pres.lyx
Description: application/lyx


Re: Unsupported math environments

2014-06-27 Thread Rudi Gaelzer
Dear Jacob.
Thanks for the reply.
However, I think that the solution suggested by Guy Rutenberg will only work 
for math COMMANDS.  See the attached file, where I define a math macro \pFq in 
order to write the symbol for generalized hypergeometric functions.

What I want and need is a means to implement the math ENVIRONMENTS defined by 
the mathtools package and that are not explicitly supported by LyX.
Specifically for multiline equations.  LyX supports the standard AMS inner and 
outer environments, such as align (outer) and aligned (inner).  However, 
multline is only an outer env in the standard AMSmath.  The mathtools pack 
defines the corresponding inner multlined environment, and it seems that there 
is no way to use it other than ERTing the math input (see attached file).
I guess the same tweak can be applied in order to use the other new 
environments defined by mathtools, such as dcases, rcases, drcases, 
psmallmatrix, bsmallmatrix, etc.

The only other alternative I was able to find was this suggestion by Uwe Stôhr:
http://marc.info/?l=lyx-usersm=117565214529188w=2
which would demand some tweaking with the default spaces of the multline 
environment (see file).

I also tried to create first a tex file with

\[
 \begin{multlined}
  a = \\
  b
 \end{multlined}
\]

and then import it into LyX, but only the first line was used.  So, I guess 
multlined is indeed unsupported.

On Thursday 26 June 2014 21:45:37 you wrote:
 On Thu, Jun 26, 2014 at 6:52 AM, Rudi Gaelzer rgael...@gmail.com wrote:
 
  Using LyX 2.1.x, is it now possible to implement via ERT the
  still-unsupported capabilities of the mathtools package, such as the
  multlined (section 3.4.2), *smallmatrix (sec. 3.4.1) and *cases (sec.
  3.4.3) environments?
 
 
 I'm not sure I understand the question. What you wrote seems to imply that
 it was not previously possible to use the capabilities of the mathtools
 package via ERT. As far as I know, it has *always* (or maybe just for a
 very long time) been possible to use the capabilities of *any* LaTeX
 package via ERT (as long as it doesn't conflict with another package that
 is in use). For example, here is a post of someone using the mathtools
 package in LyX over two years ago:
 http://www.guyrutenberg.com/2009/05/13/displaying-non-builtin-math-macros-in-lyx/
 . As another example for one of your specific scenarios, here is a post
 from another person using the cases environment from mathtools:
 http://tex.stackexchange.com/questions/127417/cases-environment-makes-latex-hang
 .
 
 Why don't you try it, and if you have trouble, post the specific problem
 here? I hope this helps.
 
 Jacob
-- 
Rudi Gaelzer
Institute of Physics
Federal University of Rio Grande do Sul
BRAZIL
Registered linux user # 153741

pres.lyx
Description: application/lyx


Re: Unsupported math environments

2014-06-27 Thread Rudi Gaelzer
Dear Jacob.
Thanks for the reply.
However, I think that the solution suggested by Guy Rutenberg will only work 
for math COMMANDS.  See the attached file, where I define a math macro \pFq in 
order to write the symbol for generalized hypergeometric functions.

What I want and need is a means to implement the math ENVIRONMENTS defined by 
the mathtools package and that are not explicitly supported by LyX.
Specifically for multiline equations.  LyX supports the standard AMS inner and 
outer environments, such as align (outer) and aligned (inner).  However, 
multline is only an outer env in the standard AMSmath.  The mathtools pack 
defines the corresponding inner multlined environment, and it seems that there 
is no way to use it other than ERTing the math input (see attached file).
I guess the same tweak can be applied in order to use the other new 
environments defined by mathtools, such as dcases, rcases, drcases, 
psmallmatrix, bsmallmatrix, etc.

The only other alternative I was able to find was this suggestion by Uwe Stôhr:
http://marc.info/?l=lyx-users=117565214529188=2
which would demand some tweaking with the default spaces of the multline 
environment (see file).

I also tried to create first a tex file with

\[
 \begin{multlined}
  a = \\
  b
 \end{multlined}
\]

and then import it into LyX, but only the first line was used.  So, I guess 
multlined is indeed unsupported.

On Thursday 26 June 2014 21:45:37 you wrote:
> On Thu, Jun 26, 2014 at 6:52 AM, Rudi Gaelzer  wrote:
> 
> > Using LyX 2.1.x, is it now possible to implement via ERT the
> > still-unsupported capabilities of the mathtools package, such as the
> > multlined (section 3.4.2), *smallmatrix (sec. 3.4.1) and *cases (sec.
> > 3.4.3) environments?
> >
> 
> I'm not sure I understand the question. What you wrote seems to imply that
> it was not previously possible to use the capabilities of the mathtools
> package via ERT. As far as I know, it has *always* (or maybe just for a
> very long time) been possible to use the capabilities of *any* LaTeX
> package via ERT (as long as it doesn't conflict with another package that
> is in use). For example, here is a post of someone using the mathtools
> package in LyX over two years ago:
> http://www.guyrutenberg.com/2009/05/13/displaying-non-builtin-math-macros-in-lyx/
> . As another example for one of your specific scenarios, here is a post
> from another person using the cases environment from mathtools:
> http://tex.stackexchange.com/questions/127417/cases-environment-makes-latex-hang
> .
> 
> Why don't you try it, and if you have trouble, post the specific problem
> here? I hope this helps.
> 
> Jacob
-- 
Rudi Gaelzer
Institute of Physics
Federal University of Rio Grande do Sul
BRAZIL
Registered linux user # 153741

pres.lyx
Description: application/lyx


Unsupported math environments

2014-06-26 Thread Rudi Gaelzer
Using LyX 2.1.x, is it now possible to implement via ERT the still-unsupported 
capabilities of the mathtools package, such as the multlined (section 3.4.2), 
*smallmatrix (sec. 3.4.1) and *cases (sec. 3.4.3) environments?

Thanks.
-- 
Rudi Gaelzer
Institute of Physics
Federal University of Rio Grande do Sul
BRAZIL
Registered linux user # 153741


Unsupported math environments

2014-06-26 Thread Rudi Gaelzer
Using LyX 2.1.x, is it now possible to implement via ERT the still-unsupported 
capabilities of the mathtools package, such as the multlined (section 3.4.2), 
*smallmatrix (sec. 3.4.1) and *cases (sec. 3.4.3) environments?

Thanks.
-- 
Rudi Gaelzer
Institute of Physics
Federal University of Rio Grande do Sul
BRAZIL
Registered linux user # 153741


Unsupported math environments

2014-06-26 Thread Rudi Gaelzer
Using LyX 2.1.x, is it now possible to implement via ERT the still-unsupported 
capabilities of the mathtools package, such as the multlined (section 3.4.2), 
*smallmatrix (sec. 3.4.1) and *cases (sec. 3.4.3) environments?

Thanks.
-- 
Rudi Gaelzer
Institute of Physics
Federal University of Rio Grande do Sul
BRAZIL
Registered linux user # 153741