Difference between revisions of "Command/setupcolumnsetstart"

From Wiki
Jump to navigation Jump to search
(Create entire page)
 
 
(3 intermediate revisions by 2 users not shown)
Line 4: Line 4:
 
}}
 
}}
  
 +
== [[Help:Reference|Syntax]] (autogenerated) ==
 +
<syntax>setupcolumnsetstart</syntax>
 
== [[Help:Reference|Syntax]] ==
 
== [[Help:Reference|Syntax]] ==
 
<table cellspacing="4" cellpadding="2" class="cmd">
 
<table cellspacing="4" cellpadding="2" class="cmd">
Line 33: Line 35:
  
 
== Description ==  
 
== Description ==  
Specify, for an individual column in a columnset, on what line you want its contents to start.
+
Specify, for an individual column in a columnset, on what line you want its contents to start. Say that a column is setup with {{cmd|setupcolumnsetlines}} to have 40 lines, and with {{cmd|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 ==
 
== Example ==
Line 65: Line 67:
 
All issues with:
 
All issues with:
 
{{Forum|{{SUBPAGENAME}}}}
 
{{Forum|{{SUBPAGENAME}}}}
 +
 +
{{Columns navbox}}
  
 
[[Category:Command/Columns|setupcolumnsetstart]]
 
[[Category:Command/Columns|setupcolumnsetstart]]

Latest revision as of 14:30, 13 October 2019

\setupcolumnsetstart

Syntax (autogenerated)

\setupcolumnsetstart[...][...][...][...]
[...]name
[...]number
[...]number
[...]number


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: