diff options
author | Karl Berry <karl@freefriends.org> | 2011-05-08 23:21:33 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2011-05-08 23:21:33 +0000 |
commit | b2e72837cf1c7f823d47fcfd580a9a0ae338f65d (patch) | |
tree | 7e2500e08ffe4fe5fc403ff3babec72375fd0eab /Master | |
parent | f8eda54904065f5f259e8702c1b0c821335df27f (diff) |
easylist
git-svn-id: svn://tug.org/texlive/trunk@22362 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r-- | Master/texmf-dist/doc/latex/easylist/README | 40 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/easylist/easylist.sty | 10 |
2 files changed, 21 insertions, 29 deletions
diff --git a/Master/texmf-dist/doc/latex/easylist/README b/Master/texmf-dist/doc/latex/easylist/README index 482041fa17d..6b3635e78dd 100644 --- a/Master/texmf-dist/doc/latex/easylist/README +++ b/Master/texmf-dist/doc/latex/easylist/README @@ -1,27 +1,19 @@ -This is the file README for the CodeDoc class. You'll find complete documentation in CodeDoc-manual.pdf - -This class produces code and documentation in a single file without departing from LaTeX's ordinary -syntax. - - -TO PRODUCE THE DOCUMENTATION: -Run LaTeX on CodeDoc-manual.tex (better in PDF). -In the document class options of the latter file, -you may uncomment the `obeystop' option and/or -comment out the `index' option to remove the -implementation from the documentation and/or -the index. -Don't forget to run LaTeX and MakeIndex as many -times as necessary. - -TO PRODUCE THE CLASS ITSELF (codedoc.cls): -Uncomment the `produce' option among the -class options and run LaTeX on the same file -(CodeDoc-manual.tex). -This serves as an illustration only, since -to do so you already need codedoc.cls, obviously. -This file should thus be included in any distribution. - +This is the file README for easylist.sty. You'll find complete documentation in easylist-doc.pdf + +This package provides an easy way of creating lists of numbered items (with as many levels as you +want-up to TeX's limitation) like: + +1. First proposition. +1.1. Comment. +1.1.1. Another comment. +1.1.2. And I'd like to add... +1.1.2.1. By the way... +1.1.2.1.1. This is getting boring... +1.2. So let's start something new... + +The advantage over usual LaTeX commands is that items here are created with a single active +character in a recursive fashion. Moreover various layout options are available to achieve +maximum control (incrementing items, configuring styles, and so on). Licensing of this package is covered by LPPL. diff --git a/Master/texmf-dist/tex/latex/easylist/easylist.sty b/Master/texmf-dist/tex/latex/easylist/easylist.sty index b9cc9210e55..6cf96574d92 100644 --- a/Master/texmf-dist/tex/latex/easylist/easylist.sty +++ b/Master/texmf-dist/tex/latex/easylist/easylist.sty @@ -800,14 +800,14 @@ \hangafter0\hangindent\el@TotalMargin \hskip-\el@LeftMove\box\el@CounterBox \begingroup - \edef\@currentlabel{\el@ItemCounter} - \gdef\el@ItemCounter{} + \edef\@currentlabel{\el@ItemCounter}% + \gdef\el@ItemCounter{}% \parindent=\csname Indent\the\el@CounterLevel\endcsname - \everypar{\hangafter0\hangindent\el@TotalMargin} + \everypar{\hangafter0\hangindent\el@TotalMargin}% \csname Style\the\el@CounterLevel\endcsname \csname Style\the\el@CounterLevel**\endcsname \fi - \xdef\el@PreviousItem{\the\el@CounterLevel} + \xdef\el@PreviousItem{\the\el@CounterLevel}% \global\el@CounterLevel1 \else \global\el@Advance\el@CounterLevel @@ -939,4 +939,4 @@ \catcode`#=\SharpCatcode \catcode`@=\AtCatcode \catcode`^^b6=\PilcrowCatcode -\catcode`^^a7=\SectionCatcode
\ No newline at end of file +\catcode`^^a7=\SectionCatcode |