Command/setupfancybreak

From Wiki
< Command
Revision as of 20:09, 16 April 2015 by Thangalin (talk | contribs) (Created page with "{{Reference |name=setupfancybreak |attributes= }} == Syntax == <table cellspacing="4" cellpadding="2" class="cmd"> <tr> <td colspan="2" class="cmd">\set...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

\setupfancybreak

Syntax

\setupfancybreak[...,...=...,...]
style normal bold slanted boldslanted type small... command
spacebefore inherits from \blank
spaceafter inherits from \blank
spaceinbetween inherits from \blank
color IDENTIFIER
indentnext yes | no | auto

Description

Allows customization of fancy paragraph breaks.

Examples

This section provides some example usages.

Simple

A simple usage might resemble:

\usemodule[fancybreak]
\setupfancybreak[symbol=star]

\starttext
  Paragraph
  \fancybreak
  Paragraph
\stoptext

This produces:

internal error: copy error cGUkLE/cropped.pdf

Environment

An example that uses the environment to draw a custom separator:

\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

This produces:

internal error: copy error lFlsu7/cropped.pdf

See Also

Help from ConTeXt-Mailinglist/Forum

All issues with: