Changes

Jump to navigation Jump to search
no edit summary
|attributes=
}}
 
== [[Help:Reference|Syntax]] (autogenerated) ==
<syntax>defineparagraphs</syntax>
== [[Help:Reference|Syntax]] ==
</tr>
<tr valign="top" class="second">
<td class="cmd">[[Reference/enCommand/keyword:n|n]]</td> <td>[[Reference/enCommand/value:number|number]] </td>
</tr>
<tr valign="top" class="second">
<td class="cmd">[[Reference/enCommand/keyword:rule|rule]]</td> <td>[[Reference/enCommand/value:on|on]] [[Reference/enCommand/value:off|off]] </td>
</tr>
<tr valign="top" class="second">
<td class="cmd">[[Reference/enCommand/keyword:height|height]]</td> <td>[[Reference/enCommand/value:fit|fit]] [[Reference/enCommand/value:dimension|dimension]] </td>
</tr>
<tr valign="top" class="second">
<td class="cmd">[[Reference/enCommand/keyword:before|before]]</td> <td>[[Reference/enCommand/value:command|command]] </td>
</tr>
<tr valign="top" class="second">
<td class="cmd">[[Reference/enCommand/keyword:after|after]]</td> <td>[[Reference/enCommand/value:command|command]] </td>
</tr>
<tr valign="top" class="second">
<td class="cmd">[[Reference/enCommand/keyword:inner|inner]]</td> <td>[[Reference/enCommand/value:command|command]] </td>
</tr>
<tr valign="top" class="second">
<td class="cmd">[[Reference/enCommand/keyword:distance|distance]]</td> <td>[[Reference/enCommand/value:dimension|dimension]] </td>
</tr>
<tr valign="top" class="second">
<td class="cmd">[[Reference/enCommand/keyword:tolerance|tolerance]]</td> <td>[[Reference/enCommand/value:verystrict|verystrict]] [[Reference/enCommand/value:strict|strict]] [[Reference/enCommand/value:tolerant|tolerant]] [[Reference/enCommand/value:verytolerant|verytolerant]] [[Reference/enCommand/value:stretch|stretch]] </td>
</tr>
<tr valign="top" class="second">
<td class="cmd">[[Reference/enCommand/keyword:align|align]]</td> <td>[[Reference/enCommand/value:flushleft|flushleft]] [[Reference/enCommand/value:flushright|flushright]] [[ReferenceCommand/value:righttoleft|righttoleft]] [[Command/envalue:lefttoright|lefttoright]] [[Command/value:middle|middle]] </td>
</tr>
</table>
== Description ==
== Example Examples == 
<context source="yes" text="yields">
\setuppapersize[A5]
% Source: ConText Manual ms-cb-en.pdf
% Define a paragraph environment with 3 columns.
% Insert a blank line just before and just after the paragraphenvironment.
\defineparagraphs
[mypar][n=3,before={\blank},after={\blank}]
% the remaining 50% of the text's width.
% Set a paragraph with "mypar" \startmypar % begin paragraph body the side-by-side paragraphs; start with 1st column the first one 1252  
\mypar % switch to 2nd column
  Hasselt obtains its city charter from bishop Hendrik van Vianden.  
\mypar % switch to 3rd column
  Hendrik van Vianden was pressed by other towns not to agree with the charter. It took Hasselt a long period of time to convince the Bishop. After supporting the Bishop in a small war against the Drents, the charter was released.  
\stopmypar % end paragraph body
</context>
Footnotes need special treatment, as follows.
 == Example == <context source="yes" text="yieldsThis gives:">\setuppapersize[A10,landscape]% when using footnotes, you have to do use the following trick
% (from Hans on mailinglist, Date: Tue, 15 Jun 2004 00:53:48 +0200)
% but the names have changed since then from postponefootnotes
% to postponenotes and flushfootnotes to flushnotes
\defineparagraphs[Par][n=3]
\starttext
\startPar
Text \Par and more\postponefootnotespostponenotes\footnote{a A footnote, that gets hiddenwhose placement is postponed...}\Par text
\stopPar
\flushfootnotesflushnotes
\stoptext
</context>
== See also ==
* {{cmd|setupparagraphs}} to setup the individual paragraphs/columns.
* {{cmd|startparagraph}} to start a paragraphs environment.
* {{cmd|paragraph}} to switch to the next paragraph.
* {{cmd|starttable}} and {{cmd|starttabulate}} to create more traditional tables,
== See also Help from ConTeXt-Mailinglist/Forum ==<!-- something like [[cmdAll issues with:goto{{Forum|\goto]] -->{{SUBPAGENAME}}}} {{Columns navbox}}
[[Category:CommandsCommand/Paragraphs|defineparagraphs]][[Category:Command/Tables|defineparagraphs]][[Category:Command/Columns|defineparagraphs]]

Navigation menu