I need to type the following summation symbol in Latex. Could anyone help me? Literally, there needs to be a vertical line in a summation symbol, and $\hat{\beta}_2$
is just a subscript. Thanks in advance!
1 Answer
Fine adjustments can be made to the \vert
placement by placing positive or negative lengths in the 2nd argument (horizontal) or 4th argument (vertical) to \stackinset
.
\documentclass{article}
\usepackage{stackengine}
\stackMath
\begin{document}
inline: $\stackinset{c}{}{c}{}{\Big\vert}{\sum} _{\hat{\beta}_2} x_i$
\end{document}
x$\clap{$\sum$}\Big\vert_{\hat{\beta}_2}$
\sum
is wrongly shifted left.