nested tabular/arrays: how to increase row spacing at outer level?

nested tabular/arrays: how to increase row spacing at outer level?

Post by Michael Friend » Sun, 11 Mar 2001 07:44:49



I have a complex tabular, with nested arrays within some of the cells.
I want to increase the spacing of between the rows of the outer tabular,
but, e.g., \\[2ex] doesn't work.  I've tried adding struts at the end of
each row, and fiddling with \arraystretch (where I can't seem to increase
the outer, without also increasing the inner arrays).

What can I do to fix this?  I show it in the most basic form.

\documentclass{article}
\usepackage{bm}
\newcommand{\mat}[1]{\ensuremath{\bm{#1}}}

\begin{document}
\newcommand{\T}{\scriptstyle}
%\newcommand{\strutt}{\rule{0pt}{2ex}}
%\renewcommand{\arraystretch}{1.2}
\begin{tabular}{p{.4\textwidth}p{.55\textwidth}}
\hline
\multicolumn{1}{c}{Hypothesis}  & \multicolumn{1}{c}{Model specifications} \\
\hline
A. $H_{=\Sigma}$ : $\Sigma_1 = \Sigma_2$ &
  $\left \{
  \begin{array}{l}
  \mat{\Lambda}_1 = \mat{\Lambda}_2 = \mat{I}_{(4\times 4)} \\
  \mat{\Psi}_1 = \mat{\Psi}_2 = \mat{0}_{(4\times 4)} \\
  \mat{\Phi}_1 = \mat{\Phi}_2 \mbox{ constrained, free}
  \end{array}
  \right. $
  \\[2ex]
%
B. $H_{k=2}$ : $\Sigma_1, \Sigma_2$ both fit with $k=2$
  correlated factors &
  $\left \{
  \begin{array}{l}
  \mat{\Lambda}_1 = \mat{\Lambda}_2 = \left[
                \begin{array}{cc}
                \T{x} & \T{0} \\[-5pt]
                \T{x} & \T{0} \\[-5pt]
                \T{0} & \T{x} \\[-5pt]
                \T{0} & \T{x}
                \end{array}
  \right] \\
  \mat{\Phi}_1, \mat{\Phi}_2,   \mat{\Psi}_1, \mat{\Psi}_2 \mbox{ free}
  \end{array}
  \right. $
  \\[2ex]
%
C. $H_{\Lambda}$ : $\mat{\Lambda}_1 = \mat{\Lambda}_2$ + $H_{k=2}$&
        $\mat{\Lambda}_1 = \mat{\Lambda}_2$ (constrained)
  \\[2ex]
%
D. $H_{ \Lambda , \Theta }$ : $\mat{\Psi}_1 = \mat{\Psi}_2$ + $H_{\Lambda}$ &
        $\left\{
        \begin{array}{l}
   \mat{\Psi}_1 = \mat{\Psi}_2 \mbox{ (constrained)} \\
        \mat{\Lambda}_1 = \mat{\Lambda}_2  
   \end{array}
        \right.$
        \\[2ex]
E. $H_{ \Lambda , \Theta , \Phi }$ : $\mat{\Phi}_1 = \mat{\Phi}_2$ + $H_{  
\Lambda , \Theta }$ &
        $\left\{
        \begin{array}{l}
   \mat{\Phi}_1 = \mat{\Phi}_2 \mbox{ (constrained)} \\
   \mat{\Psi}_1 = \mat{\Psi}_2  \\
        \mat{\Lambda}_1 = \mat{\Lambda}_2  
   \end{array}
        \right.$ \\
\hline
\end{tabular}
\end{document}

--

Psychology Dept
York University      Voice: 416 736-5115  Fax: 416 736-5814
4700 Keele Street    http://www.math.yorku.ca/SCS/friendly.html
Toronto, ONT  M3J 1P3 CANADA

 
 
 

nested tabular/arrays: how to increase row spacing at outer level?

Post by Gert und Ulrike Fische » Wed, 14 Mar 2001 01:09:12


Michael Friendly schrieb:

Quote:

> I have a complex tabular, with nested arrays within some of the cells.
> I want to increase the spacing of between the rows of the outer tabular,
> but, e.g., \\[2ex] doesn't work.  

I tried \\[10ex] instead and it worked fine. BTW try the package
booktabs.

Ulrike Fischer

 
 
 

1. How to increase row-spacing in array?

I'd like to have my \[\begin{array} ... \end{array}\]
generate rows that are separated by a bit more. At the moment I write
\\[.1cm] after the end of each row but that's kind of yucky. Is there a
way to set this property just once at the start of the table? As a guess I
tried \setlength{\baselineskip}{2cm}; but this gave an error if it came
after the \begin{array} and did nothing if it came after the \[. I've
looked through 'A Guide To Latex' by Kopka&Daly and even array.sty but
without comprehension...

One additional question: I'd like my array to split itself over two pages.
I've put it all into just a single array so that the columns line up, but
now it won't page-break. Again, I wasn't able to find enlightnment from
Kopka&Daly.

Many thanks in advance for any help,
Lucian

--
Lucian Wischik, Queens' College, Cambridge CB3 9ET. www.wischik.com/lu

2. Mondo-audio switcher mixer thing

3. Increasing subsection nesting level

4. Windows Software Development

5. tabular row spacing

6. 3480 Tape Drives

7. row spacing in tabular environment

8. SENDING QUEUED MAIL MESSAGES !! How to STOP

9. Between-row spacing in tabular

10. How to get 4pt spacing between rows in a tabular?

11. How is it possible to set space between entries in one row in tabular environment

12. 3-level nested macro defs

13. LaTeX: itemize env. - more nesting levels?