Re: Boxing eqnarray

2012-05-03 Thread Paul A . Rubin
Actually, never mind; empheq is overkill for what you need, and hard to use in
LyX.  Just insert a parbox with a frame, and put the equation array inside the
parbox.  I've appended a small example below.

Paul

#LyX 2.0 created this file. For more info see http://www.lyx.org/
\lyxformat 413
\begin_document
\begin_header
\textclass article
\begin_preamble

\end_preamble
\use_default_options true
\maintain_unincluded_children false
\language english
\language_package default
\inputencoding auto
\fontencoding global
\font_roman default
\font_sans default
\font_typewriter default
\font_default_family default
\use_non_tex_fonts false
\font_sc false
\font_osf false
\font_sf_scale 100
\font_tt_scale 100

\graphics default
\default_output_format default
\output_sync 0
\bibtex_command default
\index_command default
\paperfontsize default
\spacing single
\use_hyperref false
\papersize letterpaper
\use_geometry true
\use_amsmath 1
\use_esint 1
\use_mhchem 1
\use_mathdots 1
\cite_engine basic
\use_bibtopic false
\use_indices false
\paperorientation portrait
\suppress_date false
\use_refstyle 1
\index Index
\shortcut idx
\color #008000
\end_index
\leftmargin 1in
\topmargin 1in
\rightmargin 1in
\bottommargin 1in
\secnumdepth 3
\tocdepth 3
\paragraph_separation skip
\defskip smallskip
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\html_math_output 0
\html_css_as_file 0
\html_be_strict false
\end_header

\begin_body

\begin_layout Standard
Some boxed equations:
\end_layout

\begin_layout Standard
\noindent
\align center
\begin_inset Box Boxed
position t
hor_pos c
has_inner_box 1
inner_pos t
use_parbox 1
use_makebox 0
width 25col%
special none
height 1in
height_special totalheight
status open

\begin_layout Plain Layout
\begin_inset Formula 
\begin{eqnarray}
y  =  mx+b\\
z  =  \int_{a}^{b}f(\tau)d\tau
\end{eqnarray}

\end_inset


\end_layout

\end_inset


\end_layout

\end_body
\end_document






Re: Boxing eqnarray

2012-05-03 Thread Paul A . Rubin
Actually, never mind; empheq is overkill for what you need, and hard to use in
LyX.  Just insert a parbox with a frame, and put the equation array inside the
parbox.  I've appended a small example below.

Paul

#LyX 2.0 created this file. For more info see http://www.lyx.org/
\lyxformat 413
\begin_document
\begin_header
\textclass article
\begin_preamble

\end_preamble
\use_default_options true
\maintain_unincluded_children false
\language english
\language_package default
\inputencoding auto
\fontencoding global
\font_roman default
\font_sans default
\font_typewriter default
\font_default_family default
\use_non_tex_fonts false
\font_sc false
\font_osf false
\font_sf_scale 100
\font_tt_scale 100

\graphics default
\default_output_format default
\output_sync 0
\bibtex_command default
\index_command default
\paperfontsize default
\spacing single
\use_hyperref false
\papersize letterpaper
\use_geometry true
\use_amsmath 1
\use_esint 1
\use_mhchem 1
\use_mathdots 1
\cite_engine basic
\use_bibtopic false
\use_indices false
\paperorientation portrait
\suppress_date false
\use_refstyle 1
\index Index
\shortcut idx
\color #008000
\end_index
\leftmargin 1in
\topmargin 1in
\rightmargin 1in
\bottommargin 1in
\secnumdepth 3
\tocdepth 3
\paragraph_separation skip
\defskip smallskip
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\html_math_output 0
\html_css_as_file 0
\html_be_strict false
\end_header

\begin_body

\begin_layout Standard
Some boxed equations:
\end_layout

\begin_layout Standard
\noindent
\align center
\begin_inset Box Boxed
position t
hor_pos c
has_inner_box 1
inner_pos t
use_parbox 1
use_makebox 0
width 25col%
special none
height 1in
height_special totalheight
status open

\begin_layout Plain Layout
\begin_inset Formula 
\begin{eqnarray}
y  =  mx+b\\
z  =  \int_{a}^{b}f(\tau)d\tau
\end{eqnarray}

\end_inset


\end_layout

\end_inset


\end_layout

\end_body
\end_document






Re: Boxing eqnarray

2012-05-03 Thread Paul A . Rubin
Actually, never mind; empheq is overkill for what you need, and hard to use in
LyX.  Just insert a parbox with a frame, and put the equation array inside the
parbox.  I've appended a small example below.

Paul

#LyX 2.0 created this file. For more info see http://www.lyx.org/
\lyxformat 413
\begin_document
\begin_header
\textclass article
\begin_preamble

