From: Guy Worthington <guyw@multiline.com.au>
Subject: Enumerating paragraphs
Date: 19 Sep 2000 19:16:06 +0800 [thread overview]
Message-ID: <wkzol4my2x.fsf@multiline.com.au> (raw)
How do I number paragraphs (similar to the format used when
typesetting a module)? I've had an unsuccessful attempt at
it (below).
\newcount\paragraphno % enumerate paragraphs
\def\paragraph#1\par{\advance\paragraphno by 1
\llap{\sl \the\paragraphno\kern1pc}#1\par}% number to left of text
\setupbodyfont[ber,10pt]
\setupwhitespace[big]
\starttext
\section[sec-language]{How this Book Teaches You The Language}
\paragraph Java is an object oriented programming language. When you
use an object oriented programming language, your program consists of
class definitions.
\stoptext
next reply other threads:[~2000-09-19 11:16 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-09-19 11:16 Guy Worthington [this message]
2000-09-19 13:39 ` Ed L Cashin
2000-09-19 14:36 ` Hans Hagen
2000-09-19 14:31 ` Hans Hagen
2000-09-20 2:31 Guy Worthington
2001-11-09 18:06 enumerating paragraphs Mathias.Picker
2001-11-11 12:27 ` Patrick Gundlach
2001-11-12 9:29 ` Hans Hagen
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=wkzol4my2x.fsf@multiline.com.au \
--to=guyw@multiline.com.au \
/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).