From f635c3a0313dc1bfa20fbf48b7dd30979a6f5dec Mon Sep 17 00:00:00 2001 From: Manuel Pégourié-Gonnard Date: Thu, 22 May 2008 14:27:04 +0000 Subject: mlist v0.6 2008/05/22 (from tds.zip) git-svn-id: svn://tug.org/texlive/trunk@8287 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/mlist/mlist.cfg | 2 ++ Master/texmf-dist/tex/latex/mlist/mlist.sty | 11 ++++++----- 2 files changed, 8 insertions(+), 5 deletions(-) (limited to 'Master/texmf-dist/tex/latex') diff --git a/Master/texmf-dist/tex/latex/mlist/mlist.cfg b/Master/texmf-dist/tex/latex/mlist/mlist.cfg index 9d193412c7c..0e10dd5f77e 100644 --- a/Master/texmf-dist/tex/latex/mlist/mlist.cfg +++ b/Master/texmf-dist/tex/latex/mlist/mlist.cfg @@ -11,6 +11,7 @@ %% %% License information appended. %% +%% \mlistsetup{% sep={,}, sepsep={;}, @@ -21,6 +22,7 @@ elemcmd=\mlistelem, headcmd=\mathbf, index={}, + headhook={}, } \newmlist\vect[ wrapcmd=\mlistparen, diff --git a/Master/texmf-dist/tex/latex/mlist/mlist.sty b/Master/texmf-dist/tex/latex/mlist/mlist.sty index aa9d1b56aeb..71edc383ef8 100644 --- a/Master/texmf-dist/tex/latex/mlist/mlist.sty +++ b/Master/texmf-dist/tex/latex/mlist/mlist.sty @@ -11,8 +11,9 @@ %% %% License information appended. %% +%% \ProvidesPackage{mlist} - [2007/09/19 v0.5 Typesetting maths lists] + [2008/05/22 v0.6 Typesetting maths lists] \let\mlisthead\@firstofone \let\mlistelem\@secondoftwo \newcommand\mlistsub [2]{#1_{#2}} @@ -71,7 +72,7 @@ \newcommand\mlistsetup[1]{\setkeys[mlist]{sym}{#1}} \define@cmdkeys[mlist]{sym}[mlist@]{% symbol,index,sep,sepsep,elem, - elemcmd,headcmd,dot,dots} + elemcmd,headcmd,dot,dots,headhook} \define@key[mlist]{sym}{wrapcmd}{\let\mlist@wrap#1} \define@key[mlist]{sym}{wraponecmd}[\mlist@wrap]{\let\mlist@wrapone#1} \define@key[mlist]{sym}{wrap}{% @@ -123,7 +124,7 @@ \def\MID{\csname mlist@\the\@tempcnta @mid\endcsname}% \def\LAST{\csname mlist@\the\@tempcnta @last\endcsname}% \ifx\@empty\mlist@index\relax - \def\mlist@list{\mlist@headcmd{\mlist@symbol}}% + \def\mlist@list{\mlist@headcmd{\mlist@headhook\mlist@symbol}}% \else \@tempcnta\z@ \@tempswafalse @@ -150,7 +151,7 @@ \ifx\@ii\mlist@period \mlist@add{\mlist@dot\@gobble}% \else - \mlist@add{\mlist@elemcmd{\mlist@symbol}}% + \mlist@add{\mlist@elemcmd{\mlist@headhook\mlist@symbol}}% \fi \fi}% \mlist@parse@implicit @@ -166,7 +167,7 @@ }% }% \def\mlist@list{% - \mlist@wrap{\mlist@headcmd{\mlist@symbol}} + \mlist@wrap{\mlist@headcmd{\mlist@headhook\mlist@symbol}} {\mlist@list@elems}}% \ifnum\@tempcnta=\@ne \ifnum\@tempcntb=\@ne -- cgit v1.2.3