Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2007
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2007

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

Search the Archive

Re: Style in Manipulate

  • To: mathgroup at smc.vnet.net
  • Subject: [mg80552] Re: [mg80521] Style in Manipulate
  • From: Murray Eisenberg <murray at math.umass.edu>
  • Date: Sun, 26 Aug 2007 02:58:36 -0400 (EDT)
  • Organization: Mathematics & Statistics, Univ. of Mass./Amherst
  • References: <200708240559.BAA16635@smc.vnet.net>
  • Reply-to: murray at math.umass.edu

It works for me, also under Windows XP.  The "Factors of ...." part is 
red, italicized, and 30-point; the list of factors is not.

Bruce Colletti wrote:
> Re Mathematica 6.0.1 under WinXP.
> 
> The code below produces red text that is neither italicized nor 30-point.  Yet I'm following the helptext for Style (Example #2).  
> 
> What have I missed?  Thankx.
> 
> Bruce
> 
> Manipulate[
> Grid@{{ Text@Style[StringForm["Factors of ``", n],Red,Italic,30]},{Divisors@n}},
> 
> {n,{2,5,6,8,12,18,45000},ControlType->Setter},
> TrackedSymbols->{n}]
> 

-- 
Murray Eisenberg                     murray at math.umass.edu
Mathematics & Statistics Dept.
Lederle Graduate Research Tower      phone 413 549-1020 (H)
University of Massachusetts                413 545-2859 (W)
710 North Pleasant Street            fax   413 545-1801
Amherst, MA 01003-9305



  • Prev by Date: Re: IsExact
  • Next by Date: Re: Solving Nonlinear Equations
  • Previous by thread: Re: Style in Manipulate
  • Next by thread: Re: Style in Manipulate