好的,女士们、先生们,这是一个后续问题。
尽管我的大部分疑虑都已在上一个问题,我还有一些问题。我想知道是否有办法让表格注释的缩进与主表格相同。正如您所见,此代码足以按照我喜欢的方式修复主表格,但表格脚注的缩进是我不喜欢的。
主要代码如下:
\documentclass[11pt,a4paper]{book}
\usepackage[margin=1in,showframe]{geometry}
\usepackage{threeparttable,booktabs}
\begin{document}
\begin{table}
\centering
\begin{threeparttable}
\caption{OLS results} \label{ols_results}
\begin{tabular}{@{} p{4cm} cccccccc @{}}
\toprule
& \multicolumn{4}{c}{Non-HMO Hospitals}
& \multicolumn{4}{c@{}}{HMO-Hospitals} \\
\cmidrule(lr){2-5} \cmidrule(l){6-9}
& \multicolumn{2}{c}{Doctors} & \multicolumn{2}{c}{Non-Doctors}
& \multicolumn{2}{c}{Doctors} & \multicolumn{2}{c@{}}{Non-Doctors} \\
\cmidrule(lr){2-3} \cmidrule(lr){4-5} \cmidrule(lr){6-7} \cmidrule(l){8-9}
& Mean & StDev & Mean & StDev
& Mean & StDev & Mean & StDev \\
\midrule
\underline{Demographics}: &&&&&&&& \\
Age & 32.59* & [4.00] & 31.13* & [4.28] & 32.63* & [4.12] & 30.69* & [4.28] \\
Mother's Education (\%) &&&&&&&& \\
\hspace{0.2em} Some college &&&&&&&& \\
\hspace{0.2em} College graduate &&&&&&&& \\
\hspace{0.2em} High education &&&&&&&& \\
Father's education &&&&&&&& \\
\hspace{0.2em} Some college &&&&&&&& \\
\hspace{0.2em} College graduate &&&&&&&& \\
\hspace{0.2em} High education &&&&&&&& \\
Insurance (\%) &&&&&&&& \\
\hspace{0.2em} HMO &&&&&&&& \\
\hspace{0.2em} Government &&&&&&&& \\
\hspace{0.2em} Indigent &&&&&&&& \\
\raggedright Placental\slash uterine rupture\slash
haemorrhage & 1.44 & [0.23] &&&&&& \\
\midrule
Observations
& \multicolumn{2}{c}{2360} & \multicolumn{2}{c}{7852}
& \multicolumn{2}{c}{256} & \multicolumn{2}{c@{}}{879} \\
\bottomrule
\end{tabular}
\begin{tablenotes}
\tiny
\item[a] [whatever here, this is just a test] This table is made with the use of \LaTeXe. Cristobal is a port on the Atlantic side of the Panama Canal. It is located on the western edge of Manzanillo Island and is part of the Panamanian city and province of Colon. Cristobal Colon is the Spanish translation for Christopher Columbus, the Genovese explorer for whom these places were named.
\end{tablenotes}
\end{threeparttable}
\end{table}
end{document}