Box around system of equations.

2005-09-02 Thread Rudi Gaelzer
Has anyone managed to get a box wrapped around a system of equations or a 
multiline equation?

The usual LaTeX and AMSTex commands, \fbox and \boxed only work for 
single-lined equations like \begin{displaymath} of \begin{equation}.

On the other hand, the empheq package is able to render very exquisite boxes, 
but the syntax seems to be incompatible with LyX.  For instance, to generate 
a box around a system of equations I have to use the empheq environment, 
which invokes the AMS mathematical environments, as in the example below:

\begin{empheq}[box=\fbox]{align*}
a = b \\
b = c
\end{enpheq}

Lyx does not seem to offer any standard way to do this and even inside an ugly 
ERT box it's not trivial to use the empheq package...
-- 
Rudi Gaelzer
Departamento de Física
Instituto de Física e Matemática
Fundação Universidade Federal de Pelotas
Caixa Postal 354 - Campus UFPel
96010-900 Pelotas - RS
Fone: (53) 3275-7468
FAX:  (53) 3275-7343
Usuário de Linux registrado # 153741


Box around system of equations.

2005-09-02 Thread Rudi Gaelzer
Has anyone managed to get a box wrapped around a system of equations or a 
multiline equation?

The usual LaTeX and AMSTex commands, \fbox and \boxed only work for 
single-lined equations like \begin{displaymath} of \begin{equation}.

On the other hand, the empheq package is able to render very exquisite boxes, 
but the syntax seems to be incompatible with LyX.  For instance, to generate 
a box around a system of equations I have to use the empheq environment, 
which invokes the AMS mathematical environments, as in the example below:

\begin{empheq}[box=\fbox]{align*}
a = b \\
b = c
\end{enpheq}

Lyx does not seem to offer any standard way to do this and even inside an ugly 
ERT box it's not trivial to use the empheq package...
-- 
Rudi Gaelzer
Departamento de Física
Instituto de Física e Matemática
Fundação Universidade Federal de Pelotas
Caixa Postal 354 - Campus UFPel
96010-900 Pelotas - RS
Fone: (53) 3275-7468
FAX:  (53) 3275-7343
Usuário de Linux registrado # 153741


Box around system of equations.

2005-09-02 Thread Rudi Gaelzer
Has anyone managed to get a box wrapped around a system of equations or a 
multiline equation?

The usual LaTeX and AMSTex commands, \fbox and \boxed only work for 
single-lined equations like \begin{displaymath} of \begin{equation}.

On the other hand, the empheq package is able to render very exquisite boxes, 
but the syntax seems to be incompatible with LyX.  For instance, to generate 
a box around a system of equations I have to use the empheq environment, 
which invokes the AMS mathematical environments, as in the example below:

\begin{empheq}[box=\fbox]{align*}
a &= b \\
b &= c
\end{enpheq}

Lyx does not seem to offer any standard way to do this and even inside an ugly 
ERT box it's not trivial to use the empheq package...
-- 
Rudi Gaelzer
Departamento de Física
Instituto de Física e Matemática
Fundação Universidade Federal de Pelotas
Caixa Postal 354 - Campus UFPel
96010-900 Pelotas - RS
Fone: (53) 3275-7468
FAX:  (53) 3275-7343
Usuário de Linux registrado # 153741