Changes

Jump to navigation Jump to search
no edit summary
|attributes=
}}
 
== [[Help:Reference|Syntax]] (autogenerated) ==
<syntax>defineparagraphs</syntax>
== [[Help:Reference|Syntax]] ==
<tr valign="top" class="second">
<td class="cmd">[[Command/keyword:align|align]]</td>
<td>[[Command/value:flushleft|flushleft]] [[Command/value:flushright|flushright]] [[Command/value:righttoleft|righttoleft]] [[Command/value: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 ==
<!-- something like * {{cmd|gotosetupparagraphs}} -->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,
== Help from ConTeXt-Mailinglist/Forum ==
All issues with:
{{Forum|{{SUBPAGENAME}}}}
 
{{Columns navbox}}
[[Category:Command/Paragraphs|defineparagraphs]]
[[Category:Command/Tables|defineparagraphs]]
[[Category:Command/Columns|defineparagraphs]]

Navigation menu