Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
Drexel University or The Math Forum.
|
|
|
|
Formatting Dynamic Output
Posted:
Nov 2, 2012 12:43 AM
|
|
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
|
|
|
|