Difference between revisions of "Command/paragraph"

From Wiki
Jump to navigation Jump to search
m (Text replace - "ConTeXt-Forum " to "Help from ConTeXt-Forum ")
 
(11 intermediate revisions by 3 users not shown)
Line 3: Line 3:
 
|attributes=
 
|attributes=
 
}}
 
}}
 +
 +
== [[Help:Reference|Syntax]] (autogenerated) ==
 +
<syntax>paragraph</syntax>
  
 
== [[Help:Reference|Syntax]] ==
 
== [[Help:Reference|Syntax]] ==
Line 12: Line 15:
  
 
== Description ==  
 
== Description ==  
 
+
If a paragraphs environment is defined with, e.g. <code>{{cmd|defineparagraphs}}[sidebyside]</code>, then <code>\sidebyside</code> moves to the next paragraph column in a <code>\startsidebyside</code> environment. See {{cmd|startparagraph}} and {{cmd|defineparagraphs}} for more info.
 
 
 
 
== Example ==
 
 
 
<texcode>
 
% Source: ConText Manual ms-cb-en.pdf
 
 
 
% Define a paragraph environment with 3 columns.  
 
% Insert a blank line just before and just after the paragraph.  
 
\defineparagraphs  
 
[mypar][n=3,before={\blank},after={\blank}]
 
 
 
% The first column occupies 10% of the text's width and is rendered bold.
 
\setupparagraphs [mypar][1][width=.1\textwidth,style=bold]
 
 
 
% The second column occupies 40% of the text's width.
 
\setupparagraphs [mypar][2][width=.4\textwidth]
 
 
 
% The third column uses default settings. It will occupy
 
% the remaining 50% of the text's width.
 
 
% Set a paragraph with "mypar"
 
 
 
\startmypar % begin paragraph body with 1st column  
 
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
 
</texcode>
 
 
 
  
 
== See also ==
 
== See also ==
<!-- something like [[cmd:goto|\goto]] -->
+
* {{cmd|defineparagraphs}} to define the paragraphs environment
 +
* {{cmd|setupparagraphs}} to set up the environment and the individual paragraph columns
 +
* {{cmd|startparagraph}} to start a paragraphs environment.
 +
* {{cmd|column}}, which does the same thing in a {{cmd|startcolumns}} environment.
  
== Help from ConTeXt-Forum ==
+
== Help from ConTeXt-Mailinglist/Forum ==
 +
All issues with:
 
{{Forum|{{SUBPAGENAME}}}}
 
{{Forum|{{SUBPAGENAME}}}}
  
[[Category:Commands|paragraph]]
+
{{Columns navbox}}
 +
 
 +
[[Category:Command/Paragraphs|paragraph]]
 +
[[Category:Command/Tables|paragraph]]
 +
[[Category:Command/Columns|paragraph]]

Latest revision as of 12:08, 19 November 2019

\paragraph

Syntax (autogenerated)


Syntax

\paragraph

Description

If a paragraphs environment is defined with, e.g. \defineparagraphs[sidebyside], then \sidebyside moves to the next paragraph column in a \startsidebyside environment. See \startparagraph and \defineparagraphs for more info.

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: