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


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

Re: Formatting Dynamic Output

Started byGregory Lypny <gregory.lypny@videotron.ca>
First post2012-11-03 03:59 +0000
Last post2012-11-05 23:40 +0000
Articles 2 — 1 participant

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


Contents

  Re: Formatting Dynamic Output Gregory Lypny <gregory.lypny@videotron.ca> - 2012-11-03 03:59 +0000
    Re: Formatting Dynamic Output Gregory Lypny <gregory.lypny@videotron.ca> - 2012-11-05 23:40 +0000

#12241 — Re: Formatting Dynamic Output

FromGregory Lypny <gregory.lypny@videotron.ca>
Date2012-11-03 03:59 +0000
SubjectRe: Formatting Dynamic Output
Message-ID<k724qm$b4i$1@smc.vnet.net>
I tried using the LineIndent option for Style, but it has no effect.

Dynamic[If[conditionMet, Style[displayString, LineIndent -> 0], ""]]

[toc] | [next] | [standalone]


#12258

FromGregory Lypny <gregory.lypny@videotron.ca>
Date2012-11-05 23:40 +0000
Message-ID<k79iov$8gn$1@smc.vnet.net>
In reply to#12241
Hi Albert,

Thanks for taking the time.  I think I've figured it out.  Everything needs to be wrapped in Style for the indent option to be applied, that is,

	Style[Dynamic[If[conditionMet, displayString, ""]], LineIndent -> 0]

Gregory


On Mon, Nov 5, 2012, at 5:03 AM, awnl <awnl@gmx-topmail.de> wrote:

> Hi,
> 
>> I tried using the LineIndent option for Style, but it has no effect.
>> 
>> Dynamic[If[conditionMet, Style[displayString, LineIndent -> 0], ""]]
> 
> ... but it should and it does have an effect for me. Maybe you want to provide some more information about what exactly you do and which version you are using? Are you really only evaluating the above line in a single cell? Are you using any special StyleSheets?
> 
> regards,
> 
> albert
> 
> 

[toc] | [prev] | [standalone]


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


csiph-web