summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/jmlr
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-06-18 23:21:28 +0000
committerKarl Berry <karl@freefriends.org>2010-06-18 23:21:28 +0000
commit0dfdf5c49b160d464b74a9cae8882ea81cc47878 (patch)
treebdf5cdba055386a23c7c34606b0ac3cde619f5de /Master/texmf-dist/tex/latex/jmlr
parent9af4aa84209bad3ca4dab9a48aa1922d2f748de2 (diff)
new latex package jmlr 1.06 (18jun10)
git-svn-id: svn://tug.org/texlive/trunk@19046 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/jmlr')
-rw-r--r--Master/texmf-dist/tex/latex/jmlr/jmlr.cls969
-rw-r--r--Master/texmf-dist/tex/latex/jmlr/jmlrbook.cls775
2 files changed, 1744 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/jmlr/jmlr.cls b/Master/texmf-dist/tex/latex/jmlr/jmlr.cls
new file mode 100644
index 00000000000..eb9d45ebe6f
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/jmlr/jmlr.cls
@@ -0,0 +1,969 @@
+%%
+%% This is file `jmlr.cls',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% jmlr.dtx (with options: `jmlr.cls,package')
+%%
+%% jmlr.dtx
+%% Copyright 2010 Nicola Talbot
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% of this license of (at your option) any later version.
+%% The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
+%%
+%% This work has the LPPL maintenance status `maintained'.
+%%
+%% The Current Maintainer of this work is Nicola Talbot.
+%%
+%% This work consists of the files jmlr.dtx and jmlr.ins and the derived files jmlr.cls, jmlrbook.cls.
+%%
+%% \CharacterTable
+%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
+%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
+%% Digits \0\1\2\3\4\5\6\7\8\9
+%% Exclamation \! Double quote \" Hash (number) \#
+%% Dollar \$ Percent \% Ampersand \&
+%% Acute accent \' Left paren \( Right paren \)
+%% Asterisk \* Plus \+ Comma \,
+%% Minus \- Point \. Solidus \/
+%% Colon \: Semicolon \; Less than \<
+%% Equals \= Greater than \> Question mark \?
+%% Commercial at \@ Left bracket \[ Backslash \\
+%% Right bracket \] Circumflex \^ Underscore \_
+%% Grave accent \` Left brace \{ Vertical bar \|
+%% Right brace \} Tilde \~}
+%% First editor:
+%% Second editor:
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesClass{jmlr}[2010/06/17 v1.06 (NLCT) Journal of Machine Learning Research]
+\newif\if@openright
+\newif\if@mainmatter \@mainmattertrue
+\@ifundefined{ifgrayscale}{
+ \newif\ifgrayscale
+ \grayscalefalse
+}{}
+\DeclareOption{color}{\grayscalefalse
+ \PassOptionsToPackage{color}{xcolor}}
+\DeclareOption{gray}{\grayscaletrue
+ \PassOptionsToPackage{gray}{xcolor}}
+\newif\iftablecaptiontop
+\tablecaptiontoptrue
+\DeclareOption{tablecaptiontop}{\tablecaptiontoptrue}
+\DeclareOption{tablecaptionbottom}{\tablecaptionbottomtrue}
+\newif\ifjmlrhtml
+\jmlrhtmlfalse
+\DeclareOption{html}{\jmlrhtmltrue}
+\DeclareOption{nohtml}{\jmlrhtmlfalse}
+\def\pt@size{11pt}
+\DeclareOption{10pt}{\renewcommand{\pt@size}{10}%
+ \PassOptionsToClass{\CurrentOption}{article}}
+\DeclareOption{11pt}{\renewcommand{\pt@size}{11}%
+ \PassOptionsToClass{\CurrentOption}{article}}
+\DeclareOption{12pt}{\renewcommand{\pt@size}{12}%
+ \PassOptionsToClass{\CurrentOption}{article}}
+\newcommand*{\@jmlrproceedings}{Journal of Machine Learning Research}
+\newcommand*{\@jmlrabbrvproceedings}{JMLR}
+\newcommand*{\jmlrproceedings}[2]{%
+ \renewcommand*{\@jmlrabbrvproceedings}{#1}%
+ \renewcommand*{\@jmlrproceedings}{#2}%
+}
+\newcommand*{\jmlrnowcp}{%
+ \jmlrproceedings{JMLR}{Journal of Machine Learning Research}%
+}
+\newcommand*{\jmlrwcp}{%
+ \jmlrproceedings{JMLR WC\&P}{JMLR: Workshop and Conference Proceedings}%
+}
+\DeclareOption{nowcp}{\jmlrnowcp}
+\DeclareOption{wcp}{\jmlrwcp}
+\newif\ifviiXx
+\viiXxfalse
+\DeclareOption{7x10}{\viiXxtrue}
+\DeclareOption{letterpaper}{\PassOptionsToPackage{letterpaper}{typearea}}
+\DeclareOption*{\PassOptionsToClass{\CurrentOption}{scrartcl}}
+\ExecuteOptions{twoside,letterpaper}
+\ProcessOptions
+\LoadClass[pointednumbers,normalheadings]{scrartcl}
+\ifviiXx
+ \setlength{\paperwidth}{7in}
+ \setlength{\paperheight}{10in}
+ \setlength{\textwidth}{5.25in}
+ \setlength{\textheight}{8.2in}
+ \setlength{\topmargin}{0.4in}
+ \setlength{\headheight}{0.2in}
+ \setlength{\headsep}{0.2in}
+ \setlength{\hoffset}{-1in}
+ \setlength{\voffset}{-1in}
+ \setlength{\evensidemargin}{0.75in}
+ \setlength{\oddsidemargin}{1.0in}
+\else
+ \setlength{\oddsidemargin}{0.25in}
+ \setlength{\evensidemargin}{0.25in}
+ \setlength{\marginparwidth}{0.07 true in}
+ \setlength{\topmargin}{-0.5in}
+ \addtolength{\headsep}{0.25in}
+ \setlength{\textheight}{8.5 true in}
+ \setlength{\textwidth}{6.0 true in}
+\fi
+\RequirePackage{amsmath}
+\RequirePackage{amssymb}
+\RequirePackage{natbib}
+\RequirePackage{graphicx}
+\RequirePackage{url}
+\RequirePackage[x11names]{xcolor}
+\RequirePackage[algo2e,ruled]{algorithm2e}
+\renewcommand{\topfraction}{0.95} % let figure take up nearly whole page
+\renewcommand{\textfraction}{0.05} % let figure take up nearly whole page
+\widowpenalty=10000\relax
+\clubpenalty=10000\relax
+\@twosidetrue
+\@mparswitchtrue
+\def\ds@draft{\overfullrule 5pt}
+\bibliographystyle{plainnat}
+\bibpunct{(}{)}{;}{a}{,}{,}
+\addtokomafont{section}{\rmfamily\large}
+\addtokomafont{subsection}{\rmfamily\normalsize}
+\addtokomafont{subsubsection}{\rmfamily\mdseries\normalsize\scshape}
+\addtokomafont{paragraph}{\rmfamily\normalsize}
+\addtokomafont{subparagraph}{\rmfamily\itshape\normalsize}
+\renewcommand*{\othersectionlevelsformat}[1]{%
+ \csname pre#1num\endcsname\csname the#1\endcsname\autodot\enskip}
+\long\def\@makefntext#1{\@setpar{\@@par\@tempdima \hsize
+ \advance\@tempdima-15pt\parshape \@ne 15pt \@tempdima}\par
+ \parindent 2em\noindent \hbox to \z@{\hss{\@thefnmark}. \hfil}#1}
+\ifjmlrhtml
+ \renewenvironment{abstract}{\HCode{<h3>}Abstract\HCode{</h3>}}{}%
+\else
+ \renewenvironment{abstract}
+ {\centerline{\large\bfseries Abstract}\vspace{0.7ex}%
+ \bgroup
+ \leftskip 20pt\rightskip 20pt\small\noindent\ignorespaces}%
+ {\par\egroup\vskip 0.25ex}
+\fi
+\newenvironment{keywords}
+{\bgroup\leftskip 20pt\rightskip 20pt \small\noindent{\bfseries
+Keywords:} \ignorespaces}%
+{\par\egroup\vskip 0.25ex}
+\newlength\aftertitskip \newlength\beforetitskip
+\newlength\interauthorskip \newlength\aftermaketitskip
+%% Changeable parameters.
+\setlength\aftertitskip{0.1in plus 0.2in minus 0.2in}
+\setlength\beforetitskip{0.05in plus 0.08in minus 0.08in}
+\setlength\interauthorskip{0.08in plus 0.1in minus 0.1in}
+\setlength\aftermaketitskip{0.3in plus 0.1in minus 0.1in}
+\renewcommand*{\title}[2][\@title]{%
+ \def\@shorttitle{#1}%
+ \def\@title{#2}%
+ \jmlrtitlehook
+}
+\newcommand*{\jmlrtitlehook}{}
+\renewcommand*{\author}[2][]{%
+ \def\@author{#2}%
+ \def\@sauthor{#1}%
+ \ifx\@sauthor\@empty
+ \else
+ \let\@shortauthor\@sauthor
+ \fi
+ \jmlrauthorhook
+}
+\newcommand*{\jmlrauthorhook}{}
+\newcommand*{\@shortauthor}{}
+\newcommand*{\@firstauthor}{}
+\newcommand*{\@firstsurname}{}
+\newlength\jmlrlength
+\def\jmlrmaketitle{%
+ \jmlrpremaketitlehook
+ \def\@jmlr@authors@sep{, }%
+ \par
+ \begingroup
+ \def\thefootnote{\fnsymbol{footnote}}%
+ \def\@makefnmark{\hbox to 0pt{$^{\@thefnmark}$\hss}}%
+ \@jmlrmaketitle \@thanks
+ \endgroup
+\label{jmlrstart}%
+\ifx\@sauthor\@empty
+ \settowidth{\jmlrlength}{\@evenhead}%
+ \ifdim\jmlrlength>\textwidth
+ \def\@shortauthor{\@firstsurname\space et al.}%
+ \fi
+\fi
+\settowidth{\jmlrlength}{\@titlefoot}%
+\ifdim\jmlrlength>\textwidth
+ \def\@jmlrauthors{\@firstauthor\space \emph{et al}}%
+\fi
+\jmlrmaketitlehook
+\thispagestyle{jmlrtps}%
+\setcounter{footnote}{0}%
+\let\maketitle\relax \let\@maketitle\relax
+\gdef\@thanks{}\gdef\@author{}\let\thanks\relax
+\def\@jmlr@authors@sep{ \& }%
+}
+\newcommand*{\jmlrmaketitlehook}{}
+\newcommand*{\jmlrpremaketitlehook}{}
+\newcommand{\jmlrhtmlmaketitle}{%
+ \ifx\@jmlrauthors\@empty
+ \sbox\jmlrbox{\let\addr\relax\@author}%
+ \fi
+ \noindent\HCode{<h2>}\@title\HCode{</h2>}
+ \noindent\@jmlrauthors
+}
+%%\begin{macro}{\jmlrbox}
+\newsavebox\jmlrbox
+\ifjmlrhtml
+ \let\maketitle\jmlrhtmlmaketitle
+\else
+ \let\maketitle\jmlrmaketitle
+\fi
+\def\@startauthor{\noindent \normalsize\bfseries}
+\def\@endauthor{}
+\def\@starteditor{\noindent \small {\bfseries \@edname:~}}
+\def\@endeditor{\normalsize}
+\def\jmlrpretitle{\vskip\beforetitskip\begin{center}\Large\bfseries}
+\def\jmlrposttitle{\par\end{center}\vskip\aftertitskip}
+\def\jmlrpreauthor{%
+\bgroup
+ \def\and{\unskip\enspace{\normalfont and}\enspace}%
+ \def\addr{\small\itshape}%
+ \def\name{\ClassError{jmlr}{Use \string\Name{Author's Name} not \string\name}{}}%
+ \def\email{\ClassError{jmlr}{Use \string\Email{address} not \string\email}{}}%
+ \def\AND{\@endauthor\normalfont\hss \vskip \interauthorskip
+ \@startauthor}%
+ \@startauthor
+}
+\def\@email{\hfill\small\mdseries\scshape}%
+\def\@name{\normalsize\upshape\bfseries}%
+\def\@parsename#1 #2\@nil{%
+ \def\@tmp{#2}%
+ \ifx\@tmp\@empty
+ \def\@surname{#1}%
+ \let\@nextparsename\@parsenamenoop
+ \else
+ \@getinitial#1-\relax\relax\end
+ \ifx\@forenames\@empty
+ \def\@forenames{#1}%
+ \protected@edef\@initials{\@initial}%
+ \else
+ \expandafter\toks@\expandafter{\@forenames}%
+ \edef\@forenames{\space\the\toks@}%
+ \expandafter\toks@\expandafter{\@initials}%
+ \protected@edef\@initials{\the\toks@\@initial}%
+ \fi
+ \let\@nextparsename\@parsename
+ \fi
+ \@nextparsename#2\@nil
+}
+\def\@parsenamenoop#1\@nil{}
+\def\@getinitial#1#2-#3#4\end{%
+ \def\@jmlr@tmp{#3}%
+ \if\@jmlr@tmp\relax
+ \def\@initial{#1.}%
+ \else
+ \def\@initial{#1.-#3.}%
+ \fi
+}
+\newcommand*{\Name}[1]{%
+ \def\@forenames{}%
+ \def\@surname{}%
+ \@parsename#1 \@nil
+ \ifx\@shortauthor\@empty
+ \ifx\@sauthor\@empty
+ \global\let\@shortauthor\@surname
+ \global\let\@firstsurname\@surname
+ \fi
+ \protected@xdef\@jmlrauthors{\@initials\space\@surname}%
+ \global\let\@firstauthor\@jmlrauthors
+ \else
+ \ifx\@sauthor\@empty
+ \expandafter\toks@\expandafter{\@shortauthor}%
+ \protected@xdef\@shortauthor{\the\toks@\space\@surname}%
+ \fi
+ \protected@xdef\@jmlrauthors{\@jmlrauthors
+ \noexpand\@jmlr@authors@sep
+ \@initials\space\@surname}%
+ \fi
+ \@name #1%
+}
+\newcommand*{\Email}[1]{{\@email #1}}
+\def\jmlrpostauthor{\@endauthor\egroup
+ \par
+ \vskip \aftermaketitskip
+ \noindent
+ \ifx\@editor\@empty
+ \else
+ \@starteditor \@editor \@endeditor
+ \fi
+ \vskip \aftermaketitskip
+}
+\def\@jmlrmaketitle{\vbox{\hsize\textwidth
+ \linewidth\hsize
+ \jmlrpretitle \@title \jmlrposttitle
+ \jmlrpreauthor \@author \jmlrpostauthor
+}}
+\newcommand*\kernelmachines{(for
+ {\textsc{http://www.kernel-machines.org}})}
+\newcommand*{\editorname}{Editor}
+\newcommand*{\editorsname}{Editors}
+\let\@edname\editorname
+\def\@editor{}
+\def\editor#1{%
+ \global\let\@edname\editorname
+ \gdef\@editor{#1}%
+}
+\def\editors#1{%
+ \global\let\@edname\editorsname
+ \gdef\@editor{#1}%
+}
+\def\firstpageno#1{\setcounter{page}{#1}}
+\AtEndDocument{%
+ \@ifundefined{phantomsection}{}{\phantomsection}%
+ \protected@edef\@currentlabelname{end of \@shorttitle}%
+ \label{jmlrend}%
+}
+\newcommand*{\@titlefoot}{\scriptsize\copyright\space\@jmlryear
+ \space\@jmlrauthors.\hfill}
+\newcommand\ps@jmlrtps{%
+ \let\@mkboth\@gobbletwo
+ \def\@oddhead{\scriptsize \@jmlrproceedings
+ \ifx\@jmlrvolume\@empty\else\space\@jmlrvolume\fi
+ \ifx\@jmlryear\@empty\else\space(\@jmlryear)\fi
+ \ifx\@jmlrpages\@empty\else\space\@jmlrpages\fi
+ \hfill
+ \ifx\@jmlrworkshop\@empty
+ \ifx\@jmlrsubmitted\@empty
+ \else
+ Submitted \@jmlrsubmitted
+ \ifx\@jmlrpublished\@empty\else;\fi
+ \fi
+ \ifx\@jmlrpublished\@empty
+ \else
+ \space Published \@jmlrpublished
+ \fi
+ \else
+ \space\@jmlrworkshop
+ \fi
+ }%
+ \let\@evenhead\@oddhead
+ \def\@oddfoot{\@titlefoot}%
+ \let\@evenfoot\@oddfoot
+}
+\def\ps@jmlrps{%
+ \let\@mkboth\@gobbletwo
+ \def\@oddhead{\hfill {\small\scshape \@shorttitle} \hfill}%
+ \def\@oddfoot{\hfill \small\rmfamily \thepage \hfill}%
+ \def\@evenhead{\hfill {\small\scshape \@shortauthor} \hfill}%
+ \def\@evenfoot{\hfill \small\rmfamily \thepage \hfill}%
+}%
+\pagestyle{jmlrps}
+\let\@jmlrvolume\@empty
+\newcommand*{\jmlrvolume}[1]{\renewcommand*{\@jmlrvolume}{#1}}
+\let\@jmlrissue\@empty
+\newcommand*{\jmlrissue}[1]{\renewcommand*{\@jmlrissue}{#1}}
+\let\@jmlryear\@empty
+\newcommand*{\jmlryear}[1]{\renewcommand*{\@jmlryear}{#1}}
+\newcommand*\@jmlrpages{\pageref{jmlrstart}--\pageref{jmlrend}}
+\newcommand*{\jmlrpages}[1]{\renewcommand*{\@jmlrpages}{#1}}
+\let\@jmlrsubmitted\@empty
+\newcommand*{\jmlrsubmitted}[1]{\renewcommand*{\@jmlrsubmitted}{#1}}
+\let\@jmlrpublished\@empty
+\newcommand*{\jmlrpublished}[1]{\renewcommand*{\@jmlrpublished}{#1}}
+\let\@jmlrworkshop\@empty
+\newcommand*{\jmlrworkshop}[1]{\renewcommand*{\@jmlrworkshop}{#1}}
+\newcommand*{\@jmlrauthors}{}
+\newcommand*{\jmlrauthors}[1]{\renewcommand*{\@jmlrauthors}{#1}}
+
+\def\figurecaption#1#2{\noindent\hangindent 40pt
+ \hbox to 36pt {\small\slshape #1 \hfil}
+ \ignorespaces {\small #2}}
+\def\figurecenter#1#2{\centerline{{\slshape #1} #2}}
+\def\figurecenter#1#2{\centerline{{\small\slshape #1} {\small #2}}}
+\long\def\@makecaption#1#2{%
+ \vskip 10pt
+ \setbox\@tempboxa\hbox{#1: #2}%
+ \ifdim \wd\@tempboxa >\hsize % IF longer than one line:
+ \begin{list}{#1:}{%
+ \settowidth{\labelwidth}{#1:}
+ \setlength{\leftmargin}{\labelwidth}
+ \addtolength{\leftmargin}{\labelsep}
+ }\item #2 \end{list}\par % Output in quote mode
+ \else % ELSE center.
+ \hbox to\hsize{\hfil\box\@tempboxa\hfil}
+ \fi}
+\def\abovestrut#1{\rule[0in]{0in}{#1}\ignorespaces}
+\def\belowstrut#1{\rule[-#1]{0in}{#1}\ignorespaces}
+\long\def\acks#1{\section*{Acknowledgments}#1}
+\long\def\researchnote#1{\noindent {\LARGE\itshape Research Note} #1}
+\newcommand*{\set}[1]{\ensuremath{\mathcal{#1}}}
+\newcommand*{\@jmlr@reflistsep}{, }
+\newcommand*{\@jmlr@reflistlastsep}{ and }
+\newcommand*{\sectionrefname}{Section}
+\newcommand*{\sectionsrefname}{Sections}
+\newcommand*{\equationrefname}{Equation}
+\newcommand*{\equationsrefname}{Equations}
+\newcommand*{\tablerefname}{Table}
+\newcommand*{\tablesrefname}{Tables}
+\newcommand*{\figurerefname}{Figure}
+\newcommand*{\figuresrefname}{Figures}
+\newcommand*{\algorithmrefname}{Algorithm}
+\newcommand*{\algorithmsrefname}{Algorithms}
+\newcommand*{\theoremrefname}{Theorem}
+\newcommand*{\theoremsrefname}{Theorems}
+\newcommand*{\lemmarefname}{Lemma}
+\newcommand*{\lemmasrefname}{Lemmas}
+\newcommand*{\remarkrefname}{Remark}
+\newcommand*{\remarksrefname}{Remarks}
+\newcommand*{\corollaryrefname}{Corollary}
+\newcommand*{\corollarysrefname}{Corollaries}
+\newcommand*{\definitionrefname}{Definition}
+\newcommand*{\definitionsrefname}{Definitions}
+\newcommand*{\conjecturerefname}{Conjecture}
+\newcommand*{\conjecturesrefname}{Conjectures}
+\newcommand*{\axiomrefname}{Axiom}
+\newcommand*{\axiomsrefname}{Axioms}
+\newcommand*{\examplerefname}{Example}
+\newcommand*{\examplesrefname}{Examples}
+\newcommand*{\appendixrefname}{Appendix}
+\newcommand*{\appendixsrefname}{Appendices}
+\newcommand*{\partrefname}{Part}
+\newcommand*{\partsrefname}{Parts}
+\newcommand*{\objectref}[5]{%
+ \let\@objectname\@empty
+ \def\@objectref{}%
+ \let\@prevsep\@empty
+ \@for\@thislabel:=#1\do{%
+ \toks@{\@prevsep}%
+ \protected@edef\@objectref{\@objectref\the\toks@
+ #4\ref{\@thislabel}#5}%
+ \ifx\@objectname\@empty
+ \let\@objectname#2% singular tag
+ \else
+ \let\@objectname#3% plural tag
+ \let\@prevsep\@jmlr@reflistsep
+ \fi
+ }%
+ \ifx\@objectname#3% plural tag
+ \let\@prevsep\@jmlr@reflistlastsep
+ \fi
+ \@objectname~\@objectref
+}
+\newcommand*{\sectionref}[1]{%
+ \objectref{#1}{\sectionrefname}{\sectionsrefname}{}{}}
+\newcommand*{\equationref}[1]{%
+ \objectref{#1}{\equationrefname}{\equationsrefname}()}
+\newcommand*{\tableref}[1]{%
+ \objectref{#1}{\tablerefname}{\tablesrefname}{}{}}
+\newcommand*{\figureref}[1]{%
+ \objectref{#1}{\figurerefname}{\figuresrefname}{}{}}
+\newcommand*{\algorithmref}[1]{%
+ \objectref{#1}{\algorithmrefname}{\algorithmsrefname}{}{}}
+\newcommand*{\theoremref}[1]{%
+ \objectref{#1}{\theoremrefname}{\theoremsrefname}{}{}}
+\newcommand*{\lemmaref}[1]{%
+ \objectref{#1}{\lemmarefname}{\lemmasrefname}{}{}}
+\newcommand*{\remarkref}[1]{%
+ \objectref{#1}{\remarkrefname}{\remarksrefname}{}{}}
+\newcommand*{\corollaryref}[1]{%
+ \objectref{#1}{\corollaryrefname}{\corollarysrefname}{}{}}
+\newcommand*{\definitionref}[1]{%
+ \objectref{#1}{\definitionrefname}{\definitionsrefname}{}{}}
+\newcommand*{\conjectureref}[1]{%
+ \objectref{#1}{\conjecturerefname}{\conjecturesrefname}{}{}}
+\newcommand*{\axiomref}[1]{%
+ \objectref{#1}{\axiomrefname}{\axiomsrefname}{}{}}
+\newcommand*{\exampleref}[1]{%
+ \objectref{#1}{\examplerefname}{\examplesrefname}{}{}}
+\newcommand*{\appendixref}[1]{%
+ \objectref{#1}{\appendixrefname}{\appendixsrefname}{}{}}
+\newcommand*{\partref}[1]{%
+ \objectref{#1}{\partrefname}{\partsrefname}{}{}}
+\newcommand{\floatconts}[3]{%
+ \@ifundefined{\@captype conts}{\tableconts{#1}{#2}{#3}}%
+ {\csname\@captype conts\endcsname{#1}{#2}{#3}}%
+}
+\newcommand{\tableconts}[3]{%
+ \iftablecaptiontop
+ #2\label{#1}\vskip\baselineskip
+ {\centering #3\par}%
+ \else
+ {\centering #3\par}%
+ \vskip\baselineskip
+ #2\label{#1}%
+ \fi
+}
+\newcommand{\figureconts}[3]{%
+ {\centering #3\par}%
+ \vskip\baselineskip
+ #2\label{#1}%
+}
+\newcommand*{\includeteximage}[2][]{%
+ \def\Gin@req@sizes{%
+ \Gin@req@height\Gin@nat@height
+ \Gin@req@width\Gin@nat@width}%
+ \begingroup
+ \@tempswafalse
+ \let\input@path\Ginput@path
+ \toks@{\InputIfFileExists{#2}{}{\@warning{File `#1' not found}}}%
+ \setkeys{Gin}{#1}%
+ \Gin@esetsize
+ \the\toks@
+ \endgroup
+}
+\providecommand{\ifprint}[2]{\ifgrayscale#1\else#2\fi}
+%% \begin{macrocode}
+\ifjmlrhtml
+\else
+ \let\@org@Ginclude@graphics\Ginclude@graphics
+ \def\Ginclude@graphics#1{%
+ \begingroup
+ \let\input@path\Ginput@path
+ \ifprint{\filename@parse{#1-gray}}{\filename@parse{#1}}%
+ \ifx\filename@ext\relax
+ \@for\Gin@temp:=\Gin@extensions\do{%
+ \ifx\Gin@ext\relax
+ \Gin@getbase\Gin@temp
+ \fi}%
+ \else
+ \ifprint{\filename@parse{#1}}{}%
+ \Gin@getbase{\Gin@sepdefault\filename@ext}%
+ \ifx\Gin@ext\relax
+ \@warning{File `#1' not found}%
+ \def\Gin@base{\filename@area\filename@base}%
+ \edef\Gin@ext{\Gin@sepdefault\filename@ext}%
+ \fi
+ \fi
+ \ifx\Gin@ext\relax
+ \ifprint{\@org@Ginclude@graphics{#1}}%
+ {%
+ \@latex@error{File `#1' not found}%
+ {I could not locate the file with any of these extensions:^^J%
+ \Gin@extensions^^J\@ehc}%
+ }%
+ \else
+ \@ifundefined{Gin@rule@\Gin@ext}%
+ {\ifx\Gin@rule@*\@undefined
+ \@latex@error{Unknown graphics extension: \Gin@ext}\@ehc
+ \else
+ \expandafter\Gin@setfile\Gin@rule@*{\Gin@base\Gin@ext}%
+ \fi}%
+ {\expandafter\expandafter\expandafter\Gin@setfile
+ \csname Gin@rule@\Gin@ext\endcsname{\Gin@base\Gin@ext}}%
+ \fi
+ \endgroup}
+\fi
+\newenvironment{algorithm}[1][htbp]%
+{%
+ \@algocf@init%
+ \@algocf@init@caption
+ \begin{algocf}[#1]%
+ \@algocf@start%
+}%
+{%
+ \@algocf@finish%
+ \@algocf@term@caption
+ \end{algocf}%
+ \@algocf@term
+}
+\setlength\algomargin{0pt}
+\newcommand{\artappendix}{\par
+ \setcounter{section}{0}
+ \setcounter{subsection}{0}
+ \def\thesection{\Alph{section}}
+ \def\presectionnum{Appendix~}%
+}
+\let\appendix\artappendix
+\newcommand{\BlackBox}{\rule{1.5ex}{1.5ex}}
+\newenvironment{proof}{\par\noindent{\bfseries\upshape
+ Proof\ }}{\hfill\BlackBox\\[2mm]}
+\newtheorem{example}{Example}
+\newtheorem{theorem}{Theorem}
+\newtheorem{lemma}[theorem]{Lemma}
+\newtheorem{proposition}[theorem]{Proposition}
+\newtheorem{remark}[theorem]{Remark}
+\newtheorem{corollary}[theorem]{Corollary}
+\newtheorem{definition}[theorem]{Definition}
+\newtheorem{conjecture}[theorem]{Conjecture}
+\newtheorem{axiom}[theorem]{Axiom}
+\renewcommand*{\vec}[1]{\boldsymbol{#1}}
+\newenvironment{enumerate*}%
+{%
+ \ifnum\@enumdepth=0\relax
+ \setcounter{enumi}{0}%
+ \fi
+ \ifnum\@enumdepth>\thr@@
+ \@toodeep
+ \else
+ \advance\@enumdepth\@ne
+ \def\@enumctr{enumi}%
+ \list
+ {\labelenumi}%
+ {\@nmbrlisttrue\def\@listctr{enumi}%
+ \def\makelabel##1{\hss\llap{##1}}}%
+ \fi
+}%
+{\endlist}
+\newenvironment{altdescription}[1]%
+ {\list{}%
+ {%
+ \settowidth{\labelwidth}{\altdescriptionlabel{#1}}%
+ \setlength{\labelsep}{15pt}%
+ \setlength{\leftmargin}{2\labelsep}%
+ \addtolength{\leftmargin}{\labelwidth}%
+ \setlength{\rightmargin}{\labelsep}%
+ \let\makelabel\altdescriptionlabel
+ }%
+ }%
+ {\endlist}
+
+\newcommand*{\altdescriptionlabel}[1]{\normalfont\bfseries #1\hfill}
+\newcommand*{\mailto}[1]{\texttt{#1}}
+\newcounter{subfigure}
+\@addtoreset{subfigure}{figure}
+\renewcommand*{\thesubfigure}{\alph{subfigure}}
+\renewcommand*{\p@subfigure}{\expandafter\@p@subfigure}
+\newcommand*{\@p@subfigure}[1]{%
+ \protect\@subfigurelabel{\thefigure}{\thesubfigure}%
+}
+\newcommand*\@subfigurelabel[2]{#1\subfigurelabel{#2}}
+\newcommand*\@subfigref[1]{%
+ {%
+ \def\@subfigurelabel##1##2{\subfigurelabel{##2}}%
+ \ref{#1}%
+ }%
+}
+\newcommand*{\subfigref}[1]{%
+ \let\@objectname\@empty
+ \def\@objectref{}%
+ \let\@prevsep\@empty
+ \@for\@thislabel:=#1\do{%
+ \toks@{\@prevsep}%
+ \protected@edef\@objectref{\@objectref\the\toks@
+ \protect\@subfigref{\@thislabel}}%
+ \ifx\@objectname\@empty
+\let\@objectname\@nil
+ \else
+\let\@objectname\relax
+ \let\@prevsep\@jmlr@reflistsep
+ \fi
+ }%
+ \ifx\@objectname\relax
+ \let\@prevsep\@jmlr@reflistlastsep
+ \fi
+ \@objectref
+}
+\newcommand*{\subfigurelabel}[1]{(\emph{#1})}
+\newcommand*{\subfigure}[1][]{%
+ \bgroup
+ \def\@subfigcap{#1}%
+ \@subfigure
+}
+
+\newcommand*{\@subfigure}[2][b]{%
+ \advance\c@figure by 1\relax
+ \refstepcounter{subfigure}%
+ \begin{tabular}[#1]{@{}c@{}}%
+ #2\\
+ \subfigurelabel{\thesubfigure}%
+ \ifx\@subfigcap\@empty
+ \else
+ \space\@subfigcap
+ \fi
+ \end{tabular}
+ \egroup
+}
+\newcounter{subtable}
+\@addtoreset{subtable}{table}
+\renewcommand*{\thesubtable}{\alph{subtable}}
+\renewcommand*{\p@subtable}{\expandafter\@p@subtable}
+\newcommand*{\@p@subtable}[1]{%
+ \protect\@subtablelabel{\thetable}{\thesubtable}%
+}
+\newcommand*\@subtablelabel[2]{#1\subtablelabel{#2}}
+\newcommand*\@subtabref[1]{%
+ {%
+ \def\@subtablelabel##1##2{\subtablelabel{##2}}%
+ \ref{#1}%
+ }%
+}
+\newcommand*{\subtabref}[1]{%
+ \let\@objectname\@empty
+ \def\@objectref{}%
+ \let\@prevsep\@empty
+ \@for\@thislabel:=#1\do{%
+ \toks@{\@prevsep}%
+ \protected@edef\@objectref{\@objectref\the\toks@
+ \protect\@subtabref{\@thislabel}}%
+ \ifx\@objectname\@empty
+\let\@objectname\@nil
+ \else
+\let\@objectname\relax
+ \let\@prevsep\@jmlr@reflistsep
+ \fi
+ }%
+ \ifx\@objectname\relax
+ \let\@prevsep\@jmlr@reflistlastsep
+ \fi
+ \@objectref
+}
+\newcommand*{\subtablelabel}[1]{(\emph{#1})}
+\newcommand*{\subtable}[1][]{%
+ \def\@subtabcap{#1}%
+ \@subtable
+}
+
+\newcommand*{\@subtable}[2][t]{%
+ \refstepcounter{subtable}%
+ \begin{tabular}[#1]{@{}c@{}}%
+ \subtablelabel{\thesubtable}%
+ \ifx\@subtabcap\@empty
+ \else
+ \space\@subtabcap
+ \fi
+ \\#2%
+ \end{tabular}
+}
+\newcounter{chapter}
+\renewcommand\thechapter{\@arabic\c@chapter}
+\newcommand\@chapapp{\chaptername}
+\@addtoreset{section}{chapter}
+\newcommand*\chaptermark[1]{}
+\newcommand\bookchapter{%
+ \if@openright\cleardoublepage\else\clearpage\fi
+ \thispagestyle{plain}%
+ \global\@topnum\z@
+ \@afterindentfalse
+ \secdef\@chapter\@schapter}
+\newcommand\artchapter{%
+ \ClassError{jmlrwcp}{Chapters not permitted in articles}{}}
+\let\chapter\artchapter
+\def\@chaptoclabel{chapter}
+\def\@chapter[#1]#2{\ifnum \c@secnumdepth >\m@ne
+ \if@mainmatter
+ \refstepcounter{chapter}%
+ \typeout{\@chapapp\space\thechapter.}%
+ \addcontentsline{toc}{\@chaptoclabel}%
+ {\protect\numberline{\thechapter}#1}%
+ \else
+ \addcontentsline{toc}{\@chaptoclabel}{#1}%
+ \fi
+ \else
+ \addcontentsline{toc}{\@chaptoclabel}{#1}%
+ \fi
+ \chaptermark{#1}%
+ \addtocontents{lof}{\protect\addvspace{10\p@}}%
+ \addtocontents{lot}{\protect\addvspace{10\p@}}%
+ \if@twocolumn
+ \@topnewpage[\@makechapterhead{#2}]%
+ \else
+ \@makechapterhead{#2}%
+ \@afterheading
+ \fi}
+\newcommand{\chaptertitleformat}[1]{%
+ \Huge\bfseries#1%
+}
+\newcommand{\chapternumberformat}[1]{%
+ \huge\bfseries \@chapapp\space#1\par\nobreak
+ \vskip 20\p@
+}
+\newcommand*{\chapterformat}{\raggedright}
+\newlength\postchapterskip
+\setlength\postchapterskip{40pt}
+\newlength\prechapterskip
+\setlength\prechapterskip{50pt}
+\def\@makechapterhead#1{%
+ \null\vskip\prechapterskip
+ {\parindent \z@ \normalfont\chapterformat
+ \ifnum \c@secnumdepth >\m@ne
+ \if@mainmatter
+ \chapternumberformat{\thechapter}%
+ \fi
+ \fi
+ \interlinepenalty\@M
+ \chaptertitleformat{#1}\par\nobreak
+ \vskip \postchapterskip
+ }}
+\def\@schapter#1{\if@twocolumn
+ \@topnewpage[\@makeschapterhead{#1}]%
+ \else
+ \@makeschapterhead{#1}%
+ \@afterheading
+ \fi}
+\def\@makeschapterhead#1{%
+ \vspace*{\prechapterskip}%
+ {\parindent \z@
+ \normalfont\chapterformat
+ \interlinepenalty\@M
+ \chaptertitleformat{#1}\par\nobreak
+ \vskip \postchapterskip
+ }}
+\newcommand*\l@chapter[2]{%
+ \ifnum \c@tocdepth >\m@ne
+ \addpenalty{-\@highpenalty}%
+ \vskip 1.0em \@plus\p@
+ \setlength\@tempdima{1.5em}%
+ \begingroup
+ \parindent \z@ \rightskip \@pnumwidth
+ \parfillskip -\@pnumwidth
+ \leavevmode \large\bfseries
+ \advance\leftskip\@tempdima
+ \hskip -\leftskip
+ #1\nobreak\hfil \nobreak\hb@xt@\@pnumwidth{\hss #2}\par
+ \penalty\@highpenalty
+ \endgroup
+ \fi}
+\let\l@appendix\l@chapter
+\newcommand\chaptername{Chapter}
+\newcommand\frontmatter{%
+ \cleardoublepage
+ \@mainmatterfalse
+ \pagenumbering{roman}%
+ \morefrontmatter
+}
+\newcommand\morefrontmatter{}
+\newcommand\mainmatter{%
+ \cleardoublepage
+ \@mainmattertrue
+ \pagenumbering{arabic}%
+ \moremainmatter
+}
+\newcommand\moremainmatter{}
+\newcommand\backmatter{%
+ \if@openright
+ \cleardoublepage
+ \else
+ \clearpage
+ \fi
+ \@mainmatterfalse}
+\let\booktableofcontents\tableofcontents
+\let\arttableofcontents\tableofcontents
+\newcommand{\artpart}{%
+ \if@noskipsec \leavevmode\fi
+ \par
+ \addvspace{4ex}%
+ \@afterindentfalse
+ \secdef\@artpart\@sartpart
+}
+\let\@artpart\@part
+\let\@sartpart\@spart
+\newcommand\bookpart{%
+ \if@openright
+ \cleardoublepage
+ \else
+ \clearpage
+ \fi
+ \thispagestyle{plain}%
+ \if@twocolumn
+ \onecolumn
+ \@tempswatrue
+ \else
+ \@tempswafalse
+ \fi
+ \preparthook
+ \secdef\@bookpart\@sbookpart}
+\newcommand{\parttitleformat}[1]{%
+ \Huge\bfseries#1%
+}
+\newcommand{\partnumberformat}[1]{%
+ \Huge\bfseries \partname\nobreakspace#1\par\nobreak
+ \vskip 20\p@
+}
+\newcommand{\preparthook}{\null\vfil}
+\renewcommand*{\partformat}{\centering}
+\def\@bookpart[#1]#2{%
+ \ifnum \c@secnumdepth >-2\relax
+ \refstepcounter{part}%
+ \addcontentsline{toc}{part}{\protect\numberline{\thepart}#1}%
+ \else
+ \addcontentsline{toc}{part}{#1}%
+ \fi
+ \markboth{}{}%
+ {\interlinepenalty \@M
+ \normalfont\partformat
+ \ifnum \c@secnumdepth >-2\relax
+ \partnumberformat{\thepart}%
+ \fi
+ \parttitleformat{#2}\par}%
+ \postparthook}
+\def\@sbookpart#1{%
+ {\interlinepenalty \@M
+ \normalfont\partformat
+ \parttitleformat{#1}\par}%
+ \postparthook}
+\def\postparthook{\vfil\newpage
+ \if@twoside
+ \if@openright
+ \null
+ \thispagestyle{empty}%
+ \newpage
+ \fi
+ \fi
+ \if@tempswa
+ \twocolumn
+ \fi}
+\newcommand\bookappendix{\par
+ \setcounter{table}{0}%
+ \setcounter{figure}{0}%
+ \zeroextracounters
+ \par
+ \gdef\theHchapter{\Alph {chapter}}%
+ \xdef\Hy@chapapp{\Hy@appendixstring}%
+ \setcounter{chapter}{0}%
+ \setcounter{section}{0}%
+ \gdef\@chapapp{\appendixname}%
+ \gdef\thechapter{\@Alph\c@chapter}%
+ \csname appendixmore\endcsname
+}
+\newcommand*{\jmlrbookcommands}{%
+ \let\part\bookpart
+ \let\chapter\bookchapter
+ \let\appendix\bookappendix
+ \let\tableofcontents\booktableofcontents
+ \def\thesection{\thechapter.\arabic{section}}%
+}
+\newcommand*{\jmlrarticlecommands}{%
+ \let\part\artpart
+ \let\chapter\artchapter
+ \let\appendix\artappendix
+ \let\tableofcontents\arttableofcontents
+ \def\thesection{\arabic{section}}%
+}
+\newcommand*{\@jmlr@check@packages}{%
+ \@ifpackageloaded{epsfig}{%
+ \ClassError{jmlr}{Obsolete package `epsfig' detected.
+ \MessageBreak
+ Please use \string\includegraphics\space to include images
+ instead}{}}{}%
+ \@ifpackageloaded{psfig}{%
+ \ClassError{jmlr}{Obsolete package `psfig' detected.
+ \MessageBreak
+ Please use \string\includegraphics\space to include images
+ instead}{}}{}%
+ \@ifpackageloaded{subfig}{%
+ \ClassError{jmlr}{Package `subfig' detected.\MessageBreak
+ This will cause a conflict if the article is incorporated
+ \MessageBreak
+ into a book using jmlbook.cls.
+ \MessageBreak
+ Please use \string\subfigure\space and
+ \string\subtable\space instead}{}}{}%
+ \@ifpackageloaded{theorem}{%
+ \ClassError{jmlr}{Package `theorem' detected.\MessageBreak
+ This can cause a conflict with other packages used by jmlr}{}}{}%
+ \@ifpackageloaded{pdfpages}{Package `pdfpages' detected.\MessageBreak
+ This can cause a problem for jmlrbook.}{}%
+ \@ifpackageloaded{geometry}{Package `geometry' detected.\MessageBreak
+ This can cause a problem for jmlrbook.}{}%
+}
+\AtBeginDocument{%
+\@jmlr@check@packages
+\let\@jmlr@check@packages\relax
+}
+\newcommand*{\jmlrSuppressPackageChecks}{%
+ \let\@jmlr@check@packages\relax
+}
+\endinput
+%%
+%% End of file `jmlr.cls'.
diff --git a/Master/texmf-dist/tex/latex/jmlr/jmlrbook.cls b/Master/texmf-dist/tex/latex/jmlr/jmlrbook.cls
new file mode 100644
index 00000000000..38e051e4010
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/jmlr/jmlrbook.cls
@@ -0,0 +1,775 @@
+%%
+%% This is file `jmlrbook.cls',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% jmlr.dtx (with options: `jmlrbook.cls,package')
+%%
+%% jmlr.dtx
+%% Copyright 2010 Nicola Talbot
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% of this license of (at your option) any later version.
+%% The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
+%%
+%% This work has the LPPL maintenance status `maintained'.
+%%
+%% The Current Maintainer of this work is Nicola Talbot.
+%%
+%% This work consists of the files jmlr.dtx and jmlr.ins and the derived files jmlr.cls, jmlrbook.cls.
+%%
+%% \CharacterTable
+%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
+%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
+%% Digits \0\1\2\3\4\5\6\7\8\9
+%% Exclamation \! Double quote \" Hash (number) \#
+%% Dollar \$ Percent \% Ampersand \&
+%% Acute accent \' Left paren \( Right paren \)
+%% Asterisk \* Plus \+ Comma \,
+%% Minus \- Point \. Solidus \/
+%% Colon \: Semicolon \; Less than \<
+%% Equals \= Greater than \> Question mark \?
+%% Commercial at \@ Left bracket \[ Backslash \\
+%% Right bracket \] Circumflex \^ Underscore \_
+%% Grave accent \` Left brace \{ Vertical bar \|
+%% Right brace \} Tilde \~}
+%% First editor:
+%% Second editor:
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesClass{jmlrbook}[2010/06/17 v1.06 (NLCT) JMLR Book Style]
+\RequirePackage{xkeyval}
+\newcommand*{\@prehyperref}{}
+\define@key{jmlrbook.cls}{prehyperref}{%
+ \renewcommand*{\@prehyperref}{#1}}
+\newif\ifgrayscale
+\grayscalefalse
+\DeclareOptionX{color}{\grayscalefalse}
+\DeclareOptionX{gray}{\grayscaletrue}
+\DeclareOptionX{html}{\PassOptionsToClass{\CurrentOption}{jmlr}}
+\DeclareOptionX{nohtml}{\PassOptionsToClass{\CurrentOption}{jmlr}}
+\DeclareOptionX{wcp}{\PassOptionsToClass{\CurrentOption}{jmlr}}
+\DeclareOptionX{nowcp}{\PassOptionsToClass{\CurrentOption}{jmlr}}
+\DeclareOptionX{tablecaptiontop}{\PassOptionsToClass{\CurrentOption}{jmlr}}
+\DeclareOptionX{tablecaptionbottom}{\PassOptionsToClass{\CurrentOption}{jmlr}}
+\ProcessOptionsX
+\@ifundefined{jmlrgrayscale}{}%
+{%
+ \ifnum\jmlrgrayscale=0\relax
+ \grayscalefalse
+ \else
+ \grayscaletrue
+ \fi
+}
+\let\@org@LoadClass\LoadClass
+\def\LoadClass#1{\let\LoadClass\@org@LoadClass\@org@LoadClass{jmlr}}
+\@org@LoadClass{combine}
+\RequirePackage{combnat}
+\renewcommand\c@laNAT@parse[1]{{%
+ \let\protect=\@unexpandable@protect\let~\relax
+ \let\active@prefix=\@gobble
+ \xdef\NAT@temp{\csname b@#1\@extra@b@citeb\endcsname}}%
+ \expandafter\NAT@split\NAT@temp?????@@%
+ \expandafter\NAT@parse@date\NAT@date??????@@%
+ \ifciteindex\NAT@index\fi}
+
+\renewcommand\c@lbNAT@parse[1]{{%
+ \let\protect=\@unexpandable@protect\let~\relax
+ \let\active@prefix=\@gobble
+ \xdef\NAT@temp{\csname B?\jobname?@#1\@extra@b@citeb\endcsname}}%
+ \expandafter\NAT@split\NAT@temp?????@@%
+ \expandafter\NAT@parse@date\NAT@date??????@@%
+ \ifciteindex\NAT@index\fi}
+\RequirePackage{setspace}
+\@prehyperref
+\usepackage[colorlinks,
+ linkcolor=blue,
+ citecolor=blue,
+ urlcolor=magenta,
+ linktocpage,
+ plainpages=false]{hyperref}
+\usepackage{nameref}
+\ifgrayscale
+ \hypersetup{draft}
+\fi
+\@twosidetrue
+\newif\if@openright
+\@openrighttrue
+\newif\if@mainmatter
+\newcommand*{\pagerule}[1][0pt]{\par\noindent
+ \rule[#1]{\linewidth}{2pt}\par}
+\newcommand*{\chapterrefname}{Chapter}
+\newcommand*{\chaptersrefname}{Chapters}
+\newcommand*{\chapterref}[1]{%
+ \objectref{#1}{\chapterrefname}{\chaptersrefname}{}{}}
+\newcommand*{\articlepageref}[1]{%
+ \pageref{#1jmlrstart}%
+}
+\newcommand*{\articlepagesref}[1]{%
+ \pageref{#1jmlrstart}--\pageref{#1jmlrend}%
+}
+\newcommand*{\@articlepagesref}{%
+ \pageref{jmlrstart}--\pageref{jmlrend}%
+}
+\newcommand*{\articletitleref}[1]{\nameref{#1jmlrstart}}
+\newcommand*{\articleauthorref}[1]{%
+ \@ifundefined{@jmlr@author@#1}%
+ {%
+ \ClassWarning{jmlrbook}{Label `#1' undefined}%
+ }%
+ {%
+ \@nameuse{@jmlr@author@#1}%
+ }%
+}
+\newcommand*{\@parttoclabel}{part}
+\newcommand*{\@partapp}{\partname}
+\renewcommand*\jmlrtitlehook{%
+ \hypersetup{pdftitle={\@shorttitle}}%
+ \let\jmlrtitlehook\relax
+}
+\renewcommand*\jmlrauthorhook{%
+ \ifx\@sauthor\@empty
+ \hypersetup{pdfauthor={\@author}}%
+ \else
+ \hypersetup{pdfauthor={\@sauthor}}%
+ \fi
+ \let\jmlrauthorhook\relax
+ \let\@shortauthor\@empty
+}
+\newcommand*{\@volume}{\@jmlrvolume}
+\newcommand*{\volume}[1]{\renewcommand*{\@volume}{#1}}
+\newcommand*{\@issue}{\@jmlrissue}
+\newcommand*{\issue}[1]{\renewcommand*{\@issue}{#1}}
+\newcommand*{\thejmlrworkshop}{\@jmlrworkshop}
+\newcommand*{\@team}{}
+\newcommand*{\team}[1]{\renewcommand*{\@team}{#1}}
+\newcommand*{\@productioneditorname}{Production Editor}
+\newcommand*{\@productioneditor}{}
+\newcommand*{\productioneditor}[1]{%
+ \renewcommand*{\@productioneditor}{#1}%
+ \renewcommand*{\@productioneditorname}{Production Editor}%
+}
+\newcommand*{\productioneditors}[1]{%
+ \renewcommand*{\@productioneditor}{#1}%
+ \renewcommand*{\@productioneditorname}{Production Editors}%
+}
+\newcommand*{\@logo}{}
+\newcommand*{\logo}[1]{\renewcommand*{\@logo}{#1}}
+\def\c@lbmaketitle{\jmlrmaketitle}
+\newcommand*{\maintitle}{}
+\newcommand*{\SetTitleElement}[3]{%
+ {%
+ \expandafter\ifx\csname @#1\endcsname\@empty
+ \else
+ #2\csname @#1\endcsname#3%
+ \fi
+ }%
+}
+\newcommand{\IfTitleElement}[3]{%
+ \expandafter\ifx\csname @#1\endcsname\@empty
+ #2%
+ \else
+ #3%
+ \fi
+}
+\newcommand{\titlebody}{%
+ \SetTitleElement{title}{\maintitlefont}{\postmaintitle}%
+ \SetTitleElement{volume}{\mainvolumefont}{\postmainvolume}%
+ \SetTitleElement{subtitle}{\mainsubtitlefont}{\postmainsubtitle}%
+ \SetTitleElement{logo}{\mainlogofont}{\postmainlogo}%
+ \SetTitleElement{team}{\mainteamfont}{\postmainteam}%
+ \SetTitleElement{author}{\mainauthorfont}{\postmainauthor}%
+ \SetTitleElement{productioneditor}{\mainproductioneditorfont}%
+ {\postmainproductioneditor}%
+}
+\ifjmlrhtml
+ \renewcommand{\c@lamaketitle}{%
+ \HCode{<table cellpadding="2" cellspacing="2" border="0" width="100\%">}%
+ \HCode{<tbody><tr><td valign="top">}%
+ \HCode{<h1>}%
+ \@title\newline
+ \ifx\@volume\@empty
+ \else
+ Volume \@volume
+ \ifx\@subtitle\@empty\else: \fi
+ \fi
+ \@subtitle
+ \HCode{</h1>}%
+ \newline
+ \textbf{Editors: \@author}
+ \HCode{</td><td valign="top">}%
+ \@logo
+ \HCode{</td></tr></tbody></table>}%
+ \let\maintitle\@title
+ }
+\else
+ \renewcommand{\c@lamaketitle}{%
+ \pagenumbering{alph}%
+ \pagestyle{empty}%
+ \begin{titlepage}%
+ \let\footnotesize\small
+ \let\footnoterule\relax
+ \let\footnote\thanks
+ \titlebody
+ \par
+ \@thanks
+ \end{titlepage}%
+ \setcounter{footnote}{0}%
+ \let\maintitle\@title
+ \c@lmtitlempty
+ }
+\fi
+\renewcommand{\maintitlefont}{%
+ \null\vskip15pt\relax\par
+ \flushleft\Huge\bfseries\noindent}
+\renewcommand{\postmaintitle}{%
+ \par\relax
+}
+\newcommand{\mainvolumefont}{%
+ \flushleft\noindent\LARGE\bfseries Volume
+}
+\newcommand{\postmainvolume}{%
+ \IfTitleElement{subtitle}{}{:}\par\relax
+}
+\newcommand{\mainissuefont}{%
+ \flushleft\noindent\LARGE\bfseries Issue
+}
+\newcommand{\postmainissue}{%
+ \par\relax
+}
+\newcommand{\mainsubtitlefont}{%
+ \flushleft\LARGE\bfseries\noindent}
+\newcommand{\postmainsubtitle}{\par}
+\newcommand{\mainlogofont}{%
+ \vfill
+ \begin{center}}
+\newcommand{\postmainlogo}{\end{center}\vfill\par}
+\newcommand{\mainteamfont}{\flushleft\bfseries\Large\noindent}
+\newcommand{\postmainteam}{\par}
+\renewcommand{\mainauthorfont}{%
+ \flushleft\Large\itshape\doublespacing\noindent}
+\renewcommand{\postmainauthor}{%
+\par}
+\newcommand{\mainproductioneditorfont}{%
+ \flushleft\Large\noindent \@productioneditorname: \itshape}
+\newcommand{\postmainproductioneditor}{\par}
+\renewcommand{\maindatefont}{}
+\renewcommand{\postmaindate}{}
+\newenvironment{signoff}[2][The Editorial Team]{%
+ \def\Editor##1{\begin{tabular}{@{}l@{}}%
+ ##1%
+ \end{tabular}%
+ \par\vskip\baselineskip\noindent\ignorespaces
+ }%
+ \def\@editorialteam{#1}%
+ \def\@signoffdate{#2}%
+ \par\vskip\baselineskip\noindent
+ \ifx\@signoffdate\@empty
+ \else
+ \emph{\@signoffdate}\par
+ \vskip\baselineskip\noindent
+ \fi
+ \ifx\@editorialteam\@empty
+ \else
+ \@editorialteam:\par\vskip\baselineskip
+ \fi
+ \noindent\ignorespaces
+}{%
+}
+\newenvironment{authorsignoff}{%
+ \def\Author##1{\begin{tabular}{@{}l@{}}%
+ ##1%
+ \end{tabular}%
+ \par\vskip\baselineskip\noindent\ignorespaces
+ }%
+ \par\vskip\baselineskip\noindent\ignorespaces
+}{%
+}
+\renewcommand{\zeroextracounters}{%
+ \@ifundefined{c@theorem}{}{\setcounter{theorem}{0}}%
+ \@ifundefined{c@algorithm}{}{\setcounter{algorithm}{0}}%
+ \@ifundefined{c@example}{}{\setcounter{example}{0}}%
+}
+\renewcommand*{\contentsname}{Table of Contents}
+\def\theHalgorithm{\thechapter.\thealgorithm}
+\def\theHexample{\thechapter.\theexample}
+\def\theHtheorem{\thechapter.\thetheorem}
+\def\theHsection{\thechapter.\thesection}
+\def\theHsubsection{\thechapter.\thesubsection}
+\def\theHsubsubsection{\thechapter.\thesubsubsection}
+\def\theHparagraph{\thechapter.\theparagraph}
+\def\theHsubfigure{\thechapter.\thefigure.\thesubfigure}
+\def\theHsubtable{\thechapter.\thetable.\thesubtable}
+\renewcommand*{\mailto}[1]{%
+ \href{mailto:#1}{\nolinkurl{#1}}%
+}
+\c@lhaschapterfalse
+\let\c@lthesec\thesection
+\newcommand\doimportchapterHref{%
+ \edef\@currentHref{chapter.\thechapter}%
+}
+\def\toclevel@appendix{-1}
+\def\Xprefix{}
+\DeclareRobustCommand\Xref{\@ifstar\@Xrefstar\T@Xref}%
+\DeclareRobustCommand\Xpageref{%
+ \@ifstar\@Xpagerefstar\T@Xpageref
+}%
+\def\HyRef@StarSetXRef#1{%
+ \begingroup
+ \Hy@safe@activestrue
+ \edef\x{#1}%
+ \@onelevel@sanitize\x
+ \edef\x{\endgroup
+ \noexpand\HyRef@@StarSetRef
+ \expandafter\noexpand\csname r@\Xprefix\x\endcsname{\x}%
+ }%
+ \x
+}
+\def\@Xrefstar#1{%
+ \HyRef@StarSetXRef{#1}\@firstoffive
+}
+\def\@Xpagerefstar#1{%
+ \HyRef@StarSetXRef{#1}\@secondoffive
+}
+\def\T@Xref#1{%
+ \Hy@safe@activestrue
+ \expandafter\@setXref\csname r@\Xprefix#1\endcsname\@firstoffive{#1}%
+ \Hy@safe@activesfalse
+}%
+\def\T@Xpageref#1{%
+ \Hy@safe@activestrue
+ \expandafter\@setXref\csname r@\Xprefix#1\endcsname\@secondoffive{#1}%
+ \Hy@safe@activesfalse
+}%
+\def\Xlabel#1{%
+ \@bsphack
+ \begingroup
+ \@onelevel@sanitize\@currentlabelname
+ \edef\@currentlabelname{%
+ \expandafter\strip@period\@currentlabelname\relax.\relax\@@@
+ }%
+ \protected@write\@mainauxout{}{%
+ \string\newlabel{\Xprefix#1}{{\@currentlabel}{\thepage}%
+ {\@currentlabelname}{\@currentHref}{}}%
+ }%
+ \endgroup
+ \@esphack
+}
+\let\ltx@label\Xlabel
+\def\@setXref#1#2#3{% csname, extract group, refname
+ \ifx#1\relax
+ \protect\G@refundefinedtrue
+ \nfss@text{\reset@font\bfseries ??}%
+ \@latex@warning{%
+ Reference `#3' on page \thepage \space undefined%
+ }%
+ \else
+ \expandafter\Hy@setref@link#1\@empty\@empty\@nil{#2}%
+ \fi
+}
+\AtBeginDocument{\renewcommand\@secondoffive[5]{#2}}
+\def\@setimportlabel{%
+ \let\@mainauxout\@auxout
+ \let\HRlabel\label
+}
+\AtBeginDocument{%
+ \@setimportlabel
+ \gdef\@setimportlabel{\let\ref\Xref \let\pageref\Xpageref}%
+ \let\ReadBookmarks\relax
+}
+\let\@org@InputIfFileExists\InputIfFileExists
+\newenvironment{jmlrpapers}{%
+ \begin{papers}[]
+ \jmlrarticlecommands
+ \let\importpubpaper\@importpubpaper
+ \let\importpaper\@importpaper
+ \let\importarticle\@importarticle
+ \let\label\Xlabel
+ \let\ref\Xref
+ \pagestyle{article}%
+}{%
+ \end{papers}
+}
+\newcommand{\addtomaincontents}[2]{%
+ \protected@write\@mainauxout{\let\label\@gobble\let\index\@gobble
+ \let\glossary\@gobble}{\string\@writefile{#1}{#2}}%
+}
+\newcommand*{\@write@author}[2]{%
+ \def\@jmlr@authors@sep{ and }%
+ \protected@write\@mainauxout{}{%
+ \string\@new@articleauthor{#1}{#2}%
+ }%
+}
+\newcommand*{\@new@articleauthor}[2]{%
+ \expandafter\gdef\csname @jmlr@author@#1\endcsname{%
+ \hyperref[#1jmlrstart]{#2}}%
+}
+\newcommand*{\@write@jmlr@import}[3]{%
+ \protected@write\@mainauxout{}{\string\@jmlr@import{#1}{#2}{#3}}%
+}
+\newcommand*{\@jmlr@import}[3]{}
+\newcommand*{\@importpubpaper}[4][\@importdir\@importfile]{%
+ \bgroup
+ \def\@importdir{#2/}%
+ \def\@importfile{#3}%
+ \@write@jmlr@import{#1}{#2}{#3}%
+ \def\@extra@b@citeb{#1}%
+ \def\@extra@binfo{#1}%
+ \jmlrpages{#4}%
+ \graphicspath{{\@importdir}}%
+ \def\jmlrmaketitlehook{%
+ \refstepcounter{chapter}%
+ \addtomaincontents{toc}%
+ {\protect\contentsline{papertitle}{\@shorttitle}{\thepage}%
+ {page.\thepage}}%
+ \pdfbookmark{\@shorttitle}{chapter.\thechapter}%
+ \def\@jmlr@authors@sep{ \& }%
+ \tocchapterpubauthor{\@jmlrauthors}%
+ {%
+ \@jmlrabbrvproceedings
+ \ifx\@jmlrvolume\@empty
+ \ifx\@jmlrpages\@empty\else\space\fi
+ \else
+ \space\@jmlrvolume
+ \ifx\@jmlrpages\@empty\else:\fi
+ \fi
+ \ifx\@jmlrpages\@empty
+ \else
+ \@jmlrpages
+ \ifx\@jmlryear\@empty\else,\fi
+ \fi
+ \space\@jmlryear
+ }%
+ \@write@author{#1}{\@jmlrauthors}%
+ }%
+ \def\jmlrpremaketitlehook{%
+ \cleardoublepage
+ \phantomsection
+ \let\@currentlabelname\@shorttitle
+ }%
+ \def\InputIfFileExists##1##2##3{%
+ \IfFileExists{##1}{%
+ \@org@InputIfFileExists{##1}{##2}{##3}%
+ }%
+ {%
+ \@org@InputIfFileExists{\@importdir##1}{##2}{##3}%
+ }%
+ }%
+ \def\Xprefix{#1}%
+ \import{\@importdir\@importfile}%
+ \def\Xprefix{}%
+ \egroup
+ \gdef\@shortauthor{}%
+ \gdef\@shorttitle{}%
+ \gdef\@firstauthor{}%
+ \gdef\@jmlrauthors{}%
+ \gdef\@firstsurname{}%
+}
+\newcommand{\importpubpaper}[4][]{%
+ \ClassError{jmlrbook}{\string\importpubpaper\space
+not permitted outside `jmlrpapers' environment}{}%
+}
+\newcommand{\@importpaper}[3][\@importdir\@importfile]{%
+ \bgroup
+ \def\@importdir{#2/}%
+ \def\@importfile{#3}%
+ \@write@jmlr@import{#1}{#2}{#3}%
+ \def\@extra@b@citeb{#1}%
+ \def\@extra@binfo{#1}%
+ \jmlrpages{\protect\@articlepagesref}%
+ \graphicspath{{\@importdir}}%
+ \def\jmlrmaketitlehook{%
+ \refstepcounter{chapter}%
+ \addtomaincontents{toc}%
+ {\protect\contentsline{papertitle}{\@shorttitle}{\thepage}%
+ {page.\thepage}}%
+ \pdfbookmark{\@shorttitle}{chapter.\thechapter}%
+ \def\@jmlr@authors@sep{ \& }%
+ \tocchapterpubauthor{\@jmlrauthors}%
+ {%
+ \@jmlrabbrvproceedings
+ \ifx\@jmlrvolume\@empty
+ \space
+ \else
+ \space\@jmlrvolume:%
+ \fi
+ \protect\articlepagesref{#1}%
+ \ifx\@jmlryear\@empty\else,\fi
+ \space\@jmlryear
+ }%
+ \@write@author{#1}{\@jmlrauthors}%
+ }%
+ \def\jmlrpremaketitlehook{%
+ \cleardoublepage
+ \phantomsection
+ \let\@currentlabelname\@shorttitle
+ }%
+ \def\InputIfFileExists##1##2##3{%
+ \IfFileExists{##1}{%
+ \@org@InputIfFileExists{##1}{##2}{##3}%
+ }%
+ {%
+ \@org@InputIfFileExists{\@importdir##1}{##2}{##3}%
+ }%
+ }%
+ \def\Xprefix{#1}%
+ \import{\@importdir\@importfile}%
+ \def\Xprefix{}%
+ \egroup
+ \gdef\@shortauthor{}%
+ \gdef\@shorttitle{}%
+ \gdef\@firstauthor{}%
+ \gdef\@jmlrauthors{}%
+ \gdef\@firstsurname{}%
+}
+
+\newcommand{\importpaper}[3][]{%
+ \ClassError{jmlrbook}{\string\importpaper\space
+not permitted outside `jmlrpapers' environment}{}%
+}
+\newcommand{\@importarticle}[3][\@importdir\@importfile]{%
+ \bgroup
+ \def\@importdir{#2/}%
+ \def\@importfile{#3}%
+ \@write@jmlr@import{#1}{#2}{#3}%
+ \def\@extra@b@citeb{#1}%
+ \def\@extra@binfo{#1}%
+ \def\jmlrmaketitlehook{%
+ \addtomaincontents{toc}%
+ {\protect\contentsline{papertitle}{\@shorttitle}{\thepage}%
+ {page.\thepage}}%
+ \refstepcounter{chapter}%
+ \pdfbookmark{\@shorttitle}{chapter.\thechapter}%
+ \def\@jmlr@authors@sep{ \& }%
+ \tocchapterauthor{\@jmlrauthors}%
+ \@write@author{#1}{\@jmlrauthors}%
+ \jmlrpages{}%
+ \jmlrvolume{}%
+ \jmlryear{}%
+ \jmlrsubmitted{}%
+ \jmlrpublished{}%
+ \jmlrproceedings{}{}%
+ }%
+ \def\jmlrpremaketitlehook{%
+ \cleardoublepage
+ \phantomsection
+ \let\@currentlabelname\@shorttitle
+ }%
+ \graphicspath{{\@importdir}}%
+ \def\InputIfFileExists##1##2##3{%
+ \IfFileExists{##1}{%
+ \@org@InputIfFileExists{##1}{##2}{##3}%
+ }%
+ {%
+ \@org@InputIfFileExists{\@importdir##1}{##2}{##3}%
+ }%
+ }%
+ \def\Xprefix{#1}%
+ \import{\@importdir\@importfile}%
+ \def\Xprefix{}%
+ \egroup
+ \gdef\@shortauthor{}%
+ \gdef\@shorttitle{}%
+ \gdef\@firstauthor{}%
+ \gdef\@jmlrauthors{}%
+ \gdef\@firstsurname{}%
+}
+\newcommand{\importarticle}[3][]{%
+ \ClassError{jmlrbook}{\string\importarticle\space
+not permitted outside `jmlrpapers' environment}{}%
+}
+\newcommand{\addtocpart}[1]{%
+ \cleardoublepage
+ \refstepcounter{tocpart}%
+ \addtocontents{toc}{\protect\tocpart{#1}}%
+ \pdfbookmark[-1]{#1}{part.\thetocpart}%
+}
+\newcounter{tocpart}
+\newcommand{\tocpart}[1]{%
+ \addpenalty{-\@highpenalty}%
+ \vskip 1.0ex \@plus\p@
+ \setlength\@tempdima{2.25em}%
+ \begingroup
+ \parindent \z@ \rightskip \@pnumwidth
+ \parfillskip -\@pnumwidth
+ \leavevmode \large\bfseries
+ \advance\leftskip\@tempdima
+ \hskip -\leftskip
+ #1\nobreak\hfil \nobreak\hb@xt@\@pnumwidth{\hss \null}\par
+ \penalty\@highpenalty
+ \endgroup
+}
+\setlength{\prechapterskip}{3em}
+\setlength{\postchapterskip}{20pt}
+\renewcommand{\chapternumberformat}[1]{%
+ \Large\bfseries \@chapapp\space#1\par
+}
+\renewcommand{\chaptertitleformat}[1]{%
+ \Large\bfseries #1}
+\renewcommand*{\chapterformat}{%
+ \raggedright
+}
+\renewcommand{\preparthook}{\cleardoublepage\null\vfil}
+\renewcommand{\partnumberformat}[1]{%
+ \Huge\bfseries \@partapp\nobreakspace#1\par\nobreak
+ \vskip 20\p@
+}
+\def\postparthook{%
+ \thispagestyle{empty}%
+ \vfil\newpage
+ \null
+ \thispagestyle{empty}%
+ \newpage
+}
+\newcommand{\@curparthead}{}
+\renewcommand{\parttitleformat}[1]{#1%
+ \gdef\@curparthead{\@partapp\space \thepart. #1}%
+ \@mkboth{\@curparthead}{\@curparthead}%
+}
+\renewcommand{\firstpageno}[1]{}
+\newcommand{\tocchapterauthor}[1]{%
+ \addtomaincontents{toc}{\protect\contentsline{chapterauthor}{%
+ #1}{}{}}%
+}
+\newcommand{\tocchapterpubauthor}[2]{%
+ \addtomaincontents{toc}{\protect\contentsline{chapterauthor}{%
+ #1; #2.}{}{}}%
+}
+\renewcommand*\@pnumwidth{2em}
+\renewcommand*\l@part[2]{%
+ \ifnum \c@tocdepth >\m@ne
+ \addpenalty{-\@highpenalty}%
+ \vskip 1.0em \@plus\p@
+ \setlength\@tempdima{5em}%
+ \vbox{%
+ \pagerule
+ \begingroup
+ \parindent \z@ \rightskip \@pnumwidth
+ \parfillskip -\@pnumwidth
+ \leavevmode \large\bfseries
+ \advance\leftskip\@tempdima
+ \hskip -\leftskip
+ \renewcommand*\numberline[1]{\hb@xt@ \@tempdima
+ {\partname\space ##1\hfil }}%
+ #1\nobreak\hfil \nobreak\hb@xt@\@pnumwidth{\hss }\par
+ \penalty\@highpenalty
+ \endgroup
+ \pagerule
+ }%
+ \fi}
+\newcommand*{\l@papertitle}[2]{%
+ \ifnum \c@tocdepth >\m@ne
+ \addpenalty{-\@highpenalty}%
+ \vskip 1.0em \@plus\p@
+ \setlength\@tempdima{3em}%
+ \begingroup
+ \leavevmode \raggedright\itshape
+ #1\nobreak\hfill \nobreak\hb@xt@\@pnumwidth{\hss
+ \normalfont#2}%
+ \par
+ \penalty\@highpenalty
+ \endgroup
+ \fi
+}
+\newcommand*\l@chapterauthor[2]{%
+ \ifnum \c@tocdepth >\m@ne
+ \addpenalty{-\@highpenalty}%
+ \begingroup
+ \parindent \z@ \rightskip \@pnumwidth
+ \parfillskip -\@pnumwidth
+ \leavevmode \raggedright
+ #1%
+ \par
+ \endgroup
+ \fi}
+\renewcommand*\l@section[2]{%
+ \ifnum \c@tocdepth >\m@ne
+ \addpenalty{-\@highpenalty}%
+ \vskip 1.0em \@plus\p@
+ \setlength\@tempdima{3em}%
+ \begingroup
+ \parindent \z@ \rightskip \@pnumwidth
+ \parfillskip -\@pnumwidth
+ \leavevmode \normalsize\mdseries
+ \advance\leftskip\@tempdima
+ \hskip -\leftskip
+ #1\nobreak\hfil \nobreak\hb@xt@\@pnumwidth{\hss #2}\par
+ \penalty\@highpenalty
+ \endgroup
+ \fi}
+\renewcommand*\l@subsection[2]{%
+ \ifnum \c@tocdepth >\m@ne
+ \addpenalty{-\@highpenalty}%
+ \vskip 1.0em \@plus\p@
+ \setlength\@tempdima{3.5em}%
+ \begingroup
+ \parindent \z@ \rightskip \@pnumwidth
+ \parfillskip -\@pnumwidth
+ \leavevmode \normalsize\mdseries
+ \advance\leftskip\@tempdima
+ \hskip -\leftskip
+ #1\nobreak\hfil \nobreak\hb@xt@\@pnumwidth{\hss #2}\par
+ \penalty\@highpenalty
+ \endgroup
+ \fi}
+\renewcommand*{\chaptermark}[1]{%
+ \@mkboth{\@curparthead}{\protect\thechapter. #1}%
+}
+\newcommand{\firstpagehead}{}
+\newcommand{\firstpagefoot}{\hfill\thepage}
+\renewcommand*{\headfont}{\reset@font\small\scshape}%
+\renewcommand*{\footfont}{\reset@font\small\itshape}%
+\newcommand*{\ps@chplain}{%
+ \let\@mkboth\@gobbletwo
+ \renewcommand*{\@oddhead}{\headfont\firstpagehead}%
+ \renewcommand*{\@evenhead}{}%
+ \renewcommand*{\@oddfoot}{\footfont\firstpagefoot}%
+ \renewcommand*{\@evenfoot}{\footfont\thepage\hfill
+ }%
+}
+\let\ps@plain\ps@chplain
+\newcommand*{\ps@article}{%
+ \let\@mkboth\@gobbletwo
+ \renewcommand*{\@oddhead}{\headfont\hfill\@shorttitle}%
+ \renewcommand*{\@evenhead}{\headfont\@shortauthor\hfill}%
+ \renewcommand*{\@oddfoot}{\footfont\hfill\thepage}
+ \renewcommand*{\@evenfoot}{\footfont\thepage\hfill}
+}
+\newcommand*{\ps@jmlrbook}{%
+ \ps@headings
+ \renewcommand*{\sectionmark}[1]{}%
+}
+\renewcommand*{\morefrontmatter}{\pagestyle{jmlrbook}%
+ \def\chaptermark##1{%
+ \@mkboth{##1\hfill}{\hfill##1}}%
+}
+\renewcommand*{\moremainmatter}{\pagestyle{jmlrbook}%
+ \def\chaptermark##1{%
+ \@mkboth{\@curparthead}{\protect\thechapter. ##1}%
+ }%
+}
+\renewcommand*\bibsection{\section*{\refname}}
+\def\@bookpart[#1]#2{%
+ \ifnum \c@secnumdepth >-2\relax
+ \refstepcounter{part}%
+ \addcontentsline{toc}{\@parttoclabel}{%
+ \protect\numberline{\thepart}#1}%
+ \else
+ \addcontentsline{toc}{\@parttoclabel}{#1}%
+ \fi
+ \markboth{}{}%
+ {\interlinepenalty \@M
+ \normalfont\partformat
+ \ifnum \c@secnumdepth >-2\relax
+ \partnumberformat{\thepart}%
+ \fi
+ \parttitleformat{#2}\par}%
+ \postparthook}
+\jmlrbookcommands
+\endinput
+%%
+%% End of file `jmlrbook.cls'.