Difference between revisions of "Command/ startmixedcolumns"

From Wiki
Jump to navigation Jump to search
(Created page with "Documentation for \start<i>mixedcolumns</i> ... \stop<i>mixedcolumns</i>")
 
 
Line 4: Line 4:
 
<cd:shortdesc>
 
<cd:shortdesc>
 
<!-- a short command summary goes here -->
 
<!-- a short command summary goes here -->
The instances of  <tt>\start<i>mixedcolumns</i> ... \stop<i>mixedcolumns</i></tt> are used for ...
+
The instances of  <tt>\start<i>mixedcolumns</i> ... \stop<i>mixedcolumns</i></tt> are used for typesetting material in multiple columns.
 
</cd:shortdesc>
 
</cd:shortdesc>
 
<cd:sequence>
 
<cd:sequence>
Line 25: Line 25:
 
</cd:variants>
 
</cd:variants>
 
<cd:description>
 
<cd:description>
<!-- the long description of the command goes here -->
+
Start a columnation environment. You must specify how many columns you want using <code>[n=2]</code>, unless you have already done so using {{cmd|setupcolumns}}. A new column can be forced with {{cmd|column}}. A columnation environment that does not fill up the remainder of the page will be balanced by default, rather than produce full columns next to empty ones.
 
</cd:description>
 
</cd:description>
 
<cd:examples>
 
<cd:examples>
<!--  command example(s)
 
 
<cd:example title="">
 
<cd:example title="">
 +
<context source="yes">
 +
\enableregime[utf]
 +
\setuppapersize[A5]
 +
 +
% Indentation helps us see where one paragraph ends and the next begins
 +
\setupindenting[yes, small]
 +
 +
\startcolumns[n=3,separator=rule] % [rule=on] seems to be deprecated
 +
  \input weisman
 +
 +
  \input weisman
 +
% Start the Hawking quotation in a new column
 +
\column
 +
  \input hawking
 +
\stopcolumns
 +
</context>
 
</cd:example>
 
</cd:example>
-->
 
 
</cd:examples>
 
</cd:examples>
 
<cd:notes>
 
<cd:notes>
Line 53: Line 67:
 
<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:commandref name="defineparagraphs">for 'paragraphs side-by-side' columnation</cd:commandref>
 +
<cd:commandref name="column"></cd:commandref>
 
</cd:seealso>
 
</cd:seealso>
 
</cd:commandgroup>
 
</cd:commandgroup>

Latest revision as of 12:31, 21 August 2020


\startmixedcolumns ... \stopmixedcolumns

Summary

The instances of \startmixedcolumns ... \stopmixedcolumns are used for typesetting material in multiple columns.

Instances

\startitemgroupcolumns ... \stopitemgroupcolumns
\startboxedcolumns ... \stopboxedcolumns
\startcolumns ... \stopcolumns

Settings instance

\startMIXEDCOLUMNS[...=...,...] ... \stopMIXEDCOLUMNS
...=...,...inherits from \setupmixedcolumns

Description

Start a columnation environment. You must specify how many columns you want using [n=2], unless you have already done so using \setupcolumns. A new column can be forced with \column. A columnation environment that does not fill up the remainder of the page will be balanced by default, rather than produce full columns next to empty ones.

Examples

Example 1

\enableregime[utf]
\setuppapersize[A5]

% Indentation helps us see where one paragraph ends and the next begins
\setupindenting[yes, small]

\startcolumns[n=3,separator=rule] % [rule=on] seems to be deprecated
  \input weisman

  \input weisman
% Start the Hawking quotation in a new column
\column
  \input hawking
\stopcolumns

Notes

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: