[Tex/LaTex] Complex conjugate for inner product

equations

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

Regards

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)

\documentclass{article}



\newcommand{\compconj}[1]{%
  \overline{#1}%
}
\begin{document}
$\langle b_i, b_j \rangle=\compconj{\langle b_j, b_i \rangle}$
\end{document}

enter image description here

Related Question