Changes

Jump to navigation Jump to search
no edit summary
<!-- please remove this and the following line if you have checked this page -->
{{Reference_Cleanup}}
{{Reference
|name=defineparagraphs
}}
== [[Help:Reference|Syntax]] (autogenerated) ==
<syntax>defineparagraphs</syntax>
== [[Help:Reference|Syntax]] ==
<table cellspacing="4" cellpadding="2" class="cmd">
</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>[[ReferenceCommand/envalue:flushleft|flushleft]] [[Command/value:leftflushright|leftflushright]] [[ReferenceCommand/envalue:righttoleft|righttoleft]] [[Command/value:rightlefttoright|rightlefttoright]] [[Reference/enCommand/value:middle|middle]] </td>
</tr>
</table>
== Description ==
 
== Examples ==
<context source== Description == == example ==<pre class"yes" text="exampleyields">\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>
</pre>Footnotes need special treatment, as follows.
 <context source== Example == <pre class"yes" text="exampleThis 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/pre>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,
== Help from ConTeXt-Mailinglist/Forum ==
All issues with:
{{Forum|{{SUBPAGENAME}}}}
== See also ==<!-- something like [[cmd:goto|\goto]] -->{{Columns navbox}}
[[Category:ReferenceCommand/enParagraphs|defineparagraphs]][[Category:Command/Tables|defineparagraphs]][[Category:Command/Columns|defineparagraphs]]

Navigation menu