Re: Generating my own martix template
- To: mathgroup at smc.vnet.net
- Subject: [mg46757] Re: Generating my own martix template
- From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
- Date: Sun, 7 Mar 2004 01:33:35 -0500 (EST)
- Organization: Universitaet Leipzig
- References: <c298jl$54u$1@smc.vnet.net>
- Reply-to: kuska at informatik.uni-leipzig.de
- Sender: owner-wri-mathgroup at wolfram.com
Hi, With[{nr = 2}, lst = Table[RowBox[{"\[Placeholder]", "\[Placeholder]"}], {nr}]; CellPrint[Cell[GridBox[lst], "Input", "TraditionalForm"]] ] Regards Jens "Flurchick, Kenneth M" wrote: > > GentleBeings > Not sure where to look I want to create a simple matrix input based on some > variable nr, the number of rows > I tried the following > > CellPrint[ > Cell[ > GridBox[ > {Table[{"\[Placeholder]", "\[Placeholder]"}, {nr}]} > ], > "Input", "TraditionalForm" > ] > ] > > No way, I have RowBox and BoxData elements as well the core of the problem > is > the return from Table I think, > Suggestions? > kenf