MathGroup Archive 2006

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

Search the Archive

Re: SetOptions with Column

  • To: mathgroup at smc.vnet.net
  • Subject: [mg64505] Re: SetOptions with Column
  • From: "Rob" <box2718-news at yahoo.com>
  • Date: Sun, 19 Feb 2006 05:36:20 -0500 (EST)
  • References: <dt6kla$ng2$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

My goal is to show algebraic manipulations. I might have a problem like, 
"show that the derivative of f(x)=x is f'(x)=1 using the definition of the 
derivative," and I need to write something like, (excuse the hybrid 
notation)

f'(x_0)=lim_(x->x_0)  (x-x_0)/(x-x_0)
       = lim_(x->x_0) 1
       = 1

My goal is to get equals signs to line up. Unfortunately a major part of the 
homework is demonstrating to the grader that I can do algebraic 
manipulations like that, so a format like the above would be very helpful.

Rob

"David Park" <djmp at earthlink.net> wrote in message 
news:dt6kla$ng2$1 at smc.vnet.net...
> Rob,
>
> I don't understand your equation, but do you mean something like this?
>
> (eqns = {a == x y, a == u/v}) // TableForm
>
> or do you mean a Piecewise function, which is formatted for you?
>
> Generally I wouldn't think it is worth detailed formatting of a GridBox 
> for
> a homework assignment.
>
> David Park
> djmp at earthlink.net
> http://home.earthlink.net/~djmp/
>
> From: Rob Munger [mailto:rob.munger at yahoo.com]
To: mathgroup at smc.vnet.net
>
>
>
> Hello, all,
>
> I am trying to use Mathematica to typeset homework assignments. I'm trying
> to use GridBoxes to format multi-line equations of the following sort:
> a = b
>  = c
>  = d
>  = e
>  = f
> Because I use formulas like this a lot, it would be nice if I could get
> Mathematica to make the default alignment for the columns of GridBoxes to 
> be
> "Left," instead of "Center." However, when I try to use SetOptions to
> accomplish this, I get:
>
> In:
> SetOptions[GridBox,ColumnAlignments->{Left}]
> Options[GridBox,ColumnAlignments]
>
> Out:
> {ColumnAlignments->{Center}}
>
> In:
> SetOptions[GridBox,ColumnAlignments->Left]
> Options[GridBox,ColumnAlignments]
>
> Out:
> {ColumnAlignments->{Center}}
>
> My Mathematica abilities are somewhat limited, so I have no idea what is
> going wrong (or going write, as the case may be). Using Unprotect didn't
> help.
>
> Any ideas?
>
> I'm using Mathematica 5.1.0.0 on WinXP.
>
> Rob
>
> 



  • Prev by Date: Re: multiple plots from a list of parameters?
  • Next by Date: Re: How to hide mathematica code?
  • Previous by thread: Re: SetOptions with Column
  • Next by thread: Re: SetOptions with Column