diff options
Diffstat (limited to 'Master/texmf-dist/source/eplain/base/test/list.tex')
-rw-r--r-- | Master/texmf-dist/source/eplain/base/test/list.tex | 90 |
1 files changed, 90 insertions, 0 deletions
diff --git a/Master/texmf-dist/source/eplain/base/test/list.tex b/Master/texmf-dist/source/eplain/base/test/list.tex new file mode 100644 index 00000000000..68775b3d822 --- /dev/null +++ b/Master/texmf-dist/source/eplain/base/test/list.tex @@ -0,0 +1,90 @@ +% This file is public domain. +% +% Test file for lists. +% +\ifx\undefined\eplain \input eplain \fi + +{\parindent = 0pt + \parskip = .5\baselineskip +\unorderedlist + \li hello there + + This item has two paragraphs since we want to see if it + works anywhere, and of course we want the paragraphs to be long. + + \li We did this list with zero parindent and nonzero parskip. +\endunorderedlist +} + +\unorderedlist + \li hello there + + This item has two paragraphs since we want to see if it + works anywhere, and of course we want the paragraphs to be long. + + \li second item + \numberedlist + \li nested + \li and again. + + This item has two paragraphs, also, since we want to see if it + works anywhere, and of course we want the paragraphs to be long. + + \li and again + \numberedlist + \li I am going three-level with you. + \endnumberedlist + \unorderedlist + \li I'm not. + + This item has two paragraphs, also, since we want to see if + it works anywhere, and of course we want the paragraphs to + be long. + + In fact, maybe we better make it three paragraphs. What + will happen then? This should tell us. + + \endunorderedlist + \endnumberedlist +\endunorderedlist + +This is a paragraph between the lists. It should be indented. But we'll +make it go on for more than one line, so we'll be able to see where the +left margin is. + +\numberedlist + \li hello there + + This item has two paragraphs. Isn't that annoying? + In fact, the second paragraph has more than one line, at least + I'm going to make it long enough so that that is true---I hope. + + \li second item + \numberedlist + \li nested + \li and again + \li and again + \numberedlist + \li I am going three-level with you. + \endnumberedlist + \unorderedlist + \li I'm not. + \endunorderedlist + \endnumberedlist +\endnumberedlist + +\listleftindent = 4pc +\unorderedlist +\li A shorter list, but with a bigger indent. +\numberedlist \li A nested list. +\endnumberedlist +\li The second item. +\endunorderedlist + +A list with an xref label: +\numberedlist +\li[listitem] This is the first. +\endnumberedlist + +And now we can refer to that item: \xrefn{listitem}. +\bye |