diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/jmlr/jmlr.cls')
-rw-r--r-- | Master/texmf-dist/tex/latex/jmlr/jmlr.cls | 33 |
1 files changed, 30 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/jmlr/jmlr.cls b/Master/texmf-dist/tex/latex/jmlr/jmlr.cls index 0b627dc3405..cf016afd3db 100644 --- a/Master/texmf-dist/tex/latex/jmlr/jmlr.cls +++ b/Master/texmf-dist/tex/latex/jmlr/jmlr.cls @@ -41,7 +41,7 @@ %% First editor: %% Second editor: \NeedsTeXFormat{LaTeX2e} -\ProvidesClass{jmlr}[2011/01/05 v1.10 (NLCT) Journal of Machine Learning Research] +\ProvidesClass{jmlr}[2011/03/24 v1.11 (NLCT) Journal of Machine Learning Research] \RequirePackage{xkeyval} \providecommand*{\jmlr@prehyperref}{} \define@key{jmlr.cls}{prehyperref}{% @@ -86,7 +86,7 @@ \jmlrproceedings{JMLR}{Journal of Machine Learning Research}% } \newcommand*{\jmlrwcp}{% - \jmlrproceedings{JMLR WC\&P}{JMLR: Workshop and Conference Proceedings}% + \jmlrproceedings{JMLR W\&CP}{JMLR: Workshop and Conference Proceedings}% } \DeclareOptionX{nowcp}{\jmlrnowcp} \DeclareOptionX{wcp}{\jmlrwcp} @@ -355,6 +355,33 @@ Keywords:} \ignorespaces}% \def\nametag##1{##1}% \@name #1% } +\newcommand*{\jmlrabbrnamelist}[1]{% + \def\nametag##1{}% + \def\@jmlr@authors@sep{, }% + \def\@jmlr@namelist{}% + \@for\@thisname:=#1\do{% + \expandafter\@jmlrabbrname\expandafter{\@thisname}% + \ifx\@jmlr@namelist\@empty + \protected@edef\@jmlr@namelist{% + \@initials\space\@surname + }% + \else + \protected@edef\@jmlr@namelist{% + \@jmlr@namelist + \noexpand\@jmlr@authors@sep + \@initials\space\@surname + }% + \fi + }% + \def\@jmlr@authors@sep{ \& }% + \@jmlr@namelist +} +\newcommand*{\@jmlrabbrname}[1]{% + \def\@initials{}% + \def\@surname{}% + \def\@forenames{}% + \@parsename#1 \@nil\end@parsename +} \newcommand*{\Email}[1]{{\@email #1}} \def\jmlrpostauthor{\@endauthor\egroup \par @@ -833,7 +860,7 @@ Keywords:} \ignorespaces}% \@afterindentfalse \secdef\@chapter\@schapter} \newcommand\artchapter{% - \ClassError{jmlrwcp}{Chapters not permitted in articles}{}} + \ClassError{jmlr}{Chapters not permitted in articles}{}} \let\chapter\artchapter \def\@chaptoclabel{chapter} \def\@chapter[#1]#2{\ifnum \c@secnumdepth >\m@ne |