Re: Colorful boxes for mathematical formulas

2011-11-28 Thread Paul A . Rubin
Paul Smith phhs80 at gmail.com writes:

 
 Thanks, Paul. It works when the equation is in inline style, but not
 when in display style -- an error is generated while producing the pdf
 file. Any ideas?

It's a bit complicated to explain.  Here's the key sequence (again using the
xcolor package):

1. Insert  Math  Display Formula.
2. (in the math inset) Type '\fcolorbox\{'.
3. The '\{' creates an inset where you type 'black'.
4. Move the cursor just outside '{black}', type '\{' again, and fill in 'red'.
5. Move the cursor just outside '{red}' and type '\{\ensuremath' followed by a
space. The function name will disappear and you'll have yet another inset.
6. Type your formula in the last inset and exit the display formula.

Paul




Re: Colorful boxes for mathematical formulas

2011-11-28 Thread Paul A . Rubin
Paul Smith phhs80 at gmail.com writes:

 
 Thanks, Paul. It works when the equation is in inline style, but not
 when in display style -- an error is generated while producing the pdf
 file. Any ideas?

It's a bit complicated to explain.  Here's the key sequence (again using the
xcolor package):

1. Insert  Math  Display Formula.
2. (in the math inset) Type '\fcolorbox\{'.
3. The '\{' creates an inset where you type 'black'.
4. Move the cursor just outside '{black}', type '\{' again, and fill in 'red'.
5. Move the cursor just outside '{red}' and type '\{\ensuremath' followed by a
space. The function name will disappear and you'll have yet another inset.
6. Type your formula in the last inset and exit the display formula.

Paul




Re: Colorful boxes for mathematical formulas

2011-11-28 Thread Paul A . Rubin
Paul Smith  gmail.com> writes:

> 
> Thanks, Paul. It works when the equation is in inline style, but not
> when in display style -- an error is generated while producing the pdf
> file. Any ideas?

It's a bit complicated to explain.  Here's the key sequence (again using the
xcolor package):

1. Insert > Math > Display Formula.
2. (in the math inset) Type '\fcolorbox\{'.
3. The '\{' creates an inset where you type 'black'.
4. Move the cursor just outside '{black}', type '\{' again, and fill in 'red'.
5. Move the cursor just outside '{red}' and type '\{\ensuremath' followed by a
space. The function name will disappear and you'll have yet another inset.
6. Type your formula in the last inset and exit the display formula.

Paul




Re: Colorful boxes for mathematical formulas

2011-11-26 Thread Paul Smith
On Fri, Nov 25, 2011 at 10:58 PM, Paul A. Rubin ru...@msu.edu wrote:
  Is there some way of boxing mathematical formulas with a red box? I
  have tried with \fbox, but getting only black boxes.

 Any clue?

 Preamble:
 \usepackage{xcolor}

 Text:
 ERT: \fcolorbox{black}{red}{
 math inset
 ERT: }

Thanks, Paul. It works when the equation is in inline style, but not
when in display style -- an error is generated while producing the pdf
file. Any ideas?

Paul


Re: Colorful boxes for mathematical formulas

2011-11-26 Thread Paul Smith
On Fri, Nov 25, 2011 at 10:58 PM, Paul A. Rubin ru...@msu.edu wrote:
  Is there some way of boxing mathematical formulas with a red box? I
  have tried with \fbox, but getting only black boxes.

 Any clue?

 Preamble:
 \usepackage{xcolor}

 Text:
 ERT: \fcolorbox{black}{red}{
 math inset
 ERT: }

Thanks, Paul. It works when the equation is in inline style, but not
when in display style -- an error is generated while producing the pdf
file. Any ideas?

Paul


Re: Colorful boxes for mathematical formulas

2011-11-26 Thread Paul Smith
On Fri, Nov 25, 2011 at 10:58 PM, Paul A. Rubin  wrote:
>> > Is there some way of boxing mathematical formulas with a red box? I
>> > have tried with \fbox, but getting only black boxes.
>>
>> Any clue?
>
> Preamble:
> \usepackage{xcolor}
>
> Text:
> ERT: \fcolorbox{black}{red}{
> math inset
> ERT: }

Thanks, Paul. It works when the equation is in inline style, but not
when in display style -- an error is generated while producing the pdf
file. Any ideas?

Paul


Re: Colorful boxes for mathematical formulas

2011-11-25 Thread Paul A . Rubin
Paul Smith phhs80 at gmail.com writes:

 
  Is there some way of boxing mathematical formulas with a red box? I
  have tried with \fbox, but getting only black boxes.
 
 Any clue?
 



Preamble:
\usepackage{xcolor}

Text:
ERT: \fcolorbox{black}{red}{
math inset
ERT: }

Paul



Re: Colorful boxes for mathematical formulas

2011-11-25 Thread Paul A . Rubin
Paul Smith phhs80 at gmail.com writes:

 
  Is there some way of boxing mathematical formulas with a red box? I
  have tried with \fbox, but getting only black boxes.
 
 Any clue?
 



Preamble:
\usepackage{xcolor}

Text:
ERT: \fcolorbox{black}{red}{
math inset
ERT: }

Paul



Re: Colorful boxes for mathematical formulas

2011-11-25 Thread Paul A . Rubin
Paul Smith  gmail.com> writes:

> 
> > Is there some way of boxing mathematical formulas with a red box? I
> > have tried with \fbox, but getting only black boxes.
> 
> Any clue?
> 



Preamble:
\usepackage{xcolor}

Text:
ERT: \fcolorbox{black}{red}{
math inset
ERT: }

Paul



Re: Colorful boxes for mathematical formulas

2011-11-22 Thread Paul Smith
 Is there some way of boxing mathematical formulas with a red box? I
 have tried with \fbox, but getting only black boxes.

Any clue?

Thanks,

Paul


Re: Colorful boxes for mathematical formulas

2011-11-22 Thread Paul Smith
 Is there some way of boxing mathematical formulas with a red box? I
 have tried with \fbox, but getting only black boxes.

Any clue?

Thanks,

Paul


Re: Colorful boxes for mathematical formulas

2011-11-22 Thread Paul Smith
> Is there some way of boxing mathematical formulas with a red box? I
> have tried with \fbox, but getting only black boxes.

Any clue?

Thanks,

Paul


Colorful boxes for mathematical formulas

2011-11-19 Thread Paul Smith
Dear All,

Is there some way of boxing mathematical formulas with a red box? I
have tried with \fbox, but getting only black boxes.

Thanks in advance,

Paul


Colorful boxes for mathematical formulas

2011-11-19 Thread Paul Smith
Dear All,

Is there some way of boxing mathematical formulas with a red box? I
have tried with \fbox, but getting only black boxes.

Thanks in advance,

Paul


Colorful boxes for mathematical formulas

2011-11-19 Thread Paul Smith
Dear All,

Is there some way of boxing mathematical formulas with a red box? I
have tried with \fbox, but getting only black boxes.

Thanks in advance,

Paul