From 2f450480c2813758ceaa83ea58aada7ece770692 Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Tue, 26 Oct 2010 23:30:53 +0000
Subject: shipunov 1.1 (27oct10)

git-svn-id: svn://tug.org/texlive/trunk@20218 c570f23f-e606-0410-a88d-b1316a301751
---
 Master/texmf-dist/tex/latex/shipunov/autolist.sty | 18 +++++++++++++++---
 1 file changed, 15 insertions(+), 3 deletions(-)

(limited to 'Master/texmf-dist/tex/latex/shipunov/autolist.sty')

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}}%
-- 
cgit v1.2.3

