latex new line in equation code example
Example 1: line above latex
% This is for single characters
$\bar{a}$
% And this works for anything longer
$\overline{abc}$
Example 2: latex new line in equation missing \right
Try using \bigg( and \bigg) instead of \left( and \right)