texlive[61793] Master/texmf-dist: jmlr (29jan22)

commits+karl at tug.org commits+karl at tug.org
Sat Jan 29 22:45:49 CET 2022


Revision: 61793
          http://tug.org/svn/texlive?view=revision&revision=61793
Author:   karl
Date:     2022-01-29 22:45:49 +0100 (Sat, 29 Jan 2022)
Log Message:
-----------
jmlr (29jan22)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/jmlr/CHANGES
    trunk/Master/texmf-dist/doc/latex/jmlr/README
    trunk/Master/texmf-dist/doc/latex/jmlr/jmlr.pdf
    trunk/Master/texmf-dist/source/latex/jmlr/jmlr.dtx
    trunk/Master/texmf-dist/source/latex/jmlr/jmlr.ins
    trunk/Master/texmf-dist/tex/latex/jmlr/jmlr.cls
    trunk/Master/texmf-dist/tex/latex/jmlr/jmlrbook.cls
    trunk/Master/texmf-dist/tex/latex/jmlr/jmlrutils.sty

Added Paths:
-----------
    trunk/Master/texmf-dist/doc/latex/jmlr/example-teximage.tex
    trunk/Master/texmf-dist/doc/latex/jmlr/pmlr-sample.bib
    trunk/Master/texmf-dist/doc/latex/jmlr/pmlr-sample.pdf
    trunk/Master/texmf-dist/doc/latex/jmlr/pmlr-sample.tex

Removed Paths:
-------------
    trunk/Master/texmf-dist/doc/latex/jmlr/INSTALL
    trunk/Master/texmf-dist/doc/latex/jmlr/sample-books/bookLogo-gray.png
    trunk/Master/texmf-dist/doc/latex/jmlr/sample-books/bookLogo.png
    trunk/Master/texmf-dist/doc/latex/jmlr/sample-books/jmlrbook-sample.pdf
    trunk/Master/texmf-dist/doc/latex/jmlr/sample-books/jmlrbook-sample.tex
    trunk/Master/texmf-dist/doc/latex/jmlr/sample-books/paper1/
    trunk/Master/texmf-dist/doc/latex/jmlr/sample-books/paper2/
    trunk/Master/texmf-dist/doc/latex/jmlr/sample-books/paper3/
    trunk/Master/texmf-dist/doc/latex/jmlr/sample-books/paper4/
    trunk/Master/texmf-dist/doc/latex/jmlr/sample-books/proceedings-sample.pdf
    trunk/Master/texmf-dist/doc/latex/jmlr/sample-books/proceedings-sample.tex
    trunk/Master/texmf-dist/doc/latex/jmlr/sample-papers/images/
    trunk/Master/texmf-dist/doc/latex/jmlr/sample-papers/jmlr-sample.bib
    trunk/Master/texmf-dist/doc/latex/jmlr/sample-papers/jmlr-sample.pdf
    trunk/Master/texmf-dist/doc/latex/jmlr/sample-papers/jmlr-sample.tex
    trunk/Master/texmf-dist/doc/latex/jmlr/sample-papers/jmlrwcp-sample.pdf
    trunk/Master/texmf-dist/doc/latex/jmlr/sample-papers/jmlrwcp-sample.tex
    trunk/Master/texmf-dist/scripts/jmlr/

