GeneralTable footnotes (threeparttable package) Please help!!!!

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
gamitor
Posts: 3
Joined: Sat Sep 13, 2008 4:36 pm

Table footnotes (threeparttable package) Please help!!!!

Post by gamitor »

I am creating a table and I want to use threeparttable package to put some notes and footnotes in the table. Everything works fine but the second column begins there where the footnotes end. Since my footnotes are too large is there any way to fix that. If I use tabular instead of tabularx the footnotes are set to the same width if the first column so the footnotes are to narrow is there any way to set the width if the footnotes independently from the first column any help will just save my life

thanks

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

Table footnotes (threeparttable package) Please help!!!!

Post by gmedina »

Hi,

it's difficult to give advise without some more information. Can you please post a minimal working example showing the undesired behaviour?
1,1,2,3,5,8,13,21,34,55,89,144,233,...
User avatar
Juanjo
Posts: 657
Joined: Sat Jan 27, 2007 12:46 am

Table footnotes (threeparttable package) Please help!!!!

Post by Juanjo »

There have been some threads about tables and footnotes. Perhaps this one may be helpful.
The CTAN lion is an artwork by Duane Bibby. Courtesy of www.ctan.org.
gamitor
Posts: 3
Joined: Sat Sep 13, 2008 4:36 pm

Re: Table footnotes (threeparttable package) Please help!!!!

Post by gamitor »

Hi, gmedina thanks for your help,

the code that I have wriiten is:

\documentclass{report}
\usepackage{rotating}
\usepackage{ctable}
\usepackage{array}
\usepackage{tabularx}
\usepackage{tabulary}
\usepackage{footnote}
\usepackage{threeparttable}
\begin{document}

\begin{sidewaystable}
\begin{threeparttable}
\caption {Summary of EKC studies using different pollutants} \label {Bruyntable}
\begin{tabularx}{\textwidth}{p{1cm} p{1.4cm} *{9}{X}}
\toprule
Authors & Methods (Effects) \tnote{a} & SO2 (peak) (through) type) \tnote{b} & Part \tnote{c} (peak) type & NOx emis. (peak) & CO2 emis. (peak) & Faecal Coliform (peak) & 1/Dissolved oxygen (peak) \tnote{d} & Deforestation & Exch. Rates & Additional variables\\
\midrule[0.08em]
Grossman and Krueger, 1995 & GLS (re) & N (4100) (13000) conc. & EKC (6200) conc. & { } & { } & EKC (8000) & EKC (2700) & PPP & Lagged income\\
Shafik and Bandyopadhyay, 1992 & OLS (fe) & EKC (3700) conc. & EKC (3300) conc. & { } & MI & N (1200) (11400) & MI & flat & PPP & Variaty of other variables\\
Panayotou, 1993 & OLS (pcs) & EKC (3000) emis. & EKC (4500) emis. & EKC (5500) & { } & { } & { } & EKC (1200) & MER & { }\\
Selden and Song, 1994 \tnote{e} & GLS (re,fe) &EKC (10300) emis. & EKC (10300) &EKC (11200) & { } & { } & { } & { } & PPP & Population density\\

\bottomrule
\begin{tablenotes}
\item Source: de Bruyn and Heintz (1999)
\item Notes:
\item N= N-shaped curve, U=U-shaped curve, EKC= inverted U-shaped curve, MI = monotonically increasing curve, flat = all parameters except intercept insignificant. Peaks rounded at US\$100.
\item[a] GLS = generalized least squares, OLS = ordinary least squares, re = random effects, fe = fixed effects, pcs = pooled cross section
\item Conc = concentrations, emis = emissions, PPP = purchasing power parity, MER = market exchange rate
\item[c] Particles differ with respect to how these are being measured
\item[d] Dissolved oxygen is an indicator for environmental quality, not degradation. And for these reasons we take the inverse of dissolved oxygen. Hence an EKC in fact reflects a U-.shaped curve and the monotonically decreasing pattern found by Shafik and Bandyopadhyay reflects continuous deterioration.
\item[e] Turning points formodels with population density, for SO2 using random effects, for particles and NOx using fixed effects.
\end{tablenotes}
\end{tabularx}
\end{threeparttable}
\end{sidewaystable}
\end{document}

if you latex it you will see how weird the result is. If you can give me any advise of how I can fix this it would be more than highly appreciate

Thanks
gamitor
Posts: 3
Joined: Sat Sep 13, 2008 4:36 pm

Re: Table footnotes (threeparttable package) Please help!!!!

Post by gamitor »

Hi, Juanjo

thanks a lot for your help. I finally found my mistake. In case that anyone have the same problem the mistake is that I was putting the \end{tabularx} after the \{endtablenotes} so the program was receiving the notes as part of the table. Now I just put the \{tabularx} before the \{begintablenotes} and everything is fine, again thanks a lot for your help
:D
Post Reply