MathGroup Archive 2007

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Silly question about Contexts

  • To: mathgroup at
  • Subject: [mg84195] Re: Silly question about Contexts
  • From: Jens-Peer Kuska <kuska at>
  • Date: Thu, 13 Dec 2007 05:49:33 -0500 (EST)
  • Organization: Uni Leipzig
  • References: <fjq06j$n75$>
  • Reply-to: kuska at


r2 /: MakeBoxes[r2, fmt_] :=
   InterpretationBox[SubscriptBox["r", 2], r2];



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