Changes

Jump to navigation Jump to search
2,445 bytes added ,  13:31, 28 May 2008
Entry for the start/stoplines environment.
< [[Visuals]] | [[Verbatim text]] >

= Verse =

== A simple example ==

<texcode>
\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
</texcode>

<context>
\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
</context>

== 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 <code>indenting</code> key for <code>\setuplines</code>, the arguments are the same as you could use for <code>\setupindenting</code>.

<texcode>
\setuplines[indenting={yes,medium,odd}]
</texcode>

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

\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
</context>

<texcode>
\setuplines[indenting={yes,medium,even}]
</texcode>

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

\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
</context>

== 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.

<texcode>
\setuplines
[before={\startframedtext[frame=off]},
after=\stopframedtext]
</texcode>
gardener
110

edits

Navigation menu