[tex-eplain] Poetry environment

Adam Fenn acwfenn at hotmail.com
Sun Sep 7 19:13:37 CEST 2008


I've been using \halign to typeset some poetry so that the poem 
is centered on the longest line and can also cross page breaks.
I would like to use eplain's user-defined environment to bundle this 
into \poem \endpoem environment, but I've had no success so far.
Any suggestions?

TIA
Adam.

%------------------------
\begingroup 
\tabskip=0pt plus 1fil
\let\par=\cr \obeylines %
\halign to\hsize{#\hfil

I wandered lonely as a cloud
That floats on high o'er vales and hills,
When all at once I saw a crowd,
A host, of golden daffodils;
Beside the lake, beneath the trees,
Fluttering and dancing in the breeze.

Continuous as the stars that shine
And twinkle on the milky way,
They stretched in never-ending line
Along the margin of a bay:                                  
Ten thousand saw I at a glance,
Tossing their heads in sprightly dance.

} %
\endgroup

\bye
%--------------------------

_________________________________________________________________
Get all your favourite content with the slick new MSN Toolbar - FREE
http://clk.atdmt.com/UKM/go/111354027/direct/01/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/tex-eplain/attachments/20080907/51960d9a/attachment.html 


More information about the tex-eplain mailing list