2,426 bytes added
, 20:09, 16 April 2015
m{{Reference
|name=setupfancybreak
|attributes=
}}
== [[Help:Reference|Syntax]] ==
<table cellspacing="4" cellpadding="2" class="cmd">
<tr>
<td colspan="2" class="cmd">\setupfancybreak<span class="first" >[...,...=...,...]</span></td>
</tr>
<tr valign="top" class="first">
<td class="cmd">[[Command/keyword:style|style]]</td>
<td>[[Command/value:normal|normal]] [[Command/value:bold|bold]] [[Command/value:slanted|slanted]] [[Command/value:boldslanted|boldslanted]] [[Command/value:type|type]] [[Command/value:small...|small...]] [[Command/value:command|command]] </td>
</tr>
<tr valign="top" class="first">
<td class="cmd">[[Command/keyword:spacebefore|spacebefore]]</td>
<td>inherits from {{cmd|blank}}</td>
</tr>
<tr valign="top" class="first">
<td class="cmd">[[Command/keyword:spaceafter|spaceafter]]</td>
<td>inherits from {{cmd|blank}}</td>
</tr>
<tr valign="top" class="first">
<td class="cmd">[[Command/keyword:spaceinbetween|spaceinbetween]]</td>
<td>inherits from {{cmd|blank}}</td>
</tr>
<tr valign="top" class="first">
<td class="cmd">[[Command/keyword:color|color]]</td>
<td>IDENTIFIER</td>
</tr>
<tr valign="top" class="first">
<td class="cmd">[[Command/keyword:indentnext|indentnext]]</td>
<td>yes | no | auto</td>
</tr>
</table>
== Description ==
Allows customization of fancy paragraph breaks.
== Examples ==
This section provides some example usages.
=== Simple ===
A simple usage might resemble:
<context source=yes mode=mkiv text="This produces:">
\usemodule[fancybreak]
\setupfancybreak[symbol=star]
\starttext
Paragraph
\fancybreak
Paragraph
\stoptext
</context>
=== Environment ===
An example that uses the environment to draw a custom separator:
<context source=yes mode=mkiv text="This produces:">
\usemodule[fancybreak]
\useMPlibrary[txt]
\setupMPvariables[EnglishRule][width=.6\hsize]
\setupfancybreak[spacebefore=line,spaceafter=line]
\starttext
The Earth, as a habitat for animal life, is in old age ...
\startfancybreak
\dontleavehmode\useMPgraphic{EnglishRule}
\stopfancybreak
The Earth, as a habitat for animal life, is in old age ...
\stoptext
</context>
== See Also ==
* {{cmd|thinrule}}
* {{cmd|blackrule}}
* http://modules.contextgarden.net/dl/t-fancybreak/doc/context/third/fancybreak/fancybreak-doc.pdf
== Help from ConTeXt-Mailinglist/Forum ==
All issues with:
{{Forum|{{SUBPAGENAME}}}}