Difference between revisions of "Quotes"

From Wiki
Jump to navigation Jump to search
(Collected material for quotations)
 
Line 38: Line 38:
 
Testing, \quotation{A long quotation in which one character says,
 
Testing, \quotation{A long quotation in which one character says,
 
\quotation{Eh? What am I supposed to say? Something like, \quotation
 
\quotation{Eh? What am I supposed to say? Something like, \quotation
{Quotations in this sentance are nested}?}} testing, 1, 2, 3.
+
{Quotations in this sentence are nested}?}} testing, 1, 2, 3.
 
</texcode>
 
</texcode>
  

Revision as of 08:07, 10 November 2008

< Visuals

Basic commands

Don't try to type quotation marks, but use logical markup! Quotation marks and formatting are language dependent.

single quotes 
\quote{some text}
double quotes 
\quotation{some text}
long quote sections 
try \startquote or \startquotation etc.


Nested quotations

The following commands can be used to automatically nest double and single quotes.

\setupdelimitedtext
  [quotation]
  [1]
  [left={\symbol[leftquotation]},
   right={\symbol[rightquotation]}]

\setupdelimitedtext
  [quotation]
  [2]
  [left={\symbol[leftquote]},
   right={\symbol[rightquote]}]

\setupdelimitedtext
  [quotation]
  [3]
  [left={\symbol[leftquotation]},
   right={\symbol[rightquotation]}]
Testing, \quotation{A long quotation in which one character says,
\quotation{Eh? What am I supposed to say? Something like, \quotation
{Quotations in this sentence are nested}?}} testing, 1, 2, 3.


Long quotations and extracts

The following may serve as a guide to others in formatting long quotations or extracts:

In body text:

\defineblank[extractdistance][3pt]

\definedelimitedtext[extract][blockquote]

\setupdelimitedtext
  [extract]
  [spacebefore=extractdistance,
   leftmargin=1.5pc,
   before={\setupindenting[next]}]

In footnotes:

\defineblank[footenoteextractdistance][2.7pt]

\definedelimitedtext[fnextract][blockquote]

\setupdelimitedtext
  [fnextract]
  [spacebefore=footenoteextractdistance,
   leftmargin=1.5pc,
   before={\setupindenting[next]}]