Modified: trunk/Master/texmf-dist/doc/latex/jmlr/CHANGES
===================================================================
--- trunk/Master/texmf-dist/doc/latex/jmlr/CHANGES	2022-01-29 21:45:08 UTC (rev 61792)
+++ trunk/Master/texmf-dist/doc/latex/jmlr/CHANGES	2022-01-29 21:45:49 UTC (rev 61793)
@@ -1,3 +1,28 @@
+v1.29 (2022-01-29):
+
+  * jmlr.cls:
+
+    - added cleveref option
+
+    - fixed draft option
+
+    - bug fix #168: Float-only last pages not counted for page numbering
+       https://www.dickimaw-books.com/bugtracker.php?key=168
+
+  * jmlrutils.sty:
+
+    - added cleveref option
+
+    - added \jmlralgorule
+
+    - added \jmlrminsubcaptionwidth
+
+  * jmlrbook.cls:
+
+    - obsoleted (https://www.dickimaw-books.com/faq.php?itemlabel=latex20201009)
+      Production editors will need to set the first page number
+      of each article manually.
+
 v1.28 (2020-09-21):
 
   * jmlr.cls:

Deleted: trunk/Master/texmf-dist/doc/latex/jmlr/INSTALL
===================================================================
--- trunk/Master/texmf-dist/doc/latex/jmlr/INSTALL	2022-01-29 21:45:08 UTC (rev 61792)
+++ trunk/Master/texmf-dist/doc/latex/jmlr/INSTALL	2022-01-29 21:45:49 UTC (rev 61793)
@@ -1,62 +0,0 @@
-INSTALLATION
-
-*Installation is best performed using your TeX package manager.*
-These are instructions for manual installation if for some reason a
-package manager can't be used.
-
-If you have downloaded the jmlr bundle using the TeX Directory
-Structure (TDS), that is you have downloaded the archive
-jmlr.tds.zip containing doc, tex and source directories, you need to
-follow the "Installing from TDS" instructions below.
-
-If you have downloaded the following files:
-
-jmlr.dtx
-jmlr.ins
-
-You need to follow the "Installing from DTX and INS" instructions
-below.
-
-INSTALLING FROM TDS
-===================
-
-Files in tex and doc directories should go in the corresponding
-TEXMF directories (for example, /usr/share/texmf-local/ or
-C:\localtexmf\).
-
-*Remember to refresh TeX's database*
-
-Example (on UNIX like systems):
-
-unzip jmlr.tds.zip -d ~/texmf/
-texhash ~/texmf/
-
-INSTALLING FROM DTX AND INS
-===========================
-
-Run LaTeX on jmlr.ins to generate jmlr.cls and jmlrbook.cls:
-
-latex jmlr.ins
-
-To create the documentation (jmlr.pdf):
-
-pdflatex jmlr.dtx
-makeindex -s gind.ist jmlr.idx
-makeindex -s gglo.ist -o jmlr.gls jmlr.glo
-pdflatex jmlr.dtx
-pdflatex jmlr.dtx
-
-If TEXMF denotes the base directory of your local TeX installation (e.g.
-/usr/share/texmf-local/ or C:\localtexmf\) then create the following
-directories (if they don't already exist):
-
-TEXMF/doc/latex/jmlr
-TEXMF/tex/latex/jmlr
-
-Move the documentation to TEXMF/doc/latex/jmlr/
-
-Move jmlrutils.sty, jmlr.cls and jmlrbook.cls to TEXMF/tex/latex/jmlr/
-
-*Remember to refresh TeX's database*
-
-

Modified: trunk/Master/texmf-dist/doc/latex/jmlr/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/jmlr/README	2022-01-29 21:45:08 UTC (rev 61792)
+++ trunk/Master/texmf-dist/doc/latex/jmlr/README	2022-01-29 21:45:49 UTC (rev 61793)
@@ -1,4 +1,4 @@
-LaTeX Class : jmlr bundle v1.28 (2020-09-21)
+LaTeX Class : jmlr bundle v1.29 (2022-01-29)
 
 Author      : Nicola L. C. Talbot
               dickimaw-books.com/contact
@@ -9,7 +9,7 @@
 See http://www.ctan.org/license/lppl1.3 
 for the details of that license.
 
-Copyright 2006-2020 Nicola Talbot
+Copyright 2006-2022 Nicola Talbot
 
 DESCRIPTION
 
@@ -17,41 +17,31 @@
 
    * jmlr class (article authors)
    * jmlrutils package (supplementary package automatically loaded by jmlr.cls)
-   * jmlrbook class (for production editors)
+   * jmlrbook class (for production editors, now obsolete)
 
-The jmlr class is a LaTeX class for articles for the Journal of
-Machine Learning Research (JMLR) or the Proceedings of Machine
-Learning Research (PMLR) formerly JMLR Workshop and Conference
-Proceedings (JMLR W&CP). It is designed as a replacement for both
-jmlr2e.sty and jmlrwcp2e.sty.
+The jmlr class was designed primarily for the Journal of
+Machine Learning Research Workshop and Conference Proceedings 
+(JMLR W&CP) based on the jmlrwcp2e package to make it easier for
+production editors to combine articles into a single book.
 
+JMLR W&CP has been renamed Proceedings of Machine Learning Research
+(PMLR). Please use class option 'pmlr' for new articles.
+
+If you want to submit an article to the Journal of Machine Learning
+Research (JMLR), please follow their guidelines instead.
+
 The jmlrutils package is automatically loaded by the jmlr class, but
 may be used with other classes. (You may need to additionally load
 graphicx and algorithm2e, which jmlr.cls does automatically.)
 
-The jmlrbook class is a LaTeX class that can be used to combine
-articles written using the jmlr class into a book. The jmlrbook
-class uses the combine class and the hyperref package to produce
-either a colour hyperlinked book for on-line viewing or a greyscale
-nonhyperlinked book for printing. Production editors can use the
-makejmlrbookgui application
-(http://www.dickimaw-books.com/software/makejmlrbookgui/) to
-generate the proceedings. The makejmlrbook Perl script is deprecated
-and will be removed in future releases.
+The jmlrbook class no longer works since it relies on another class
+that has stopped working following modifications to the LaTeX kernel
+in 2020. Production editors will now need to manually set the first
+page number for each article. If a printed book is required, all
+articles can be combined using pdfpages instead.
 
-** 
- jmlrbook.cls is quite fragile as it has to patch third party
- internal code in order to make combine.cls work with hyperref.sty
- There's no guarantee that it will work with newer versions of
- combine.cls or hyperref.sty or new LaTeX kernel releases.
-**
+This doesn't affect article authors who can continue to use jmlr.cls.
 
-INSTALLATION
-
-Installation is best performed using your TeX package manager.
-See INSTALL file for manual installation instructions if you are unable to
-use the package manager.
-
 REQUIREMENTS
 
 jmlr class requirements:
@@ -76,11 +66,5 @@
   xkeyval
   combnat
   setspace
-  currfile or fink
+  currfile
 
-RELATED SOFTWARE:
-
-http://www.dickimaw-books.com/software/makejmlrbookgui/
-
-Author's home page: http://www.dickimaw-books.com/
-

Added: trunk/Master/texmf-dist/doc/latex/jmlr/example-teximage.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/jmlr/example-teximage.tex	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/jmlr/example-teximage.tex	2022-01-29 21:45:49 UTC (rev 61793)
@@ -0,0 +1,4 @@
+\frame{\begin{picture}(100,100)
+\put(25,50){\dashbox{.5}(10,10){$A$}}
+\put(50,50){\dashbox{.5}(10,10){$B$}}
+\end{picture}}


Property changes on: trunk/Master/texmf-dist/doc/latex/jmlr/example-teximage.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/texmf-dist/doc/latex/jmlr/jmlr.pdf
===================================================================
(Binary files differ)

Added: trunk/Master/texmf-dist/doc/latex/jmlr/pmlr-sample.bib
===================================================================
--- trunk/Master/texmf-dist/doc/latex/jmlr/pmlr-sample.bib	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/jmlr/pmlr-sample.bib	2022-01-29 21:45:49 UTC (rev 61793)
@@ -0,0 +1,19 @@
+ at article{guyon-elisseeff-03,
+  title   = "An Introduction to Variable and Feature Selection",
+  author  = "I. Guyon and A. Elisseeff",
+  journal = "JMLR",
+  volume  = "3",
+  month   = MAR,
+  pages   = "1157-1182",
+  year    = 2003
+}
+
+ at techreport{guyon2007causalreport,
+  author      = {I. Guyon and C. Aliferis and A. Elisseeff},
+  title       = {Causal Feature Selection},
+  institution = {Clopinet},
+  year        = 2007,
+  type        = {Technical Report },
+  source      = {\url{http://clopinet.com/isabelle/Papers/causalFS.pdf}}
+}
+


Property changes on: trunk/Master/texmf-dist/doc/latex/jmlr/pmlr-sample.bib
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/jmlr/pmlr-sample.pdf
===================================================================
(Binary files differ)

Index: trunk/Master/texmf-dist/doc/latex/jmlr/pmlr-sample.pdf
===================================================================
--- trunk/Master/texmf-dist/doc/latex/jmlr/pmlr-sample.pdf	2022-01-29 21:45:08 UTC (rev 61792)
+++ trunk/Master/texmf-dist/doc/latex/jmlr/pmlr-sample.pdf	2022-01-29 21:45:49 UTC (rev 61793)

Property changes on: trunk/Master/texmf-dist/doc/latex/jmlr/pmlr-sample.pdf
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/pdf
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/jmlr/pmlr-sample.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/jmlr/pmlr-sample.tex	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/jmlr/pmlr-sample.tex	2022-01-29 21:45:49 UTC (rev 61793)
@@ -0,0 +1,780 @@
+\documentclass[pmlr]{jmlr}% new name PMLR (Proceedings of Machine Learning Research)
+
+ % The following packages will be automatically loaded:
+ % amsmath, amssymb, natbib, graphicx, url, algorithm2e
+
+ %\usepackage{rotating}% for sideways figures and tables
+\usepackage{longtable}% for long tables
+
+ % The booktabs package is used by this sample document
+ % (it provides \toprule, \midrule and \bottomrule).
+ % Remove the next line if you don't require it.
+\usepackage{booktabs}
+ % The siunitx package is used by this sample document
+ % to align numbers in a column by their decimal point.
+ % Remove the next line if you don't require it.
+\usepackage[load-configurations=version-1]{siunitx} % newer version
+ %\usepackage{siunitx}
+
+ % The following command is just for this sample document:
+\newcommand{\cs}[1]{\texttt{\char`\\#1}}
+
+ % Define an unnumbered theorem just for this sample document:
+\theorembodyfont{\upshape}
+\theoremheaderfont{\scshape}
+\theorempostheader{:}
+\theoremsep{\newline}
+\newtheorem*{note}{Note}
+
+ % change the arguments, as appropriate, in the following:
+\jmlrvolume{1}
+\jmlryear{2010}
+\jmlrworkshop{Workshop Title}
+
+\title[Short Title]{Full Title of Article\titlebreak This Title Has
+A Line Break\titletag{\thanks{sample footnote}}}
+
+ % Use \Name{Author Name} to specify the name.
+
+ % Spaces are used to separate forenames from the surname so that
+ % the surnames can be picked up for the page header and copyright footer.
+ 
+ % If the surname contains spaces, enclose the surname
+ % in braces, e.g. \Name{John {Smith Jones}} similarly
+ % if the name has a "von" part, e.g \Name{Jane {de Winter}}.
+ % If the first letter in the forenames is a diacritic
+ % enclose the diacritic in braces, e.g. \Name{{\'E}louise Smith}
+
+ % *** Make sure there's no spurious space before \nametag ***
+
+ % Two authors with the same address
+  \author{\Name{Author Name1\nametag{\thanks{with a note}}} \Email{abc at sample.com}\and
+   \Name{Author Name2} \Email{xyz at sample.com}\\
+   \addr Address}
+
+ % Three or more authors with the same address:
+ % \author{\Name{Author Name1} \Email{an1 at sample.com}\\
+ %  \Name{Author Name2} \Email{an2 at sample.com}\\
+ %  \Name{Author Name3} \Email{an3 at sample.com}\\
+ %  \Name{Author Name4} \Email{an4 at sample.com}\\
+ %  \Name{Author Name5} \Email{an5 at sample.com}\\
+ %  \Name{Author Name6} \Email{an6 at sample.com}\\
+ %  \Name{Author Name7} \Email{an7 at sample.com}\\
+ %  \Name{Author Name8} \Email{an8 at sample.com}\\
+ %  \Name{Author Name9} \Email{an9 at sample.com}\\
+ %  \Name{Author Name10} \Email{an10 at sample.com}\\
+ %  \Name{Author Name11} \Email{an11 at sample.com}\\
+ %  \Name{Author Name12} \Email{an12 at sample.com}\\
+ %  \Name{Author Name13} \Email{an13 at sample.com}\\
+ %  \Name{Author Name14} \Email{an14 at sample.com}\\
+ %  \addr Address}
+
+
+ % Authors with different addresses:
+ % \author{\Name{Author Name1} \Email{abc at sample.com}\\
+ % \addr Address 1
+ % \AND
+ % \Name{Author Name2} \Email{xyz at sample.com}\\
+ % \addr Address 2
+ %}
+
+\editor{Editor's name}
+ % \editors{List of editors' names}
+
+\begin{document}
+
+\maketitle
+
+\begin{abstract}
+This is the abstract for this article.
+\end{abstract}
+\begin{keywords}
+List of keywords
+\end{keywords}
+
+\section{Introduction}
+\label{sec:intro}
+
+This is a sample article that uses the \textsf{jmlr} class with
+the \texttt{pmlr} class option.  Please follow the guidelines in
+this sample document as it can help to reduce complications when
+combining the articles into a book. Please avoid using obsolete
+commands, such as \verb|\rm|, and obsolete packages, such as
+\textsf{epsfig}.\footnote{See
+\url{http://www.ctan.org/pkg/l2tabu}}
+
+Please also ensure that your document will compile with PDF\LaTeX.
+If you have an error message that's puzzling you, first check for it
+at the UK TUG FAQ
+\url{https://texfaq.org/FAQ-man-latex}.  If
+that doesn't help, create a minimal working example (see
+\url{https://www.dickimaw-books.com/latex/minexample}) and post
+to somewhere like TeX on StackExchange
+(\url{https://tex.stackexchange.com/}) or the LaTeX Community Forum
+(\url{https://latex.org/forum/}).
+
+\begin{note}
+This is an numbered theorem-like environment that was defined in
+this document's preamble.
+\end{note}
+
+\subsection{Sub-sections}
+
+Sub-sections are produced using \verb|\subsection|.
+
+\subsubsection{Sub-sub-sections}
+
+Sub-sub-sections are produced using \verb|\subsubsection|.
+
+\paragraph{Sub-sub-sub-sections}
+
+Sub-sub-sub-sections are produced using \verb|\paragraph|.
+These are unnumbered with a running head.
+
+\subparagraph{Sub-sub-sub-sub-sections}
+
+Sub-sub-sub-sub-sections are produced using \verb|\subparagraph|.
+These are unnumbered with a running head.
+
+\section{Cross-Referencing}
+
+Always use \verb|\label| and \verb|\ref| (or one of the commands
+described below) when cross-referencing.  For example, the next
+section is Section~\ref{sec:math}. The \textsf{jmlr} class
+provides some convenient cross-referencing commands:
+\verb|\sectionref|, \verb|\equationref|, \verb|\tableref|,
+\verb|\figureref|, \verb|\algorithmref|, \verb|\theoremref|,
+\verb|\lemmaref|, \verb|\remarkref|, \verb|\corollaryref|,
+\verb|\definitionref|, \verb|\conjectureref|, \verb|\axiomref|,
+\verb|\exampleref| and \verb|\appendixref|. The argument of these
+commands may either be a single label or a comma-separated list
+of labels. Examples:
+
+Referencing sections: \sectionref{sec:math} or
+\sectionref{sec:intro,sec:math} or
+\sectionref{sec:intro,sec:math,sec:tables,sec:figures}.
+
+Referencing equations: \equationref{eq:trigrule} or
+\equationref{eq:trigrule,eq:df} or
+\equationref{eq:trigrule,eq:f,eq:df,eq:y}.
+
+Referencing tables: \tableref{tab:operatornames} or
+\tableref{tab:operatornames,tab:example} or
+\tableref{tab:operatornames,tab:example,tab:example-booktabs}.
+
+Referencing figures: \figureref{fig:image} or
+\figureref{fig:image,fig:teximage} or
+\figureref{fig:image,fig:teximage,fig:subfigex} or
+\figureref{fig:image-a,fig:image-b}.
+
+Referencing algorithms: \algorithmref{alg:gauss} or
+\algorithmref{alg:gauss,alg:moore} or
+\algorithmref{alg:gauss,alg:moore,alg:net}.
+
+Referencing theorem-like environments: \theoremref{thm:eigenpow},
+\lemmaref{lem:sample}, \remarkref{rem:sample}, 
+\corollaryref{cor:sample}, \definitionref{def:sample},
+\conjectureref{con:sample}, \axiomref{ax:sample} and
+\exampleref{ex:sample}.
+
+Referencing appendices: \appendixref{apd:first} or
+\appendixref{apd:first,apd:second}.
+
+\section{Equations}
+\label{sec:math}
+
+The \textsf{jmlr} class loads the \textsf{amsmath} package, so
+you can use any of the commands and environments defined there.
+(See the \textsf{amsmath} documentation for further
+details.\footnote{Either \texttt{texdoc amsmath} or
+\url{http://www.ctan.org/pkg/amsmath}})
+
+Unnumbered single-lined equations should be displayed using
+\verb|\[| and \verb|\]|. For example:
+\[E = m c^2\]
+Numbered single-line equations should be displayed using the
+\texttt{equation} environment. For example:
+\begin{equation}\label{eq:trigrule}
+\cos^2\theta + \sin^2\theta \equiv 1
+\end{equation}
+This can be referenced using \verb|\label| and \verb|\equationref|.
+For example, \equationref{eq:trigrule}.
+
+Multi-lined numbered equations should be displayed using the
+\texttt{align} environment.\footnote{For reasons why you 
+shouldn't use the obsolete \texttt{eqnarray} environment, see
+Lars Madsen, \emph{Avoid eqnarray!} TUGboat 33(1):21--25, 2012.} For example:
+\begin{align}
+f(x) &= x^2 + x\label{eq:f}\\
+f'(x) &= 2x + 1\label{eq:df}
+\end{align}
+Unnumbered multi-lined equations should be displayed using the
+\texttt{align*} environment. For example:
+\begin{align*}
+f(x) &= (x+1)(x-1)\\
+&= x^2 - 1
+\end{align*}
+If you want to mix numbered with unnumbered lines use the
+align environment and suppress unwanted line numbers with
+\verb|\nonumber|. For example:
+\begin{align}
+y &= x^2 + 3x - 2x + 1\nonumber\\
+&= x^2 + x + 1\label{eq:y}
+\end{align}
+An equation that is too long to fit on a single line can be
+displayed using the \texttt{split} environment. 
+Text can be embedded in an equation using \verb|\text| or
+\verb|\intertext| (as used in \theoremref{thm:eigenpow}).
+See the \textsf{amsmath} documentation for further details.
+
+\subsection{Operator Names}
+\label{sec:op}
+
+Predefined operator names are listed in \tableref{tab:operatornames}.
+For additional operators, either use \verb|\operatorname|,
+for example $\operatorname{var}(X)$ or declare it with
+\verb|\DeclareMathOperator|, for example
+\begin{verbatim}
+\DeclareMathOperator{\var}{var}
+\end{verbatim}
+and then use this new command. If you want limits that go above and
+below the operator (like \verb|\sum|) use the starred versions
+(\verb|\operatorname*| or \verb|\DeclareMathOperator*|).
+
+\begin{table}[htbp]
+\floatconts
+  {tab:operatornames}%
+  {\caption{Predefined Operator Names (taken from 
+   \textsf{amsmath} documentation)}}%
+  {%
+\begin{tabular}{rlrlrlrl}
+\cs{arccos} & $\arccos$ &  \cs{deg} & $\deg$ &  \cs{lg} & $\lg$ &  \cs{projlim} & $\projlim$ \\
+\cs{arcsin} & $\arcsin$ &  \cs{det} & $\det$ &  \cs{lim} & $\lim$ &  \cs{sec} & $\sec$ \\
+\cs{arctan} & $\arctan$ &  \cs{dim} & $\dim$ &  \cs{liminf} & $\liminf$ &  \cs{sin} & $\sin$ \\
+\cs{arg} & $\arg$ &  \cs{exp} & $\exp$ &  \cs{limsup} & $\limsup$ &  \cs{sinh} & $\sinh$ \\
+\cs{cos} & $\cos$ &  \cs{gcd} & $\gcd$ &  \cs{ln} & $\ln$ &  \cs{sup} & $\sup$ \\
+\cs{cosh} & $\cosh$ &  \cs{hom} & $\hom$ &  \cs{log} & $\log$ &  \cs{tan} & $\tan$ \\
+\cs{cot} & $\cot$ &  \cs{inf} & $\inf$ &  \cs{max} & $\max$ &  \cs{tanh} & $\tanh$ \\
+\cs{coth} & $\coth$ &  \cs{injlim} & $\injlim$ &  \cs{min} & $\min$ \\
+\cs{csc} & $\csc$ &  \cs{ker} & $\ker$ &  \cs{Pr} & $\Pr$
+\end{tabular}\par
+\begin{tabular}{rlrl}
+\cs{varlimsup} & $\varlimsup$ 
+& \cs{varinjlim} & $\varinjlim$\\
+\cs{varliminf} & $\varliminf$ 
+& \cs{varprojlim} & $\varprojlim$
+\end{tabular}
+}
+\end{table}
+
+\section{Vectors and Sets}
+\label{sec:vec}
+
+Vectors should be typeset using \cs{vec}. For example $\vec{x}$.
+The \textsf{jmlr} class also provides \cs{set} to typeset a
+set. For example $\set{S}$.
+
+\section{Floats}
+\label{sec:floats}
+
+Floats, such as figures, tables and algorithms, are moving
+objects and are supposed to float to the nearest convenient
+location. Please don't force them to go in a particular place. In
+general it's best to use the \texttt{htbp} specifier and don't
+put the figure or table in the middle of a paragraph (that is
+make sure there's a paragraph break above and below the float).
+Floats are supposed to have a little extra space above and below
+them to make them stand out from the rest of the text. This extra
+spacing is put in automatically and shouldn't need modifying.
+
+To ensure consistency, please \emph{don't} try changing the format of the caption by doing
+something like:
+\begin{verbatim}
+\caption{\textit{A Sample Caption.}}
+\end{verbatim}
+or
+\begin{verbatim}
+\caption{\em A Sample Caption.}
+\end{verbatim}
+You can, of course, change the font for individual words or 
+phrases, for example:
+\begin{verbatim}
+\caption{A Sample Caption With Some \emph{Emphasized Words}.}
+\end{verbatim}
+
+\subsection{Tables}
+\label{sec:tables}
+
+Tables should go in the \texttt{table} environment. Within this
+environment use \verb|\floatconts| (defined by \textsf{jmlr})
+to set the caption correctly and center the table contents.
+
+\begin{table}[htbp]
+ % The first argument is the label.
+ % The caption goes in the second argument, and the table contents
+ % go in the third argument.
+\floatconts
+  {tab:example}%
+  {\caption{An Example Table}}%
+  {\begin{tabular}{ll}
+  \bfseries Dataset & \bfseries Result\\
+  Data1 & 0.12345\\
+  Data2 & 0.67890\\
+  Data3 & 0.54321\\
+  Data4 & 0.09876
+  \end{tabular}}
+\end{table}
+
+If you want horizontal rules you can use the \textsf{booktabs}
+package which provides the commands \verb|\toprule|, 
+\verb|\midrule| and \verb|\bottomrule|. For example, see
+\tableref{tab:example-booktabs}.
+
+\begin{table}[hbtp]
+\floatconts
+  {tab:example-booktabs}
+  {\caption{A Table With Horizontal Lines}}
+  {\begin{tabular}{ll}
+  \toprule
+  \bfseries Dataset & \bfseries Result\\
+  \midrule
+  Data1 & 0.12345\\
+  Data2 & 0.67890\\
+  Data3 & 0.54321\\
+  Data4 & 0.09876\\
+  \bottomrule
+  \end{tabular}}
+\end{table}
+
+If you want vertical lines as well, you can't use the
+\textsf{booktabs} commands as there'll be some unwanted gaps.
+Instead you can use \LaTeX's \verb|\hline|, but the rows may
+appear a bit cramped.  You can add extra space above or below a
+row using \verb|\abovestrut| and \verb|\belowstrut|. For example,
+see \tableref{tab:example-hline}.
+
+\begin{table}[htbp]
+\floatconts
+  {tab:example-hline}
+  {\caption{A Table With Horizontal and Vertical Lines}}%
+  {%
+    \begin{tabular}{|l|l|}
+    \hline
+    \abovestrut{2.2ex}\bfseries Dataset & \bfseries Result\\\hline
+    \abovestrut{2.2ex}Data1 & 0.12345\\
+    Data2 & 0.67890\\
+    Data3 & 0.54321\\
+    \belowstrut{0.2ex}Data4 & 0.09876\\\hline
+    \end{tabular}
+  }
+\end{table}
+
+If you want to align numbers on their decimal point, you can
+use the \textsf{siunitx} package. For example, see
+\tableref{tab:example-siunitx}. For further details see the
+\textsf{siunitx} documentation\footnote{Either \texttt{texdoc
+siunitx} or \url{http://www.ctan.org/pkg/siunitx}}.
+
+\begin{table}[htbp]
+\floatconts
+  {tab:example-siunitx}
+  {\caption{A Table With Numbers Aligned on the Decimal Point}}
+  {\begin{tabular}{lS}
+  \bfseries Dataset & {\bfseries Result}\\
+  Data1 & 0.12345\\
+  Data2 & 10.6789\\
+  Data3 & 50.543\\
+  Data4 & 200.09876
+  \end{tabular}}
+\end{table}
+
+If the table is too wide, you can adjust the inter-column
+spacing by changing the value of \verb|\tabcolsep|. For
+example:
+\begin{verbatim}
+\setlength{\tabcolsep}{3pt}
+\end{verbatim}
+If the table is very wide but not very long, you can use the
+\texttt{sidewaystable} environment defined in the
+\textsf{rotating} package (so use \verb|\usepackage{rotating}|).
+If the table is too long to fit on a page, you should use the
+\texttt{longtable} environment defined in the \textsf{longtable}
+package (so use \verb|\usepackage{longtable}|).
+
+\subsection{Figures}
+\label{sec:figures}
+
+Figures should go in the \texttt{figure} environment. Within this
+environment, use \verb|\floatconts| to correctly position the
+caption and center the image. Use \verb|\includegraphics|
+for external graphics files but omit the file extension. Do not
+use \verb|\epsfig| or \verb|\psfig|. If you want to scale the
+image, it's better to use a fraction of the line width rather
+than an explicit length. For example, see \figureref{fig:image}.
+
+\begin{figure}[htbp]
+ % Caption and label go in the first argument and the figure contents
+ % go in the second argument
+\floatconts
+  {fig:image}
+  {\caption{Example Image}}
+  {\includegraphics[width=0.5\linewidth]{example-image}}
+\end{figure}
+
+If your image is made up of \LaTeX\ code (for example, commands
+provided by the \textsf{pgf} package) you can include it using
+\cs{includeteximage} (defined by the \textsf{jmlr} class). This
+can be scaled and rotated in the same way as \cs{includegraphics}.
+For example, see \figureref{fig:teximage}.
+
+\begin{figure}[htbp]
+\floatconts
+  {fig:teximage}
+  {\caption{Image Created Using \LaTeX\ Code}}
+  {\includeteximage[angle=45]{example-teximage}}
+\end{figure}
+
+If the figure is too wide to fit on the page, you can use the
+\texttt{sidewaysfigure} environment defined in the
+\textsf{rotating} package.
+
+It's best not to use \verb|\graphicspath| with the \textsf{jmlr} class
+as it can cause problems with the production editing process. If the
+images are contained in a subdirectory, specify this when you
+include the image, for example \verb|\includegraphics{figures/mypic}|.
+
+\subsection{Sub-Figures}
+\label{sec:subfigures}
+
+Sub-figures can be created using \verb|\subfigure|, which is
+defined by the \textsf{jmlr} class. The optional argument allows
+you to provide a subcaption. The label should be placed in the
+mandatory argument of \verb|\subfigure|. You can reference the
+entire figure, for example \figureref{fig:subfigex}, or you can
+reference part of the figure using \verb|\figureref|, for example
+\figureref{fig:image-a}. Alternatively you can reference the
+subfigure using \verb|\subfigref|, for example
+\subfigref{fig:image-a,fig:image-b} in \figureref{fig:subfigex}.
+
+\begin{figure}[htbp]
+\floatconts
+  {fig:subfigex}
+  {\caption{An Example With Sub-Figures.}}
+  {%
+    \subfigure[Image A]{\label{fig:image-a}%
+      \includegraphics[width=0.2\linewidth]{example-image-a}}%
+    \qquad
+    \subfigure[Image B]{\label{fig:image-b}%
+      \includegraphics[width=0.25\linewidth]{example-image-b}}
+  }
+\end{figure}
+
+By default, the sub-figures are aligned on the baseline.
+This can be changed using the second optional argument
+of \verb|\subfigure|. This may be \texttt{t} (top), \texttt{c}
+(centered) or \texttt{b} (bottom). For example, the subfigures
+\subfigref{fig:image-a2,fig:image-b2} in \figureref{fig:subfigex2}
+both have \verb|[c]| as the second optional argument.
+
+\begin{figure}[htbp]
+\floatconts
+  {fig:subfigex2}
+  {\caption{Another Example With Sub-Figures (with a Cramped
+    Sub-Caption).}}
+  {%
+    \subfigure[Image A][c]{\label{fig:image-a2}%
+      \includegraphics[width=0.1\linewidth]{example-image-a}}%
+    \qquad
+    \subfigure[Image B][c]{\label{fig:image-b2}%
+      \includegraphics[width=0.3\linewidth]{example-image-b}}
+  }%
+\end{figure}
+
+Note that a very narrow sub-float will leave little space for the
+sub-caption, which will likely cause Underfull/Overfull hbox warnings.
+
+You can set the length \verb|\jmlrminsubcaptionwidth| to indicate
+the minimum width to be made available for the sub-captions, as in
+\figureref{fig:subfigex3}.
+
+\begin{figure}[htbp]
+\floatconts
+  {fig:subfigex3}
+  {\caption{Another Example With Sub-Figures (with a Less Cramped
+    Sub-Caption).}}
+  {\setlength{\jmlrminsubcaptionwidth}{0.2\linewidth}%
+    \subfigure[Image A][c]{\label{fig:image-a3}%
+     \includegraphics[width=0.1\linewidth]{example-image-a}}%
+    \qquad
+    \subfigure[Image B][c]{\label{fig:image-b3}%
+      \includegraphics[width=0.2\linewidth]{example-image-b}}
+  }%
+\end{figure}
+
+\subsection{Sub-Tables}
+\label{sec:subtables}
+There is an analogous command \verb|\subtable| for sub-tables.
+It has the same syntax as \verb|\subfigure| described above.
+You can reference the table using \verb|\tableref|, for example
+\tableref{tab:subtabex} or you can reference part of the table,
+for example \tableref{tab:ab}. Alternatively you can reference the
+subtable using \verb|\subtabref|, for example
+\subtabref{tab:ab,tab:cd} in \tableref{tab:subtabex}.
+
+\begin{table}[htbp]
+\floatconts
+ {tab:subtabex}
+ {\caption{An Example With Sub-Tables}}
+ {%
+   \subtable{%
+     \label{tab:ab}%
+     \begin{tabular}{cc}
+     \bfseries A & \bfseries B\\
+     1 & 2
+     \end{tabular}
+   }\qquad
+   \subtable{%
+     \label{tab:cd}%
+     \begin{tabular}{cc}
+     \bfseries C & \bfseries D\\
+     3 & 4\\
+     5 & 6
+     \end{tabular}
+   }
+ }
+\end{table}
+
+By default, the sub-tables are aligned on the top.
+This can be changed using the second optional argument
+of \verb|\subtable|. This may be \texttt{t} (top), \texttt{c}
+(centered) or \texttt{b} (bottom). For example, the sub-tables
+\subtabref{tab:ab2,tab:cd2} in \tableref{tab:subtabex2}
+both have \verb|[c]| as the second optional argument.
+
+\begin{table}[htbp]
+\floatconts
+ {tab:subtabex2}
+ {\caption{Another Example With Sub-Tables}}
+ {%
+   \subtable[][c]{%
+     \label{tab:ab2}%
+     \begin{tabular}{cc}
+     \bfseries A & \bfseries B\\
+     1 & 2
+     \end{tabular}
+   }\qquad
+   \subtable[][c]{%
+     \label{tab:cd2}%
+     \begin{tabular}{cc}
+     \bfseries C & \bfseries D\\
+     3 & 4\\
+     5 & 6
+     \end{tabular}
+   }
+ }
+\end{table}
+
+\subsection{Algorithms}
+\label{sec:algorithms}
+
+Enumerated textual algorithms can be displayed using the
+\texttt{algorithm} environment. Within this environment, use
+use an \texttt{enumerate} or nested \texttt{enumerate} environments.
+For example, see \algorithmref{alg:gauss}. Note that algorithms
+float like figures and tables.
+
+\begin{algorithm}[htbp]
+\floatconts
+{alg:gauss}% label
+{\caption{The Gauss-Seidel Algorithm}}
+{% contents
+\begin{enumerate}
+  \item For $k=1$ to maximum number of iterations
+    \begin{enumerate}
+      \item For $i=1$ to $n$
+        \begin{enumerate}
+        \item $x_i^{(k)} = 
+          \frac{b_i - \sum_{j=1}^{i-1}a_{ij}x_j^{(k)}
+          - \sum_{j=i+1}^{n}a_{ij}x_j^{(k-1)}}{a_{ii}}$
+        \item If $\|\vec{x}^{(k)}-\vec{x}^{(k-1)} < \epsilon\|$,
+          where $\epsilon$ is a specified stopping criteria, stop.
+      \end{enumerate}
+    \end{enumerate}
+\end{enumerate}
+}
+\end{algorithm}
+
+If you'd rather have the same numbering throughout the algorithm
+but still want the convenient indentation of nested 
+\texttt{enumerate} environments, you can use the
+\texttt{enumerate*} environment provided by the \textsf{jmlr}
+class. For example, see \algorithmref{alg:moore}.
+
+\begin{algorithm}
+\floatconts
+{alg:moore}% label
+{\caption{Moore's Shortest Path}}%caption
+{% main float content
+Given a connected graph $G$, where the length of each edge is 1:
+\begin{enumerate*}
+  \item Set the label of vertex $s$ to 0
+  \item Set $i=0$
+  \begin{enumerate*}
+    \item \label{step:locate}Locate all unlabelled vertices 
+          adjacent to a vertex labelled $i$ and label them $i+1$
+    \item If vertex $t$ has been labelled,
+    \begin{enumerate*}
+      \item[] the shortest path can be found by backtracking, and 
+      the length is given by the label of $t$.
+    \end{enumerate*}
+    otherwise
+    \begin{enumerate*}
+      \item[] increment $i$ and return to step~\ref{step:locate}
+    \end{enumerate*}
+  \end{enumerate*}
+\end{enumerate*}
+}
+\end{algorithm}
+
+Pseudo code can be displayed using the \texttt{algorithm2e}
+environment. This is defined by the \textsf{algorithm2e} package
+(which is automatically loaded) so check the \textsf{algorithm2e}
+documentation for further details.\footnote{Either \texttt{texdoc
+algorithm2e} or \url{http://www.ctan.org/pkg/algorithm2e}}
+For an example, see \algorithmref{alg:net}.
+
+\begin{algorithm2e}
+\caption{Computing Net Activation}
+\label{alg:net}
+ % older versions of algorithm2e have \dontprintsemicolon instead
+ % of the following:
+ %\DontPrintSemicolon
+ % older versions of algorithm2e have \linesnumbered instead of the
+ % following:
+ %\LinesNumbered
+\KwIn{$x_1, \ldots, x_n, w_1, \ldots, w_n$}
+\KwOut{$y$, the net activation}
+$y\leftarrow 0$\;
+\For{$i\leftarrow 1$ \KwTo $n$}{
+  $y \leftarrow y + w_i*x_i$\;
+}
+\end{algorithm2e}
+
+\section{Description Lists}
+
+The \textsf{jmlr} class also provides a description-like 
+environment called \texttt{altdescription}. This has an
+argument that should be the widest label in the list. Compare:
+\begin{description}
+\item[add] A method that adds two variables.
+\item[differentiate] A method that differentiates a function.
+\end{description}
+with
+\begin{altdescription}{differentiate}
+\item[add] A method that adds two variables.
+\item[differentiate] A method that differentiates a function.
+\end{altdescription}
+
+\section{Theorems, Lemmas etc}
+\label{sec:theorems}
+
+The following theorem-like environments are predefined by
+the \textsf{jmlr} class: \texttt{theorem}, \texttt{example},
+\texttt{lemma}, \texttt{proposition}, \texttt{remark}, 
+\texttt{corollary}, \texttt{definition}, \texttt{conjecture}
+and \texttt{axiom}. You can use the \texttt{proof} environment
+to display the proof if need be, as in \theoremref{thm:eigenpow}.
+
+\begin{theorem}[Eigenvalue Powers]\label{thm:eigenpow}
+If $\lambda$ is an eigenvalue of $\vec{B}$ with eigenvector
+$\vec{\xi}$, then $\lambda^n$ is an eigenvalue of $\vec{B}^n$
+with eigenvector $\vec{\xi}$.
+\begin{proof}
+Let $\lambda$ be an eigenvalue of $\vec{B}$ with eigenvector
+$\xi$, then
+\begin{align*}
+\vec{B}\vec{\xi} &= \lambda\vec{\xi}
+\intertext{premultiply by $\vec{B}$:}
+\vec{B}\vec{B}\vec{\xi} &= \vec{B}\lambda\vec{\xi}\\
+\Rightarrow \vec{B}^2\vec{\xi} &= \lambda\vec{B}\vec{\xi}\\
+&= \lambda\lambda\vec{\xi}\qquad
+\text{since }\vec{B}\vec{\xi}=\lambda\vec{\xi}\\
+&= \lambda^2\vec{\xi}
+\end{align*}
+Therefore true for $n=2$. Now assume true for $n=k$:
+\begin{align*}
+\vec{B}^k\vec{\xi} &= \lambda^k\vec{\xi}
+\intertext{premultiply by $\vec{B}$:}
+\vec{B}\vec{B}^k\vec{\xi} &= \vec{B}\lambda^k\vec{\xi}\\
+\Rightarrow \vec{B}^{k+1}\vec{\xi} &= \lambda^k\vec{B}\vec{\xi}\\
+&= \lambda^k\lambda\vec{\xi}\qquad
+\text{since }\vec{B}\vec{\xi}=\lambda\vec{\xi}\\
+&= \lambda^{k+1}\vec{\xi}
+\end{align*}
+Therefore true for $n=k+1$. Therefore, by induction, true for all
+$n$.
+\end{proof}
+\end{theorem}
+
+\begin{lemma}[A Sample Lemma]\label{lem:sample}
+This is a lemma.
+\end{lemma}
+
+\begin{remark}[A Sample Remark]\label{rem:sample}
+This is a remark.
+\end{remark}
+
+\begin{corollary}[A Sample Corollary]\label{cor:sample}
+This is a corollary.
+\end{corollary}
+
+\begin{definition}[A Sample Definition]\label{def:sample}
+This is a definition.
+\end{definition}
+
+\begin{conjecture}[A Sample Conjecture]\label{con:sample}
+This is a conjecture.
+\end{conjecture}
+
+\begin{axiom}[A Sample Axiom]\label{ax:sample}
+This is an axiom.
+\end{axiom}
+
+\begin{example}[An Example]\label{ex:sample}
+This is an example.
+\end{example}
+
+\section{Citations and Bibliography}
+\label{sec:cite}
+
+The \textsf{jmlr} class automatically loads \textsf{natbib}.
+This sample file has the citations defined in the accompanying
+BibTeX file \texttt{pmlr-sample.bib}. For a parenthetical
+citation use \verb|\citep|. For example
+\citep{guyon-elisseeff-03}. For a textual citation use
+\verb|\citet|. For example \citet{guyon2007causalreport}.
+Both commands may take a comma-separated list, for example
+\citet{guyon-elisseeff-03,guyon2007causalreport}.
+
+These commands have optional arguments and have a starred
+version. See the \textsf{natbib} documentation for further
+details.\footnote{Either \texttt{texdoc natbib} or
+\url{http://www.ctan.org/pkg/natbib}}
+
+The bibliography is displayed using \verb|\bibliography|.
+
+\acks{Acknowledgements go here.}
+
+\bibliography{jmlr-sample}
+
+\appendix
+
+\section{First Appendix}\label{apd:first}
+
+This is the first appendix.
+
+\section{Second Appendix}\label{apd:second}
+
+This is the second appendix.
+
+\end{document}


Property changes on: trunk/Master/texmf-dist/doc/latex/jmlr/pmlr-sample.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Deleted: trunk/Master/texmf-dist/doc/latex/jmlr/sample-books/bookLogo-gray.png
===================================================================
(Binary files differ)

Deleted: trunk/Master/texmf-dist/doc/latex/jmlr/sample-books/bookLogo.png
===================================================================
(Binary files differ)

Deleted: trunk/Master/texmf-dist/doc/latex/jmlr/sample-books/jmlrbook-sample.pdf
===================================================================
(Binary files differ)

Deleted: trunk/Master/texmf-dist/doc/latex/jmlr/sample-books/jmlrbook-sample.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/jmlr/sample-books/jmlrbook-sample.tex	2022-01-29 21:45:08 UTC (rev 61792)
+++ trunk/Master/texmf-dist/doc/latex/jmlr/sample-books/jmlrbook-sample.tex	2022-01-29 21:45:49 UTC (rev 61793)
@@ -1,247 +0,0 @@
- % Define \jmlrprehyperref to load packages before hyperref is
- % loaded
-\def\jmlrprehyperref{%
-  % Packages used by imported articles:
-  \usepackage{lipsum}
-  \usepackage{booktabs}
-  \usepackage{siunitx}
-}
-\documentclass[wcp,7x10]{jmlrbook}% on-line color version, 7inx10in
- %\documentclass[wcp,gray,7x10]{jmlrbook}% print version, 7inx10in
-
- % Load last
- \ifprint{}{\usepackage{bookmark}}
-
- % Title is added to the PDF properties. Optional argument
- % is used instead, if present.
- %\title[Short Title]{Big Long Title}
-\title{A Sample Book}
-
-\author[Anne Editor et al.]{Anne Editor, Anne Other Editor and Nicola Talbot}
-
- % change the arguments, as appropriate, in the following:
-\volume{1}
-\subtitle{Making a Book from JMLR Articles}
-\logo{\includegraphics{bookLogo}}
-\team{The Sample Book Team}
-
-\productioneditor{Nicola Talbot}
-
-\begin{document}
-\maketitle
-
-\frontmatter
-
-\chapter{Foreword}
-
-This is an example book that combines multiple articles. Each
-article uses the \textsf{jmlr} class file. \emph{The articles
-should not need to be edited in order to combine them using this
-class file.}\footnote{Unless the authors have done something
-weird or have used problematic packages.} In particular, you
-don't need to delete \verb|\documentclass|,
-\verb|\begin{document}| and \verb|\end{document}|. The articles
-should be able to compile on their own or as part of this book.
-
-In the preamble of the book, you need to include the packages
-that the articles include, but you don't need to include
-any packages that are automatically loaded by the \textsf{jmlr}
-class (\textsf{amsmath}, \textsf{amssymb}, \textsf{natbib},
-\textsf{graphicx}, \textsf{url}, \textsf{xcolor} and
-\textsf{algorithm2e}). You also don't need to include the
-\textsf{hyperref} and \textsf{combnat} packages as they are
-automatically loaded by \textsf{jmlrbook}. For example, some of the
-articles imported in this book use the \textsf{lipsum} package,
-so that package needs to be included in the preamble of the
-book.
-
-Commands defined in the imported articles will be local to that
-article unless \verb|\gdef| or \verb|\global| has been used. This
-means that if more than one article has defined the same command,
-there shouldn't be a conflict unless the command has been defined
-globally. For example, \texttt{paper1/paper1.tex} and
-\texttt{paper2/paper2.tex} both define \verb|\samplecommand|, but
-since \verb|\newcommand| has been used, rather than \verb|\gdef|,
-there's no conflict. However, a problem will occur if the same
-command is also defined in this document before either of those
-files are imported.
-
-Many packages must be loaded before \textsf{hyperref}. If these
-packages haven't been loaded by \textsf{jmlr}, you will need
-to specify them using \textsf{jmlrbook}'s \verb|\jmlrprehyperref|
-hook. For example, to load the packages ``foo'' and ``bar'':
-\begin{verbatim}
-\def\jmlrprehyperref{\usepackage{foo}\usepackage{bar}}
-\documentclass{jmlrbook}
-\end{verbatim}
-or:
-\begin{verbatim}
-\def\jmlrprehyperref{\usepackage{foo,bar}}
-\documentclass{jmlrbook}
-\end{verbatim}
-
-
-The imported papers need to be placed inside the 
-\texttt{jmlrpapers} environment. Papers that have already
-been published should be included using \verb|\importpubpaper|
-and papers that haven't been published elsewhere should be
-imported using \verb|\importarticle|. Both commands have an
-optional argument that specifies the prefix to use in the labels
-within the imported article. If omitted, the article's file
-name is used.
-
-Both articles and the book may have appendices and parts created.
-Parts are created using \verb|\part|\{\emph{title}\}. Switch
-to appendices using \verb|\appendix| and then use \verb|\chapter|
-(for the book) or \verb|\section| (in imported articles).
-
-Cross-referencing other parts of the book is done using the
-usual \verb|\label| and \verb|\ref| mechanism. The \textsf{jmlr}
-class additional provides convenience commands such as
-\verb|\sectionref| and \verb|\figureref|. Unlike \verb|\ref|,
-these commands may take a comma-separated list of labels as the
-argument.
-
-The \textsf{jmlrbook} additionally provides \verb|\chapterref|
-(which can take a comma-separated list of labels) and commands
-to reference imported articles (which take a single label
-as the argument): \verb|\articlepageref| (the starting page of
-the article), \verb|\articlepagesref| (the page range for the
-article), \verb|\articletitleref| (the short title for the
-article) and \verb|\articleauthorref| (the article's author).
-
-You may also cross-reference parts of the imported articles,
-but you need to prefix the label with the label supplied
-in the optional argument of \verb|\importpubpaper| or
-\verb|\importarticle|. (If omitted, this is given by 
-directory/file name.)
-
-For example, the first appendix in this book is
-\appendixref{apd:first}, but the first appendix in
-``\articletitleref{paper1/paper1}'' by
-\articleauthorref{paper1/paper1}
-(pp.~\articlepagesref{paper1/paper1}) is
-\appendixref{paper1/paper1apd:first}.
-Here's a reference to a couple of tables in 
-\articletitleref{paper1/paper1}:
-\tableref{paper1/paper1tab:sample,paper1/paper1tab:sample2}.
-
-The author of a foreword (or other chapter) can sign off using
-the \texttt{authorsignoff} environment. Each author should be
-specified using \verb|\Author|.
-
-\begin{authorsignoff}
-\Author{Nicola Talbot\\
-University of East Anglia}
-\end{authorsignoff}
-
-\begin{preface}
-The preface environment should be used for the preface if you want
-makejmlrbook to extract the preface and turn it into a standalone
-document.
-
-The editorial team can sign off at the end of the preface using
-the \texttt{signoff} environment. This has two arguments: the
-optional argument is a name for the editorial team (defaults to
-``The Editorial Team'') and the mandatory argument is the date.
-Within the environment, use \verb|\Editor| for each editor.
-
-\begin{signoff}{March 2010}
-% First editor:
-\Editor{Nicola Talbot\\
-University of East Anglia\\
-\mailto{N.Talbot at uea.ac.uk}}
-% Second editor:
-\Editor{Anne Editor\\
-University of Nowhere\\
-\mailto{ae at sample.com}}
-\end{signoff}
-
-\end{preface}
-
-\tableofcontents
-
-\mainmatter
-
-\part{First Part of the Book}
-
-\chapter{Introduction}
-
-This is an introduction to the book.
-
-\section{Sample Section}
-
-This is a section in the introduction.
-
-\subsection{Sample Sub-Section}
-
-This is a sub-section.
-
-\subsubsection{Sample Sub-Sub-Section}
-
-This is a sub-sub-section.
-
-\paragraph{Sample Sub-Sub-Sub-Section}
-
-This is a sub-sub-sub-section.
-
-\subparagraph{Sample Sub-Sub-Sub-Sub-Section}
-
-This is a sub-sub-sub-sub-section.
-
-% Add a part to the TOC but don't print anything
-\addtocpart{Papers Published in JMLR W\&CP}
-
-\begin{jmlrpapers}
-  % Prepublished papers are imported using:
-  % \importpubpaper[label]{dir}{file}{pages}
-  % pages refers to the page range in the original publication
-  % which doesn't necessarily correspond to the page numbers in
-  % this book.
-  \importpubpaper{paper1}{paper1}{23--45}
-
-  \importpubpaper{paper2}{paper2}{63--70}
-
-\end{jmlrpapers}
-
-% Add a part to the TOC but don't print anything
-\addtocpart{Unpublished Papers}
-
-\begin{jmlrpapers}
-  % Unpublished papers are imported using:
-  % \importarticle[label]{dir}{file}
-  \importarticle{paper3}{paper3}
-
-  \importarticle{paper4}{paper4}
-\end{jmlrpapers}
-
-\appendix
-
-\part{First Part of Appendices}\label{pt:apd1}
-
-\chapter*{Introduction}
-
-This is an introduction to \partref{pt:apd1}.
-
-\chapter{First Appendix}
-\label{apd:first}
-
-This is an appendix.
-
-\chapter{Second Appendix}
-\label{apd:second}
-
-This is another appendix.
-
-\lipsum
-
-\part{Second Part of Appendices}
-
-\chapter{An Appendix}
-\label{apd:third}
-
-This is an appendix in another part.
-
-\lipsum
-
-\end{document}

Deleted: trunk/Master/texmf-dist/doc/latex/jmlr/sample-books/proceedings-sample.pdf
===================================================================
(Binary files differ)

Deleted: trunk/Master/texmf-dist/doc/latex/jmlr/sample-books/proceedings-sample.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/jmlr/sample-books/proceedings-sample.tex	2022-01-29 21:45:08 UTC (rev 61792)
+++ trunk/Master/texmf-dist/doc/latex/jmlr/sample-books/proceedings-sample.tex	2022-01-29 21:45:49 UTC (rev 61793)
@@ -1,79 +0,0 @@
- % Most packages need to be loaded before hyperref
- % so put them in the definition of \jmlrprehyperref
-
-\def\jmlrprehyperref{%
- % Packages used by imported articles:
- \usepackage{lipsum}
-}
-
-%\documentclass[wcp,gray]{jmlrbook}
-\documentclass[wcp]{jmlrbook}
-
-\usepackage[T1]{fontenc}
-\usepackage[utf8]{inputenc}
-
-\ifprint{}{\usepackage{bookmark}}% load last
-
- % Title is added to the PDF properties. Optional argument
- % is used instead, if present.
- %\title[Short Title]{Big Long Title}
-\title{Sample Proceedings}
-
-\author[Anne Editor et al.]{Anne Editor, Anne Other Editor and Nicola Talbot}
-
-\subtitle{\thejmlrworkshop}
-
-\jmlrvolume{42}
-\jmlryear{2010}
-\jmlrworkshop{Workshop on Causality}
-\jmlrlocation{Somewhere}
-
-\logo{\includegraphics{bookLogo}}
-
-\begin{document}
-\maketitle
-
-\frontmatter
-
-\chapter{Foreword}
-
-This is the foreword.
-
-\begin{authorsignoff}
-\Author{Nicola Talbot\\
-University of East Anglia}
-\end{authorsignoff}
-
-\begin{preface}
-
-This is the preface.
-
-\begin{signoff}{March 2010}
- % First editor:
-\Editor{Anne Editor\\
-University of Nowhere\\
-\mailto{ae at sample.com}}
- % Second editor:
-\Editor{Anne Other Editor\\
-University of Nowhere\\
-\mailto{aoe at sample.com}}
-\end{signoff}
-
-\end{preface}
-
-\tableofcontents
-
-\mainmatter
-
-\begin{jmlrpapers}
-  \addtocpart{Introduction}
-  % syntax: \importpaper[label]{directory}{filename}
-  \importpaper{paper1}{paper1}
-  \addtocpart{First Topic}
-  \importpaper{paper2}{paper2}
-  \importpaper{paper3}{paper3}
-  \addtocpart{Second Topic}
-  \importpaper{paper4}{paper4}
-\end{jmlrpapers}
-
-\end{document}

Deleted: trunk/Master/texmf-dist/doc/latex/jmlr/sample-papers/jmlr-sample.bib
===================================================================
--- trunk/Master/texmf-dist/doc/latex/jmlr/sample-papers/jmlr-sample.bib	2022-01-29 21:45:08 UTC (rev 61792)
+++ trunk/Master/texmf-dist/doc/latex/jmlr/sample-papers/jmlr-sample.bib	2022-01-29 21:45:49 UTC (rev 61793)
@@ -1,19 +0,0 @@
- at article{guyon-elisseeff-03,
-  title   = "An Introduction to Variable and Feature Selection",
-  author  = "I. Guyon and A. Elisseeff",
-  journal = "JMLR",
-  volume  = "3",
-  month   = MAR,
-  pages   = "1157-1182",
-  year    = 2003
-}
-
- at techreport{guyon2007causalreport,
-  author      = {I. Guyon and C. Aliferis and A. Elisseeff},
-  title       = {Causal Feature Selection},
-  institution = {Clopinet},
-  year        = 2007,
-  type        = {Technical Report },
-  source      = {\url{http://clopinet.com/isabelle/Papers/causalFS.pdf}}
-}
-

Deleted: trunk/Master/texmf-dist/doc/latex/jmlr/sample-papers/jmlr-sample.pdf
===================================================================
(Binary files differ)

Deleted: trunk/Master/texmf-dist/doc/latex/jmlr/sample-papers/jmlr-sample.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/jmlr/sample-papers/jmlr-sample.tex	2022-01-29 21:45:08 UTC (rev 61792)
+++ trunk/Master/texmf-dist/doc/latex/jmlr/sample-papers/jmlr-sample.tex	2022-01-29 21:45:49 UTC (rev 61793)
@@ -1,837 +0,0 @@
- % use the "wcp" class option for workshop and conference
- % proceedings
- %\documentclass[gray]{jmlr} % test grayscale version
- \documentclass[tablecaption=bottom]{jmlr}% journal article
- %\documentclass[tablecaption=bottom,wcp]{jmlr} % W&CP article
-
- % The following packages will be automatically loaded:
- % amsmath, amssymb, natbib, graphicx, url, algorithm2e
-
- %\usepackage{rotating}% for sideways figures and tables
- %\usepackage{longtable}% for long tables
-
- % The booktabs package is used by this sample document
- % (it provides \toprule, \midrule and \bottomrule).
- % Remove the next line if you don't require it.
-\usepackage{booktabs}
- % The siunitx package is used by this sample document
- % to align numbers in a column by their decimal point.
- % Remove the next line if you don't require it.
-\usepackage[load-configurations=version-1]{siunitx} % newer version
- %\usepackage{siunitx}
-
- % The following command is just for this sample document:
-\newcommand{\cs}[1]{\texttt{\char`\\#1}}% remove this in your real article
-
- % Define an unnumbered theorem just for this sample document for
- % illustrative purposes:
-\theorembodyfont{\upshape}
-\theoremheaderfont{\scshape}
-\theorempostheader{:}
-\theoremsep{\newline}
-\newtheorem*{note}{Note}
-
- % change the arguments, as appropriate, in the following:
-\jmlrvolume{1}
-\jmlryear{2010}
-\jmlrsubmitted{submission date}
-\jmlrpublished{publication date}
-\jmlrworkshop{workshop title} % W&CP title
-
- % The optional argument of \title is used in the header
-\title[Short Title]{Full Title of Article\titlebreak This Title Has
-A Line Break}
-
- % Anything in the title that should appear in the main title but 
- % not in the article's header or the volume's table of
- % contents should be placed inside \titletag{}
-
- %\title{Title of the Article\titletag{\thanks{Some footnote}}}
-
-
- % Use \Name{Author Name} to specify the name.
- % If the surname contains spaces, enclose the surname
- % in braces, e.g. \Name{John {Smith Jones}} similarly
- % if the name has a "von" part, e.g \Name{Jane {de Winter}}.
- % If the first letter in the forenames is a diacritic
- % enclose the diacritic in braces, e.g. \Name{{\'E}louise Smith}
-
- % \thanks must come after \Name{...} not inside the argument for
- % example \Name{John Smith}\nametag{\thanks{A note}} NOT \Name{John
- % Smith\thanks{A note}}
-
- % Anything in the name that should appear in the title but not in the 
- % article's header or footer or in the volume's
- % table of contents should be placed inside \nametag{}
-
- % Two authors with the same address
-  \author{\Name{Author Name1\nametag{\thanks{A note}}} \Email{abc at sample.com}\and
-   \Name{Author Name2} \Email{xyz at sample.com}\\
-   \addr Address}
-
- % Three or more authors with the same address:
- % \author{\Name{Author Name1} \Email{an1 at sample.com}\\
- %  \Name{Author Name2} \Email{an2 at sample.com}\\
- %  \Name{Author Name3} \Email{an3 at sample.com}\\
- %  \Name{Author Name4} \Email{an4 at sample.com}\\
- %  \Name{Author Name5} \Email{an5 at sample.com}\\
- %  \Name{Author Name6} \Email{an6 at sample.com}\\
- %  \Name{Author Name7} \Email{an7 at sample.com}\\
- %  \Name{Author Name8} \Email{an8 at sample.com}\\
- %  \Name{Author Name9} \Email{an9 at sample.com}\\
- %  \Name{Author Name10} \Email{an10 at sample.com}\\
- %  \Name{Author Name11} \Email{an11 at sample.com}\\
- %  \Name{Author Name12} \Email{an12 at sample.com}\\
- %  \Name{Author Name13} \Email{an13 at sample.com}\\
- %  \Name{Author Name14} \Email{an14 at sample.com}\\
- %  \addr Address}
-
-
- % Authors with different addresses:
- % \author{\Name{Author Name1} \Email{abc at sample.com}\\
- % \addr Address 1
- % \AND
- % \Name{Author Name2} \Email{xyz at sample.com}\\
- % \addr Address 2
- %}
-
-\editor{Editor's name}
- %\editors{Editor One and Editor Two}% for multiple editors
-
-\begin{document}
-
-\maketitle
-
-\begin{abstract}
-This is the abstract for this article.
-\end{abstract}
-\begin{keywords}
-List of keywords
-\end{keywords}
-
-\section{Introduction}
-\label{sec:intro}
-
-This is a sample article that uses the \textsf{jmlr} class with
-the \texttt{wcp} class option.  Please follow the guidelines in
-this sample document as it can help to reduce complications when
-combining the articles into a book. Please avoid using obsolete
-commands, such as \verb|\rm|, and obsolete packages, such as
-\textsf{epsfig}.\footnote{See
-\url{http://www.ctan.org/pkg/l2tabu}} Some packages that are known
-to cause problems for the production editing process are checked for
-by the \textsf{jmlr} class and will generate an error.
-
-Please also ensure that your document will compile with PDF\LaTeX.
-If you have an error message that's puzzling you, first check for it
-at the UK TUG FAQ
-\url{https://texfaq.org/FAQ-man-latex}.  If
-that doesn't help, create a minimal working example (see
-\url{https://www.dickimaw-books.com/latex/minexample/}) and post
-to somewhere like \TeX\ on StackExchange
-(\url{https://tex.stackexchange.com/}) or the \LaTeX\ Community Forum
-(\url{https://latex.org/forum/}).
-
-\begin{note}
-This is an numbered theorem-like environment that was defined in
-this document's preamble.
-\end{note}
-
-\subsection{Sub-sections}
-
-Sub-sections are produced using \verb|\subsection|.
-
-\subsubsection{Sub-sub-sections}
-
-Sub-sub-sections are produced using \verb|\subsubsection|.
-
-\paragraph{Sub-sub-sub-sections}
-
-Sub-sub-sub-sections are produced using \verb|\paragraph|.
-These are unnumbered with a running head.
-
-\subparagraph{Sub-sub-sub-sub-sections}
-
-Sub-sub-sub-sub-sections are produced using \verb|\subparagraph|.
-These are unnumbered with a running head.
-
-\section{Cross-Referencing}
-
-Always use \verb|\label| and \verb|\ref| (or one of the commands
-described below) when cross-referencing.  For example, the next
-section is Section~\ref{sec:math} but you can also refer to it using
-\sectionref{sec:math}. The \textsf{jmlr} class
-provides some convenient cross-referencing commands:
-\verb|\sectionref|, \verb|\equationref|, \verb|\tableref|,
-\verb|\figureref|, \verb|\algorithmref|, \verb|\theoremref|,
-\verb|\lemmaref|, \verb|\remarkref|, \verb|\corollaryref|,
-\verb|\definitionref|, \verb|\conjectureref|, \verb|\axiomref|,
-\verb|\exampleref| and \verb|\appendixref|. The argument of these
-commands may either be a single label or a comma-separated list
-of labels. Examples:
-
-Referencing sections: \sectionref{sec:math} or
-\sectionref{sec:intro,sec:math} or
-\sectionref{sec:intro,sec:math,sec:tables,sec:figures}.
-
-Referencing equations: \equationref{eq:trigrule} or
-\equationref{eq:trigrule,eq:df} or
-\equationref{eq:trigrule,eq:f,eq:df,eq:y}.
-
-Referencing tables: \tableref{tab:operatornames} or
-\tableref{tab:operatornames,tab:example} or
-\tableref{tab:operatornames,tab:example,tab:example-booktabs}.
-
-Referencing figures: \figureref{fig:nodes} or
-\figureref{fig:nodes,fig:teximage} or
-\figureref{fig:nodes,fig:teximage,fig:subfigex} or
-\figureref{fig:circle,fig:square}.
-
-Referencing algorithms: \algorithmref{alg:gauss} or
-\algorithmref{alg:gauss,alg:moore} or
-\algorithmref{alg:gauss,alg:moore,alg:net}.
-
-Referencing theorem-like environments: \theoremref{thm:eigenpow},
-\lemmaref{lem:sample}, \remarkref{rem:sample}, 
-\corollaryref{cor:sample}, \definitionref{def:sample},
-\conjectureref{con:sample}, \axiomref{ax:sample} and
-\exampleref{ex:sample}.
-
-Referencing appendices: \appendixref{apd:first} or
-\appendixref{apd:first,apd:second}.
-
-\section{Equations}
-\label{sec:math}
-
-The \textsf{jmlr} class loads the \textsf{amsmath} package, so
-you can use any of the commands and environments defined there.
-(See the \textsf{amsmath} documentation for further
-details.\footnote{Either \texttt{texdoc amsmath} or
-\url{http://www.ctan.org/pkg/amsmath}})
-
-Unnumbered single-lined equations should be displayed using
-\verb|\[| and \verb|\]|. For example:
-\[E = m c^2\]
-or you can use the \texttt{displaymath} environment:
-\begin{displaymath}
-E = m c^2
-\end{displaymath}
-Numbered single-line equations should be displayed using the
-\texttt{equation} environment. For example:
-\begin{equation}\label{eq:trigrule}
-\cos^2\theta + \sin^2\theta \equiv 1
-\end{equation}
-This can be referenced using \verb|\label| and \verb|\equationref|.
-For example, \equationref{eq:trigrule}.
-
-Multi-lined numbered equations should be displayed using the
-\texttt{align} environment.\footnote{For reasons why you 
-shouldn't use the obsolete \texttt{eqnarray} environment, see
-Lars Madsen, \emph{Avoid eqnarray!} TUGboat 33(1):21--25, 2012.} For example:
-\begin{align}
-f(x) &= x^2 + x\label{eq:f}\\
-f'(x) &= 2x + 1\label{eq:df}
-\end{align}
-Unnumbered multi-lined equations can be displayed using the
-\texttt{align*} environment. For example:
-\begin{align*}
-f(x) &= (x+1)(x-1)\\
-&= x^2 - 1
-\end{align*}
-If you want to mix numbered with unnumbered lines use the
-\texttt{align} environment and suppress unwanted line numbers with
-\verb|\nonumber|. For example:
-\begin{align}
-y &= x^2 + 3x - 2x + 1\nonumber\\
-&= x^2 + x + 1\label{eq:y}
-\end{align}
-An equation that is too long to fit on a single line can be
-displayed using the \texttt{split} environment. 
-Text can be embedded in an equation using \verb|\text| or
-\verb|\intertext| (as used in \theoremref{thm:eigenpow}).
-See the \textsf{amsmath} documentation for further details.
-
-\subsection{Operator Names}
-\label{sec:op}
-
-Predefined operator names are listed in \tableref{tab:operatornames}.
-For additional operators, either use \verb|\operatorname|,
-for example $\operatorname{var}(X)$ or declare it with
-\verb|\DeclareMathOperator|, for example
-\begin{verbatim}
-\DeclareMathOperator{\var}{var}
-\end{verbatim}
-and then use this new command. If you want limits that go above and
-below the operator (like \verb|\sum|) use the starred versions
-(\verb|\operatorname*| or \verb|\DeclareMathOperator*|).
-
-\begin{table*}[htbp]
-\floatconts
-  {tab:operatornames}%
-  {\caption{Predefined Operator Names (taken from 
-   \textsf{amsmath} documentation)}}%
-  {%
-\begin{tabular}{rlrlrlrl}
-\cs{arccos} & $\arccos$ &  \cs{deg} & $\deg$ &  \cs{lg} & $\lg$ &  \cs{projlim} & $\projlim$ \\
-\cs{arcsin} & $\arcsin$ &  \cs{det} & $\det$ &  \cs{lim} & $\lim$ &  \cs{sec} & $\sec$ \\
-\cs{arctan} & $\arctan$ &  \cs{dim} & $\dim$ &  \cs{liminf} & $\liminf$ &  \cs{sin} & $\sin$ \\
-\cs{arg} & $\arg$ &  \cs{exp} & $\exp$ &  \cs{limsup} & $\limsup$ &  \cs{sinh} & $\sinh$ \\
-\cs{cos} & $\cos$ &  \cs{gcd} & $\gcd$ &  \cs{ln} & $\ln$ &  \cs{sup} & $\sup$ \\
-\cs{cosh} & $\cosh$ &  \cs{hom} & $\hom$ &  \cs{log} & $\log$ &  \cs{tan} & $\tan$ \\
-\cs{cot} & $\cot$ &  \cs{inf} & $\inf$ &  \cs{max} & $\max$ &  \cs{tanh} & $\tanh$ \\
-\cs{coth} & $\coth$ &  \cs{injlim} & $\injlim$ &  \cs{min} & $\min$ \\
-\cs{csc} & $\csc$ &  \cs{ker} & $\ker$ &  \cs{Pr} & $\Pr$
-\end{tabular}\par
-\begin{tabular}{rlrl}
-\cs{varlimsup} & $\varlimsup$ 
-& \cs{varinjlim} & $\varinjlim$\\
-\cs{varliminf} & $\varliminf$ 
-& \cs{varprojlim} & $\varprojlim$
-\end{tabular}
-}
-\end{table*}
-
-\section{Vectors and Sets}
-\label{sec:vec}
-
-Vectors should be typeset using \cs{vec}. For example $\vec{x}$.
-(The original version of \cs{vec} can also be accessed using
-\cs{orgvec}, for example $\orgvec{x}$.)
-The \textsf{jmlr} class also provides \cs{set} to typeset a
-set. For example $\set{S}$.
-
-\section{Floats}
-\label{sec:floats}
-
-Floats, such as figures, tables and algorithms, are moving
-objects and are supposed to float to the nearest convenient
-location. Please don't force them to go in a particular place. In
-general it's best to use the \texttt{htbp} specifier and don't
-put the figure or table in the middle of a paragraph (that is
-make sure there's a paragraph break above and below the float).
-Floats are supposed to have a little extra space above and below
-them to make them stand out from the rest of the text. This extra
-spacing is put in automatically and shouldn't need modifying.
-
-If your article will later be reprinted in the Challenges for
-Machine Learning, please be aware that the CiML books use a
-different paper size, so if you want to resize any images use a
-scale relative to the line width (\verb|\linewidth|), text width
-(\verb|\textwidth|) or text height (\verb|\textheight|).
-
-To ensure consistency, please \emph{don't} try changing the format of the caption by doing
-something like:
-\begin{verbatim}
-\caption{\textit{A Sample Caption.}}
-\end{verbatim}
-or
-\begin{verbatim}
-\caption{\em A Sample Caption.}
-\end{verbatim}
-You can, of course, change the font for individual words or 
-phrases, for example:
-\begin{verbatim}
-\caption{A Sample Caption With Some \emph{Emphasized Words}.}
-\end{verbatim}
-
-\subsection{Tables}
-\label{sec:tables}
-
-Tables should go in the \texttt{table} environment. Within this
-environment use \verb|\floatconts| (defined by \textsf{jmlr})
-to set the caption correctly and center the table contents.
-The location of the caption depends on the \verb|tablecaption|
-setting in the document class options.
-
-\begin{table}[htbp]
- % The first argument is the label.
- % The caption goes in the second argument, and the table contents
- % go in the third argument.
-\floatconts
-  {tab:example}%
-  {\caption{An Example Table}}%
-  {\begin{tabular}{ll}
-  \bfseries Dataset & \bfseries Result\\
-  Data1 & 0.12345\\
-  Data2 & 0.67890\\
-  Data3 & 0.54321\\
-  Data4 & 0.09876
-  \end{tabular}}
-\end{table}
-
-If you want horizontal rules you can use the \textsf{booktabs}
-package which provides the commands \verb|\toprule|, 
-\verb|\midrule| and \verb|\bottomrule|. For example, see
-\tableref{tab:example-booktabs}.
-
-\begin{table}[hbtp]
-\floatconts
-  {tab:example-booktabs}
-  {\caption{A Table With Horizontal Lines}}
-  {\begin{tabular}{ll}
-  \toprule
-  \bfseries Dataset & \bfseries Result\\
-  \midrule
-  Data1 & 0.12345\\
-  Data2 & 0.67890\\
-  Data3 & 0.54321\\
-  Data4 & 0.09876\\
-  \bottomrule
-  \end{tabular}}
-\end{table}
-
-If you really want vertical lines as well, you can't use the
-\textsf{booktabs} commands as there'll be some unwanted gaps.
-Instead you can use \LaTeX's \verb|\hline|, but the rows may
-appear a bit cramped.  You can add extra space above or below a
-row using \verb|\abovestrut| and \verb|\belowstrut|. For example,
-see \tableref{tab:example-hline}. However, you might want to read
-the \textsf{booktabs} documentation regarding the use of vertical
-lines.
-
-\begin{table}[htbp]
-\floatconts
-  {tab:example-hline}
-  {\caption{A Table With Horizontal and Vertical Lines}}%
-  {%
-    \begin{tabular}{|l|l|}
-    \hline
-    \abovestrut{2.2ex}\bfseries Dataset & \bfseries Result\\\hline
-    \abovestrut{2.2ex}Data1 & 0.12345\\
-    Data2 & 0.67890\\
-    Data3 & 0.54321\\
-    \belowstrut{0.2ex}Data4 & 0.09876\\\hline
-    \end{tabular}
-  }
-\end{table}
-
-If you want to align numbers on their decimal point, you can
-use the \textsf{siunitx} package. For example, see
-\tableref{tab:example-siunitx}. For further details see the
-\textsf{siunitx} documentation\footnote{Either \texttt{texdoc
-siunitx} or \url{http://www.ctan.org/pkg/siunitx}}.
-
-\begin{table}[htbp]
-\floatconts
-  {tab:example-siunitx}
-  {\caption{A Table With Numbers Aligned on the Decimal Point}}
-  {\begin{tabular}{lS[tabformat=3.5]}
-  \bfseries Dataset & {\bfseries Result}\\
-  Data1 & 0.12345\\
-  Data2 & 10.6789\\
-  Data3 & 50.543\\
-  Data4 & 200.09876
-  \end{tabular}}
-\end{table}
-
-If the table is too wide, you can adjust the inter-column
-spacing by changing the value of \verb|\tabcolsep|. For
-example:
-\begin{verbatim}
-\setlength{\tabcolsep}{3pt}
-\end{verbatim}
-If the table is very wide but not very long, you can use the
-\texttt{sidewaystable} environment defined in the
-\textsf{rotating} package (so use \verb|\usepackage{rotating}|).
-If the table is too long to fit on a page, you can use the
-\texttt{longtable} environment defined in the \textsf{longtable}
-package (so use \verb|\usepackage{longtable}|).
-
-\subsection{Figures}
-\label{sec:figures}
-
-Figures should go in the \texttt{figure} environment. Within this
-environment, use \verb|\floatconts| to correctly position the
-caption and center the image. Use \verb|\includegraphics|
-for external graphics files but omit the file extension. Do not
-use \verb|\epsfig| or \verb|\psfig|. If you want to scale the
-image, it's better to use a fraction of the line width rather
-than an explicit length. For example, see \figureref{fig:nodes}.
-
-\begin{figure}[htbp]
- % Caption and label go in the first argument and the figure contents
- % go in the second argument
-\floatconts
-  {fig:nodes}
-  {\caption{Example Image}}
-  {\includegraphics[width=0.5\linewidth]{images/nodes}}
-\end{figure}
-
-If your image is made up of \LaTeX\ code (for example, commands
-provided by the \textsf{pgf} package) you can include it using
-\cs{includeteximage} (defined by the \textsf{jmlr} class). This
-can be scaled and rotated in the same way as \cs{includegraphics}.
-For example, see \figureref{fig:teximage}.
-
-\begin{figure}[htbp]
-\floatconts
-  {fig:teximage}
-  {\caption{Image Created Using \LaTeX\ Code}}
-  {\includeteximage[angle=45]{images/teximage}}
-\end{figure}
-
-If the figure is too wide to fit on the page, you can use the
-\texttt{sidewaysfigure} environment defined in the
-\textsf{rotating} package.
-
-Don't use \verb|\graphicspath|.\footnote{This is specific to the
-\textsf{jmlr} class, not a general recommendation. The main file
-that generates the proceedings or the CiML book is typically in a
-different directory to the imported articles, so it modifies the
-graphics path when it imports an article.} If the images 
-are contained in a subdirectory, specify this when you include the image, for
-example \verb|\includegraphics{figures/mypic}|.
-
-\subsubsection{Sub-Figures}
-\label{sec:subfigures}
-
-Sub-figures can be created using \verb|\subfigure|, which is
-defined by the \textsf{jmlr} class. The optional argument allows
-you to provide a subcaption. The label should be placed in the
-mandatory argument of \verb|\subfigure|. You can reference the
-entire figure, for example \figureref{fig:subfigex}, or you can
-reference part of the figure using \verb|\figureref|, for example
-\figureref{fig:circle}. Alternatively you can reference the
-subfigure using \verb|\subfigref|, for example
-\subfigref{fig:circle,fig:square} in \figureref{fig:subfigex}.
-
-\begin{figure}[htbp]
-\floatconts
-  {fig:subfigex}
-  {\caption{An Example With Sub-Figures.}}
-  {%
-    \subfigure[A Circle]{\label{fig:circle}%
-      \includegraphics[width=0.2\linewidth]{images/circle}}%
-    \qquad
-    \subfigure[A Square]{\label{fig:square}%
-      \includegraphics[width=0.2\linewidth]{images/square}}
-  }
-\end{figure}
-
-By default, the sub-figures are aligned on the baseline.
-This can be changed using the second optional argument
-of \verb|\subfigure|. This may be \texttt{t} (top), \texttt{c}
-(centered) or \texttt{b} (bottom). For example, the subfigures
-\subfigref{fig:circle2,fig:square2} in \figureref{fig:subfigex2}
-both have \verb|[c]| as the second optional argument.
-
-\begin{figure}[htbp]
-\floatconts
-  {fig:subfigex2}
-  {\caption{Another Example With Sub-Figures.}}
-  {%
-    \subfigure[A Small Circle][c]{\label{fig:circle2}%
-      \includegraphics[width=0.1\linewidth]{images/circle}}%
-    \qquad
-    \subfigure[A Square][c]{\label{fig:square2}%
-      \includegraphics[width=0.2\linewidth]{images/square}}
-  }
-\end{figure}
-
-\subsection{Sub-Tables}
-\label{sec:subtables}
-There is an analogous command \verb|\subtable| for sub-tables.
-It has the same syntax as \verb|\subfigure| described above.
-You can reference the table using \verb|\tableref|, for example
-\tableref{tab:subtabex} or you can reference part of the table,
-for example \tableref{tab:ab}. Alternatively you can reference the
-subtable using \verb|\subtabref|, for example
-\subtabref{tab:ab,tab:cd} in \tableref{tab:subtabex}.
-
-\begin{table}[htbp]
-\floatconts
- {tab:subtabex}
- {\caption{An Example With Sub-Tables}}
- {%
-   \subtable{%
-     \label{tab:ab}%
-     \begin{tabular}{cc}
-     \bfseries A & \bfseries B\\
-     1 & 2
-     \end{tabular}
-   }\qquad
-   \subtable{%
-     \label{tab:cd}%
-     \begin{tabular}{cc}
-     \bfseries C & \bfseries D\\
-     3 & 4\\
-     5 & 6
-     \end{tabular}
-   }
- }
-\end{table}
-
-By default, the sub-tables are aligned on the top.
-This can be changed using the second optional argument
-of \verb|\subtable|. This may be \texttt{t} (top), \texttt{c}
-(centered) or \texttt{b} (bottom). For example, the sub-tables
-\subtabref{tab:ab2,tab:cd2} in \tableref{tab:subtabex2}
-both have \verb|[c]| as the second optional argument.
-
-\begin{table}[htbp]
-\floatconts
- {tab:subtabex2}
- {\caption{Another Example With Sub-Tables}}
- {%
-   \subtable[][c]{%
-     \label{tab:ab2}%
-     \begin{tabular}{cc}
-     \bfseries A & \bfseries B\\
-     1 & 2
-     \end{tabular}
-   }\qquad
-   \subtable[][c]{%
-     \label{tab:cd2}%
-     \begin{tabular}{cc}
-     \bfseries C & \bfseries D\\
-     3 & 4\\
-     5 & 6
-     \end{tabular}
-   }
- }
-\end{table}
-
-\subsection{Algorithms}
-\label{sec:algorithms}
-
-Enumerated textual algorithms can be displayed using the
-\texttt{algorithm} environment. Within this environment, use
-\verb|\caption| to set the caption and you can use an
-\texttt{enumerate} or nested \texttt{enumerate} environments.
-For example, see \algorithmref{alg:gauss}. Note that algorithms
-float like figures and tables.
-
-\begin{algorithm}[htbp]
-\floatconts
-  {alg:gauss}%
-  {\caption{The Gauss-Seidel Algorithm}}%
-{%
-\begin{enumerate}
-  \item For $k=1$ to maximum number of iterations
-    \begin{enumerate}
-      \item For $i=1$ to $n$
-        \begin{enumerate}
-        \item $x_i^{(k)} = 
-          \frac{b_i - \sum_{j=1}^{i-1}a_{ij}x_j^{(k)}
-          - \sum_{j=i+1}^{n}a_{ij}x_j^{(k-1)}}{a_{ii}}$
-        \item If $\|\vec{x}^{(k)}-\vec{x}^{(k-1)} < \epsilon\|$,
-          where $\epsilon$ is a specified stopping criteria, stop.
-      \end{enumerate}
-    \end{enumerate}
-\end{enumerate}
-}%
-\end{algorithm}
-
-If you'd rather have the same numbering throughout the algorithm
-but still want the convenient indentation of nested 
-\texttt{enumerate} environments, you can use the
-\texttt{enumerate*} environment provided by the \textsf{jmlr}
-class. For example, see \algorithmref{alg:moore}.
-
-\begin{algorithm}
-\floatconts
-  {alg:moore}%
-  {\caption{Moore's Shortest Path}}%
-{%
-Given a connected graph $G$, where the length of each edge is 1:
-\begin{enumerate*}
-  \item Set the label of vertex $s$ to 0
-  \item Set $i=0$
-  \begin{enumerate*}
-    \item \label{step:locate}Locate all unlabelled vertices 
-          adjacent to a vertex labelled $i$ and label them $i+1$
-    \item If vertex $t$ has been labelled,
-    \begin{enumerate*}
-      \item[] the shortest path can be found by backtracking, and 
-      the length is given by the label of $t$.
-    \end{enumerate*}
-    otherwise
-    \begin{enumerate*}
-      \item[] increment $i$ and return to step~\ref{step:locate}
-    \end{enumerate*}
-  \end{enumerate*}
-\end{enumerate*}
-}%
-\end{algorithm}
-
-Pseudo code can be displayed using the \texttt{algorithm2e}
-environment. This is defined by the \textsf{algorithm2e} package
-(which is automatically loaded) so check the \textsf{algorithm2e}
-documentation for further details.\footnote{Either \texttt{texdoc
-algorithm2e} or \url{http://www.ctan.org/pkg/algorithm2e}}
-For an example, see \algorithmref{alg:net}.
-
-\begin{algorithm2e}
-\caption{Computing Net Activation}
-\label{alg:net}
- % older versions of algorithm2e have \dontprintsemicolon instead
- % of the following:
- %\DontPrintSemicolon
- % older versions of algorithm2e have \linesnumbered instead of the
- % following:
- %\LinesNumbered
-\KwIn{$x_1, \ldots, x_n, w_1, \ldots, w_n$}
-\KwOut{$y$, the net activation}
-$y\leftarrow 0$\;
-\For{$i\leftarrow 1$ \KwTo $n$}{
-  $y \leftarrow y + w_i*x_i$\;
-}
-\end{algorithm2e}
-
-\section{Description Lists}
-
-The \textsf{jmlr} class also provides a description-like 
-environment called \texttt{altdescription}. This has an
-argument that should be the widest label in the list. Compare:
-\begin{description}
-\item[add] A method that adds two variables.
-\item[differentiate] A method that differentiates a function.
-\end{description}
-with
-\begin{altdescription}{differentiate}
-\item[add] A method that adds two variables.
-\item[differentiate] A method that differentiates a function.
-\end{altdescription}
-
-\section{Theorems, Lemmas etc}
-\label{sec:theorems}
-
-The following theorem-like environments are predefined by
-the \textsf{jmlr} class: \texttt{theorem}, \texttt{example},
-\texttt{lemma}, \texttt{proposition}, \texttt{remark}, 
-\texttt{corollary}, \texttt{definition}, \texttt{conjecture}
-and \texttt{axiom}. You can use the \texttt{proof} environment
-to display the proof if need be, as in \theoremref{thm:eigenpow}.
-
-\begin{theorem}[Eigenvalue Powers]\label{thm:eigenpow}
-If $\lambda$ is an eigenvalue of $\vec{B}$ with eigenvector
-$\vec{\xi}$, then $\lambda^n$ is an eigenvalue of $\vec{B}^n$
-with eigenvector $\vec{\xi}$.
-\begin{proof}
-Let $\lambda$ be an eigenvalue of $\vec{B}$ with eigenvector
-$\xi$, then
-\begin{align*}
-\vec{B}\vec{\xi} &= \lambda\vec{\xi}
-\intertext{premultiply by $\vec{B}$:}
-\vec{B}\vec{B}\vec{\xi} &= \vec{B}\lambda\vec{\xi}\\
-\Rightarrow \vec{B}^2\vec{\xi} &= \lambda\vec{B}\vec{\xi}\\
-&= \lambda\lambda\vec{\xi}\qquad
-\text{since }\vec{B}\vec{\xi}=\lambda\vec{\xi}\\
-&= \lambda^2\vec{\xi}
-\end{align*}
-Therefore true for $n=2$. Now assume true for $n=k$:
-\begin{align*}
-\vec{B}^k\vec{\xi} &= \lambda^k\vec{\xi}
-\intertext{premultiply by $\vec{B}$:}
-\vec{B}\vec{B}^k\vec{\xi} &= \vec{B}\lambda^k\vec{\xi}\\
-\Rightarrow \vec{B}^{k+1}\vec{\xi} &= \lambda^k\vec{B}\vec{\xi}\\
-&= \lambda^k\lambda\vec{\xi}\qquad
-\text{since }\vec{B}\vec{\xi}=\lambda\vec{\xi}\\
-&= \lambda^{k+1}\vec{\xi}
-\end{align*}
-Therefore true for $n=k+1$. Therefore, by induction, true for all
-$n$.
-\end{proof}
-\end{theorem}
-
-\begin{lemma}[A Sample Lemma]\label{lem:sample}
-This is a lemma.
-\end{lemma}
-
-\begin{remark}[A Sample Remark]\label{rem:sample}
-This is a remark.
-\end{remark}
-
-\begin{corollary}[A Sample Corollary]\label{cor:sample}
-This is a corollary.
-\end{corollary}
-
-\begin{definition}[A Sample Definition]\label{def:sample}
-This is a definition.
-\end{definition}
-
-\begin{conjecture}[A Sample Conjecture]\label{con:sample}
-This is a conjecture.
-\end{conjecture}
-
-\begin{axiom}[A Sample Axiom]\label{ax:sample}
-This is an axiom.
-\end{axiom}
-
-\begin{example}[An Example]\label{ex:sample}
-This is an example.
-\end{example}
-
-\section{Color vs Grayscale}
-\label{sec:color}
-
-It's helpful if authors supply grayscale versions of their
-images in the event that the article is to be incorporated into
-a black and white printed book. With external PDF, PNG or JPG
-graphic files, you just need to supply a grayscale version of the
-file. For example, if the file is called \texttt{myimage.png},
-then the gray version should be \texttt{myimage-gray.png} or
-\texttt{myimage-gray.pdf} or \texttt{myimage-gray.jpg}. You don't
-need to modify your code. The \textsf{jmlr} class checks for
-the existence of the grayscale version if it is print mode 
-(provided you have used \verb|\includegraphics| and haven't
-specified the file extension).
-
-You can use \verb|\ifprint| to determine which mode you are in.
-For example, in \figureref{fig:nodes}, the 
-\ifprint{dark gray}{purple} ellipse represents an input and the
-\ifprint{light gray}{yellow} ellipse represents an output.
-Another example: {\ifprint{\bfseries}{\color{red}}important text!}
-
-You can use the class option \texttt{gray} to see how the
-document will appear in gray scale mode. \textcolor{blue}{Colored
-text} will automatically be converted to gray scale in print mode.
-
-The \textsf{jmlr} class loads the \textsf{xcolor}
-package, so you can also define your own colors. For example:
-\ifprint
-  {\definecolor{myred}{gray}{0.5}}%
-  {\definecolor{myred}{rgb}{0.5,0,0}}%
-\textcolor{myred}{XYZ}.
-
-The \textsf{xcolor} class is loaded with the \texttt{x11names}
-option, so you can use any of the x11 predefined colors (listed
-in the \textsf{xcolor} documentation\footnote{either 
-\texttt{texdoc xcolor} or \url{http://www.ctan.org/pkg/xcolor}}).
-
-\section{Citations and Bibliography}
-\label{sec:cite}
-
-The \textsf{jmlr} class automatically loads \textsf{natbib}
-and automatically sets the bibliography style, so you don't need to
-use \verb|\bibliographystyle|.
-This sample file has the citations defined in the accompanying
-BibTeX file \texttt{jmlr-sample.bib}. For a parenthetical
-citation use \verb|\citep|. For example
-\citep{guyon-elisseeff-03}. For a textual citation use
-\verb|\citet|. For example \citet{guyon2007causalreport}. 
-Both commands may take a comma-separated list, for example
-\citet{guyon-elisseeff-03,guyon2007causalreport}.
-
-These commands have optional arguments and have a starred
-version. See the \textsf{natbib} documentation for further
-details.\footnote{Either \texttt{texdoc natbib} or
-\url{http://www.ctan.org/pkg/natbib}}
-
-The bibliography is displayed using \verb|\bibliography|.
-
-\acks{Acknowledgements go here.}
-
-\bibliography{jmlr-sample}
-
-\appendix
-
-\section{First Appendix}\label{apd:first}
-
-This is the first appendix.
-
-\section{Second Appendix}\label{apd:second}
-
-This is the second appendix.
-
-\end{document}

Deleted: trunk/Master/texmf-dist/doc/latex/jmlr/sample-papers/jmlrwcp-sample.pdf
===================================================================
(Binary files differ)

Deleted: trunk/Master/texmf-dist/doc/latex/jmlr/sample-papers/jmlrwcp-sample.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/jmlr/sample-papers/jmlrwcp-sample.tex	2022-01-29 21:45:08 UTC (rev 61792)
+++ trunk/Master/texmf-dist/doc/latex/jmlr/sample-papers/jmlrwcp-sample.tex	2022-01-29 21:45:49 UTC (rev 61793)
@@ -1,789 +0,0 @@
- %\documentclass[wcp,gray]{jmlr} % test grayscale version
- %\documentclass[wcp]{jmlr}% former name JMLR W\&CP
-\documentclass[pmlr]{jmlr}% new name PMLR (Proceedings of Machine Learning)
-
- % The following packages will be automatically loaded:
- % amsmath, amssymb, natbib, graphicx, url, algorithm2e
-
- %\usepackage{rotating}% for sideways figures and tables
-\usepackage{longtable}% for long tables
-
- % The booktabs package is used by this sample document
- % (it provides \toprule, \midrule and \bottomrule).
- % Remove the next line if you don't require it.
-\usepackage{booktabs}
- % The siunitx package is used by this sample document
- % to align numbers in a column by their decimal point.
- % Remove the next line if you don't require it.
-\usepackage[load-configurations=version-1]{siunitx} % newer version
- %\usepackage{siunitx}
-
- % The following command is just for this sample document:
-\newcommand{\cs}[1]{\texttt{\char`\\#1}}
-
- % Define an unnumbered theorem just for this sample document:
-\theorembodyfont{\upshape}
-\theoremheaderfont{\scshape}
-\theorempostheader{:}
-\theoremsep{\newline}
-\newtheorem*{note}{Note}
-
- % change the arguments, as appropriate, in the following:
-\jmlrvolume{1}
-\jmlryear{2010}
-\jmlrworkshop{Workshop Title}
-
-\title[Short Title]{Full Title of Article\titlebreak This Title Has
-A Line Break\titletag{\thanks{sample footnote}}}
-
- % Use \Name{Author Name} to specify the name.
- % If the surname contains spaces, enclose the surname
- % in braces, e.g. \Name{John {Smith Jones}} similarly
- % if the name has a "von" part, e.g \Name{Jane {de Winter}}.
- % If the first letter in the forenames is a diacritic
- % enclose the diacritic in braces, e.g. \Name{{\'E}louise Smith}
-
- % Two authors with the same address
-  \author{\Name{Author Name1\nametag{\thanks{with a note}}} \Email{abc at sample.com}\and
-   \Name{Author Name2} \Email{xyz at sample.com}\\
-   \addr Address}
-
- % Three or more authors with the same address:
- % \author{\Name{Author Name1} \Email{an1 at sample.com}\\
- %  \Name{Author Name2} \Email{an2 at sample.com}\\
- %  \Name{Author Name3} \Email{an3 at sample.com}\\
- %  \Name{Author Name4} \Email{an4 at sample.com}\\
- %  \Name{Author Name5} \Email{an5 at sample.com}\\
- %  \Name{Author Name6} \Email{an6 at sample.com}\\
- %  \Name{Author Name7} \Email{an7 at sample.com}\\
- %  \Name{Author Name8} \Email{an8 at sample.com}\\
- %  \Name{Author Name9} \Email{an9 at sample.com}\\
- %  \Name{Author Name10} \Email{an10 at sample.com}\\
- %  \Name{Author Name11} \Email{an11 at sample.com}\\
- %  \Name{Author Name12} \Email{an12 at sample.com}\\
- %  \Name{Author Name13} \Email{an13 at sample.com}\\
- %  \Name{Author Name14} \Email{an14 at sample.com}\\
- %  \addr Address}
-
-
- % Authors with different addresses:
- % \author{\Name{Author Name1} \Email{abc at sample.com}\\
- % \addr Address 1
- % \AND
- % \Name{Author Name2} \Email{xyz at sample.com}\\
- % \addr Address 2
- %}
-
-\editor{Editor's name}
- % \editors{List of editors' names}
-
-\begin{document}
-
-\maketitle
-
-\begin{abstract}
-This is the abstract for this article.
-\end{abstract}
-\begin{keywords}
-List of keywords
-\end{keywords}
-
-\section{Introduction}
-\label{sec:intro}
-
-This is a sample article that uses the \textsf{jmlr} class with
-the \texttt{wcp} class option.  Please follow the guidelines in
-this sample document as it can help to reduce complications when
-combining the articles into a book. Please avoid using obsolete
-commands, such as \verb|\rm|, and obsolete packages, such as
-\textsf{epsfig}.\footnote{See
-\url{http://www.ctan.org/pkg/l2tabu}}
-
-Please also ensure that your document will compile with PDF\LaTeX.
-If you have an error message that's puzzling you, first check for it
-at the UK TUG FAQ
-\url{https://texfaq.org/FAQ-man-latex}.  If
-that doesn't help, create a minimal working example (see
-\url{https://www.dickimaw-books.com/latex/minexample}) and post
-to somewhere like TeX on StackExchange
-(\url{https://tex.stackexchange.com/}) or the LaTeX Community Forum
-(\url{https://latex.org/forum/}).
-
-\begin{note}
-This is an numbered theorem-like environment that was defined in
-this document's preamble.
-\end{note}
-
-\subsection{Sub-sections}
-
-Sub-sections are produced using \verb|\subsection|.
-
-\subsubsection{Sub-sub-sections}
-
-Sub-sub-sections are produced using \verb|\subsubsection|.
-
-\paragraph{Sub-sub-sub-sections}
-
-Sub-sub-sub-sections are produced using \verb|\paragraph|.
-These are unnumbered with a running head.
-
-\subparagraph{Sub-sub-sub-sub-sections}
-
-Sub-sub-sub-sub-sections are produced using \verb|\subparagraph|.
-These are unnumbered with a running head.
-
-\section{Cross-Referencing}
-
-Always use \verb|\label| and \verb|\ref| (or one of the commands
-described below) when cross-referencing.  For example, the next
-section is Section~\ref{sec:math}. The \textsf{jmlr} class
-provides some convenient cross-referencing commands:
-\verb|\sectionref|, \verb|\equationref|, \verb|\tableref|,
-\verb|\figureref|, \verb|\algorithmref|, \verb|\theoremref|,
-\verb|\lemmaref|, \verb|\remarkref|, \verb|\corollaryref|,
-\verb|\definitionref|, \verb|\conjectureref|, \verb|\axiomref|,
-\verb|\exampleref| and \verb|\appendixref|. The argument of these
-commands may either be a single label or a comma-separated list
-of labels. Examples:
-
-Referencing sections: \sectionref{sec:math} or
-\sectionref{sec:intro,sec:math} or
-\sectionref{sec:intro,sec:math,sec:tables,sec:figures}.
-
-Referencing equations: \equationref{eq:trigrule} or
-\equationref{eq:trigrule,eq:df} or
-\equationref{eq:trigrule,eq:f,eq:df,eq:y}.
-
-Referencing tables: \tableref{tab:operatornames} or
-\tableref{tab:operatornames,tab:example} or
-\tableref{tab:operatornames,tab:example,tab:example-booktabs}.
-
-Referencing figures: \figureref{fig:nodes} or
-\figureref{fig:nodes,fig:teximage} or
-\figureref{fig:nodes,fig:teximage,fig:subfigex} or
-\figureref{fig:circle,fig:square}.
-
-Referencing algorithms: \algorithmref{alg:gauss} or
-\algorithmref{alg:gauss,alg:moore} or
-\algorithmref{alg:gauss,alg:moore,alg:net}.
-
-Referencing theorem-like environments: \theoremref{thm:eigenpow},
-\lemmaref{lem:sample}, \remarkref{rem:sample}, 
-\corollaryref{cor:sample}, \definitionref{def:sample},
-\conjectureref{con:sample}, \axiomref{ax:sample} and
-\exampleref{ex:sample}.
-
-Referencing appendices: \appendixref{apd:first} or
-\appendixref{apd:first,apd:second}.
-
-\section{Equations}
-\label{sec:math}
-
-The \textsf{jmlr} class loads the \textsf{amsmath} package, so
-you can use any of the commands and environments defined there.
-(See the \textsf{amsmath} documentation for further
-details.\footnote{Either \texttt{texdoc amsmath} or
-\url{http://www.ctan.org/pkg/amsmath}})
-
-Unnumbered single-lined equations should be displayed using
-\verb|\[| and \verb|\]|. For example:
-\[E = m c^2\]
-Numbered single-line equations should be displayed using the
-\texttt{equation} environment. For example:
-\begin{equation}\label{eq:trigrule}
-\cos^2\theta + \sin^2\theta \equiv 1
-\end{equation}
-This can be referenced using \verb|\label| and \verb|\equationref|.
-For example, \equationref{eq:trigrule}.
-
-Multi-lined numbered equations should be displayed using the
-\texttt{align} environment.\footnote{For reasons why you 
-shouldn't use the obsolete \texttt{eqnarray} environment, see
-Lars Madsen, \emph{Avoid eqnarray!} TUGboat 33(1):21--25, 2012.} For example:
-\begin{align}
-f(x) &= x^2 + x\label{eq:f}\\
-f'(x) &= 2x + 1\label{eq:df}
-\end{align}
-Unnumbered multi-lined equations should be displayed using the
-\texttt{align*} environment. For example:
-\begin{align*}
-f(x) &= (x+1)(x-1)\\
-&= x^2 - 1
-\end{align*}
-If you want to mix numbered with unnumbered lines use the
-align environment and suppress unwanted line numbers with
-\verb|\nonumber|. For example:
-\begin{align}
-y &= x^2 + 3x - 2x + 1\nonumber\\
-&= x^2 + x + 1\label{eq:y}
-\end{align}
-An equation that is too long to fit on a single line can be
-displayed using the \texttt{split} environment. 
-Text can be embedded in an equation using \verb|\text| or
-\verb|\intertext| (as used in \theoremref{thm:eigenpow}).
-See the \textsf{amsmath} documentation for further details.
-
-\subsection{Operator Names}
-\label{sec:op}
-
-Predefined operator names are listed in \tableref{tab:operatornames}.
-For additional operators, either use \verb|\operatorname|,
-for example $\operatorname{var}(X)$ or declare it with
-\verb|\DeclareMathOperator|, for example
-\begin{verbatim}
-\DeclareMathOperator{\var}{var}
-\end{verbatim}
-and then use this new command. If you want limits that go above and
-below the operator (like \verb|\sum|) use the starred versions
-(\verb|\operatorname*| or \verb|\DeclareMathOperator*|).
-
-\begin{table}[htbp]
-\floatconts
-  {tab:operatornames}%
-  {\caption{Predefined Operator Names (taken from 
-   \textsf{amsmath} documentation)}}%
-  {%
-\begin{tabular}{rlrlrlrl}
-\cs{arccos} & $\arccos$ &  \cs{deg} & $\deg$ &  \cs{lg} & $\lg$ &  \cs{projlim} & $\projlim$ \\
-\cs{arcsin} & $\arcsin$ &  \cs{det} & $\det$ &  \cs{lim} & $\lim$ &  \cs{sec} & $\sec$ \\
-\cs{arctan} & $\arctan$ &  \cs{dim} & $\dim$ &  \cs{liminf} & $\liminf$ &  \cs{sin} & $\sin$ \\
-\cs{arg} & $\arg$ &  \cs{exp} & $\exp$ &  \cs{limsup} & $\limsup$ &  \cs{sinh} & $\sinh$ \\
-\cs{cos} & $\cos$ &  \cs{gcd} & $\gcd$ &  \cs{ln} & $\ln$ &  \cs{sup} & $\sup$ \\
-\cs{cosh} & $\cosh$ &  \cs{hom} & $\hom$ &  \cs{log} & $\log$ &  \cs{tan} & $\tan$ \\
-\cs{cot} & $\cot$ &  \cs{inf} & $\inf$ &  \cs{max} & $\max$ &  \cs{tanh} & $\tanh$ \\
-\cs{coth} & $\coth$ &  \cs{injlim} & $\injlim$ &  \cs{min} & $\min$ \\
-\cs{csc} & $\csc$ &  \cs{ker} & $\ker$ &  \cs{Pr} & $\Pr$
-\end{tabular}\par
-\begin{tabular}{rlrl}
-\cs{varlimsup} & $\varlimsup$ 
-& \cs{varinjlim} & $\varinjlim$\\
-\cs{varliminf} & $\varliminf$ 
-& \cs{varprojlim} & $\varprojlim$
-\end{tabular}
-}
-\end{table}
-
-\section{Vectors and Sets}
-\label{sec:vec}
-
-Vectors should be typeset using \cs{vec}. For example $\vec{x}$.
-The \textsf{jmlr} class also provides \cs{set} to typeset a
-set. For example $\set{S}$.
-
-\section{Floats}
-\label{sec:floats}
-
-Floats, such as figures, tables and algorithms, are moving
-objects and are supposed to float to the nearest convenient
-location. Please don't force them to go in a particular place. In
-general it's best to use the \texttt{htbp} specifier and don't
-put the figure or table in the middle of a paragraph (that is
-make sure there's a paragraph break above and below the float).
-Floats are supposed to have a little extra space above and below
-them to make them stand out from the rest of the text. This extra
-spacing is put in automatically and shouldn't need modifying.
-
-To ensure consistency, please \emph{don't} try changing the format of the caption by doing
-something like:
-\begin{verbatim}
-\caption{\textit{A Sample Caption.}}
-\end{verbatim}
-or
-\begin{verbatim}
-\caption{\em A Sample Caption.}
-\end{verbatim}
-You can, of course, change the font for individual words or 
-phrases, for example:
-\begin{verbatim}
-\caption{A Sample Caption With Some \emph{Emphasized Words}.}
-\end{verbatim}
-
-\subsection{Tables}
-\label{sec:tables}
-
-Tables should go in the \texttt{table} environment. Within this
-environment use \verb|\floatconts| (defined by \textsf{jmlr})
-to set the caption correctly and center the table contents.
-
-\begin{table}[htbp]
- % The first argument is the label.
- % The caption goes in the second argument, and the table contents
- % go in the third argument.
-\floatconts
-  {tab:example}%
-  {\caption{An Example Table}}%
-  {\begin{tabular}{ll}
-  \bfseries Dataset & \bfseries Result\\
-  Data1 & 0.12345\\
-  Data2 & 0.67890\\
-  Data3 & 0.54321\\
-  Data4 & 0.09876
-  \end{tabular}}
-\end{table}
-
-If you want horizontal rules you can use the \textsf{booktabs}
-package which provides the commands \verb|\toprule|, 
-\verb|\midrule| and \verb|\bottomrule|. For example, see
-\tableref{tab:example-booktabs}.
-
-\begin{table}[hbtp]
-\floatconts
-  {tab:example-booktabs}
-  {\caption{A Table With Horizontal Lines}}
-  {\begin{tabular}{ll}
-  \toprule
-  \bfseries Dataset & \bfseries Result\\
-  \midrule
-  Data1 & 0.12345\\
-  Data2 & 0.67890\\
-  Data3 & 0.54321\\
-  Data4 & 0.09876\\
-  \bottomrule
-  \end{tabular}}
-\end{table}
-
-If you want vertical lines as well, you can't use the
-\textsf{booktabs} commands as there'll be some unwanted gaps.
-Instead you can use \LaTeX's \verb|\hline|, but the rows may
-appear a bit cramped.  You can add extra space above or below a
-row using \verb|\abovestrut| and \verb|\belowstrut|. For example,
-see \tableref{tab:example-hline}.
-
-\begin{table}[htbp]
-\floatconts
-  {tab:example-hline}
-  {\caption{A Table With Horizontal and Vertical Lines}}%
-  {%
-    \begin{tabular}{|l|l|}
-    \hline
-    \abovestrut{2.2ex}\bfseries Dataset & \bfseries Result\\\hline
-    \abovestrut{2.2ex}Data1 & 0.12345\\
-    Data2 & 0.67890\\
-    Data3 & 0.54321\\
-    \belowstrut{0.2ex}Data4 & 0.09876\\\hline
-    \end{tabular}
-  }
-\end{table}
-
-If you want to align numbers on their decimal point, you can
-use the \textsf{siunitx} package. For example, see
-\tableref{tab:example-siunitx}. For further details see the
-\textsf{siunitx} documentation\footnote{Either \texttt{texdoc
-siunitx} or \url{http://www.ctan.org/pkg/siunitx}}.
-
-\begin{table}[htbp]
-\floatconts
-  {tab:example-siunitx}
-  {\caption{A Table With Numbers Aligned on the Decimal Point}}
-  {\begin{tabular}{lS[tabformat=3.5]}
-  \bfseries Dataset & {\bfseries Result}\\
-  Data1 & 0.12345\\
-  Data2 & 10.6789\\
-  Data3 & 50.543\\
-  Data4 & 200.09876
-  \end{tabular}}
-\end{table}
-
-If the table is too wide, you can adjust the inter-column
-spacing by changing the value of \verb|\tabcolsep|. For
-example:
-\begin{verbatim}
-\setlength{\tabcolsep}{3pt}
-\end{verbatim}
-If the table is very wide but not very long, you can use the
-\texttt{sidewaystable} environment defined in the
-\textsf{rotating} package (so use \verb|\usepackage{rotating}|).
-If the table is too long to fit on a page, you should use the
-\texttt{longtable} environment defined in the \textsf{longtable}
-package (so use \verb|\usepackage{longtable}|).
-
-\subsection{Figures}
-\label{sec:figures}
-
-Figures should go in the \texttt{figure} environment. Within this
-environment, use \verb|\floatconts| to correctly position the
-caption and center the image. Use \verb|\includegraphics|
-for external graphics files but omit the file extension. Do not
-use \verb|\epsfig| or \verb|\psfig|. If you want to scale the
-image, it's better to use a fraction of the line width rather
-than an explicit length. For example, see \figureref{fig:nodes}.
-
-\begin{figure}[htbp]
- % Caption and label go in the first argument and the figure contents
- % go in the second argument
-\floatconts
-  {fig:nodes}
-  {\caption{Example Image}}
-  {\includegraphics[width=0.5\linewidth]{images/nodes}}
-\end{figure}
-
-If your image is made up of \LaTeX\ code (for example, commands
-provided by the \textsf{pgf} package) you can include it using
-\cs{includeteximage} (defined by the \textsf{jmlr} class). This
-can be scaled and rotated in the same way as \cs{includegraphics}.
-For example, see \figureref{fig:teximage}.
-
-\begin{figure}[htbp]
-\floatconts
-  {fig:teximage}
-  {\caption{Image Created Using \LaTeX\ Code}}
-  {\includeteximage[angle=45]{images/teximage}}
-\end{figure}
-
-If the figure is too wide to fit on the page, you can use the
-\texttt{sidewaysfigure} environment defined in the
-\textsf{rotating} package.
-
-Don't use \verb|\graphicspath|. If the images are contained in
-a subdirectory, specify this when you include the image, for
-example \verb|\includegraphics{figures/mypic}|.
-
-\subsubsection{Sub-Figures}
-\label{sec:subfigures}
-
-Sub-figures can be created using \verb|\subfigure|, which is
-defined by the \textsf{jmlr} class. The optional argument allows
-you to provide a subcaption. The label should be placed in the
-mandatory argument of \verb|\subfigure|. You can reference the
-entire figure, for example \figureref{fig:subfigex}, or you can
-reference part of the figure using \verb|\figureref|, for example
-\figureref{fig:circle}. Alternatively you can reference the
-subfigure using \verb|\subfigref|, for example
-\subfigref{fig:circle,fig:square} in \figureref{fig:subfigex}.
-
-\begin{figure}[htbp]
-\floatconts
-  {fig:subfigex}
-  {\caption{An Example With Sub-Figures.}}
-  {%
-    \subfigure[A Circle]{\label{fig:circle}%
-      \includegraphics[width=0.2\linewidth]{images/circle}}%
-    \qquad
-    \subfigure[A Square]{\label{fig:square}%
-      \includegraphics[width=0.2\linewidth]{images/square}}
-  }
-\end{figure}
-
-By default, the sub-figures are aligned on the baseline.
-This can be changed using the second optional argument
-of \verb|\subfigure|. This may be \texttt{t} (top), \texttt{c}
-(centered) or \texttt{b} (bottom). For example, the subfigures
-\subfigref{fig:circle2,fig:square2} in \figureref{fig:subfigex2}
-both have \verb|[c]| as the second optional argument.
-
-\begin{figure}[htbp]
-\floatconts
-  {fig:subfigex2}
-  {\caption{Another Example With Sub-Figures.}}
-  {%
-    \subfigure[A Small Circle][c]{\label{fig:circle2}%
-      \includegraphics[width=0.1\linewidth]{images/circle}}%
-    \qquad
-    \subfigure[A Square][c]{\label{fig:square2}%
-      \includegraphics[width=0.2\linewidth]{images/square}}
-  }
-\end{figure}
-
-\subsection{Sub-Tables}
-\label{sec:subtables}
-There is an analogous command \verb|\subtable| for sub-tables.
-It has the same syntax as \verb|\subfigure| described above.
-You can reference the table using \verb|\tableref|, for example
-\tableref{tab:subtabex} or you can reference part of the table,
-for example \tableref{tab:ab}. Alternatively you can reference the
-subtable using \verb|\subtabref|, for example
-\subtabref{tab:ab,tab:cd} in \tableref{tab:subtabex}.
-
-\begin{table}[htbp]
-\floatconts
- {tab:subtabex}
- {\caption{An Example With Sub-Tables}}
- {%
-   \subtable{%
-     \label{tab:ab}%
-     \begin{tabular}{cc}
-     \bfseries A & \bfseries B\\
-     1 & 2
-     \end{tabular}
-   }\qquad
-   \subtable{%
-     \label{tab:cd}%
-     \begin{tabular}{cc}
-     \bfseries C & \bfseries D\\
-     3 & 4\\
-     5 & 6
-     \end{tabular}
-   }
- }
-\end{table}
-
-By default, the sub-tables are aligned on the top.
-This can be changed using the second optional argument
-of \verb|\subtable|. This may be \texttt{t} (top), \texttt{c}
-(centered) or \texttt{b} (bottom). For example, the sub-tables
-\subtabref{tab:ab2,tab:cd2} in \tableref{tab:subtabex2}
-both have \verb|[c]| as the second optional argument.
-
-\begin{table}[htbp]
-\floatconts
- {tab:subtabex2}
- {\caption{Another Example With Sub-Tables}}
- {%
-   \subtable[][c]{%
-     \label{tab:ab2}%
-     \begin{tabular}{cc}
-     \bfseries A & \bfseries B\\
-     1 & 2
-     \end{tabular}
-   }\qquad
-   \subtable[][c]{%
-     \label{tab:cd2}%
-     \begin{tabular}{cc}
-     \bfseries C & \bfseries D\\
-     3 & 4\\
-     5 & 6
-     \end{tabular}
-   }
- }
-\end{table}
-
-\subsection{Algorithms}
-\label{sec:algorithms}
-
-Enumerated textual algorithms can be displayed using the
-\texttt{algorithm} environment. Within this environment, use
-use an \texttt{enumerate} or nested \texttt{enumerate} environments.
-For example, see \algorithmref{alg:gauss}. Note that algorithms
-float like figures and tables.
-
-\begin{algorithm}[htbp]
-\floatconts
-{alg:gauss}% label
-{\caption{The Gauss-Seidel Algorithm}}
-{% contents
-\begin{enumerate}
-  \item For $k=1$ to maximum number of iterations
-    \begin{enumerate}
-      \item For $i=1$ to $n$
-        \begin{enumerate}
-        \item $x_i^{(k)} = 
-          \frac{b_i - \sum_{j=1}^{i-1}a_{ij}x_j^{(k)}
-          - \sum_{j=i+1}^{n}a_{ij}x_j^{(k-1)}}{a_{ii}}$
-        \item If $\|\vec{x}^{(k)}-\vec{x}^{(k-1)} < \epsilon\|$,
-          where $\epsilon$ is a specified stopping criteria, stop.
-      \end{enumerate}
-    \end{enumerate}
-\end{enumerate}
-}
-\end{algorithm}
-
-You can use \verb|\caption| and \verb|\label| without using
-\verb|\floatconts| (as in \algorithmref{alg:moore}).
-
-If you'd rather have the same numbering throughout the algorithm
-but still want the convenient indentation of nested 
-\texttt{enumerate} environments, you can use the
-\texttt{enumerate*} environment provided by the \textsf{jmlr}
-class. For example, see \algorithmref{alg:moore}.
-
-\begin{algorithm}
-\caption{Moore's Shortest Path}\label{alg:moore}
-Given a connected graph $G$, where the length of each edge is 1:
-\begin{enumerate*}
-  \item Set the label of vertex $s$ to 0
-  \item Set $i=0$
-  \begin{enumerate*}
-    \item \label{step:locate}Locate all unlabelled vertices 
-          adjacent to a vertex labelled $i$ and label them $i+1$
-    \item If vertex $t$ has been labelled,
-    \begin{enumerate*}
-      \item[] the shortest path can be found by backtracking, and 
-      the length is given by the label of $t$.
-    \end{enumerate*}
-    otherwise
-    \begin{enumerate*}
-      \item[] increment $i$ and return to step~\ref{step:locate}
-    \end{enumerate*}
-  \end{enumerate*}
-\end{enumerate*}
-\end{algorithm}
-
-Pseudo code can be displayed using the \texttt{algorithm2e}
-environment. This is defined by the \textsf{algorithm2e} package
-(which is automatically loaded) so check the \textsf{algorithm2e}
-documentation for further details.\footnote{Either \texttt{texdoc
-algorithm2e} or \url{http://www.ctan.org/pkg/algorithm2e}}
-For an example, see \algorithmref{alg:net}.
-
-\begin{algorithm2e}
-\caption{Computing Net Activation}
-\label{alg:net}
- % older versions of algorithm2e have \dontprintsemicolon instead
- % of the following:
- %\DontPrintSemicolon
- % older versions of algorithm2e have \linesnumbered instead of the
- % following:
- %\LinesNumbered
-\KwIn{$x_1, \ldots, x_n, w_1, \ldots, w_n$}
-\KwOut{$y$, the net activation}
-$y\leftarrow 0$\;
-\For{$i\leftarrow 1$ \KwTo $n$}{
-  $y \leftarrow y + w_i*x_i$\;
-}
-\end{algorithm2e}
-
-\section{Description Lists}
-
-The \textsf{jmlr} class also provides a description-like 
-environment called \texttt{altdescription}. This has an
-argument that should be the widest label in the list. Compare:
-\begin{description}
-\item[add] A method that adds two variables.
-\item[differentiate] A method that differentiates a function.
-\end{description}
-with
-\begin{altdescription}{differentiate}
-\item[add] A method that adds two variables.
-\item[differentiate] A method that differentiates a function.
-\end{altdescription}
-
-\section{Theorems, Lemmas etc}
-\label{sec:theorems}
-
-The following theorem-like environments are predefined by
-the \textsf{jmlr} class: \texttt{theorem}, \texttt{example},
-\texttt{lemma}, \texttt{proposition}, \texttt{remark}, 
-\texttt{corollary}, \texttt{definition}, \texttt{conjecture}
-and \texttt{axiom}. You can use the \texttt{proof} environment
-to display the proof if need be, as in \theoremref{thm:eigenpow}.
-
-\begin{theorem}[Eigenvalue Powers]\label{thm:eigenpow}
-If $\lambda$ is an eigenvalue of $\vec{B}$ with eigenvector
-$\vec{\xi}$, then $\lambda^n$ is an eigenvalue of $\vec{B}^n$
-with eigenvector $\vec{\xi}$.
-\begin{proof}
-Let $\lambda$ be an eigenvalue of $\vec{B}$ with eigenvector
-$\xi$, then
-\begin{align*}
-\vec{B}\vec{\xi} &= \lambda\vec{\xi}
-\intertext{premultiply by $\vec{B}$:}
-\vec{B}\vec{B}\vec{\xi} &= \vec{B}\lambda\vec{\xi}\\
-\Rightarrow \vec{B}^2\vec{\xi} &= \lambda\vec{B}\vec{\xi}\\
-&= \lambda\lambda\vec{\xi}\qquad
-\text{since }\vec{B}\vec{\xi}=\lambda\vec{\xi}\\
-&= \lambda^2\vec{\xi}
-\end{align*}
-Therefore true for $n=2$. Now assume true for $n=k$:
-\begin{align*}
-\vec{B}^k\vec{\xi} &= \lambda^k\vec{\xi}
-\intertext{premultiply by $\vec{B}$:}
-\vec{B}\vec{B}^k\vec{\xi} &= \vec{B}\lambda^k\vec{\xi}\\
-\Rightarrow \vec{B}^{k+1}\vec{\xi} &= \lambda^k\vec{B}\vec{\xi}\\
-&= \lambda^k\lambda\vec{\xi}\qquad
-\text{since }\vec{B}\vec{\xi}=\lambda\vec{\xi}\\
-&= \lambda^{k+1}\vec{\xi}
-\end{align*}
-Therefore true for $n=k+1$. Therefore, by induction, true for all
-$n$.
-\end{proof}
-\end{theorem}
-
-\begin{lemma}[A Sample Lemma]\label{lem:sample}
-This is a lemma.
-\end{lemma}
-
-\begin{remark}[A Sample Remark]\label{rem:sample}
-This is a remark.
-\end{remark}
-
-\begin{corollary}[A Sample Corollary]\label{cor:sample}
-This is a corollary.
-\end{corollary}
-
-\begin{definition}[A Sample Definition]\label{def:sample}
-This is a definition.
-\end{definition}
-
-\begin{conjecture}[A Sample Conjecture]\label{con:sample}
-This is a conjecture.
-\end{conjecture}
-
-\begin{axiom}[A Sample Axiom]\label{ax:sample}
-This is an axiom.
-\end{axiom}
-
-\begin{example}[An Example]\label{ex:sample}
-This is an example.
-\end{example}
-
-\section{Color vs Grayscale}
-\label{sec:color}
-
-It's helpful if authors supply grayscale versions of their
-images in the event that the article is to be incorporated into
-a black and white printed book. With external PDF, PNG or JPG
-graphic files, you just need to supply a grayscale version of the
-file. For example, if the file is called \texttt{myimage.png},
-then the gray version should be \texttt{myimage-gray.png} or
-\texttt{myimage-gray.pdf} or \texttt{myimage-gray.jpg}. You don't
-need to modify your code. The \textsf{jmlr} class checks for
-the existence of the grayscale version if it is print mode 
-(provided you have used \verb|\includegraphics| and haven't
-specified the file extension).
-
-You can use \verb|\ifprint| to determine which mode you are in.
-For example, in \figureref{fig:nodes}, the 
-\ifprint{dark gray}{purple} ellipse represents an input and the
-\ifprint{light gray}{yellow} ellipse represents an output.
-Another example: {\ifprint{\bfseries}{\color{red}}important text!}
-
-You can use the class option \texttt{gray} to see how the
-document will appear in gray scale mode. \textcolor{blue}{Colored
-text} will automatically be converted to gray scale.
-
-The \textsf{jmlr} class loads the \textsf{xcolor}
-package, so you can also define your own colors. For example:
-\ifprint
-  {\definecolor{myred}{gray}{0.5}}%
-  {\definecolor{myred}{rgb}{0.5,0,0}}%
-\textcolor{myred}{XYZ}.
-
-The \textsf{xcolor} class is loaded with the \texttt{x11names}
-option, so you can use any of the x11 predefined colors (listed
-in the \textsf{xcolor} documentation\footnote{either 
-\texttt{texdoc xcolor} or \url{http://www.ctan.org/pkg/xcolor}}).
-
-\section{Citations and Bibliography}
-\label{sec:cite}
-
-The \textsf{jmlr} class automatically loads \textsf{natbib}.
-This sample file has the citations defined in the accompanying
-BibTeX file \texttt{jmlr-sample.bib}. For a parenthetical
-citation use \verb|\citep|. For example
-\citep{guyon-elisseeff-03}. For a textual citation use
-\verb|\citet|. For example \citet{guyon2007causalreport}.
-Both commands may take a comma-separated list, for example
-\citet{guyon-elisseeff-03,guyon2007causalreport}.
-
-These commands have optional arguments and have a starred
-version. See the \textsf{natbib} documentation for further
-details.\footnote{Either \texttt{texdoc natbib} or
-\url{http://www.ctan.org/pkg/natbib}}
-
-The bibliography is displayed using \verb|\bibliography|.
-
-\acks{Acknowledgements go here.}
-
-\bibliography{jmlr-sample}
-
-\appendix
-
-\section{First Appendix}\label{apd:first}
-
-This is the first appendix.
-
-\section{Second Appendix}\label{apd:second}
-
-This is the second appendix.
-
-\end{document}

Modified: trunk/Master/texmf-dist/source/latex/jmlr/jmlr.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/jmlr/jmlr.dtx	2022-01-29 21:45:08 UTC (rev 61792)
+++ trunk/Master/texmf-dist/source/latex/jmlr/jmlr.dtx	2022-01-29 21:45:49 UTC (rev 61793)
@@ -1,14 +1,14 @@
 %\iffalse
 % jmlr.dtx generated using makedtx version 1.2 (c) Nicola Talbot
 % Command line args:
+%   -author "Nicola Talbot"
+%   -doc "jmlr-manual.tex"
 %   -section "chapter"
-%   -doc "jmlr-manual.tex"
-%   -author "Nicola Talbot"
 %   -src "jmlrutils.sty\Z=>jmlrutils.sty"
 %   -src "jmlr.cls\Z=>jmlr.cls"
-%   -src "jmlrbook.cls\Z=>jmlrbook.cls"
+%   -src "(jmlrbook.*\.cls)\Z=>\1"
 %   jmlr
-% Created on 2020/9/21 16:27
+% Created on 2022/1/29 14:54
 %\fi
 %\iffalse
 %<*package>
@@ -31,11 +31,11 @@
 %\fi
 % \iffalse
 % Doc-Source file to use with LaTeX2e
-% Copyright (C) 2020 Nicola Talbot, all rights reserved.
+% Copyright (C) 2022 Nicola Talbot, all rights reserved.
 % \fi
 % \iffalse
 %<*driver>
-\documentclass[report]{nlctdoc}
+\documentclass[report,widecs]{nlctdoc}
 
 \usepackage{amsmath}
 \usepackage[utf8]{inputenc}
@@ -45,14 +45,13 @@
             bookmarks,
             hyperindex=false,
             pdfauthor={Nicola L.C. Talbot},
-            pdftitle={jmlr: Classes for the Journal of Machine
-Learning Research (JMLR) and Proceedings of Machine Learning
+            pdftitle={Articles for Proceedings of Machine Learning
 Research (PMLR)},
-            pdfkeywords={LaTeX,jmlr}]{hyperref}
+            pdfkeywords={pmlr,jmlr wcp,jmlr}]{hyperref}
 
 \doxitem{Option}{option}{package options}
 
-\CheckSum{5265}
+\CheckSum{5415}
 
 \newcommand*{\appopt}[1]{\texttt{-{}-#1}}
 
@@ -64,48 +63,40 @@
 %\MakeShortVerb{"}
 %\DeleteShortVerb{\|}
 %
-% \title{\LaTeXe\ Classes for the Journal of Machine
-%Learning Research (JMLR) and 
-%Proceedings of Machine Learning Research (PMLR)}
+% \title{Articles for Proceedings of Machine Learning Research (PMLR)
+%formerly Journal of Machine Learning Research Workshop and
+%Conference Proceedings (JMLR W\&CP)}
 % \author{Nicola L. C. Talbot\\[10pt]
 %\url{http://www.dickimaw-books.com/}}
 %
-% \date{2020-09-21 (version 1.28)}
+% \date{2022-01-29 (version 1.29)}
 % \maketitle
 %\tableofcontents
 %
 %\chapter{Introduction}
 %
-%The \clsfmt{jmlr} class is for articles that need to be formatted
-%according to the Journal of Machine Learning Research style. This
-%class is based on the \sty{jmlr2e} and \sty{jmlrwcp2e} packages
-%but has been adapted to enable it to work better with the
-%\cls{combine} class to collate the articles into a book.
-%\sectionref{sec:jmlr} describes how to use the \clsfmt{jmlr} class.
-%Note that JMLR W\&CP (JMLR: Workshop and Conference Proceedings)
-%has been renamed PMLR (Proceedings of Machine Learning
-%Research). Articles for new proceedings should use the \clsopt{pmlr}
-%class option.
+%The \clsfmt{jmlr} class was designed primarily for the Journal of
+%Machine Learning Research Workshop and Conference Proceedings (JMLR
+%W\&CP) based on the \sty{jmlrwcp2e} package to make it easier for
+%production editors to combine articles into a single book.
 %
-%The \clsfmt{jmlrbook} class is for combining articles that use the
-%\clsfmt{jmlr} class into a
-%book. The \clsfmt{jmlrbook} class uses \cls{combine} and \sty{hyperref}, which are
-%troublesome enough on their own but together are quite fragile. The
-%\clsfmt{jmlrbook} class redefines some internals to get
-%\clsfmt{combine} and \clsfmt{hyperref} to work together but some
-%packages (e.g.\ \sty{subfig} and \sty{pdfpages}) are likely to mess
-%everything up and cause errors. This is why the guidelines to
-%authors are fairly stringent and why the \clsfmt{jmlr} class will give an
-%error message if certain packages are loaded.\footnote{Currently
-%\clsfmt{jmlr} will check if \sty{subfig}, \sty{pdfpages},
-%\sty{geometry}, \sty{psfig}, \sty{epsfig}, \sty{theorem},
-%\sty{tabularx}, \sty{amsthm} and \sty{ntheorem} are loaded and will throw an error.
-%If other packages are found to be a problem, they will be added to
-%the list.} The \clsfmt{jmlrbook} class works best with PDF\LaTeX\ so
-%authors should ensure that their articles can compile with
-%PDF\LaTeX. \sectionref{sec:jmlrbook} describes how to use the
-%\clsfmt{jmlrbook} class.
+%The \clsopt{nowcp} option implements the \sty{jmlr2e} style to make it
+%easier to include reprints from JMLR articles. If you are an author
+%wanting to submit an article to the JMLR, please see their
+%guidelines and use their official package.
 %
+%Since the creation of this class, the JMLR W\&CP has changed its name to
+%the Proceedings of Machine Learning Research (PMLR). Articles
+%submitted to the PMLR should use the \clsopt{pmlr} option. Reprints of
+%old JMLR W\&CP articles should use the \clsopt{wcp} option. 
+%
+%The \clsfmt{jmlrbook} class was provided to combine articles that
+%use the \clsfmt{jmlr} class into a book. The \cls{combine} class
+%internally used by \clsfmt{jmlrbook} has stopped work following
+%changes to the \LaTeX\ kernel in 2020.  This means that the
+%\clsfmt{jmlrbook} class is now deprecated. This only affects
+%production editors not article authors.
+%
 %As from v1.24, some non-class dependent commands and environments
 %have been moved to a new package \sty{jmlrutils} (see
 %\sectionref{sec:jmlrutils}). This package is automatically loaded by
@@ -132,26 +123,6 @@
 %\documentclass{jmlr}
 %\end{verbatim}
 %
-%There is a Java application called \app{makejmlrbookgui} that can
-%compile all the individual papers from the book and generate the
-%bib file for the proceedings (according to the PMLR specifications). It can also
-%create a grey nonhyperlinked PDF/X compliant print version of the
-%book. The application can be downloaded from
-%\url{http://www.dickimaw-books.com/software/makejmlrbookgui/} where
-%there is also a
-%\href{http://www.dickimaw-books.com/software/makejmlrbookgui/manual/troubleshooting.html}{troubleshooting
-%section}.
-%
-%The Perl script \app{makejmlrbook} is now deprecated and will be
-%removed in future releases.  It has been superseded by
-%\app{makejmlrbookgui}. Note that PMLR (formerly JMLR W\&CP) has new
-%format guidelines that are followed by new versions of
-%\app{makejmlrbookgui} but not by the Perl script \app{makejmlrbook},
-%so that script is no longer documented or supported.
-%The PMLR submission requirements for production editors are now much simpler
-%and can be followed without the assistance of \cls{jmlrbook} or 
-%\app{makejmlrbookgui}.
-%
 %\section{Required Packages}
 %
 %The \clsfmt{jmlr} class is based on the \cls{article} class and loads
@@ -162,28 +133,22 @@
 %Note that unlike the \sty{jmlr2e} and \sty{jmlrwcp2e} packages,
 %this class file does not load the obsolete \sty{epsfig} package.
 %
-%The \clsfmt{jmlrbook} class additionally loads the \cls{combine} class
-%and the following packages: \sty{combnat}, \sty{setspace} and \sty{fink}.
-%
-%The \app{makejmlrbookgui} application requires Java and \TeX.
-%(GhostScript is also required for the print-ready version of the
-%book.)
-%
 %\chapter{Guidelines for Article Authors}
 %\label{sec:jmlr}
 %
-%Article authors should use the \clsfmt{jmlr} class. This class
-%comes with example files \texttt{jmlr-sample.tex} and
-%\texttt{jmlrwcp-sample.tex}, which can be used as templates.
+%Article authors should use the \clsfmt{jmlr} class with the
+%\clsopt{pmlr} option. This class
+%comes with the example file \texttt{pmlr-sample.tex}, which can be used as 
+%a template.
 %
 %The following class options are available:
 %\begin{description}
-%\item[\clsopt{nowcp}]The article is for the Journal of Machine
-%Learning Research (default).
 %\item[\clsopt{pmlr}] The article is for the Proceedings of Machine
-%Learning Research (PMLR). 
+%Learning Research (PMLR).
 %\item[\clsopt{wcp}] The article is for JMLR Workshop and Conference 
 %Proceedings (JMLR W\&CP).
+%\item[\clsopt{nowcp}] The article is for the Journal of Machine
+%Learning Research (default).
 %
 %\item[\clsopt{twocolumn}] Use two-column style. The title and author
 %information will span both columns through the use of the optional
@@ -202,6 +167,12 @@
 %\item[{\clsopt[bottom]{tablecaption}}] in a \env{table} environment,
 %\ics{floatconts} puts the caption at the bottom.
 %
+%\item[\clsopt{cleveref}] This option is passed to \sty{jmlrutils} 
+%(see \sectionref{sec:jmlrutils}).
+%
+%\item[\clsopt{nocleveref}] This option is passed to \sty{jmlrutils} 
+%(see \sectionref{sec:jmlrutils}).
+%
 %\end{description}
 %
 %\section{Title Information}
@@ -317,6 +288,12 @@
 %institute}}}
 %\end{verbatim}
 %
+%\begin{important}
+%Ensure no space occurs before \cs{nametag} otherwise the surname
+%will be interpreted as an empty string because the space is used to
+%separate the forenames from the surname.
+%\end{important}
+%
 %\begin{definition}[\DescribeMacro{\Email}]
 %\cs{Email}\marg{author's email}
 %\end{definition}
@@ -516,6 +493,18 @@
 %environments listed in \sectionref{sec:theorems}. (Default.)
 %\item[\pkgopt{notheorems}] Don't define the theorem commands and
 %environments.
+%
+%\item[\pkgopt{cleveref}] Loads \sty{aliascnt} and \sty{cleveref} 
+%and defines the theorem environments with aliased counters. Note
+%that this option is largely redundant with \pkgopt{notheorems}. When
+%\sty{jmlrutils} is loaded implicitly by \cls{jmlr}, this option will
+%also ensure that \sty{hyperref} is loaded before \sty{cleveref}. If
+%\sty{jmlrutils} is loaded without \cls{jmlr} then \sty{hyperref}
+%won't be loaded unless \ics{jmlrprehyperref} is defined.
+%
+%\item[\pkgopt{nocleveref}] Don't load \sty{aliascnt} and
+%\sty{cleveref} (default).
+%
 %\item[\pkgopt{subfloats}] Define the sub-figure and sub-table
 %commands listed in \sectionref{sec:subfloats}. (Default.)
 %\item[\pkgopt{nosubfloats}] Don't define the sub-figure and
@@ -639,6 +628,20 @@
 %class, you can prevent \styfmt{jmlrutils} from defining these
 %commands with the \pkgopt{nosubfloats} package option.
 %
+%Sub-float captions that are wider than the corresponding sub-float content
+%are placed inside a \cs{parbox} set to the width of the sub-float
+%content. This allows long captions to line wrap in a mini-paragraph
+%below the sub-float. However, if the sub-float is very narrow, this
+%can lead to badly-broken sub-captions that generate overfull or
+%underfull hbox warnings. You can specify a minimum width for
+%sub-float captions by setting the following length:
+%\begin{definition}[\DescribeMacro{\jmlrminsubcaptionwidth}]
+%\cs{jmlrminsubcaptionwidth}
+%\end{definition}
+%The default value is 0pt. The value should be set with
+%\cs{setlength}. The assignment can be localised by placing it within
+%a group or environment.
+%
 %\begin{definition}[\DescribeMacro{\subfigure}]
 %\cs{subfigure}\oarg{title}\oarg{valign}\marg{contents}
 %\end{definition}
@@ -1104,11 +1107,16 @@
 %\section{Color vs Grayscale}
 %\label{sec:color}
 %
-%It's helpful if authors supply grayscale versions of their
-%articles in the event that the article is to be incorporated into
-%a black and white printed book. With external PDF, PNG or JPG
-%graphic files, you just need to supply a grayscale version of the
-%file. For example, if the file is called \texttt{myimage.png},
+%If the proceedings are to be incorporated into a black and white
+%printed book, it can be helpful if authors supply grayscale versions
+%of their image files. This section can be ignored if your article
+%will only be available online.
+%
+%With external PDF, PNG or JPG graphic files, the grayscale version
+%should be named with \texttt{-gray} added to the basename (before
+%the image file extension).
+%
+%For example, if the file is called \texttt{myimage.png},
 %then the gray version should be \texttt{myimage-gray.png} or
 %\texttt{myimage-gray.pdf} or \texttt{myimage-gray.jpg}. You don't
 %need to modify your code. The \clsfmt{jmlr} class checks for
@@ -1178,26 +1186,20 @@
 %\chapter{Guidelines for Production Editors}
 %\label{sec:jmlrbook}
 %
-%The \clsfmt{jmlrbook} class can be used to combine articles that use
-%the \clsfmt{jmlr} document class into a book. The following sample
-%files are provided: \texttt{paper1/paper1.tex},
-%\texttt{paper2/paper2.tex}, \texttt{paper3/paper3.tex},
-%\texttt{jmlr-sample.tex}, \texttt{jmlrwcp-sample.tex},
-%\texttt{jmlrbook-sample.tex} and \texttt{proceedings-sample.tex}.
-%All but the last two are articles using the \clsfmt{jmlr} class. The
-%last two (\texttt{jmlrbook-sample.tex} and
-%\texttt{proceedings-sample.tex}) uses the \clsfmt{jmlrbook} class
-%file to combine the articles into a book. Note that no modifications
-%are needed to the files using the \clsfmt{jmlr} class when they are
-%imported into the book. They can either be compiled as stand-alone
-%articles or with the entire book.
+%The \clsfmt{jmlrbook} class is now obsolete as it has stopped
+%working following changes to the \LaTeX\ kernel in 2020. The class
+%is described here for archival purposes.
 %
-%Before you compile the book, make sure that all the articles 
-%compile as stand-alone documents (and run Bib\TeX\ where
-%necessary). You can use the \app{makejmlrbookgui} application to compile
-%the book. See 
-%\url{http://www.dickimaw-books.com/software/makejmlrbookgui/} for details.
+%To prepare articles for PMLR, you will need to manually set the
+%first page number using:
+%\begin{definition}[\DescribeMacro\firstpageno]
+%\cs{firstpageno}\marg{n}
+%\end{definition}
 %
+%Please follow the
+%\href{https://proceedings.mlr.press/spec.html}{PMLR specifications}.
+%
+%
 %\section{\clsfmt{jmlrbook} Class Options}
 %\begin{description}
 %\item[\clsopt{nowcp}]The imported pre-published articles were 
@@ -1731,12 +1733,6 @@
 %\clsfmt{jmlrbook} won't find the graphics if the imported articles
 %aren't in the same directory as the book.
 %
-%The \app{makejmlrbookgui} application provides some diagnostic
-%tools, which can help detect some common problems. It's manual also
-%has a
-%\href{http://www.dickimaw-books.com/software/makejmlrbookgui/manual/troubleshooting.html}{troubleshooting
-%section}.
-%
 %\StopEventually{\clearpage\phantomsection
 %  \PrintChanges
 %  \PrintIndex
@@ -1754,7 +1750,7 @@
 %Non-class dependent code. This package is automatically loaded by
 %\cls{jmlr} but may be used with other classes.
 %    \begin{macrocode}
-\ProvidesPackage{jmlrutils}[2020/09/21 v1.28 (NLCT)]
+\ProvidesPackage{jmlrutils}[2022/01/29 v1.29 (NLCT)]
 %    \end{macrocode}
 % Package options:
 %\begin{macro}{\ifjmlrutilsmaths}
@@ -1768,6 +1764,11 @@
 \DeclareOption{maths}{\jmlrutilsmathstrue}
 \DeclareOption{nomaths}{\jmlrutilsmathsfalse}
 %    \end{macrocode}
+% Provide US synonyms
+%    \begin{macrocode}
+\DeclareOption{math}{\jmlrutilsmathstrue}
+\DeclareOption{nomath}{\jmlrutilsmathsfalse}
+%    \end{macrocode}
 %
 %\begin{macro}{\ifjmlrutilstheorems}
 %Determine if the theorem environments should be provided.
@@ -1781,6 +1782,19 @@
 \DeclareOption{notheorems}{\jmlrutilstheoremsfalse}
 %    \end{macrocode}
 %
+%\begin{macro}{\ifjmlrcleveref}
+%\changes{1.29}{2022-01-29}{new}
+%Determine whether or not to load \sty{cleveref}.
+%    \begin{macrocode}
+\newif\ifjmlrcleveref
+\jmlrclevereffalse
+%    \end{macrocode}
+%\end{macro}
+%    \begin{macrocode}
+\DeclareOption{cleveref}{\jmlrclevereftrue}
+\DeclareOption{nocleveref}{\jmlrclevereffalse}
+%    \end{macrocode}
+%
 %\begin{macro}{\ifjmlrutilssubfloats}
 %Determine if the sub-floats should be provided.
 %    \begin{macrocode}
@@ -1806,6 +1820,26 @@
   \RequirePackage{amsmath}
 \fi
 %    \end{macrocode}
+%Check if \sty{cleveref} is required. If it is and \sty{hyperref} is
+%also required (which it is if \styfmt{jmlrutils} is being loaded by
+%\cls{jmlr}) then \sty{hyperref} needs to be loaded before
+%\sty{cleveref}.
+%    \begin{macrocode}
+\ifjmlrcleveref
+  \ifdef\jmlrprehyperref
+  {
+    \jmlrprehyperref
+    \@ifundefined{@pre at hyperref}{}{\@pre at hyperref\undef\@pre at hyperref}
+    \RequirePackage{hyperref}
+    \let\jmlrprehyperref\relax
+    \@ifundefined{@post at hyperref}{}{\@post at hyperref\undef\@post at hyperref}
+  }
+  {}
+  \RequirePackage{aliascnt}
+  \RequirePackage{cleveref}
+\fi
+%    \end{macrocode}
+%
 % The conditional \cs{iftablecaptiontop} will already have been
 % defined by the \cls{jmlr} class, so only needs to be defined
 % if not already done.
@@ -2017,20 +2051,31 @@
 %the \sty{algorithm2e} package will have to be explicitly loaded.
 %\begin{macro}{\algocfconts}
 %\changes{1.09}{2010/12/01}{new}
+%\changes{1.29}{2022-01-29}{remove use of algorithm2e internal commands}
 %Command used by \cs{floatconts} to display the caption contents.
 %    \begin{macrocode}
 \newcommand{\algocfconts}[3]{%
-  \@algocf at pre@ruled
-  #2\label{#1}\kern2pt\hrule height.8pt depth0pt\kern2pt%
-  #3\@algocf at pre@ruled
+  \jmlralgorule\par\smallskip
+  #2\label{#1}% caption and label
+  \jmlralgorule\par\smallskip
+  #3% algorithm content
+  \jmlralgorule
 }
 %    \end{macrocode}
 %\end{macro}
 %
+%\begin{macro}{\jmlralgorule}
+%\changes{1.29}{2022-01-29}{new}
+%    \begin{macrocode}
+\newcommand{\jmlralgorule}{\kern2pt\hrule height.8pt depth0pt\kern2pt}
+%    \end{macrocode}
+%\end{macro}
+%
 % The \env{algorithm} environment should float like a figure or table.
 % It should use the same counter as the \env{algorithm2e} environment.
 %\changes{1.09}{2010/12/01}{caption set up so that it doesn't use a
 %box}
+%\changes{1.29}{2022-01-29}{replaced \cs{hsize} with \cs{linewidth}}
 %    \begin{macrocode}
 \newenvironment{algorithm}[1][htbp]%
 {%
@@ -2041,7 +2086,7 @@
   \begin{algocf}[#1]%
   \renewcommand\@makecaption[2]{%
     \hskip\AlCapHSkip
-    \parbox[t]{\hsize}{\algocf at captiontext{##1}{##2}}%
+    \parbox[t]{\dimexpr\linewidth-\AlCapHSkip}{\algocf at captiontext{##1}{##2}}%
   }%
 }%
 {%
@@ -2211,6 +2256,13 @@
   \newsavebox\@subfloatcontsbox
 %    \end{macrocode}
 %\end{macro}
+%\begin{macro}{\jmlrminsubcaptionwidth}
+%Minimum sub-caption width.
+%\changes{1.29}{2022-01-29}{new}
+%    \begin{macrocode}
+  \newlength\jmlrminsubcaptionwidth
+%    \end{macrocode}
+%\end{macro}
 %\begin{macro}{\subfigure}
 %    \begin{macrocode}
   \newcommand*{\subfigure}[1][]{%
@@ -2221,6 +2273,7 @@
 %    \end{macrocode}
 %\changes{1.09}{2010/12/01}{Added check to determine whether the
 %subfigure caption is wider than the subfigure}
+%\changes{1.29}{2022-01-29}{added \cs{jmlrminsubcaptionwidth} comparison}
 %    \begin{macrocode}
   \newcommand*{\@subfigure}[2][b]{%
     \advance\c at figure by 1\relax
@@ -2236,8 +2289,18 @@
     \ifdim\@tempdimb>\@tempdima
       \settowidth\@tempdimb{\subfigurelabel{\thesubfigure}\space}%
       \addtolength{\@tempdima}{-\@tempdimb}%
-      \sbox\@subfloatcapbox{\subfigurelabel{\thesubfigure}\space
-        \parbox[t]{\@tempdima}{\@subfigcap}}%
+      \ifdim\@tempdima>\jmlrminsubcaptionwidth
+        \sbox\@subfloatcapbox{\subfigurelabel{\thesubfigure}\space
+          \parbox[t]{\@tempdima}{\@subfigcap}}%
+      \else
+        \sbox\@subfloatcapbox{\subfigurelabel{\thesubfigure}\space
+          \parbox[t]{\jmlrminsubcaptionwidth}{\@subfigcap}}%
+      \fi
+    \else
+      \ifdim\@tempdimb<\jmlrminsubcaptionwidth
+        \sbox\@subfloatcapbox{\subfigurelabel{\thesubfigure}\space
+          \parbox[t]{\jmlrminsubcaptionwidth}{\@subfigcap}}%
+      \fi
     \fi
     \begin{tabular}[#1]{@{}c@{}}%
     \usebox\@subfloatcontsbox\\\usebox\@subfloatcapbox
@@ -2354,6 +2417,7 @@
 %    \end{macrocode}
 %\changes{1.09}{2010/12/01}{Added check to determine whether the
 %subtable caption is wider than the subtable}
+%\changes{1.29}{2022-01-29}{added \cs{jmlrminsubcaptionwidth} comparison}
 %    \begin{macrocode}
   \newcommand*{\@subtable}[2][t]{%
     \refstepcounter{subtable}%
@@ -2368,8 +2432,18 @@
     \ifdim\@tempdimb>\@tempdima
       \settowidth\@tempdimb{\subtablelabel{\thesubtable}\space}%
       \addtolength{\@tempdima}{-\@tempdimb}%
-      \sbox\@subfloatcapbox{\subtablelabel{\thesubtable}\space
-        \parbox[t]{\@tempdima}{\@subtabcap}}%
+      \ifdim\@tempdima>\jmlrminsubcaptionwidth
+        \sbox\@subfloatcapbox{\subtablelabel{\thesubtable}\space
+          \parbox[t]{\@tempdima}{\@subtabcap}}%
+      \else
+        \sbox\@subfloatcapbox{\subtablelabel{\thesubtable}\space
+          \parbox[t]{\jmlrminsubcaptionwidth}{\@subtabcap}}%
+      \fi
+    \else
+      \ifdim\@tempdimb<\jmlrminsubcaptionwidth
+        \sbox\@subfloatcapbox{\subtablelabel{\thesubtable}\space
+          \parbox[t]{\jmlrminsubcaptionwidth}{\@subtabcap}}%
+      \fi
     \fi
     \begin{tabular}[#1]{@{}c@{}}%
     \usebox\@subfloatcapbox\\\usebox\@subfloatcontsbox
@@ -2699,37 +2773,86 @@
 %\end{environment}
 %\begin{environment}{lemma}
 %    \begin{macrocode}
-  \newtheorem{lemma}[theorem]{Lemma} 
+  \ifjmlrcleveref
+    \newaliascnt{lemma}{theorem}
+    \newtheorem{lemma}[theorem]{Lemma} 
+    \aliascntresetthe{lemma}
+    \crefname{lemma}{lemma}{lemmas}
+  \else
+    \newtheorem{lemma}[theorem]{Lemma} 
+  \fi
 %    \end{macrocode}
 %\end{environment}
 %\begin{environment}{proposition}
 %    \begin{macrocode}
-  \newtheorem{proposition}[theorem]{Proposition} 
+  \ifjmlrcleveref
+    \newaliascnt{proposition}{theorem}
+    \newtheorem{proposition}[proposition]{Proposition} 
+    \aliascntresetthe{proposition}
+    \crefname{proposition}{proposition}{propositions}
+  \else
+    \newtheorem{proposition}[theorem]{Proposition} 
+  \fi
 %    \end{macrocode}
 %\end{environment}
 %\begin{environment}{remark}
 %    \begin{macrocode}
-  \newtheorem{remark}[theorem]{Remark}
+  \ifjmlrcleveref
+    \newaliascnt{remark}{theorem}
+    \newtheorem{remark}[remark]{Remark}
+    \aliascntresetthe{remark}
+    \crefname{remark}{remark}{remarks}
+  \else
+    \newtheorem{remark}[theorem]{Remark}
+  \fi
 %    \end{macrocode}
 %\end{environment}
 %\begin{environment}{corollary}
 %    \begin{macrocode}
-  \newtheorem{corollary}[theorem]{Corollary}
+  \ifjmlrcleveref
+    \newaliascnt{corollary}{theorem}
+    \newtheorem{corollary}[corollary]{Corollary}
+    \aliascntresetthe{corollary}
+    \crefname{corollary}{corollary}{corollaries}
+  \else
+   \newtheorem{corollary}[theorem]{Corollary}
+  \fi
 %    \end{macrocode}
 %\end{environment}
 %\begin{environment}{definition}
 %    \begin{macrocode}
-  \newtheorem{definition}[theorem]{Definition}
+  \ifjmlrcleveref
+    \newaliascnt{definition}{theorem}
+    \newtheorem{definition}[definition]{Definition}
+    \aliascntresetthe{definition}
+    \crefname{definition}{definition}{definitions}
+  \else
+    \newtheorem{definition}[theorem]{Definition}
+  \fi
 %    \end{macrocode}
 %\end{environment}
 %\begin{environment}{conjecture}
 %    \begin{macrocode}
-  \newtheorem{conjecture}[theorem]{Conjecture}
+  \ifjmlrcleveref
+    \newaliascnt{conjecture}{theorem}
+    \newtheorem{conjecture}[conjecture]{Conjecture}
+    \aliascntresetthe{conjecture}
+    \crefname{conjecture}{conjecture}{conjectures}
+  \else
+    \newtheorem{conjecture}[theorem]{Conjecture}
+  \fi
 %    \end{macrocode}
 %\end{environment}
 %\begin{environment}{axiom}
 %    \begin{macrocode}
-  \newtheorem{axiom}[theorem]{Axiom}
+  \ifjmlrcleveref
+    \newaliascnt{axiom}{theorem}
+    \newtheorem{axiom}[axiom]{axiom}
+    \aliascntresetthe{axiom}
+    \crefname{axiom}{axiom}{axioms}
+  \else
+    \newtheorem{axiom}[theorem]{Axiom}
+  \fi
 %    \end{macrocode}
 %\end{environment}
 % End of theorem definitions.
@@ -2754,7 +2877,7 @@
 % Declare class and required TeX format:
 %    \begin{macrocode}
 \NeedsTeXFormat{LaTeX2e}
-\ProvidesClass{jmlr}[2020/09/21 v1.28 (NLCT) Journal of Machine Learning Research]
+\ProvidesClass{jmlr}[2022/01/29 v1.29 (NLCT) Journal of Machine Learning Research]
 %    \end{macrocode}
 %\changes{1.10}{2011-01-05}{hyperref now loaded by jmlr instead of
 %jmlrbook}
@@ -2802,13 +2925,13 @@
 %\begin{option}{draft}
 %\changes{1.18}{2013-10-17}{new}
 %    \begin{macrocode}
-\DeclareOptionX{draft}{\setlength\overfullrule{5pt}}
+\DeclareOptionX{draft}{\PassOptionsToClass{\CurrentOption}{article}}
 %    \end{macrocode}
 %\end{option}
 %\begin{option}{final}
 %\changes{1.18}{2013-10-17}{new}
 %    \begin{macrocode}
-\DeclareOptionX{final}{\setlength\overfullrule{0pt}}
+\DeclareOptionX{final}{\PassOptionsToClass{\CurrentOption}{article}}
 %    \end{macrocode}
 %\end{option}
 % Can't load \sty{jmlrutils} here but need the \cs{iftablecaptiontop}
@@ -2941,6 +3064,11 @@
 %    \begin{macrocode}
 \DeclareOptionX{pmlr}{\jmlrpmlr}
 %    \end{macrocode}
+%Pass cleveref option to jmlrutils
+%\changes{1.29}{2022-01-29}{added cleveref option}
+%    \begin{macrocode}
+\DeclareOptionX{cleveref}{\PassOptionsToPackage{cleveref}{jmlrutils}}
+%    \end{macrocode}
 %\begin{option}{oneside}
 %\changes{1.22}{2015/04/11}{new}
 %    \begin{macrocode}
@@ -3020,6 +3148,12 @@
 %    \begin{macrocode}
 \AtEndDocument{\@jmlrenddoc}
 %    \end{macrocode}
+%\changes{1.29}{2022-01-29}{added \sty{placeins}}
+% Need \sty{placeins} to add float barrier at the end of the
+% article.
+%    \begin{macrocode}
+\RequirePackage{placeins}
+%    \end{macrocode}
 % Required packages:
 %    \begin{macrocode}
 \RequirePackage{amsmath}
@@ -3771,8 +3905,10 @@
 % Label end page.
 %\begin{macro}{\@jmlrenddoc}
 % Label end page
+%\changes{1.29}{2022-01-29}{added float barrier}
 %    \begin{macrocode}
 \newcommand*{\@jmlrenddoc}{%
+  \FloatBarrier
   \phantomsection
   \protected at edef\@currentlabelname{end of \@shorttitle}%
   \label{jmlrend}\null
@@ -4688,6 +4824,14 @@
 %\end{macro}
 % Check for packages that are known to cause problems when 
 % combining articles into a book.
+% Since \cls{jmlrbook} is now deprecated some errors can be
+% converted to warnings, which are suppressed by default.
+%\begin{macro}{\@jmlr at check@warn}
+%\changes{1.29}{2022-01-29}{new}
+%    \begin{macrocode}
+\newcommand*{\@jmlr at check@warn}[1]{}
+%    \end{macrocode}
+%\end{macro}
 %\begin{macro}{\@jmlr at check@packages}
 %    \begin{macrocode}
 \newcommand*{\@jmlr at check@packages}{%
@@ -4702,13 +4846,13 @@
      Please use \string\includegraphics\space to include images
      instead}{}}{}%
   \@ifpackageloaded{subfig}{%
-    \ClassError{jmlr}{Package `subfig' detected.\MessageBreak
+    \@jmlr at check@warn{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}{}}{}%
+    \string\subtable\space instead}}{}%
   \@ifpackageloaded{theorem}{%
    \ClassError{jmlr}{Package `theorem' detected.\MessageBreak
     This can cause a conflict with other packages used by jmlr}{}}{}%
@@ -4718,10 +4862,12 @@
   \@ifpackageloaded{amsthm}{%
    \ClassError{jmlr}{Package `amsthm' detected.\MessageBreak
     This package conflicts with the jmlr class}{}}{}%
-  \@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}{}%
+  \@ifpackageloaded{pdfpages}%
+   {\@jmlr at check@warn{Package `pdfpages' detected.\MessageBreak
+   This can cause a problem for jmlrbook}}{}%
+  \@ifpackageloaded{geometry}%
+   {\@jmlr at check@warn{Package `geometry' detected.\MessageBreak
+   This can cause a problem for jmlrbook}}{}%
   \@ifpackageloaded{tabularx}{%
    \ClassError{jmlr}{Package `tabularx' detected.\MessageBreak
     This will break footnote links}{}}{}%
@@ -4740,8 +4886,6 @@
 %\end{macro}
 %\begin{macro}{\jmlrSuppressPackageChecks}
 % Don't check for potentially problematic packages.
-% (If I find this in any paper sent to me for inclusion in a book,
-% it will annoy me.)
 %    \begin{macrocode}
 \newcommand*{\jmlrSuppressPackageChecks}{%
   \let\@jmlr at check@packages\relax
@@ -4889,7 +5033,7 @@
 %    \end{macrocode}
 % Declare class:
 %    \begin{macrocode}
-\ProvidesClass{jmlrbook}[2020/09/21 v1.28 (NLCT) JMLR Book Style]
+\ProvidesClass{jmlrbook}[2022/01/29 v1.29 (NLCT) JMLR Book Style]
 %    \end{macrocode}
 % Need \sty{xkeyval} package to have key=value class options
 %    \begin{macrocode}
@@ -4929,8 +5073,7 @@
 %    \end{macrocode}
 % \sty{fink} version too old.
 %    \begin{macrocode}
-    \ClassWarning{jmlrbook}{Install `currfile' package or update
-      `fink' package}
+    \ClassWarning{jmlrbook}{`currfile' package required}
   }
 }
 %    \end{macrocode}

Modified: trunk/Master/texmf-dist/source/latex/jmlr/jmlr.ins
===================================================================
--- trunk/Master/texmf-dist/source/latex/jmlr/jmlr.ins	2022-01-29 21:45:08 UTC (rev 61792)
+++ trunk/Master/texmf-dist/source/latex/jmlr/jmlr.ins	2022-01-29 21:45:49 UTC (rev 61793)
@@ -1,10 +1,10 @@
-% jmlr.ins generated using makedtx version 1.2 2020/9/21 16:27
+% jmlr.ins generated using makedtx version 1.2 2022/1/29 14:54
 \input docstrip
 
 \preamble
 
  jmlr.dtx
- Copyright 2020 Nicola Talbot
+ Copyright 2022 Nicola Talbot
 
  This work may be distributed and/or modified under the
  conditions of the LaTeX Project Public License, either version 1.3

Modified: trunk/Master/texmf-dist/tex/latex/jmlr/jmlr.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/jmlr/jmlr.cls	2022-01-29 21:45:08 UTC (rev 61792)
+++ trunk/Master/texmf-dist/tex/latex/jmlr/jmlr.cls	2022-01-29 21:45:49 UTC (rev 61793)
@@ -7,7 +7,7 @@
 %% jmlr.dtx  (with options: `jmlr.cls,package')
 %% 
 %%  jmlr.dtx
-%%  Copyright 2020 Nicola Talbot
+%%  Copyright 2022 Nicola Talbot
 %% 
 %%  This work may be distributed and/or modified under the
 %%  conditions of the LaTeX Project Public License, either version 1.3
@@ -41,7 +41,7 @@
 %% First editor:
 %% Second editor:
 \NeedsTeXFormat{LaTeX2e}
-\ProvidesClass{jmlr}[2020/09/21 v1.28 (NLCT) Journal of Machine Learning Research]
+\ProvidesClass{jmlr}[2022/01/29 v1.29 (NLCT) Journal of Machine Learning Research]
 \RequirePackage{xkeyval}
 \RequirePackage{calc}
 \RequirePackage{etoolbox}
@@ -56,8 +56,8 @@
   \PassOptionsToPackage{color}{xcolor}}
 \DeclareOptionX{gray}{\grayscaletrue
   \PassOptionsToPackage{gray}{xcolor}}
-\DeclareOptionX{draft}{\setlength\overfullrule{5pt}}
-\DeclareOptionX{final}{\setlength\overfullrule{0pt}}
+\DeclareOptionX{draft}{\PassOptionsToClass{\CurrentOption}{article}}
+\DeclareOptionX{final}{\PassOptionsToClass{\CurrentOption}{article}}
 \newif\iftablecaptiontop
 \tablecaptiontoptrue
 \newcommand{\tableconts}[3]{%
@@ -107,6 +107,7 @@
 \DeclareOptionX{nowcp}{\jmlrnowcp}
 \DeclareOptionX{wcp}{\jmlrwcp}
 \DeclareOptionX{pmlr}{\jmlrpmlr}
+\DeclareOptionX{cleveref}{\PassOptionsToPackage{cleveref}{jmlrutils}}
 \DeclareOptionX{oneside}{\@twosidefalse \@mparswitchfalse}
 \DeclareOptionX{twoside}{\@twosidetrue \@mparswitchtrue}
 \@twosidetrue
@@ -143,6 +144,7 @@
   \setlength{\textwidth}{6.0 true in}
 \fi
 \AtEndDocument{\@jmlrenddoc}
+\RequirePackage{placeins}
 \RequirePackage{amsmath}
 \RequirePackage{amssymb}
 \RequirePackage{natbib}
@@ -481,6 +483,7 @@
 \def\firstpageno#1{\setcounter{page}{#1}}
 \@ifundefined{startpage}{}{\firstpageno{\startpage}}
 \newcommand*{\@jmlrenddoc}{%
+  \FloatBarrier
   \phantomsection
   \protected at edef\@currentlabelname{end of \@shorttitle}%
   \label{jmlrend}\null
@@ -958,6 +961,7 @@
   \let\tableofcontents\arttableofcontents
   \def\thesection{\arabic{section}}%
 }
+\newcommand*{\@jmlr at check@warn}[1]{}
 \newcommand*{\@jmlr at check@packages}{%
   \@ifpackageloaded{epsfig}{%
     \ClassError{jmlr}{Obsolete package `epsfig' detected.
@@ -970,13 +974,13 @@
      Please use \string\includegraphics\space to include images
      instead}{}}{}%
   \@ifpackageloaded{subfig}{%
-    \ClassError{jmlr}{Package `subfig' detected.\MessageBreak
+    \@jmlr at check@warn{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}{}}{}%
+    \string\subtable\space instead}}{}%
   \@ifpackageloaded{theorem}{%
    \ClassError{jmlr}{Package `theorem' detected.\MessageBreak
     This can cause a conflict with other packages used by jmlr}{}}{}%
@@ -986,10 +990,12 @@
   \@ifpackageloaded{amsthm}{%
    \ClassError{jmlr}{Package `amsthm' detected.\MessageBreak
     This package conflicts with the jmlr class}{}}{}%
-  \@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}{}%
+  \@ifpackageloaded{pdfpages}%
+   {\@jmlr at check@warn{Package `pdfpages' detected.\MessageBreak
+   This can cause a problem for jmlrbook}}{}%
+  \@ifpackageloaded{geometry}%
+   {\@jmlr at check@warn{Package `geometry' detected.\MessageBreak
+   This can cause a problem for jmlrbook}}{}%
   \@ifpackageloaded{tabularx}{%
    \ClassError{jmlr}{Package `tabularx' detected.\MessageBreak
     This will break footnote links}{}}{}%

Modified: trunk/Master/texmf-dist/tex/latex/jmlr/jmlrbook.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/jmlr/jmlrbook.cls	2022-01-29 21:45:08 UTC (rev 61792)
+++ trunk/Master/texmf-dist/tex/latex/jmlr/jmlrbook.cls	2022-01-29 21:45:49 UTC (rev 61793)
@@ -7,7 +7,7 @@
 %% jmlr.dtx  (with options: `jmlrbook.cls,package')
 %% 
 %%  jmlr.dtx
-%%  Copyright 2020 Nicola Talbot
+%%  Copyright 2022 Nicola Talbot
 %% 
 %%  This work may be distributed and/or modified under the
 %%  conditions of the LaTeX Project Public License, either version 1.3
@@ -41,7 +41,7 @@
 %% First editor:
 %% Second editor:
 \NeedsTeXFormat{LaTeX2e}
-\ProvidesClass{jmlrbook}[2020/09/21 v1.28 (NLCT) JMLR Book Style]
+\ProvidesClass{jmlrbook}[2022/01/29 v1.29 (NLCT) JMLR Book Style]
 \RequirePackage{xkeyval}
 \RequirePackage{setspace}
 \newcommand*\jmlrprefacepath{}
@@ -57,8 +57,7 @@
     \renewcommand*\jmlrprefacepath{\finkpath}%
   }
   {%
-    \ClassWarning{jmlrbook}{Install `currfile' package or update
-      `fink' package}
+    \ClassWarning{jmlrbook}{`currfile' package required}
   }
 }
 \providecommand*{\jmlrprehyperref}{}

Modified: trunk/Master/texmf-dist/tex/latex/jmlr/jmlrutils.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/jmlr/jmlrutils.sty	2022-01-29 21:45:08 UTC (rev 61792)
+++ trunk/Master/texmf-dist/tex/latex/jmlr/jmlrutils.sty	2022-01-29 21:45:49 UTC (rev 61793)
@@ -7,7 +7,7 @@
 %% jmlr.dtx  (with options: `jmlrutils.sty,package')
 %% 
 %%  jmlr.dtx
-%%  Copyright 2020 Nicola Talbot
+%%  Copyright 2022 Nicola Talbot
 %% 
 %%  This work may be distributed and/or modified under the
 %%  conditions of the LaTeX Project Public License, either version 1.3
@@ -40,15 +40,21 @@
 %%   Right brace   \}     Tilde         \~}
 %% First editor:
 %% Second editor:
-\ProvidesPackage{jmlrutils}[2020/09/21 v1.28 (NLCT)]
+\ProvidesPackage{jmlrutils}[2022/01/29 v1.29 (NLCT)]
 \newif\ifjmlrutilsmaths
 \jmlrutilsmathstrue
 \DeclareOption{maths}{\jmlrutilsmathstrue}
 \DeclareOption{nomaths}{\jmlrutilsmathsfalse}
+\DeclareOption{math}{\jmlrutilsmathstrue}
+\DeclareOption{nomath}{\jmlrutilsmathsfalse}
 \newif\ifjmlrutilstheorems
 \jmlrutilstheoremstrue
 \DeclareOption{theorems}{\jmlrutilstheoremstrue}
 \DeclareOption{notheorems}{\jmlrutilstheoremsfalse}
+\newif\ifjmlrcleveref
+\jmlrclevereffalse
+\DeclareOption{cleveref}{\jmlrclevereftrue}
+\DeclareOption{nocleveref}{\jmlrclevereffalse}
 \newif\ifjmlrutilssubfloats
 \jmlrutilssubfloatstrue
 \DeclareOption{subfloats}{\jmlrutilssubfloatstrue}
@@ -58,6 +64,19 @@
 \ifjmlrutilsmaths
   \RequirePackage{amsmath}
 \fi
+\ifjmlrcleveref
+  \ifdef\jmlrprehyperref
+  {
+    \jmlrprehyperref
+    \@ifundefined{@pre at hyperref}{}{\@pre at hyperref\undef\@pre at hyperref}
+    \RequirePackage{hyperref}
+    \let\jmlrprehyperref\relax
+    \@ifundefined{@post at hyperref}{}{\@post at hyperref\undef\@post at hyperref}
+  }
+  {}
+  \RequirePackage{aliascnt}
+  \RequirePackage{cleveref}
+\fi
 \@ifundefined{iftablecaptiontop}
 {\newif\iftablecaptiontop
 \tablecaptiontoptrue}
@@ -158,10 +177,13 @@
   #2\label{#1}%
 }
 \newcommand{\algocfconts}[3]{%
-  \@algocf at pre@ruled
-  #2\label{#1}\kern2pt\hrule height.8pt depth0pt\kern2pt%
-  #3\@algocf at pre@ruled
+  \jmlralgorule\par\smallskip
+  #2\label{#1}% caption and label
+  \jmlralgorule\par\smallskip
+  #3% algorithm content
+  \jmlralgorule
 }
+\newcommand{\jmlralgorule}{\kern2pt\hrule height.8pt depth0pt\kern2pt}
 \newenvironment{algorithm}[1][htbp]%
 {%
   \ifundef{\algocf}%
@@ -171,7 +193,7 @@
   \begin{algocf}[#1]%
   \renewcommand\@makecaption[2]{%
     \hskip\AlCapHSkip
-    \parbox[t]{\hsize}{\algocf at captiontext{##1}{##2}}%
+    \parbox[t]{\dimexpr\linewidth-\AlCapHSkip}{\algocf at captiontext{##1}{##2}}%
   }%
 }%
 {%
@@ -258,6 +280,7 @@
   \newcommand*{\subfigurelabel}[1]{(\emph{#1})}
   \newsavebox\@subfloatcapbox
   \newsavebox\@subfloatcontsbox
+  \newlength\jmlrminsubcaptionwidth
   \newcommand*{\subfigure}[1][]{%
     \bgroup
     \def\@subfigcap{#1}%
@@ -277,8 +300,18 @@
     \ifdim\@tempdimb>\@tempdima
       \settowidth\@tempdimb{\subfigurelabel{\thesubfigure}\space}%
       \addtolength{\@tempdima}{-\@tempdimb}%
-      \sbox\@subfloatcapbox{\subfigurelabel{\thesubfigure}\space
-        \parbox[t]{\@tempdima}{\@subfigcap}}%
+      \ifdim\@tempdima>\jmlrminsubcaptionwidth
+        \sbox\@subfloatcapbox{\subfigurelabel{\thesubfigure}\space
+          \parbox[t]{\@tempdima}{\@subfigcap}}%
+      \else
+        \sbox\@subfloatcapbox{\subfigurelabel{\thesubfigure}\space
+          \parbox[t]{\jmlrminsubcaptionwidth}{\@subfigcap}}%
+      \fi
+    \else
+      \ifdim\@tempdimb<\jmlrminsubcaptionwidth
+        \sbox\@subfloatcapbox{\subfigurelabel{\thesubfigure}\space
+          \parbox[t]{\jmlrminsubcaptionwidth}{\@subfigcap}}%
+      \fi
     \fi
     \begin{tabular}[#1]{@{}c@{}}%
     \usebox\@subfloatcontsbox\\\usebox\@subfloatcapbox
@@ -349,8 +382,18 @@
     \ifdim\@tempdimb>\@tempdima
       \settowidth\@tempdimb{\subtablelabel{\thesubtable}\space}%
       \addtolength{\@tempdima}{-\@tempdimb}%
-      \sbox\@subfloatcapbox{\subtablelabel{\thesubtable}\space
-        \parbox[t]{\@tempdima}{\@subtabcap}}%
+      \ifdim\@tempdima>\jmlrminsubcaptionwidth
+        \sbox\@subfloatcapbox{\subtablelabel{\thesubtable}\space
+          \parbox[t]{\@tempdima}{\@subtabcap}}%
+      \else
+        \sbox\@subfloatcapbox{\subtablelabel{\thesubtable}\space
+          \parbox[t]{\jmlrminsubcaptionwidth}{\@subtabcap}}%
+      \fi
+    \else
+      \ifdim\@tempdimb<\jmlrminsubcaptionwidth
+        \sbox\@subfloatcapbox{\subtablelabel{\thesubtable}\space
+          \parbox[t]{\jmlrminsubcaptionwidth}{\@subtabcap}}%
+      \fi
     \fi
     \begin{tabular}[#1]{@{}c@{}}%
     \usebox\@subfloatcapbox\\\usebox\@subfloatcontsbox
@@ -507,13 +550,62 @@
   }
   \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}
+  \ifjmlrcleveref
+    \newaliascnt{lemma}{theorem}
+    \newtheorem{lemma}[theorem]{Lemma}
+    \aliascntresetthe{lemma}
+    \crefname{lemma}{lemma}{lemmas}
+  \else
+    \newtheorem{lemma}[theorem]{Lemma}
+  \fi
+  \ifjmlrcleveref
+    \newaliascnt{proposition}{theorem}
+    \newtheorem{proposition}[proposition]{Proposition}
+    \aliascntresetthe{proposition}
+    \crefname{proposition}{proposition}{propositions}
+  \else
+    \newtheorem{proposition}[theorem]{Proposition}
+  \fi
+  \ifjmlrcleveref
+    \newaliascnt{remark}{theorem}
+    \newtheorem{remark}[remark]{Remark}
+    \aliascntresetthe{remark}
+    \crefname{remark}{remark}{remarks}
+  \else
+    \newtheorem{remark}[theorem]{Remark}
+  \fi
+  \ifjmlrcleveref
+    \newaliascnt{corollary}{theorem}
+    \newtheorem{corollary}[corollary]{Corollary}
+    \aliascntresetthe{corollary}
+    \crefname{corollary}{corollary}{corollaries}
+  \else
+   \newtheorem{corollary}[theorem]{Corollary}
+  \fi
+  \ifjmlrcleveref
+    \newaliascnt{definition}{theorem}
+    \newtheorem{definition}[definition]{Definition}
+    \aliascntresetthe{definition}
+    \crefname{definition}{definition}{definitions}
+  \else
+    \newtheorem{definition}[theorem]{Definition}
+  \fi
+  \ifjmlrcleveref
+    \newaliascnt{conjecture}{theorem}
+    \newtheorem{conjecture}[conjecture]{Conjecture}
+    \aliascntresetthe{conjecture}
+    \crefname{conjecture}{conjecture}{conjectures}
+  \else
+    \newtheorem{conjecture}[theorem]{Conjecture}
+  \fi
+  \ifjmlrcleveref
+    \newaliascnt{axiom}{theorem}
+    \newtheorem{axiom}[axiom]{axiom}
+    \aliascntresetthe{axiom}
+    \crefname{axiom}{axiom}{axioms}
+  \else
+    \newtheorem{axiom}[theorem]{Axiom}
+  \fi
 \fi
 \endinput
 %%



More information about the tex-live-commits mailing list.