ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* quote environment
@ 2002-11-11 21:38 Idris S Hamid
  2002-11-11 20:53 ` Bruce D'Arcus
  2002-11-14  2:48 ` Idris S Hamid
  0 siblings, 2 replies; 3+ messages in thread
From: Idris S Hamid @ 2002-11-11 21:38 UTC (permalink / raw)


Dear crew,

(Please forgive all the (perhaps) clueless questions: I've had to spend the 
last few months focusing on _content_ in my research as opposed to _form_ so 
I've gotten quite rusty:->)

I have defined a quote environment as follows:

   \startnarrower[2*left,2*right]\noindent
   Some quoted text
   \stopnarrower

I would like to define a more sophisticated \startquote \stopquote with the 
following features:

1. Assuming the quote is within a paragraph and is preceded and succeeded by 
text belonging to that same paragraph, the skips preceding and succeeding 
text should be the same as in the default itemize environment. Assuming 
itemize uses \medskip (how do I find out for sure (aside from digging into 
the code)?), I need the quote environment to do something like;

------------------------------------
Here is some preceding text
\medskip 
%
   \startnarrower[2*left,2*right]\noindent
   Some quoted text
   \stopnarrower
\medskip
%
Here is some succeeding text.
----------------------------------------

2. Assuming the quote is within a paragraph and is preceded and succeeded by 
text belonging to that same paragraph, the succeeding text should NOT be 
indented. viz.

----------------------------------------
Here is some preceding text
%
\startquote
   Some quoted text 
\stopquote
%
Here is some succeeding text that should NOT be indented
-----------------------------------------

3. Assuming the quote is at the _end_ of a paragraph, I need the quote 
environment to do something like;

--------------------------------------
Here is some preceding text
\medskip 
%
   \startnarrower[2*left,2*right]\noindent
   Some quoted text
   \stopnarrower
\medskip

Here is some succeeding text that SHOULD be indented.
--------------------------------------

Note also that the first par in a quote environment should not be indented:

--------------------------------------
Here is some preceding text
%
\startquote

   Some quoted text that should NOT be indented

   Some quoted text  that SHOULD be indented.

\stopquote
%
--------------------------------------

Your help is greatly appreciated!

Best wishes
Idris
-- 
Dr. Idris S Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-11-14  2:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-11 21:38 quote environment Idris S Hamid
2002-11-11 20:53 ` Bruce D'Arcus
2002-11-14  2:48 ` Idris S Hamid

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).