Command/definestartstop

From Wiki
< Command
Revision as of 15:34, 11 April 2010 by Patrick Gundlach (talk | contribs) (cleanup)
Jump to navigation Jump to search

\definestartstop

Syntax

\definestartstop[...][...,...=...,...]
[...] name
before command
after command
style normal bold slanted boldslanted type cap small ... command
commands command


Description

Used to define block level commands.

Example

Example: Long Quotations

\defineblank[ExtractDistance][3pt]
\definestartstop[Extract][
   style=slanted,
   before={\blank[ExtractDistance]
      \setupnarrower[left=1.5pc,right=1.5pc]
      \startnarrower[left,right]
      \noindent},
   after={\stopnarrower
      \blank[ExtractDistance]
      \indenting[next]}]

Then the following commands are available: \startExtract and \stopExtract

See also