Difference between revisions of "Command/setupfancybreak"

From Wiki
Jump to navigation Jump to search
m
m
 
Line 89: Line 89:
 
* {{cmd|blackrule}}
 
* {{cmd|blackrule}}
 
* http://modules.contextgarden.net/dl/t-fancybreak/doc/context/third/fancybreak/fancybreak-doc.pdf
 
* http://modules.contextgarden.net/dl/t-fancybreak/doc/context/third/fancybreak/fancybreak-doc.pdf
 +
* https://www.tug.org/TUGboat/tb26-3/tb84peter.pdf
  
 
== Help from ConTeXt-Mailinglist/Forum ==
 
== Help from ConTeXt-Mailinglist/Forum ==
 
All issues with:
 
All issues with:
 
{{Forum|{{SUBPAGENAME}}}}
 
{{Forum|{{SUBPAGENAME}}}}

Latest revision as of 20:39, 16 April 2015

\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 w2Nx6E/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 e3HM2P/cropped.pdf

See Also

Help from ConTeXt-Mailinglist/Forum

All issues with: