Difference between revisions of "Command/definestartstop"
< Command
Jump to navigation
Jump to search
m (Text replace - "[[Category:Commands|" to "== ConTeXt-Forum == {{Forum|{{SUBPAGENAME}}}} [[Category:Commands|") |
m (Text replace - "ConTeXt-Forum " to "Help from ConTeXt-Forum ") |
||
Line 60: | Line 60: | ||
<!-- something like [[cmd:goto|\goto]] --> | <!-- something like [[cmd:goto|\goto]] --> | ||
− | == ConTeXt-Forum == | + | == Help from ConTeXt-Forum == |
{{Forum|{{SUBPAGENAME}}}} | {{Forum|{{SUBPAGENAME}}}} | ||
[[Category:Commands|definestartstop]] | [[Category:Commands|definestartstop]] |
Revision as of 00:45, 15 March 2012
\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]}] %Now the following commands are available: \startExtract and \stopExtract \starttext The extract from D.Knuth \startExtract \input knuth \stopExtract \stoptext