I have a \newcommand
which inserts left and right square brackets around whatever you pass it.
\documentclass{minimal}
\newcommand{\foo}[1]{\left[#1\right]}
\begin{document}
Since $\foo{B} = \foo{\sum_j b_jB_j}$ and $\foo{C} = \foo{\sum_i c_i C_i}$ by definition.
\end{document}
This outputs:
Notice that the square brackets around the sum in the C equation are much smaller than those in the B equation. Why is this happening and can I avoid having to manually change the size each time? I am using these square brackets a lot throughout a large document and would really like to avoid it.
j
-- contrary toi
which doesn't have this descender.j
toi
makes the B brackets small as well. That is a shame as I think the second equation looks ugly with the sigma going outside of the square brackets.