Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

I have a function:

$\bar{u}:=u[t,x,y,z]$ (1)

How do I prevent it from expanding and substituting in instructions like those following:

$\partial _t {\bar u}$ (2)

Thanks in advance

EDIT: Mathematica expressions as asked:

OverBar[u]:=u[t,x,y,z]

D[ OverBar[u] , t]
share|improve this question
2  
Please include Mathematica code, not latex expressions. Have you looked at Hold, HoldForm and related functions or Defer? –  rm -rf Sep 14 '12 at 7:39
3  
I think this question needs more context. –  Mr.Wizard Sep 14 '12 at 7:50

1 Answer 1

up vote 5 down vote accepted

If you would like to display the expression without evaluation use HoldForm

HoldForm@D[OverBar[u], t]
share|improve this answer
    
thanks a lot :] –  Misery Sep 14 '12 at 8:21

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.