Difference between revisions of "Command/setupquote"
< Command
Jump to navigation
Jump to search
m (tyop) |
|||
(5 intermediate revisions by 3 users not shown) | |||
Line 4: | Line 4: | ||
}} | }} | ||
+ | == [[Help:Reference|Syntax]] (autogenerated) == | ||
+ | <syntax>setupquote</syntax> | ||
== [[Help:Reference|Syntax]] == | == [[Help:Reference|Syntax]] == | ||
<table cellspacing="4" cellpadding="2" class="cmd"> | <table cellspacing="4" cellpadding="2" class="cmd"> | ||
Line 10: | Line 12: | ||
</tr> | </tr> | ||
<tr valign="top" class="first"> | <tr valign="top" class="first"> | ||
− | <td class="cmd">[ | + | <td class="cmd">[...=...]</td> |
− | + | <td>see {{cmd|setupdelimitedtext}}</td> | |
− | |||
− | |||
− | |||
− | <td> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</tr> | </tr> | ||
</table> | </table> | ||
+ | == Description == | ||
+ | Setup the {{cmd|quote}} and {{cmd|startquote}} environments. See {{cmd|setupdelimitedtext}} for all the parameters that may be adjusted. | ||
− | + | Use {{cmd|nobreak}} at the end of the string defining the left quotationmark in order to prevent linebreaks between word and quotationmark. | |
− | |||
== Example == | == Example == | ||
− | <context | + | <context source=yes> |
− | \setupquote[left= | + | \enableregime[utf] |
+ | |||
+ | \startquote Good evening, El-ahrairah, \stopquote\ said Prince Rainbow. | ||
+ | |||
+ | \hairline | ||
+ | \setupquote[left=«\nobreak, right=\nobreak», color=red] | ||
+ | \startquote Good evening, El-ahrairah, \stopquote\ said Prince Rainbow. | ||
+ | |||
+ | \hairline | ||
+ | \setupquote[location=paragraph] | ||
+ | \startquote Good evening, El-ahrairah, \stopquote\ said Prince Rainbow. | ||
+ | |||
+ | \hairline | ||
+ | \quote{Good evening, El-ahrairah,} said Prince Rainbow. \quote{This is a | ||
+ | great improvement on the marshes of Kelfazin. I see all your does are busy | ||
+ | digging holes along the bank. Have they dug a hole for you?} | ||
− | \ | + | \quote{Yes,} said El-ahrairah. \quote{This hole here belongs to Rabscuttle and |
− | + | myself. We liked the look of this bank as soon as we saw it.} | |
− | + | \rightaligned{---Richard Adams, {\it Watership Down}} | |
− | \ | ||
</context> | </context> | ||
== See also == | == See also == | ||
* {{cmd|setupdelimitedtext}} | * {{cmd|setupdelimitedtext}} | ||
− | |||
* {{cmd|quote}} | * {{cmd|quote}} | ||
+ | * {{cmd|startquote}} | ||
== Help from ConTeXt-Mailinglist/Forum == | == Help from ConTeXt-Mailinglist/Forum == |
Latest revision as of 20:02, 13 October 2019
\setupquote
Syntax (autogenerated)
\setupquote[...=...,...] | |
...=...,... | inherits from \setupdelimitedtext |
Syntax
\setupquote[...,...=...,...] | |
[...=...] | see \setupdelimitedtext |
Description
Setup the \quote and \startquote environments. See \setupdelimitedtext for all the parameters that may be adjusted.
Use \nobreak at the end of the string defining the left quotationmark in order to prevent linebreaks between word and quotationmark.
Example
\enableregime[utf] \startquote Good evening, El-ahrairah, \stopquote\ said Prince Rainbow. \hairline \setupquote[left=«\nobreak, right=\nobreak», color=red] \startquote Good evening, El-ahrairah, \stopquote\ said Prince Rainbow. \hairline \setupquote[location=paragraph] \startquote Good evening, El-ahrairah, \stopquote\ said Prince Rainbow. \hairline \quote{Good evening, El-ahrairah,} said Prince Rainbow. \quote{This is a great improvement on the marshes of Kelfazin. I see all your does are busy digging holes along the bank. Have they dug a hole for you?} \quote{Yes,} said El-ahrairah. \quote{This hole here belongs to Rabscuttle and myself. We liked the look of this bank as soon as we saw it.} \rightaligned{---Richard Adams, {\it Watership Down}}
See also
Help from ConTeXt-Mailinglist/Forum
All issues with: