Command/setupdelimitedtext

Unofficial ConTeXt Wiki mirror

Last modified: 2022-10-13

Syntax (autogenerated)

\setupdelimitedtext[...,...][...=...,...]
[...,...] name name:number
before command
after command
language local global language
method font
repeat yes no
location text paragraph margin
left command
middle command
right command
nextleft command
nextright command
spacebefore see \blank
spaceafter see \blank
leftmargin yes no standard dimension
rightmargin yes no standard dimension
indenting see \setupindenting
indentnext yes no auto
style style command
color color
symstyle style command
symcolor color

Syntax

\setupdelimitedtext[name][n][...,...=...,...]
[name] name of the delimitedtext to set up
[n] (optional) nesting level to set up
(1 = outermost)
location margin text paragraph: function unknown
spacebefore dimension: space above delimitedtext fragment
spaceafter dimension, spacebefore by default: space below delimitedtext fragment
style normal bold italic, etc
color color
leftmargin dimension: distance to edge of the page's left margin area
rightmargin dimension, leftmargin by default
indentnext yes no
before command
after command
left text
middle text
right text
level=0, unknown, 0 by default
repeat no yes
method unknown

TODO: The above describes MkII syntax. MkIV/LMTX syntax is different. See the parenthesis example below (See: To-Do List)

Description

Set up the appearance of a delimitedtext environment defined earlier with \definedelimitedtext. \quotation and \quote are delimitedtexts, too, so you can also set up those with this command; but for those you can also use the special commands \setupquotation and \setupquote.

Most of the parameters are self-explanatory, but two things should be borne in mind:

Examples

Alternative quotation marks

Even more alternative quotation marks

Smart parenthesis

Multiparagraph quotations

In English typography there is a custom of opening each paragraph in a multiparagraph quotation with a “repeated” opening quotation sign. This behavior may be turned on using the repeat switch and middle key, for example:

\setupquotation[repeat=yes, middle=]                % or equivalently
\setupdelimitedtext[quotation][repeat=yes, middle=]

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: