On Thu, 3 Sep 2009, Robert Blackstone wrote:
Hi all,
In a text with some fairly long quotations I want to have these quotations
without their quotation marks, not indented and set in small type.
Thanks to the ConTeXt wiki I found I could fulfill two of the three
requirements by using
\setupdelimitedtext[blockquote][style={\setupbodyfont[9pt]},
use \switchtobodyfont rather than setupbodyfont.
and \startblockquote (text of the quotation) \blank \stopblockquote,
but I still get the unwanted indenting.
In the main text I want indenting of the first lines of most new paragraphs,
so I have \setupindenting[20pt,yes] in the preamble, but I do not want it in
the quotations. Placing \noindent at the beginning of the quotation does not
do anything.
To make context ignore indenting of a signle paragraph, use
\noindentation.
delimited text does not offer control of indentation inside the
environment, but offers sufficient hooks to enable manipulation of
indentations.
If you want paragraphs inside the quotation to be indented use the
following (if not, replace noindentation with noindenting)
\definedelimitedtext[LongQuote]
[style={\switchtobodyfont[9pt]},
spacebefore=medium,
before=\noindentation, % also \noindenting,
]
\setupindenting[big,yes]
\starttext
\input ward
\startLongQuote
\input knuth \par
\stopLongQuote
\input ward
\stoptext
Aditya
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________