ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Paul Tremblay <phthenry@iglou.com>
Subject: Re: how to number poetry?
Date: Thu, 14 Jul 2005 13:14:38 -0400	[thread overview]
Message-ID: <20050714171438.GA3830@localhost.localdomain> (raw)
In-Reply-To: <20050713205905.GA23919@localhost.localdomain>

On Wed, Jul 13, 2005 at 04:59:05PM -0400, Paul Tremblay wrote:
> 
> What is the best way to number lines of poetry?
> 
> 1  This is the first line
>    This is the second line
>    ...
> 
> 5  this is the fifth
>    ...
> 
> 10 this is the tenth.
> 
> I can supply the number myself. I really don't want the numbers in the
> margin. Instead, I want the whole poem indented right, with the
> numbers left of the indent.
> 
> I have tried using tabulate, but tabulate doesn't let me control the
> space between "lines," or really cells.
> 

Answering my own question. One posibility is:

\startitemize
\sym{1} This is the first line 
\nop This is the second line
%% and so fourth
\stopitmeize

That allows you to control the space between the number and the actual
line. In addition, ConTeXt should (?) do a good job making sure a
single line doesn't become an orphan or widow.

The only drawback is that you cannot use hanging indents for long
lines:

This is the forest premiva. The mummuring pines and 
    the hemlocks

\startitemize
\sym{1} This is the forest premiva. The mummuring pines and 
\nop \hskip12pt the hemlocs
%% and so fourth
\stopitmeize

Paul



-- 

************************
*Paul Tremblay         *
*phthenry@iglou.com    *
************************

  reply	other threads:[~2005-07-14 17:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-13 20:59 Paul Tremblay
2005-07-14 17:14 ` Paul Tremblay [this message]
2005-07-18 12:18 ` Mojca Miklavec
2005-07-18 13:44   ` 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=20050714171438.GA3830@localhost.localdomain \
    --to=phthenry@iglou.com \
    --cc=ntg-context@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).