Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

vertical equivalent of \underbrace and \overbrace

39 views
Skip to first unread message

Sam Als

unread,
Apr 30, 2000, 3:00:00 AM4/30/00
to
Hi;

I would like to generate a matrix like

[ . ] }
| . | |
| H_1 . H_3 | |
| . | > m
| . | |
H= |...................| }
| . | }
| . | |
| H_2 . H_4 | > n
[ . ] }
`---v------'`--v----'
r s

The r and s can be entered using \over and \underbrace, is there a way that
I can enter m and n and the braces?

Thanks in advance.

Sam


Harvey Greenberg

unread,
Apr 30, 2000, 3:00:00 AM4/30/00
to Sam Als
I'm sure someone will answer with a more general method, but I think the
following does what you want in this particular case.

\[ \begin{array}{ll}
H = \left[ \begin{array}{ccc} H_1 &
\psline[linestyle=dotted,unit=1cm,dotsep=4pt]{-}(0,.2)(0,-1)
& H_3 \\ \hdotsfor{3} \\
H_2 & & H_4
\end{array} \right] \hspace{-.2in} &
\begin{array}{l} \Big{\}} m \\
\Big{\}} n
\end{array}
\end{array}
\]

In the preamble, you will need \usepackage{amsmath} (for \hdotsfor) and
\usepackage{pst-all} (for the dotted vertical rule).

(There must be a better way to have a dotted vertical rule than to use
PSTricks, but I don't know what it is.)

Thanks,
Harvey
hgre...@carbon.cudenver.edu http://www.cudenver.edu/~hgreenbe/
Check the Tours that I've added to my Mathematical Programming Glossary at
http://www.cudenver.edu/~hgreenbe/glossary/glossary.html

On 30 Apr 2000, Sam Als wrote:

> Date: 30 Apr 2000 13:37:58 GMT
> From: Sam Als <mas...@yahoo.com>
> Newsgroups: comp.text.tex
> Subject: vertical equivalent of \underbrace and \overbrace

Sam Als

unread,
Apr 30, 2000, 3:00:00 AM4/30/00
to
hgre...@carbon.cudenver.edu (Harvey Greenberg) wrote in
<Pine.OSF.4.10.100043...@carbon.cudenver.edu>:

Your suggestion generates the matrix but I do not see how it generates the
right braces and m and n next to them.

Thanks,

Sam


0 new messages