
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

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

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
participants (2)
-
Erik Hetzner
-
John Culleton