Difference between revisions of "Command/ startpagecolumns"
< Command
Jump to navigation
Jump to search
(Created page with "Documentation for \start<i>pagecolumns</i> ... \stop<i>pagecolumns</i>") |
|||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | |||
− | |||
<cd:commandgroup generated="yes" name="pagecolumns" type="environment" xmlns:cd="http://wiki.contextgarden.net/commanddoc/20200807"> | <cd:commandgroup generated="yes" name="pagecolumns" type="environment" xmlns:cd="http://wiki.contextgarden.net/commanddoc/20200807"> | ||
− | <cd:shortdesc> | + | <cd:shortdesc><!-- a short command summary goes here --> |
− | <!-- a short command summary goes here --> | + | The instances of <tt>\start<i>pagecolumns</i> ... \stop<i>pagecolumns</i></tt> are used for column material |
− | The instances of <tt>\start<i>pagecolumns</i> ... \stop<i>pagecolumns</i></tt> are used for | ||
</cd:shortdesc> | </cd:shortdesc> | ||
<cd:sequence> | <cd:sequence> | ||
Line 13: | Line 10: | ||
</cd:command> | </cd:command> | ||
</cd:variants> | </cd:variants> | ||
− | <cd:description> | + | <cd:description><!-- the long description of the command goes here --> |
− | <!-- the long description of the command goes here --> | + | The command {{cmd|definepagecolumns}} not only defines a name to be used as argument for {{cmd|startpagecolumns}}, but it also creates an instance environment.</cd:description> |
− | </cd:description> | + | <cd:examples><cd:example title=""><context source="yes"> |
− | <cd:examples> | + | % arranging setup for demonstration purposes |
− | + | \setuppapersize[A6,landscape][A5] \showframe | |
− | <cd:example title=""> | + | \setuppaper[mx=1,ny=2] |
− | + | \setuparranging[XY] | |
− | + | ||
− | </ | + | % actual code |
− | <cd: | + | \definepagecolumns |
− | + | [example] | |
− | <cd: | + | [n=2] |
− | < | + | \starttext |
− | + | \startexample | |
− | </cd:notes> | + | \dorecurse{4} |
+ | {\input knuth } | ||
+ | \stopexample | ||
+ | \stoptext | ||
+ | </context></cd:example></cd:examples> | ||
+ | <cd:notes></cd:notes> | ||
<cd:seealso> | <cd:seealso> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<cd:commandref name="definepagecolumns" originator="system"></cd:commandref> | <cd:commandref name="definepagecolumns" originator="system"></cd:commandref> | ||
<cd:commandref name="setuppagecolumns" originator="system"></cd:commandref> | <cd:commandref name="setuppagecolumns" originator="system"></cd:commandref> | ||
− | <cd:source file="page-pcl.mkiv" originator="system"></cd:source> | + | <cd:source file="page-pcl.mkiv" originator="system"></cd:source> |
− | <cd:wikipage originator="system" page="Category:Columns"></cd:wikipage> | + | <cd:wikipage originator="system" page="Category:Columns"></cd:wikipage> |
− | <cd:wikipage originator="system" page="Keywords:Layout"></cd:wikipage> | + | <cd:wikipage originator="system" page="Keywords:Layout"></cd:wikipage> |
− | <cd:wikipage originator="system" page="Keywords:Structure"></cd:wikipage> | + | <cd:wikipage originator="system" page="Keywords:Structure"></cd:wikipage> |
− | </cd:seealso> | + | <cd:commandref name="startpagecolumns"></cd:commandref></cd:seealso> |
</cd:commandgroup> | </cd:commandgroup> |
Latest revision as of 13:50, 14 September 2023
Contents
\startpagecolumns ... \stoppagecolumns
Summary
The instances of \startpagecolumns ... \stoppagecolumns are used for column material
Description
The command \definepagecolumns not only defines a name to be used as argument for \startpagecolumns, but it also creates an instance environment.
Examples
Example 1
% arranging setup for demonstration purposes \setuppapersize[A6,landscape][A5] \showframe \setuppaper[mx=1,ny=2] \setuparranging[XY] % actual code \definepagecolumns [example] [n=2] \starttext \startexample \dorecurse{4} {\input knuth } \stopexample \stoptext