diff options
author | Karl Berry <karl@freefriends.org> | 2010-10-26 23:30:53 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-10-26 23:30:53 +0000 |
commit | 2f450480c2813758ceaa83ea58aada7ece770692 (patch) | |
tree | 7607347508bf4684064e570adbc5d2204187eb87 /Master/texmf-dist/tex/latex/shipunov/autolist.sty | |
parent | 490bf06b4381ebbc20abf68cc21217ee0078bf98 (diff) |
shipunov 1.1 (27oct10)
git-svn-id: svn://tug.org/texlive/trunk@20218 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/shipunov/autolist.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/shipunov/autolist.sty | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/shipunov/autolist.sty b/Master/texmf-dist/tex/latex/shipunov/autolist.sty index e1f65d9f160..d4f32b8a1dc 100644 --- a/Master/texmf-dist/tex/latex/shipunov/autolist.sty +++ b/Master/texmf-dist/tex/latex/shipunov/autolist.sty @@ -1,7 +1,7 @@ -% Authors: A. and A. Shipunovs, plantago@herba.msu.ru +% Authors: A. Shipunova and A. Shipunov, plantago@herba.msu.ru \ProvidesPackage{autolist}% - [2008/02/06 v0.3 Various lists] + [2010/10/24 v0.4 Various lists] \ProvidesPackage{autolist} \RequirePackage{calc} @@ -157,11 +157,23 @@ \itemsep=.5pt\parsep=2pt\topsep=5pt}} {\end{list}} +% Items for several lines \newcommand{\Lplabel}[1] {\raisebox{0pt}[1ex][0pt]{\makebox[\labelwidth][l]% {\parbox[t]{\labelwidth}{\raggedright\hspace{0pt}#1}}}} -% Items for several lines +\newcommand{\Rplabel}[1] + {\raisebox{0pt}[1ex][0pt]{\makebox[\labelwidth][l]% + {\parbox[t]{\labelwidth}{\raggedleft\hspace{0pt}#1}}}} + +\newenvironment{Rpolylist}[1][\quad]% + {\begin{list}{}{% + \renewcommand{\makelabel}[1]{\Rplabel{##1}}% + \settowidth{\labelwidth}{{#1}}% + \setlength{\leftmargin}{\labelwidth+\labelsep}% + \itemsep=.5pt\parsep=2pt\topsep=5pt}} + {\end{list}} + \newenvironment{Lpolylist}[1][\quad]% {\begin{list}{}{% \renewcommand{\makelabel}[1]{\Lplabel{##1}}% |