diff options
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}}% |