[Tex/LaTex] Complex conjugate for inner product


I am having trouble writing an inner product with a horizontal bar over it representing the complex conjugate.

$\langle b_i, b_j \rangle=\bar{\langle b_j, b_i \rangle}$ doesn't do the trick

Here is an example


Best Answer

One way is to use \overline. \bar is meant for a single character/symbol rather.

In order to switch the style later on I recommend a new macro (logical markup), say \compconj which wraps around \overline (or another command that does the 'complex conjugate' style)


$\langle b_i, b_j \rangle=\compconj{\langle b_j, b_i \rangle}$

enter image description here

Related Question