\end_preamble
\use_default_options true
\maintain_unincluded_children false
\language english
\language_package default
\inputencoding auto
\fontencoding global
\font_roman default
\font_sans default
\font_typewriter default
\font_default_family default
\use_non_tex_fonts false
\font_sc false
\font_osf false
\font_sf_scale 100
\font_tt_scale 100

\graphics default
\default_output_format default
\output_sync 0
\bibtex_command default
\index_command default
\paperfontsize default
\spacing single
\use_hyperref false
\papersize letterpaper
\use_geometry true
\use_amsmath 1
\use_esint 1
\use_mhchem 1
\use_mathdots 1
\cite_engine basic
\use_bibtopic false
\use_indices false
\paperorientation portrait
\suppress_date false
\use_refstyle 1
\index Index
\shortcut idx
\color #008000
\end_index
\leftmargin 1in
\topmargin 1in
\rightmargin 1in
\bottommargin 1in
\secnumdepth 3
\tocdepth 3
\paragraph_separation skip
\defskip smallskip
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\html_math_output 0
\html_css_as_file 0
\html_be_strict false
\end_header

\begin_body

\begin_layout Standard
Some boxed equations:
\end_layout

\begin_layout Standard
\noindent
\align center
\begin_inset Box Boxed
position "t"
hor_pos "c"
has_inner_box 1
inner_pos "t"
use_parbox 1
use_makebox 0
width "25col%"
special "none"
height "1in"
height_special "totalheight"
status open

\begin_layout Plain Layout
\begin_inset Formula 
\begin{eqnarray}
y & = & mx+b\\
z & = & \int_{a}^{b}f(\tau)d\tau
\end{eqnarray}

\end_inset


\end_layout

\end_inset


\end_layout

\end_body
\end_document






Re: Boxing eqnarray

2012-04-30 Thread El Merehbi, Ibrahim
Hello Paul,

Thanks for the reply, but I  am afraid I do not know how to do that!

Could you please guide me?

Thanks

On Fri 27 Apr 2012 01:27:00 AM EEST, Paul A. Rubin wrote:
 Merhebi, Bob bobmerhebi at gmail.com writes:


 I am usually use the TeX \boxed to box an equation but I can't seem to
 be able to box an eqnarray. Is it possible?


 Try empheq.sty, part of the mh package.

 Paul

--
Sincerely Yours,
-Merhebi, Bob

Thunderbird Signature



Re: Boxing eqnarray

2012-04-30 Thread El Merehbi, Ibrahim
Hello Paul,

Thanks for the reply, but I  am afraid I do not know how to do that!

Could you please guide me?

Thanks

On Fri 27 Apr 2012 01:27:00 AM EEST, Paul A. Rubin wrote:
 Merhebi, Bob bobmerhebi at gmail.com writes:


 I am usually use the TeX \boxed to box an equation but I can't seem to
 be able to box an eqnarray. Is it possible?


 Try empheq.sty, part of the mh package.

 Paul

--
Sincerely Yours,
-Merhebi, Bob

Thunderbird Signature



Re: Boxing eqnarray

2012-04-30 Thread El Merehbi, Ibrahim
Hello Paul,

Thanks for the reply, but I  am afraid I do not know how to do that!

Could you please guide me?

Thanks

On Fri 27 Apr 2012 01:27:00 AM EEST, Paul A. Rubin wrote:
> Merhebi, Bob  gmail.com> writes:
>
>
>> I am usually use the TeX \boxed to box an equation but I can't seem to
>> be able to box an eqnarray. Is it possible?
>>
>
> Try empheq.sty, part of the mh package.
>
> Paul

--
Sincerely Yours,
-Merhebi, Bob

Thunderbird Signature



Re: Boxing eqnarray

2012-04-26 Thread Paul A . Rubin
Merhebi, Bob bobmerhebi at gmail.com writes:


 I am usually use the TeX \boxed to box an equation but I can't seem to
 be able to box an eqnarray. Is it possible?
 

Try empheq.sty, part of the mh package.

Paul






Re: Boxing eqnarray

2012-04-26 Thread Paul A . Rubin
Merhebi, Bob bobmerhebi at gmail.com writes:


 I am usually use the TeX \boxed to box an equation but I can't seem to
 be able to box an eqnarray. Is it possible?
 

Try empheq.sty, part of the mh package.

Paul






Re: Boxing eqnarray

2012-04-26 Thread Paul A . Rubin
Merhebi, Bob  gmail.com> writes:


> I am usually use the TeX \boxed to box an equation but I can't seem to
> be able to box an eqnarray. Is it possible?
> 

Try empheq.sty, part of the mh package.

Paul






Boxing eqnarray

2012-04-23 Thread Merhebi, Bob
Hello again,

I was wondering whether it is possible to box an eqnarray?

