Math & Sciencetype outside the borders of matrix

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
Post Reply
rossy
Posts: 2
Joined: Fri Nov 28, 2008 3:47 pm

type outside the borders of matrix

Post by rossy »

Hi all,
I have the following problem. I have a matrix and i want to type some explanation against each row outside the borders of the matrix. For example (first row) -> some text. I'm out of idea. Will appreciate if someone can help me.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

type outside the borders of matrix

Post by gmedina »

Hi,

you could use several array environments, as the following example suggests:

Code: Select all

\documentclass{article}
\usepackage{amsmath}

\begin{document}

\[
\left[
\begin{array}{ccc}
  1 & 2 & 3\\
  4 & 5 & 6\\
  7 & 8 & 9
\end{array}
\right]\hspace{-5pt}
\begin{array}{l}
  \}\\ \\
  \}\\
\end{array}
\begin{array}{l}
  \text{some explanatory text.}\\ \\
  \text{some other text.}\\
\end{array}
\]

\end{document}
1,1,2,3,5,8,13,21,34,55,89,144,233,...
rossy
Posts: 2
Joined: Fri Nov 28, 2008 3:47 pm

Re: type outside the borders of matrix

Post by rossy »

Thanks a lot that was just what I need. You saved me :)
lmz
Posts: 3
Joined: Tue Apr 21, 2009 7:27 am

type outside the borders of matrix

Post by lmz »

just use

Code: Select all

\bordermatrix
in knowledge I trust
Post Reply