Difference between revisions of "Command/definecolumnset"

From ConTeXt wiki
 
Line 4: Line 4:
 
}}
 
}}
  
== [[Help:Reference|Syntax]] (autogenerated)] ==
+
== [[Help:Reference|Syntax]] (autogenerated) ==
 
<syntax>definecolumnset</syntax>
 
<syntax>definecolumnset</syntax>
 
== [[Help:Reference|Syntax]] ==
 
== [[Help:Reference|Syntax]] ==

Latest revision as of 14:30, 13 October 2019

\definecolumnset

Syntax (autogenerated)

\definecolumnset[...][...][...=...,...]
[...]name
[...]name
...=...,...inherits from \setupcolumnset


Syntax

\definecolumnset[...][...]
[...] name
[...] setups

Description

Define a new columnset environment with certain properties.

Header 1 Header 2
direction right
balance no
distance 1.5\bodyfontsize
n 2
nleft Number of columns on left-hand pages
nright Number of columns on right-hand pages
width fit
lines 0
start 0

Example

% mode=mkiv
\setuppapersize[A5]

\definecolumnset[TwoColumns][n=2]

\startcolumnset [TwoColumns]
  \title{Test page}
  \framed
    [frame=off,
     bottomframe=on,
     width=\textwidth,
     frameoffset=1mm,
     foregroundstyle=small,
    ]{\copyright\ \date[][year] Donald E. Knuth}
  \input knuth
\stopcolumnset

See also


Help from ConTeXt-Mailinglist/Forum

All issues with: