# Determinants inside matrix

I am typing in .tex a solution using Cramer method but I can't find a way to write those matrixes inside the main matrix. Is there an easy way to do that?

-
Maybe this can help? tex.stackexchange.com/questions/50627/matrix-in-a-matrix – Melanie Nov 11 '13 at 1:57
Welcome to TeX.SX! You can have a look on our starter guide to familiarize yourself further with our format. – cmhughes Nov 11 '13 at 2:21
You should contruct a multi merged matrix. This should help you out: tex.stackexchange.com/questions/43656/… – Rafareino Nov 11 '13 at 11:06
thanks Malanie, that will be usefull – Claudia Nov 11 '13 at 15:48

enter code here
$adj(\mathbb{K})= \left[ \def\arraystretch{1.8} \begin{array}{ccc} +\begin{vmatrix} \frac{-2r\cos\theta}{R_E\sin^3\theta} & 0 \\ 0 & 1 \end{vmatrix} & -\begin{vmatrix} \frac{1}{R_E\sin^2\theta} & 0 \\ 0 & 1 \end{vmatrix} & +\begin{vmatrix} \frac{1}{R_E\sin^2\theta} & -\frac{-2r\cos\theta}{R_E\sin^3\theta} \\ 0 & 0 \end{vmatrix} \\ &&\\ -\begin{vmatrix} \frac{-R^2_E\sin^2\theta}{r^2} & 0 \\ 0 & 1 \end{vmatrix} & +\begin{vmatrix} \frac{-2R^2_E\cos\theta}{r^3} & 0 \\ 0 & 1 \end{vmatrix} & -\begin{vmatrix} \frac{-2R^2_E\cos\theta}{r^3} & -\frac{-R_E\sin\theta}{r^2} \\ 0 & 0 \end{vmatrix} \\ &&\\ +\begin{vmatrix} \frac{-R^2_E\sin\theta}{r^2} & 0 \\ \frac{-2r\cos\theta}{R_E\sin^3\theta} & 0 \end{vmatrix} & -\begin{vmatrix} \frac{-2R^2_E\cos\theta}{r^3} & 0 \\ \frac{1}{R_E\sin^2\theta} & 0 \end{vmatrix} & +\begin{vmatrix} \frac{-2R^2_E\cos\theta}{r^3} &\frac{-R^2_E\sin\theta}{r^2} \\ \frac{1}{R_E\sin^2\theta} & \frac{-2r\cos\theta}{R_E\sin^3\theta}\end{vmatrix} \end{array} \right]^T,$

A quick hint: if you indent lines by 4 spaces, then they are marked as a code sample. You can also highlight the code and click the "code" button (with "{}" on it). – Mico Nov 11 '13 at 15:31