Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Want to let tablenotes appear in one line.

751 views
Skip to first unread message

Hongyi Zhao

unread,
Jan 19, 2009, 9:58:09 AM1/19/09
to
Hi all,

Consider the following minimal example:

\documentclass{article}
\usepackage{booktabs,threeparttable}

\begin{document}
\begin{table}[htbp]
\centering
\begin{threeparttable}
\caption{\label{tab:results}Effect of Trade Openness on
Environment (Air Pollution)}
\begin{tabular}{lccc}
\toprule
& NO$_2$ & SO$_2$ & PM \\
\midrule
$\ln(y/pop)$ & 408.74 $^a$ & 287.25 $^b$ & 566.65 \\
\bottomrule
\end{tabular}
\begin{tablenotes}
\item[a] Term a.
\item[b] Term b.
\end{tablenotes}
\end{threeparttable}
\end{table}
\end{document}

In this case, the _tablenotes_ will appear in two lines like this:

a Term a.
b Term b.

If I want to let tablenotes appear just in one line like the
following, what should I do?

a Term a. b Term b.

Regards,

--
.: Hongyi Zhao [ hongyi.zhao AT gmail.com ] Free as in Freedom :.

Lars Madsen

unread,
Jan 19, 2009, 10:21:38 AM1/19/09
to

you do not need to use the tablenotes environment, you can just write
the text without it. tablenotes just provides a list that is all,
nothing special.

--

/daleif (remove RTFSIGNATURE from email address)

LaTeX FAQ: http://www.tex.ac.uk/faq
LaTeX book: http://www.imf.au.dk/system/latex/bog/ (in Danish)
Remember to post minimal examples, see URL below
http://www.tex.ac.uk/cgi-bin/texfaq2html?label=minxampl
http://www.minimalbeispiel.de/mini-en.html

Donald Arseneau

unread,
Jan 19, 2009, 4:52:22 PM1/19/09
to
On Jan 19, 6:58 am, Hongyi Zhao <hongyi.z...@gmail.com> wrote:

> If I want to let tablenotes appear just in one line like the
> following, what should I do?
>
> a Term a. b Term b.

Quoth threeparttable.sty:

% Some options
% are provided for common variations of the table notes.
%
% Options:
% [para] Notes come one-after-another without line breaks
% [flushleft] No hanging indentation on notes
% [online] \item tag is printed normal size, not superscript
% [normal] restores default formatting

Lars Madsen

unread,
Jan 19, 2009, 4:56:57 PM1/19/09
to

ahh, didn't know that one, thanks

/daleif

0 new messages