[texhax] \hangindent issue

Philip Taylor P.Taylor at Rhul.Ac.Uk
Sun Aug 21 20:09:08 CEST 2016



Daniel H. Luecking wrote:
>
> Then you must ensure that active end-line characters exist at the
>
> end of each line of the text of \poem. For example,
>
> {\obeylines
>
> \def\poem{%
>
>   line one
>
>   line two
>
> }
>
> }
>
which may, of itself, cause problems, since the \def won't be global ...  Better might be :

\begingroup
\obeylines

\global \def \poem %
    {%

          line one

          line two

    }%

\endgroup


Philip Taylor


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/texhax/attachments/20160821/8a08b986/attachment-0001.html>


More information about the texhax mailing list