I am usually use the TeX \boxed to box an equation but I can't seem to
be able to box an eqnarray. Is it possible?

Thanks

On 04/17/2012 09:41 AM, Bob Merhebi wrote:
 On Tue 17 Apr 2012 01:29:00 AM EEST, Thomas Coffee wrote:
 Also, pressing Ctrl+Enter in regular math mode will give you eqnarray.


 On Sun, Apr 15, 2012 at 9:09 PM, David L. Johnson
 david.john...@lehigh.edu mailto:david.john...@lehigh.edu wrote:

 On 04/15/2012 06:18 PM, El Merehbi, Ibrahim wrote:

 Hello again,

 I believe I didn't clear it out well. I meant a shortcut for the
 eqnarray not the equation numbering.

 Sorry, I misunderstood.  Add to the shortcuts something like this:

 command-sequence math-mode on; math-mutate eqnarray;

 and link it to your favorite hot-key.  I use F12.

 --

 David L. Johnson

 A mathematician is a machine for turning coffee into theorems.
-- Paul Erdos

 --

 oh thanks  for reminding  me of this :D I used it once; much better.

 I am always hesitant about keybindings since I never know If I'm using 
 a binding used by the system. For example, I do know that I can't use 
 F12 as David does since F12 is used for another  software that runs on 
 the system all the time  F12 is what brings it out when I need it!

 thank you all.

-- 
Sincerely Yours,
-Merhebi, Bob

Thunderbird Signature



Boxing eqnarray

2012-04-23 Thread Merhebi, Bob
Hello again,

I was wondering whether it is possible to box an eqnarray?

I am usually use the TeX \boxed to box an equation but I can't seem to
be able to box an eqnarray. Is it possible?

Thanks

On 04/17/2012 09:41 AM, Bob Merhebi wrote:
 On Tue 17 Apr 2012 01:29:00 AM EEST, Thomas Coffee wrote:
 Also, pressing Ctrl+Enter in regular math mode will give you eqnarray.


 On Sun, Apr 15, 2012 at 9:09 PM, David L. Johnson
 david.john...@lehigh.edu mailto:david.john...@lehigh.edu wrote:

 On 04/15/2012 06:18 PM, El Merehbi, Ibrahim wrote:

 Hello again,

 I believe I didn't clear it out well. I meant a shortcut for the
 eqnarray not the equation numbering.

 Sorry, I misunderstood.  Add to the shortcuts something like this:

 command-sequence math-mode on; math-mutate eqnarray;

 and link it to your favorite hot-key.  I use F12.

 --

 David L. Johnson

 A mathematician is a machine for turning coffee into theorems.
-- Paul Erdos

 --

 oh thanks  for reminding  me of this :D I used it once; much better.

 I am always hesitant about keybindings since I never know If I'm using 
 a binding used by the system. For example, I do know that I can't use 
 F12 as David does since F12 is used for another  software that runs on 
 the system all the time  F12 is what brings it out when I need it!

 thank you all.

-- 
Sincerely Yours,
-Merhebi, Bob

Thunderbird Signature



Boxing eqnarray

2012-04-23 Thread Merhebi, Bob
Hello again,

I was wondering whether it is possible to box an eqnarray?

I am usually use the TeX \boxed to box an equation but I can't seem to
be able to box an eqnarray. Is it possible?

Thanks

On 04/17/2012 09:41 AM, Bob Merhebi wrote:
> On Tue 17 Apr 2012 01:29:00 AM EEST, Thomas Coffee wrote:
>> Also, pressing Ctrl+Enter in regular math mode will give you eqnarray.
>>
>>
>> On Sun, Apr 15, 2012 at 9:09 PM, David L. Johnson
>> > wrote:
>>
>> On 04/15/2012 06:18 PM, El Merehbi, Ibrahim wrote:
>>
>> Hello again,
>>
>> I believe I didn't clear it out well. I meant a shortcut for the
>> "eqnarray" not the equation numbering.
>>
>> Sorry, I misunderstood.  Add to the shortcuts something like this:
>>
>> command-sequence math-mode on; math-mutate eqnarray;
>>
>> and link it to your favorite hot-key.  I use F12.
>>
>> --
>>
>> David L. Johnson
>>
>> A mathematician is a machine for turning coffee into theorems.
>>-- Paul Erdos
>>
>> --
>>
> oh thanks  for reminding  me of this :D I used it once; much better.
>
> I am always hesitant about keybindings since I never know If I'm using 
> a binding used by the system. For example, I do know that I can't use 
> F12 as David does since F12 is used for another  software that runs on 
> the system all the time & F12 is what brings it out when I need it!
>
> thank you all.

-- 
Sincerely Yours,
-Merhebi, Bob

Thunderbird Signature