# [Tugindia] How to write block matrices

Manjusha Joshi manjusha.joshi at gmail.com
Thu Sep 27 08:05:17 CEST 2007

Hello,,

On 9/27/07, Shefalika Samaddar <shefalika99 at yahoo.com> wrote:
>
> I had a similar but slightly different problem. As I was in a hurry, I
> finally got it solved by Word 2007 (Insert -> Math
>
> Lovy Singhal <lovysinghal at hotmail.com> wrote:
>
> I have to write a matrix in which it has to have divided into blocks. I
> tried using easybmat package but my compiler is giving this error
>
>
>

Use of nested array environment produces  block matrix.

Here is the full code. No external package is used in this example. Hope
this is what you want.

-Manjusha
=============================================
\documentclass[a4paper,10pt]{article}
\begin{document}
$\left[\begin{array}{ccc} \begin{array}{ccc|} 1&2&3\\ 4&5&6\\\hline \end{array} & & \begin{array}{cc} \alpha&\beta\\ \gamma&\zeta \end{array} \\&\ddots&\\ \begin{array}{cc} 0&1 \end{array} & & x \end{array}\right]$
\end{document}

============================================

>
>