1

I am trying to write the attached equation using block array environment. I am suppose to use both the case and block array environment for achieving the desire output. However, I have completed almost all using block array environment, but I get stuck in how to use the left cases, and thus, i am unable to format the equation in the desired format. Any help is surely appreciated.

I am attaching both the MWE and the image of the desired equation.

The MWE is as follows:

\documentclass{article}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage{blkarray}
\usepackage{mathtools}
\usepackage{easybmat}
\usepackage{multirow,bigdelim}
\begin{document}

\[
ETC_{ij}= 
\begin{blockarray}{ccccc}
& T_{1} & T_{2} & \cdots & T_{n} \\
\begin{block}{c[cccc]}
VM_{1} & ETC_{11} & ETC_{12} & \cdots & ETC_{1m} \\
\vdots & \vdots & \vdots & \vdots & \vdots \\
VM_{VM_{1}} & ETC_{21} & ETC_{22} & \cdots & ETC_{2m} \\  
\vdots & \vdots & \vdots & \vdots & \vdots \\
VM_{VM_{\alpha}} & ETC_{n1} & ETC_{n2} & \cdots & ETC_{nm} \\
\vdots & \vdots & \vdots & \vdots & \vdots \\
VM_{VM_{\alpha + 1}} & ETC_{n1} & ETC_{n2} & \cdots & ETC_{nm} \\
\end{block}
\end{blockarray}
\]

\end{document}

enter image description here

3
  • Oh my, that's a horrible notation.
    – percusse
    Commented Mar 9, 2016 at 12:17
  • Sorry didn't get your words. Help me please. @percusse
    – M S
    Commented Mar 9, 2016 at 13:30
  • Okay! If possible, kindly let me how to shrink the array environment in latex, such that the contents fit into one column (in IEEE format), instead of spreading into two columns. I have tried using the scale box but it does not make any effect.
    – M S
    Commented Mar 9, 2016 at 13:55

1 Answer 1

1

I'd just add them into a new first column using \smash to hide their size so they do not disturb the spacing.

enter image description here

\documentclass{article}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage{blkarray}
\usepackage{mathtools}
\usepackage{easybmat}
\usepackage{multirow,bigdelim}
\begin{document}

\[
ETC_{ij}= 
\begin{blockarray}{c@{\,}ccccc}
&& T_{1} & T_{2} & \cdots & T_{n} \\
\begin{block}{c@{\,}c[cccc]}
&VM_{1} & ETC_{11} & ETC_{12} & \cdots & ETC_{1m} \\
\smash{\raisebox{2pt}{$\Biggl\{$}}&
\vdots & \vdots & \vdots & \vdots & \vdots \\
&VM_{VM_{1}} & ETC_{21} & ETC_{22} & \cdots & ETC_{2m} \\  
&\vdots & \vdots & \vdots & \vdots & \vdots \\
&VM_{VM_{\alpha}} & ETC_{n1} & ETC_{n2} & \cdots & ETC_{nm} \\
\smash{\raisebox{4pt}{$\Biggl\{$}}&
\vdots & \vdots & \vdots & \vdots & \vdots \\
&VM_{VM_{\alpha + 1}} & ETC_{n1} & ETC_{n2} & \cdots & ETC_{nm} \\
\end{block}
\end{blockarray}
\]

\end{document}
1
  • Thank You for the answer. How to use a big left brace falling on 2 rows in the above mentioned equation? The suggested answer using \Biggl\{ is not sufficient.
    – M S
    Commented Jan 1, 2017 at 14:31

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .