MathGroup Archive 2012

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

Search the Archive

Re: MatrixFormWrapper vs. MatrixForm

  • To: mathgroup at smc.vnet.net
  • Subject: [mg124503] Re: MatrixFormWrapper vs. MatrixForm
  • From: Bill Rowe <readnews at sbcglobal.net>
  • Date: Sun, 22 Jan 2012 07:20:09 -0500 (EST)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com

On 1/21/12 at 5:15 AM, roby.nowak at gmail.com (roby) wrote:

>what about the following construct ?
>
>In[1]:= MatrixFormWrapper[M_] := BoxData@RowBox[{"(", GridBox[M],
>")"}] //
>(NotebookWrite[SelectedNotebook[], Cell[#, "Output"]]; M) &

To my eye, what you see when you set your preferences for output
cells to display in TraditionalForm looks nicer. And it seems
simpler to set these preferences than creating a special
function for this purpose. The only potential issue with setting
output preferences to display TraditionalForm is it affects all
output cells instead of one at a time.




  • Prev by Date: Re: Tips for writing correct, non trivial Mathematica Libraries
  • Next by Date: Re: MatrixForm odd behaviour
  • Previous by thread: Re: MatrixFormWrapper vs. MatrixForm
  • Next by thread: select 1st column element based on criteria in 2nd AND 3rd column