Difference between revisions of "Command/ startpagecolumns"

From Wiki
Jump to navigation Jump to search
 
Line 11: Line 11:
 
</cd:variants>
 
</cd:variants>
 
<cd:description><!-- the long description of the command goes here -->
 
<cd:description><!-- the long description of the command goes here -->
</cd:description>
+
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:examples></cd:examples>
+
<cd:examples><cd:example title=""><context source="yes">
 +
% 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
 +
</context></cd:example></cd:examples>
 
<cd:notes></cd:notes>
 
<cd:notes></cd:notes>
 
<cd:seealso>
 
<cd:seealso>

Latest revision as of 13:50, 14 September 2023


\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

Notes

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: