Command/setupfancybreak

From Wiki
Jump to navigation Jump to search

\setupfancybreak

Syntax

\setupfancybreak[...,...=...,...]
style normal bold slanted boldslanted type small... command
align inherits from \setupalign
spacebefore inherits from \blank
spaceafter inherits from \blank
spaceinbetween inherits from \blank
symbol IDENTIFIER
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 i7IsMY/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 ny3RuS/cropped.pdf

See Also

Help from ConTeXt-Mailinglist/Forum

All issues with: