summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/mlist
diff options
context:
space:
mode:
authorManuel Pégourié-Gonnard <mpg@elzevir.fr>2008-05-22 14:27:04 +0000
committerManuel Pégourié-Gonnard <mpg@elzevir.fr>2008-05-22 14:27:04 +0000
commitf635c3a0313dc1bfa20fbf48b7dd30979a6f5dec (patch)
tree03e92ed1cf12288d029182c280e9b9f7942297e2 /Master/texmf-dist/tex/latex/mlist
parentd52b367c5437bcba881bac5f4c4fc20bbe8a25fa (diff)
mlist v0.6 2008/05/22 (from tds.zip)
git-svn-id: svn://tug.org/texlive/trunk@8287 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/mlist')
-rw-r--r--Master/texmf-dist/tex/latex/mlist/mlist.cfg2
-rw-r--r--Master/texmf-dist/tex/latex/mlist/mlist.sty11
2 files changed, 8 insertions, 5 deletions
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