* Centering lines of poetry.
@ 2003-10-21 16:53 John Culleton
2003-10-21 17:29 ` Erik Hetzner
2003-10-21 17:35 ` Erik Hetzner
0 siblings, 2 replies; 3+ messages in thread
From: John Culleton @ 2003-10-21 16:53 UTC (permalink / raw)
Here is a deceptively simple requirement:
An author writes poetry where lines are ended by a carriage retrun
and stanzas are ended by a blank line.
Problem: How to enclose those lines somehow so that all lines are
centered yet font changes are allowed.
Of course \centerline{} works but this requires tagging each line.
Any thoughts, anyone?
--
John Culleton
Able Typesetters and Indexers
http://wexfordpress.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Centering lines of poetry.
2003-10-21 16:53 Centering lines of poetry John Culleton
@ 2003-10-21 17:29 ` Erik Hetzner
2003-10-21 17:35 ` Erik Hetzner
1 sibling, 0 replies; 3+ messages in thread
From: Erik Hetzner @ 2003-10-21 17:29 UTC (permalink / raw)
Cc: John Culleton
At Tue, 21 Oct 2003 12:53:31 -0400,
John Culleton wrote:
>
> Here is a deceptively simple requirement:
> An author writes poetry where lines are ended by a carriage retrun
> and stanzas are ended by a blank line.
>
> Problem: How to enclose those lines somehow so that all lines are
> centered yet font changes are allowed.
>
> Of course \centerline{} works but this requires tagging each line.
>
> Any thoughts, anyone?
This worked for me:
\startalignment[middle]
\setuplines[indenting=no]
\startlines
{\it Out of his mouth a red, red rose!
Out of his heart a white!
For who can say by what strange way
Christ brings his will to light,
Since the barren staff the pilgrim bore
Bloomed in the great Pope's sight.}
\stoplines
\stopalignment
Regards,
Erik Hetzner
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Centering lines of poetry.
2003-10-21 16:53 Centering lines of poetry John Culleton
2003-10-21 17:29 ` Erik Hetzner
@ 2003-10-21 17:35 ` Erik Hetzner
1 sibling, 0 replies; 3+ messages in thread
From: Erik Hetzner @ 2003-10-21 17:35 UTC (permalink / raw)
Cc: John Culleton
At Tue, 21 Oct 2003 12:53:31 -0400,
John Culleton wrote:
>
> Here is a deceptively simple requirement:
> An author writes poetry where lines are ended by a carriage retrun
> and stanzas are ended by a blank line.
>
> Problem: How to enclose those lines somehow so that all lines are
> centered yet font changes are allowed.
>
> Of course \centerline{} works but this requires tagging each line.
>
> Any thoughts, anyone?
This worked for me:
\startalignment[middle]
\setuplines[indenting=no]
\startlines
{\it Out of his mouth a red, red rose!
Out of his heart a white!
For who can say by what strange way
Christ brings his will to light,
Since the barren staff the pilgrim bore
Bloomed in the great Pope's sight.}
\stoplines
\stopalignment
Regards,
Erik Hetzner
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-10-21 17:35 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-21 16:53 Centering lines of poetry John Culleton
2003-10-21 17:29 ` Erik Hetzner
2003-10-21 17:35 ` Erik Hetzner
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).