I want to centre (horizontally) a threepartable, but
I can't manage to do it.
In 1996 Donald Arseneau recomended:
http://www.dejanews.com/getdoc.xp?AN=135688926
to use \leavevmode, \indent or \noident, but still I
can't make it work.
Any suggestions ?
We have this version of threeparttable:
% 3parttable.sty (or threeparttable) (or 3parttab on DOS)
% by Donald Arseneau Updated on Dec 9, 1996.
--------------------------------
Here comes my code:
..
.
\section{Database sizes}
\label{sec:Database sizes}
This is some text. ......
\indent \begin{threeparttable}
\begin{center}
\footnotesize
\caption{Database sizes}
\label{tbl:Database sizes}
\begin{tabular}[center]{| p{2.3cm} || c | c | c |} \hline
& \textbf{ Empty db }
& \textbf{58 KO (small db)}
& \textbf{423 KO (big db)} \\ \hline \hline
\textbf{RDBMS}
& 478KB\tnote{a} & 5MB\tnote{c} & 35MB\tnote{e} \\ \hline
\textbf{ODBMS}
& 258KB\tnote{b} & 3.8MB\tnote{d} & 26MB\tnote{f} \\ \hline
\end{tabular}
\begin{tablenotes}
\scriptsize
\item[a] This is some note .....
\item[b] This is some note ...
\end{tablenotes}
\end{center}
\end{threeparttable}
This is some text. .....
-----------------
Here is the output (313KB):
http://www.ifi.uib.no/student/hf/erlend/latex/threeparttable.ps
---
Thank you very much for your help !
Regards,
Erlend
--------
http://www.ifi.uib.no/student/hf/erlend/
(If you reply, remember to remove spam_yourself)
>\indent \begin{threeparttable}
> \begin{center}
If you want to center the threeparttable, you must put the threeparttable
in a center environment, not vice versa.
(What you are getting is the tabular centered inside the threeparttable.
This isn't noticable because the threeparttable is exactly the width of
the tabular, which is its purpose.)
>to use \leavevmode, \indent or \noident, but still I
>can't make it work.
>% 3parttable.sty (or threeparttable) (or 3parttab on DOS)
>% by Donald Arseneau Updated on Dec 9, 1996.
I am not sure if that update contained the code so that centering
worked as desired, without any extra commands.
Donald Arseneau as...@triumf.ca
> >I want to centre (horizontally) a threepartable, but
>
> >\indent \begin{threeparttable}
> > \begin{center}
>
> If you want to center the threeparttable, you must put the threeparttable
> in a center environment, not vice versa.
Yes, so I noticed late last night, after many more frustration hours :-)
I was to much hungup in the normal table syntax and your \indent,
\noindent
....
> (What you are getting is the tabular centered inside the threeparttable.
> This isn't noticable because the threeparttable is exactly the width of
> the tabular, which is its purpose.)
So I understand now :-)
> >to use \leavevmode, \indent or \noident, but still I
> >can't make it work.
> >% 3parttable.sty (or threeparttable) (or 3parttab on DOS)
> >% by Donald Arseneau Updated on Dec 9, 1996.
>
> I am not sure if that update contained the code so that centering
> worked as desired, without any extra commands.
It worked !!
BTW, I realy like your threeparttable, it gives you full flexibility
to create your footnotes!
Thank you for your help!
Ciao,
Erlend