This is LaTeX code:
[latex]
\sum_{i=1}^n \bar{f(e_{i})}e_{i}
[/latex]