Text Formatting ⇒ how do i type this matrix like thing
how do i type this matrix like thing
How could I type set this matrix like thing?
Thanks!
casper
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
-
- Posts: 87
- Joined: Tue Sep 14, 2010 6:58 pm
Re: how do i type this matrix like thing
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?
Re: how do i type this matrix like thing
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
how do i type this 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}
(EDIT: Oops, 20.20 should 20.29, but that's easily fixed.)
how do i type this matrix like thing
That's a nice and easy way to 'cheat'.frabjous wrote:It may depend on how fussy you are. The following gives a rough and ready version of your "matrix like thing":
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.)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}
(EDIT: Oops, 20.20 should 20.29, but that's easily fixed.)
Thanks!
casper