Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2005

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

Search the Archive

expression formatting inside tables

  • To: mathgroup at
  • Subject: [mg54591] expression formatting inside tables
  • From: "Trevor Baca" <trevorbaca at>
  • Date: Wed, 23 Feb 2005 03:12:53 -0500 (EST)
  • Sender: owner-wri-mathgroup at

hi mathgroup folks,


  foo[x_] := x^2

then how to easily tableize the following?

  foo[1]   1
  foo[2]   4
  foo[3]   9
  foo[4]   16
  foo[5]   25

because neither

  Table[{HoldForm[foo[i]], foo[i]}, {i, 5}] // TableForm


  Table[{foo[HoldForm[i]], foo[i]}, {i, 5}] // TableForm

did what i was expecting.


  • Prev by Date: statistics on a sphere
  • Next by Date: nonlinear differential equation
  • Previous by thread: Re: statistics on a sphere
  • Next by thread: Re: expression formatting inside tables