MathGroup Archive 2012

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

Search the Archive

Formatting Dynamic Output

  • To: mathgroup at
  • Subject: [mg128540] Formatting Dynamic Output
  • From: Gregory Lypny <gregory.lypny at>
  • Date: Fri, 2 Nov 2012 00:43:06 -0400 (EDT)
  • Delivered-to:
  • Delivered-to:
  • Delivered-to:
  • Delivered-to:

Hello everyone,

I have some cells that use Dynamic to display a string or result of a StringForm expression when a condition is met.  It looks like this.

Dynamic[ If[conditionMet, displayString, ""]]

It works fine except for two things.  If the condition is met and the string to be display is long, it is indented to the right when it wraps to the second line.  How can I remove the indent, especially for StringForm output?  The second thing is when the condition is not met, a blank cell is output because I have an empty string ("") in my If[] condition.  What can I replace that with so that no cell is produced when the condition is not met.

Much obliged,


  • Prev by Date: Re: [newb] simple equation substitutions
  • Next by Date: Re: Conformal Mapping
  • Previous by thread: Re: How can I solve this equation with Solve or Reduce or whatever for
  • Next by thread: Re: Formatting Dynamic Output