How to make caption for nature table?
Hi, I have a multi-page nature table and tried to give a caption by \placetable[here][tab:sample]{sample table}{ A nature table here } But it will run wrong. It seems multipage stuff can not be float. Is there any suggestion? Thanks. -- Zhaopeng XING Tinbergen Institute
On Mon, Jun 9, 2008 at 10:05 AM, Zhaopeng Xing
Hi,
I have a multi-page nature table and tried to give a caption by \placetable[here][tab:sample]{sample table}{ A nature table here }
But it will run wrong. It seems multipage stuff can not be float. Is there any suggestion? Thanks.
You need the split parameter for \placetable. \placetable [split] {A very long table} {\bTABLE \dorecurse{200}{\bTR\bTD Text \eTD\eTR} \eTABLE} Wolfgang
Thanks. It works well.
2008/6/9 Wolfgang Schuster
On Mon, Jun 9, 2008 at 10:05 AM, Zhaopeng Xing
wrote: Hi,
I have a multi-page nature table and tried to give a caption by \placetable[here][tab:sample]{sample table}{ A nature table here }
But it will run wrong. It seems multipage stuff can not be float. Is there any suggestion? Thanks.
You need the split parameter for \placetable.
\placetable [split] {A very long table} {\bTABLE \dorecurse{200}{\bTR\bTD Text \eTD\eTR} \eTABLE}
Wolfgang ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
-- Zhaopeng XING Tinbergen Institute
On Mon, Jun 9, 2008 at 10:05 AM, Zhaopeng Xing
wrote: Hi,
I have a multi-page nature table and tried to give a caption by \placetable[here][tab:sample]{sample table}{ A nature table here }
But it will run wrong. It seems multipage stuff can not be float. Is there any suggestion? Thanks.
You need the split parameter for \placetable.
\placetable [split] {A very long table} {\bTABLE \dorecurse{200}{\bTR\bTD Text \eTD\eTR} \eTABLE}
Wolfgang A following question is how to make caption work at all with arbitrary
mån 2008-06-09 klockan 11:12 +0200 skrev Wolfgang Schuster: table set, especially with the database module. I tested with this but with no caption at output. % engine=luatex \mainlanguage[sv] \usemodule[database] \defineseparatedlist [MyTable] [separator=tab, left=\bTD,right=\eTD, first=\bTR,last=\eTR, before=\bTABLE,after=\eTABLE] \starttext \placetable[split][tab:test-tabell]{En testad tabell} {\startMyTable $ \delta $ 45 23 11 $ \omega $ 22 67 88 \stopMyTable} \stoptext I suppose there is a slight different syntax to make this work! Thanks in advance! Jan-Erik Hägglöf
A following question is how to make caption work at all with arbitrary table set, especially with the database module. I tested with this but with no caption at output.
% engine=luatex \mainlanguage[sv] \usemodule[database] \defineseparatedlist [MyTable] [separator=tab, left=\bTD,right=\eTD, first=\bTR,last=\eTR, before=\bTABLE,after=\eTABLE] \starttext \placetable[split][tab:test-tabell]{En testad tabell} {\startMyTable
\bgroup\startMyTable
$ \delta $ 45 23 11 $ \omega $ 22 67 88 \stopMyTable}
\stopMyTable\egroup
\stoptext
I suppose there is a slight different syntax to make this work!
Thanks in advance!
Jan-Erik Hägglöf
Please start next time a new thread. Wolfgang
participants (3)
-
Jan-Erik Hägglöf
-
Wolfgang Schuster
-
Zhaopeng Xing