I have a big table that does not fit in one page. I used longtable package in order to make it roll to other pages. However, it seems that it is not working and all of my table contents appear in one page and it is violating the margins. I am putting the code here.
Code: Select all
\begin{table}
\begin{footnotesize}
\begin{center}
\begin{longtable}{| p{2.2cm} || p{1cm} p{1cm} p{4cm} | p{0.9cm} p{1.1cm} p{1.1cm} p{1.1cm} |}
\caption{Variables of social capacities\label{tab:capacity}} \\
\hline \hline
\multicolumn{4}{|c}{ } & \multicolumn{4}{|c|}{ASSUMED Relationship with costs} \\ \hline
Variables & Adaptive capacity & Coping Capacity & Indicators/proxies & Direct Tang. & Direct Intang. & Indirect Tang. & Indirect Intang. \\ \hline \endfirsthead
\hline \hline
\multicolumn{4}{|c}{ } & \multicolumn{4}{|c|}{ASSUMED Relationship with costs} \\ \hline
Variables & Adaptive capacity & Coping Capacity & Indicators/proxies & Direct Tang. & Direct Intang. & Indirect Tang. & Indirect Intang. \\ \hline
\endhead
\hline \multicolumn{8}{|r|}{{Continued on next page}} \\ \hline
\endfoot
\hline \hline
\endlastfoot
\textbf{Age} & & X & Percent of population under five years old; Percent of population over 65 years; Median age; & & & + & + \\
\textbf{Gender} & & X & Percent of females; Percent of female headed households; & & + & + & \\
\textbf{Family structure} & & X & Percent of single parents households; Percent of households with more than 4 individuals; & & + & & + \\
\textbf{Disabled} & X & X & Percent residents in nursing homes; Percent ill or disabled residents; & & + & & +\\
\textbf{Income level} & X & X & Per capita income; Median monetary value of owner-occupied housing; Median rent for renter-occupied housing units; Credit rating of inhabitants" & + & & + & \\
\textbf{Social disparity} & X & X & Gini index of income; Percent of households earning more than X; Percent of households earning les than Y; Dependents on social services & + & + & & \\
\textbf{Education }& X & & Negative of percent of population 25 years or older with no high school diploma; Percent of population with higher education; & & & & \\
\textbf{Employment} & X & & Percent of civilian labour force unemployed; Type of employment (full time, part time, self employed, etc) & & & & \\
\textbf{Safety network} & & X & Negative of quality of relationships within the community; Percent of isolated population; Percent population change; Negative of percent with 1st to 2nd level connections to civil protection; & & + & & +\\
\textbf{Trust} & & X & experts elicitation / measure of trust & + & & & - \\
\textbf{Risk perception} & X & X & experts elicitation / measure of perception & & & & \\
\textbf{Risk governance }& X & X & Per capita number of community hospitals; Per capita number of physicians; Local gov. debt to revenue ratio; Access to places (number) of safety during the event; Number of red cross volunteers; Hours spent on training and manoeuvre & - & - & - & - \\
\textbf{Early warning capacity} & X & X & Number of early warning systems in place for typology of hazard; & - & - & - & - \\
\textbf{Risk spreading} & X & X & \% of hazard insured households; \% of hazard insured economic activities; & - & & & \\
\textbf{Economic diversification} & X &X & Normalised Herfindahl index of sectoral (i.e. coarse: primary, secondary, tertiary) contribution to GDP and or to employment; & + & + & & \\
\textbf{Interconnectivity of economy} & X &X & Net trade in goods and services (exports +); Percent of resident that travel to work outside the modelled area; & - & & + & + \\
\textbf{New comers} & & X & Percent renter-occupied housing units; Percent of recent residents/immigrants; Percent of people living in informal houses; & - & + & & + \\
\end{longtable}
\end{center}
\end{footnotesize}
\end{table}
http://users.sdsc.edu/~ssmallen/latex/longtable.html
and the example perfectly works. At this moment I am not able to find what is the reason that it is not working for my table. Any help is appreciated.
Cheers,
Vahid