Text Formattinghow do i type this matrix like thing

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
casperyc
Posts: 50
Joined: Thu Oct 15, 2009 11:23 pm

how do i type this matrix like thing

Post by casperyc »

like this one
like this one
组合 1.jpg (24.59 KiB) Viewed 3201 times
Hi all,

How could I type set this matrix like thing?

Thanks!

casper
Last edited by casperyc on Thu Dec 16, 2010 11:57 pm, edited 2 times in total.

Recommended reading 2024:

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

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

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

west.logan
Posts: 87
Joined: Tue Sep 14, 2010 6:58 pm

Re: how do i type this matrix like thing

Post by west.logan »

Would you mind clarifying what is being attempted?
My initial understanding, when I looked at the image, is that there are four columns and three rows. The first bracket applies to the first two rows, the second to the last two rows, and the final bracket applies to all three rows together.

I am not certain what the purpose is for it, or if this is correct. Can you elaborate a bit?
casperyc
Posts: 50
Joined: Thu Oct 15, 2009 11:23 pm

Re: how do i type this matrix like thing

Post by casperyc »

Hi there,

Your understanding is correct.
This 'wired' expression came from my lecture notes, where
the first column are the means from some experiment.
The brackets 'says' that the difference is significant at certain level.

I found that I may need to use bigdelim package,
But i haven't quite figured out how to use it.

Thanks.

casper
User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

how do i type this matrix like thing

Post by frabjous »

It may depend on how fussy you are. The following gives a rough and ready version of your "matrix like thing":

Code: Select all

\documentclass{article}
\usepackage{multirow}
\begin{document}

\begin{tabular}{rcr@{}lc}
      & 5\% & \multicolumn{2}{c}{1\%}                         & 0.1\% \\
17.17 &     &\multirow{2}{*}{\Big\}} &                        & \multirow{3}{*}{\Bigg\}}\\
20.20 &     &                        &\multirow{2}{*}{\Big\}} & \\
23.04 &     &                        &                        & \\
\end{tabular}

\end{document}
thingy.png
thingy.png (4.11 KiB) Viewed 3178 times
This isn't perfect, but it may be good enough. (I wasn't very sure if the dots in the scan were part of the construction or just a byproduct of the scanning process. I also wasn't sure that a tabular would work in the larger context.)

(EDIT: Oops, 20.20 should 20.29, but that's easily fixed.)
casperyc
Posts: 50
Joined: Thu Oct 15, 2009 11:23 pm

how do i type this matrix like thing

Post by casperyc »

frabjous wrote:It may depend on how fussy you are. The following gives a rough and ready version of your "matrix like thing":

Code: Select all

\documentclass{article}
\usepackage{multirow}
\begin{document}

\begin{tabular}{rcr@{}lc}
      & 5\% & \multicolumn{2}{c}{1\%}                         & 0.1\% \\
17.17 &     &\multirow{2}{*}{\Big\}} &                        & \multirow{3}{*}{\Bigg\}}\\
20.20 &     &                        &\multirow{2}{*}{\Big\}} & \\
23.04 &     &                        &                        & \\
\end{tabular}

\end{document}
thingy.png
This isn't perfect, but it may be good enough. (I wasn't very sure if the dots in the scan were part of the construction or just a byproduct of the scanning process. I also wasn't sure that a tabular would work in the larger context.)

(EDIT: Oops, 20.20 should 20.29, but that's easily fixed.)
That's a nice and easy way to 'cheat'.

Thanks!

casper
Post Reply