|
[Date Index]
[Thread Index]
[Author Index]
Re: Silly question about Contexts
- To: mathgroup at smc.vnet.net
- Subject: [mg84195] Re: Silly question about Contexts
- From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
- Date: Thu, 13 Dec 2007 05:49:33 -0500 (EST)
- Organization: Uni Leipzig
- References: <fjq06j$n75$1@smc.vnet.net>
- Reply-to: kuska at informatik.uni-leipzig.de
Hi,
r2 /: MakeBoxes[r2, fmt_] :=
InterpretationBox[SubscriptBox["r", 2], r2];
??
Regards
Jens
Peters wrote:
> Hi,
>
> Sorry for this question, but is there any way to suppress display of Context in the Mathematica 6 output? In particular, I define:
>
> r2/:MakeBoxes[r2,fmt_]:=InterpretationBox[SubscriptBox[r,2],r2];
> r2
>
> and Mathematica returns
>
> Subscript[Global`r, 2]
>
> which is correct, but clutters my output a lot (as I have many of those). Is there any way to make it just display Subscript[r,2] without showing Context? It used to be like that in Mathematica 4...
>
Prev by Date:
Re: Plotting of Sin(x)/x
Next by Date:
Re: Silly question about Contexts
Previous by thread:
Silly question about Contexts
Next by thread:
Re: Silly question about Contexts
|