Verse

From Wiki
Revision as of 14:42, 7 June 2020 by Garulfo (talk | contribs)
Jump to navigation Jump to search

Verse

A simple example

\startlines
But chiefly, when the shadowy moon had shed
O'er woods and waters her mysterious hue,
Their passive hearts and vacant fancies fed
With thoughts and aspirations strange and new,
Till their brute souls with inward working bred
Dark hints that in the depths of instinct grew
Subjection not from Locke's associations,
Nor David Hartley's doctrine of vibrations.
\stoplines

Indenting lines

You could give the output in the lines environment a special look with indenting of odd or even lines. You could do this with the indenting key for \setuplines, the arguments are the same as you could use for \setupindenting.

\setuplines[indenting={yes,medium,odd}]

\setuplines[indenting={yes,medium,even}]

Preventing pagebreaks

Text in the lines environment is normally split at the end of the page, to prevent this you could enclose the block with a framedtext.

\setuplines
  [before={\startframedtext[frame=off]},
   after=\stopframedtext]