Difference between revisions of "Command/setupquote"

From Wiki
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">[[Command/keyword:left|left]]</td>
+
     <td class="cmd">[...=...]</td>
    <td>[[Command/value:command|command]] </td>
+
     <td>see {{cmd|setupdelimitedtext}}</td>
  </tr>
 
  <tr valign="top" class="first">
 
    <td class="cmd">[[Command/keyword:right|right]]</td>
 
     <td>[[Command/value:command|command]] </td>
 
  </tr>
 
  <tr valign="top" class="first">
 
    <td class="cmd">[[Command/keyword:middle|middle]]</td>
 
    <td>[[Command/value:name|name]] </td>
 
  </tr>
 
  <tr valign="top" class="first">
 
    <td class="cmd">[[Command/keyword:repeate|repeate]]</td>
 
    <td>yes no</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.
  
== Description ==
+
Use {{cmd|nobreak}} at the end of the string defining the left quotationmark in order to prevent linebreaks between word and quotationmark.
See
 
  
 
== Example ==
 
== Example ==
<context mode=mkiv source=yes>
+
<context source=yes>
\setupquote[left=>>, right=<<]
+
\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?}
  
\startquote
+
\quote{Yes,} said El-ahrairah. \quote{This hole here belongs to Rabscuttle and
    Hello?
+
myself. We liked the look of this bank as soon as we saw it.}
  
    Anybody home?
+
\rightaligned{---Richard Adams, {\it Watership Down}}
\stopquote
 
 
</context>
 
</context>
  
 
== See also ==
 
== See also ==
 
* {{cmd|setupdelimitedtext}}
 
* {{cmd|setupdelimitedtext}}
* {{cmd|setupquotation}}
 
 
* {{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: