Hi All,
Please see attached latex code for a table i am generating and the output. My main problem is in the footnote. I would like to achieve the following.
1. The width of the text in the footnote should be the same as the width of the table, right now there is a lot of space on the right.
2. How do i put appropriate spaces so that all of this just doesn't look like one long paragraph?
Thanks,
Shruti
P.S. my output is too big so i cannot attach it, but here is the tex for this table.
\documentclass{article}
\begin{document}
\begin{table}[h]
\caption{OLS estimates of More than 2 children equation}
\label{tbl:estimates`}
\renewcommand\arraystretch{1.2}
\setlength{\tabcolsep}{7pt}
\centering
\begin{tabular}{|l|c|c|c|c|c|c|}
%{p{.35\textwidth}@{\hspace{25pt}}p{.15\textwidth}@{\hspace{25pt}}p{.2\textwidth}@{\hspace{25pt}}p{.15\textwidth}}
\hline
\multicolumn{7}{l}{2001 IPUMS}\\
\hline
Independent variables & \multicolumn{3}{c|}{All Mothers} & \multicolumn{3}{c|}{Married Mothers}\\
\hline
& (1)& (2)& (3)& (4) & (5)& (6)\\\hline
Boy $1^{st}$ & --- & -0.0055 & -0.0013 & --- & -0.0055 & 0.0002\\
& & (0.0023) & (0.0022) & & (0.0028) & (0.0040)\\
\hline
Boy $2^{nd}$ & --- & -0.0043 & --- & --- & -0.0059 & ---\\
& & (0.0023) & & & (0.0028) & \\
\hline
Same sex & 0.0143 & 0.0150 & --- & 0.0227 & 0.0235 & --- \\
& (0.0026) & (0.0023) & & (0.0033) & (0.0028) & \\
\hline
Two Boys & --- & --- & 0.0109 & --- & --- & 0.0176\\
& & & (0.0033) & & & (0.0040)\\
\hline
Two girls & --- & --- & 0.0192 & --- & --- & 0.0292\\
& & & (0.0032) & & & (0.0040)\\
\hline
With other covariates & No & Yes & Yes & No & Yes & Yes\\
\hline
$R^2$ & 0.0002 & 0.2256 & 0.2256 & 0.0005 &0.2615 & 0.2615\\
\hline
F-Stata & 30.69 & 5722.88& 5722.76& 47.36 & 4562.99& 4562.85\\
N & 144643 & 144643 & 144643 & 90814 & 90814 & 90814\\
\hline
\end{tabular}
\raggedright\Myfootnote{Notes: The sample includes women aged 15-35 with two or more children. Married sample include women married or living in union at the time of the Census. Other covariates in the model are indicators for age, age at first birth, Black, Asians, White, South African, years of Education, urban dummy. Boy 1st refer to a dummy = 1 if the mother's first child was a boy, 0 otherwise; Boy 2nd refers to a dummy = 1 if the mother's second child was a boy, 0 otherwise; Same sex refers to dummy = 1 if the first two children of the mother are of the same sex, 0 otherwide; Two Boys refers to dummy = 1 if the mother's first two children were boys, 0 otherwise; Two girls refer to dummy = 1 if the mother's first two children were girls, 0 otherwise. The variable Boy2nd is excluded from columns (3) and (6). Standard errors are reported in parentheses. OLS refers to Ordinary Least Squares. N refers to number of observations in the regression. F-stats refers to F statistics.\\
Source: South Africa Census 2001, Integrated Public Use Microdata Series — International: Version 5.0. Minneapolis: University of Minnesota, 2009.\\}
\end{table}
\end{document}
Text Formatting ⇒ Footnote formating
NEW: TikZ book now 40% off at Amazon.com for a short time.

- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Footnote formating
Please use the code environment to tag code as such when posting. Search the forum for threeparttable. This package allows to add footnotes to tables.
Best regards
Thorsten
Best regards
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10