Difference between revisions of "Command/setupcolumnsetstart"

From Wiki
Jump to navigation Jump to search
m (Add note on interaction with \setupcolumnsetlines)
m ({{Columns navbox}})
Line 65: Line 65:
 
All issues with:
 
All issues with:
 
{{Forum|{{SUBPAGENAME}}}}
 
{{Forum|{{SUBPAGENAME}}}}
 +
 +
{{Columns navbox}}
  
 
[[Category:Command/Columns|setupcolumnsetstart]]
 
[[Category:Command/Columns|setupcolumnsetstart]]

Revision as of 10:33, 1 October 2012

\setupcolumnsetstart

Syntax

\setupcolumnsetstart[...][...][...][...]
[...] columnset name
[...] nesting level
[...] number of individual column in columnset
[...] starting line (1 = start at the top)

Description

Specify, for an individual column in a columnset, on what line you want its contents to start. Say that a column is setup with \setupcolumnsetlines to have 40 lines, and with \setupcolumnsetstart to start on line 15, then the column will have lines 1-14 empty, and text in lines 15-40; any text beyond that will end up in the next column.

Example

(This example is not compiled here, but works correctly.)

\definecolumnset [three] [n=3,balancing=yes]

\setupcolumnsetlines[three][1][1][40]
\setupcolumnsetlines[three][1][2][40]
\setupcolumnsetlines[three][1][3][40]

\setupcolumnsetstart[three][1][1][15]
\setupcolumnsetstart[three][1][2][20]
\setupcolumnsetstart[three][1][3][20]

\starttext
  \switchtobodyfont[small]
  \startcolumnset[three] 
    \dorecurse {4}{\input tufte \par} 
  \stopcolumnset
\stoptext

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: