From: Idris S Hamid <ishamid@attbi.com>
Subject: Re: quote environment
Date: Wed, 13 Nov 2002 18:48:42 -0800 [thread overview]
Message-ID: <200211131848.42392.ishamid@attbi.com> (raw)
In-Reply-To: <200211111338.51030.ishamid@attbi.com>
\definestartstop
[quote]
[before={\medskip\startnarrower[2*left,2*right]\noindent},
after={\stopnarrower\medskip\noindent}]
appears to do what I want. So if I skip a line after the stopquote I get the
next line indented. Please feel free to make suggestions/improvements to this
naive definition. For example, will this work after the beginning of a new
section or will the \medskip add too much space?I still don't know how to
verify which \skip the itemize environment uses, and I want my startstopquote
to match the itemize skips.
Best wishes
Idris
> 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
prev parent reply other threads:[~2002-11-14 2:48 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-11 21:38 Idris S Hamid
2002-11-11 20:53 ` Bruce D'Arcus
2002-11-14 2:48 ` Idris S Hamid [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200211131848.42392.ishamid@attbi.com \
--to=ishamid@attbi.com \
--cc=ntg-context@ref.ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).