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 2007

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

Search the Archive

DisplayForm Problem

  • To: mathgroup at
  • Subject: [mg79988] DisplayForm Problem
  • From: "Chris Chiasson" <chris at>
  • Date: Fri, 10 Aug 2007 01:47:35 -0400 (EDT)

DisplayForm (or another function) is producing incorrect output in the
second case below. There should be no string delimiters shown.

By what reasoning? The input to DisplayForm is a set of boxes. The box
form of 5 is "5". Therefore, DisplayForm@"5" should show 5.

Note that if you try to test this with regular input and output, you
will probably be confounded by the "ShowStringCharacters"->False
option setting of the "Output" cell style.

CellPrint@ExpressionCell["5","Text"](*correct output*)
CellPrint@ExpressionCell[DisplayForm@"5","Text"](*incorrect output*)
CellPrint@ExpressionCell[DisplayForm@RowBox@List@"5","Text"](*correct output*)


  • Prev by Date: Re: data format on y axis
  • Next by Date: something (not) funny!
  • Previous by thread: Re: Simplifying the exponents
  • Next by thread: something (not) funny!