Difference between revisions of "Command/splitfloat"

From Wiki
Jump to navigation Jump to search
(Create reference page)
 
m (cleanup)
Line 1: Line 1:
<!-- please remove this and the following line if you have checked this page -->
 
{{Reference_Cleanup}}
 
 
{{Reference
 
{{Reference
 
|name=splitfloat
 
|name=splitfloat
Line 32: Line 30:
 
== Example ==
 
== Example ==
  
<pre class="example">
+
<!-- can't get a two page example to work here -->
 +
<texcode>
 
% splits a table across pages. Example taken from mailinglist
 
% splits a table across pages. Example taken from mailinglist
 
% I am not sure what lines=3 means here
 
% I am not sure what lines=3 means here
Line 48: Line 47:
 
       \stoptabletail
 
       \stoptabletail
 
       \starttables[|l|lp(25em)|]
 
       \starttables[|l|lp(25em)|]
       \dorecurse{50}{\NC . \NC anything \NC\AR}
+
       \dorecurse{20}{\NC . \NC anything \NC\AR}
 
     \stoptables}
 
     \stoptables}
 
\stoptext
 
\stoptext
 
+
</texcode>
</pre>
 
  
  

Revision as of 18:34, 15 April 2010

\splitfloat

Syntax

\splitfloat[...,...=...,...]{...}{...}
[...,...=...,...] see \setupfloatsplitting
{...} text
{...} text


Description

Example

% splits a table across pages. Example taken from mailinglist
% I am not sure what lines=3 means here
\starttext
\splitfloat
   [lines=3,conversion=greek]
   {\placetable{Operators}}
   {\starttablehead
      \HL
      \NC \bf Operator     \NC \bf Matches     \NC\SR
      \HL
      \stoptablehead
      \starttabletail
      \HL
      \stoptabletail
      \starttables[|l|lp(25em)|]
      \dorecurse{20}{\NC . \NC anything \NC\AR}
    \stoptables}
\stoptext


See also