Open main menu

Changes

823 bytes added ,  09:16, 27 December 2021
example with indented continuation lines in poems
<?xml version='1.0'?>
<!-- this file was generated on 2020-08-20T09:05 -->
<cd:commandgroup generated="yes" name="lines" type="environment" xmlns:cd="http://wiki.contextgarden.net/commanddoc/20200807">
<cd:shortdesc><!-- a short command summary goes here -->The instances of <tt>\start<i>lines</i> ... \stop<i>lines</i></tt> are used for ..typsetting text with preformatted line breaks.
</cd:shortdesc>
<cd:sequence>
</cd:command>
</cd:variants>
<cd:description><!-- This allows the long description printing of text according to existing linebreaks within the text. The command goes here -itself takes no setups, but you can use {{cmd|setuplines}} to indicate that you wish to preserve whitespace, or make it visible, as well as some other tricks; and if you find yourself using the same few setups throughout the document, you can make special->purpose environments using {{cmd|definelines}}.
</cd:description>
<cd:examples><!-- command example(s)<cd:example title=""><context source="yes">\startlinesThelinesarethere!\stoplines</cd:examplecontext>--></cd:examplesexample><cd:notesexample title="">For poems with longer lines you can use positive and negative values. Long lines will break and indent to indicate that the new line the continuation of the line before. <!context source="yes">\setuplines [before={\blank\startnarrow[default=left,left=1cm]}, after={\stopnarrow\blank}, indenting={yes,-- this is 1cm}] \showframe[text][text] \starttext \startlinesShe made that year the most terrible one for special remarks that do mortals, all over the Earth, the nurturer of many.It was so terrible, it makes you think of the Hound of Hadês. The Earth did not fit elsewheresend upany seed. Demeter, like discovered bugs she with the beautiful garlands in her hair, kept them covered underground.Many a curved plough was dragged along the fields by many an ox—all in specific vain.Many a bright grain of wheat fell into the earth—all for naught.\stoplines \stoptext</context versions></cd:note author="..." date="..."example></cd:noteexamples>--<cd:notes></cd:notes>
<cd:seealso>
<!-- one or more of these:
<cd:commandref name="xx"></cd:commandref>
<cd:wikipage page="xx"></cd:wikipage>
<cd:url url="https://xx"></cd:url>
<cd:manual pdf="xx"></cd:manual>
<cd:source file="xx"></cd:source>
-->
<cd:commandref name="definelines" originator="system"></cd:commandref>
<cd:commandref name="setuplines" originator="system"></cd:commandref>
<cd:source file="spac-lin.mkiv" originator="system"></cd:source> <cd:wikipage originator="system" page="Category:Structure"></cd:wikipage> </cd:seealso>
</cd:commandgroup>
13

edits