Changes

Jump to navigation Jump to search
add another example
</table>
{{Todo| The above describes MkII syntax. MkIV /LMTX syntax is different. See the parenthesis example below}}
== Description ==
* '''MkII only''': <code>leftmargin</code> contains the distance to the actual left margin, not to the edge of the body text. If the new delimitedtext inherits from <code>quotation</code>, the text will be indented a bit with respect to the body text; if you want to line them up, set the <code>leftmargin</code> to <code>\leftmargindistance</code> rather than to <code>0pt</code>.
== Example Examples == === Alternative quotation marks ===
<context mode="mkiv" source="yes">
\definedelimitedtext[mydt]
And an answer came directed in a manner unexpected, and I
think the same was written with a thumbnail dipped in tar;
't ’t was his shearing-mate who wrote it, and verbatim I will quote it:
\quotation{Clancy's gone to Queensland droving, and we don't know where he are.}
\stopmydt
</context>
 
=== Even more alternative quotation marks ===
 
<context mode="mkiv" source="yes">
\setupdelimitedtext
[quotation]
[ left={\offset[y=.5\strutdp]{\mirror{\externalfigure[cow][height=\dimexpr\strutht+.5\strutdp\relax]}}\nbsp},
right={\nbsp\offset[y=.5\strutdp]{\externalfigure[cow][height=\dimexpr\strutht+.5\strutdp\relax]}}]
 
\quotation{I’m a poor, lonesome cowboy...}
</context>
</context>
=== 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 <code>repeat</code> switch and <code>middle</code> key, for example:

Navigation menu