Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2012

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

Search the Archive

Re: Formatting Dynamic Output

  • To: mathgroup at smc.vnet.net
  • Subject: [mg128577] Re: Formatting Dynamic Output
  • From: Gregory Lypny <gregory.lypny at videotron.ca>
  • Date: Mon, 5 Nov 2012 18:40:21 -0500 (EST)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • Delivered-to: l-mathgroup@wolfram.com
  • Delivered-to: mathgroup-newout@smc.vnet.net
  • Delivered-to: mathgroup-newsend@smc.vnet.net
  • References: <k724qm$b4i$1@smc.vnet.net> <50978EF0.4050804@gmx-topmail.de>

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 at 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
> 
> 




  • Prev by Date: Re: A nice and customized legend within Manipulate
  • Next by Date: Re: A nice and customized legend within Manipulate
  • Previous by thread: Re: Formatting Dynamic Output
  • Next by thread: Add an Expiry Date to a CDF