Auto-Latex Equations – Using Full Brackets in Auto-Latex Equations Add-on for Google Docs

equationsmatrices

I am trying to create full brackets within an array, using Auto-Latex Equations plugin for google docs, so I can stack elements over the top of each other. For example, in the following code I have 0 over 0 but the brackets on either side are below the 0's (example).

$$\dbinom{S_0}{S_\delta} \sim N \left(\begin{array}{ccc} [\begin{array}{c} 0 & 0 \end{array}] &,& \left(\begin{array}{cc} \sigma^2_S_0 & \rho_S_0,_S_\delta\sigma_S_0\sigma_S_\delta & \rho_S_\delta_,_S_0\sigma_S_0\sigma_S_\delta & \sigma^2_S_\delta \end{array}\right) \end{array}\right)$$

I see the commands \lceil and \lfloor but of course these brackets are only half of what I am looking for. I would ideally like to recreate something like this enter image description here.

Best Answer

Something like this using the matrices? I think that the 2nd image is written with equation editor of Word with the option Insert equation.

\documentclass[a4paper,12pt]{article}
\usepackage{amsmath,amssymb}
\begin{document}
\[\begin{bmatrix}
Y_{1j}\\
Y_{2j}\\
\cdots\\
Y_{n_ij}
\end{bmatrix}=\begin{bmatrix}
1\\
1\\
\cdots\\
1
\end{bmatrix}[\gamma_{00}]+[u_{0j}]+\begin{bmatrix}
e_{1j}\\
e_{2j}\\
\cdots\\
e_{n_ij}
\end{bmatrix}\]
\end{document}

enter image description here

Related Question