I'm trying to draw tall square brackets on both sides of a four-line component of an equation within an aligned
environment. I've tried \Bigg[
and \Bigg]
, but these aren't tall enough for me. I also tried inserting invisible brackets with \left.
and \right.
, but those don't span all four lines. I also tried using \vphantom
but that didn't help either (I am not too sure how to use it, as I didn't see any examples using that command that show what I want to do). I did see some examples for using \cases
to produce a single (left or right) tall curly brace, but I want a square brace, and on both sides (and in the middle of an equation).
Here's my code:
\usepackage{amsmath}
\usepackage{bbm}
\begin{align}
\ln{Y_{ijt}} = & \enspace \beta_0 + \sum\limits_{k=A,B,C}
\begin{aligned}
& \left[ \Sigma_r \beta_{1kr} \ln(q_{it}) \mathbbm{1}(B_n) \right. \\
& \left. + \Sigma_r \beta_{2kr} \ln(p_{it}) \mathbbm{1}(B_n) \right. \\
& \left. + \Sigma_r \gamma_{1kr} \ln(Y_{ij,t-1}) \mathbbm{1}(B_n) \right. \\
& \left. + \Sigma_r \gamma_{2kr} \ln(Y_{ij,t-2}) \mathbbm{1}(B_n) \right] \\
\end{aligned}
\mathbbm{1}(i \in k) \\
& + \theta_{ij} + \lambda_{t} + \epsilon_{ijt} \nonumber
\end{align}
So, what I'd like to see is those left and right square brackets within the aligned
environment span the whole four lines within that aligned
section.