Difference between revisions of "Command/column"

From ConTeXt wiki
Jump to navigationJump to search
m (moved Reference/en/column to Command/column: Text replace - "Reference/en/" to "Command/")
 
(12 intermediate revisions by 4 users not shown)
Line 4: Line 4:
 
}}
 
}}
  
 +
== [[Help:Reference|Syntax]] (autogenerated) ==
 +
<syntax>column</syntax>
 
== [[Help:Reference|Syntax]] ==
 
== [[Help:Reference|Syntax]] ==
 
<table>
 
<table>
Line 12: Line 14:
  
 
== Description ==  
 
== Description ==  
Should go to the next column in <tt>\startcolumns</tt> ... <tt>\stopcolumns</tt> environment or in columnsets. For instance:
+
Go to the next column in a {{cmd|startcolumns}} environment or in a [[Columns#Column_Sets|column set]] environment.
 +
Valid options & explanation ("??" means "guess"):
 +
<pre>
 +
\column        - go to next column
 +
\column[]      - ?? = \column?
 +
\column[yes]  - ?? = \column?
 +
\column[page]  - ?? go to first column on the new page?
 +
\column[3]    - ?? go to 3rd column - or skip 3 columns?
 +
\column[first] - ?? go to first column, also go to next page if currently on 2+th column?
 +
\column[last]  - go to last column
 +
\column[3*5]  - ?? (no idea)
 +
</pre>
  
<texcode>
+
== Example ==
\starttext
+
 
Here is some text before splitting into two columns
+
<context source=yes>
%[n=2] means the number of columns
+
\setuppapersize[A6]
\startcolumns[n=2]
+
\setupwhitespace[big]
 +
 
 +
Below, we have two separate columns; but up here, for the nonce, we have but the one.
  
text, text,\dots
+
\startcolumns[n=2]  % Two columns, please
in the first column
+
    Text, text, text \dots
 +
    all in the first column
 
\column
 
\column
some more text, text\dots
+
    Words, words, words \dots
in the second column
+
    all in the second column.
 
+
    And look ye here! Even more words!
 
\stopcolumns
 
\stopcolumns
and here we continue some text after having split into two columns.
+
</context>
\stoptext
 
</texcode>
 
  
 +
== See also ==
 +
* {{cmd|page}} to move to the next page
 +
* {{cmd|startcolumns}} for the columns environment
 +
* {{cmd|paragraph}} to move to the next column in a {{cmd|startparagraph}} environment.
  
== Example ==
+
== Help from ConTeXt-Mailinglist/Forum ==
<!-- Please fill in an example if you can -->
+
All issues with:
 +
{{Forum|{{SUBPAGENAME}}}}
  
== See also ==
+
{{Columns navbox}}
<!-- something like [[cmd:goto|\goto]] -->
 
  
[[Category:Commands|column]]
+
[[Category:Command/Columns|column]]

Latest revision as of 14:30, 13 October 2019

\column

Syntax (autogenerated)

\column[...,...]
[...,...]inherits from \columnbreak


Syntax

\column

Description

Go to the next column in a \startcolumns environment or in a column set environment. Valid options & explanation ("??" means "guess"):

\column        - go to next column
\column[]      - ?? = \column?
\column[yes]   - ?? = \column?
\column[page]  - ?? go to first column on the new page?
\column[3]     - ?? go to 3rd column - or skip 3 columns?
\column[first] - ?? go to first column, also go to next page if currently on 2+th column?
\column[last]  - go to last column
\column[3*5]   - ?? (no idea)

Example

\setuppapersize[A6]
\setupwhitespace[big]

Below, we have two separate columns; but up here, for the nonce, we have but the one.

\startcolumns[n=2]  % Two columns, please
    Text, text, text \dots
    all in the first column
\column
    Words, words, words \dots
    all in the second column.
    And look ye here! Even more words!
\stopcolumns

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: