Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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?

share|improve this question
3  
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

1 Answer 1

up vote 2 down vote accepted

I have the solution already... is not that beautiful, but there is an example.

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,\]

The result

share|improve this answer
3  
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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.