From: Nasser M. Abbasi on

I was having hard time getting Framed to accept a FrameStyle, then I
saw this message below from 2 years ago.

Is this still a bug in Mathematica?

"Newsgroups: comp.soft-sys.math.mathematica
From: Carl Woll <ca...(a)wolfram.com>
Date: Thu, 21 Jun 2007 09:55:45 +0000 (UTC)
Subject: Re: How change frame width in Framed object?

It seems that there is a bug with FrameStyle in Framed. As a
workaround,
you can use Grid instead:

Grid[{{x}}, Frame->True, FrameStyle->Directive[Red, Thick]]

Carl Woll
Wolfram Research "

Here is what I was trying to do now using version 7:

Framed[Text["foo"], FrameStyle -> Directive[Dotted]]

Which does NOT work, but the following works

Grid[{{Text["foo"]}}, Frame -> All, FrameStyle -> Directive[Dotted]]

It seems then that this bug with FrameStyle for Framed is not fixed
yet?

--Nasser

From: magma on
On Dec 9, 11:42 am, "Nasser M. Abbasi" <n...(a)12000.org> wrote:
> I was having hard time getting Framed to accept a FrameStyle, then I
> saw this message below from 2 years ago.
>
> Is this still a bug in Mathematica?
>
> "Newsgroups: comp.soft-sys.math.mathematica
> From: Carl Woll <ca...(a)wolfram.com>
> Date: Thu, 21 Jun 2007 09:55:45 +0000 (UTC)
> Subject: Re: How change frame width in Framed object?
>
> It seems that there is a bug with FrameStyle in Framed. As a
> workaround,
> you can use Grid instead:
>
> Grid[{{x}}, Frame->True, FrameStyle->Directive[Red, Thick]]
>
> Carl Woll
> Wolfram Research "
>
> Here is what I was trying to do now using version 7:
>
> Framed[Text["foo"], FrameStyle -> Directive[Dotted]]
>
> Which does NOT work, but the following works
>
> Grid[{{Text["foo"]}}, Frame -> All, FrameStyle -> Directive[Dotted]]
>
> It seems then that this bug with FrameStyle for Framed is not fixed
> yet?
>
> --Nasser

Indeed! it seems that the bug has not been fixed yet

From: Adam Griffith on
You could also do the following:

Framed[Style["x", Black], BaseStyle -> Red]

-Adam

Nasser M. Abbasi wrote:
> I was having hard time getting Framed to accept a FrameStyle, then I
> saw this message below from 2 years ago.
>
> Is this still a bug in Mathematica?
>
> "Newsgroups: comp.soft-sys.math.mathematica
> From: Carl Woll <ca...(a)wolfram.com>
> Date: Thu, 21 Jun 2007 09:55:45 +0000 (UTC)
> Subject: Re: How change frame width in Framed object?
>
> It seems that there is a bug with FrameStyle in Framed. As a
> workaround,
> you can use Grid instead:
>
> Grid[{{x}}, Frame->True, FrameStyle->Directive[Red, Thick]]
>
> Carl Woll
> Wolfram Research "
>
> Here is what I was trying to do now using version 7:
>
> Framed[Text["foo"], FrameStyle -> Directive[Dotted]]
>
> Which does NOT work, but the following works
>
> Grid[{{Text["foo"]}}, Frame -> All, FrameStyle -> Directive[Dotted]]
>
> It seems then that this bug with FrameStyle for Framed is not fixed
> yet?
>
> --Nasser
>