Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #12218 > unrolled thread

Formatting Dynamic Output

Started byGregory Lypny <gregory.lypny@videotron.ca>
First post2012-11-02 04:43 +0000
Last post2012-11-02 04:43 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica


Contents

  Formatting Dynamic Output Gregory Lypny <gregory.lypny@videotron.ca> - 2012-11-02 04:43 +0000

#12218 — Formatting Dynamic Output

FromGregory Lypny <gregory.lypny@videotron.ca>
Date2012-11-02 04:43 +0000
SubjectFormatting Dynamic Output
Message-ID<k6vj2e$69a$1@smc.vnet.net>
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,

Gregory

[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web