Difference between revisions of "Command/setupquote"

From Wiki
Jump to navigation Jump to search
(Add example.)
m (Add a hairline. And a bit more of the quotation.)
Line 26: Line 26:
 
\hairline
 
\hairline
 
\setupquote[left=«, right=», color=red]
 
\setupquote[left=«, right=», color=red]
\startquote Good evening, El-ahrairah, \stopquote\ said Prince Rainbow
+
\startquote Good evening, El-ahrairah, \stopquote\ said Prince Rainbow.
  
 
\hairline
 
\hairline
 
\setupquote[location=paragraph]
 
\setupquote[location=paragraph]
\startquote Good evening, El-ahrairah, \stopquote\ said Prince Rainbow
+
\startquote Good evening, El-ahrairah, \stopquote\ said Prince Rainbow.
  
\quote{Good evening, El-ahrairah,} 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>
  

Revision as of 20:16, 25 May 2012

\setupquote

Syntax

\setupquote[...,...=...,...]
[...=...] see \setupdelimitedtext

Description

Setup the \quote and \startquote environments. See \setupdelimitedtext for all the parameters that may be adjusted.

Example

\enableregime[utf]

\startquote Good evening, El-ahrairah, \stopquote\ said Prince Rainbow.

\hairline
\setupquote[left=«, right=», 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: