Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

6
  • 2
    $\begingroup$ TraditionalForm? $\endgroup$ Commented Jan 26, 2015 at 10:05
  • 2
    $\begingroup$ If you just need to display the result (and not work further with it) : yourexpression /. Conjugate -> OverBar $\endgroup$ Commented Jan 26, 2015 at 10:45
  • 2
    $\begingroup$ or yourexpression /. Conjugate[x_] -> OverBar@Pane@x to get more space between the bar and the expression $\endgroup$ Commented Jan 26, 2015 at 11:06
  • $\begingroup$ If you use David Park's Presentations add on (home.comcast.net/~djmpark/DrawGraphicsPage.html), the command ComplexConjugateDisplay[True] will automatically cause the overbar to appear in output for conjugates. $\endgroup$ Commented Jan 26, 2015 at 18:04
  • 2
    $\begingroup$ Building on the two above comments, if you want to do this automatically while further processing your expression (a replacement by /. would actually change it), you can teach Mathematica to pretty print Conjugate in output for you using: ClearAttributes[Conjugate, Protected]; Format[Conjugate[x_]] := OverBar@Pane@x; SetAttributes[Conjugate, Protected]; $\endgroup$ Commented Jan 15, 2016 at 16:21