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


Groups > comp.soft-sys.math.mathematica > #9982

Re: Typesetting built-in functions without evaluating

From Brentt <brenttnewman@gmail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Typesetting built-in functions without evaluating
Date 2012-05-08 08:10 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <joakdo$nhn$1@smc.vnet.net> (permalink)
References <CAFJC7XqOJE+wKdxKny7p65mO7_FHz1zBOvxv2xON2QjFSD5PHw@mail.gmail.com>

Show all headers | View raw


I was able to answer my own question. I discovered Defer.

On Mon, May 7, 2012 at 6:31 PM, Brentt <brenttnewman@gmail.com> wrote:

> Hello, I've been wrestling with mathematica trying to get it to typeset a
> partial derivative in traditiaonal form without evaluating it. The closest
> I've been able to come is having it output
>
> in[1]:=D[x,y] //TraditionalForm
> out[2]:=Hold[ *typesetted partial derivative here* ]
>
> So I can get the unevaluated partial derivative notation to output, but I
> can't do it without having the "Hold" mucking it up. How might one go about
> this? I've tried all kinds of complicated schemes, and I'm sure I could
> hack together some sort of output form that looks like a pd but that is
> actually not. But I figure there has to be a simpler solution that I'm
> missing.
>
> Also I've tried setting D to HoldAll. It doesn't work for some reason and
> I'm not sure why? Evaluation order is still a dark art to me despite having
> read that portion of the manual a few times (in my defense I'm not the
> sharpest tool in the shed).
>

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

Re: Typesetting built-in functions without evaluating Brentt <brenttnewman@gmail.com> - 2012-05-08 08:10 +0000

csiph-web