summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/jmlr/jmlr.cls
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-06-01 00:23:04 +0000
committerKarl Berry <karl@freefriends.org>2012-06-01 00:23:04 +0000
commitc4817efca9e197163ea521e2d114433812a9dcc8 (patch)
tree7fc08f5b7c6b325f61d4a00add0eb81e60d5baa4 /Master/texmf-dist/tex/latex/jmlr/jmlr.cls
parent2ac35adc5ecd45f8855d340dd51c54b54c8baffc (diff)
jmlr 1.17 (30may12)
git-svn-id: svn://tug.org/texlive/trunk@26759 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/jmlr/jmlr.cls')
-rw-r--r--Master/texmf-dist/tex/latex/jmlr/jmlr.cls48
1 files changed, 39 insertions, 9 deletions
diff --git a/Master/texmf-dist/tex/latex/jmlr/jmlr.cls b/Master/texmf-dist/tex/latex/jmlr/jmlr.cls
index 9ad9c278933..23e01c425f0 100644
--- a/Master/texmf-dist/tex/latex/jmlr/jmlr.cls
+++ b/Master/texmf-dist/tex/latex/jmlr/jmlr.cls
@@ -41,7 +41,7 @@
%% First editor:
%% Second editor:
\NeedsTeXFormat{LaTeX2e}
-\ProvidesClass{jmlr}[2012/05/16 v1.16 (NLCT) Journal of Machine Learning Research]
+\ProvidesClass{jmlr}[2012/05/30 v1.17 (NLCT) Journal of Machine Learning Research]
\RequirePackage{xkeyval}
\providecommand*{\jmlrprehyperref}{}
\newif\if@openright
@@ -215,6 +215,7 @@ Keywords:} \ignorespaces}%
\setlength\interauthorskip{0.08in plus 0.1in minus 0.1in}
\setlength\aftermaketitskip{0.3in plus 0.1in minus 0.1in}
\newcommand*{\titlebreak}{\newline}
+\newcommand*{\titletag}[1]{}
\renewcommand*{\title}[2][\@title]{%
\def\@shorttitle{#1}%
\def\@title{#2}%
@@ -418,7 +419,12 @@ Keywords:} \ignorespaces}%
}
\def\@jmlrmaketitle{\vbox{\hsize\textwidth
\linewidth\hsize
- \jmlrpretitle \@title \jmlrposttitle
+ \jmlrpretitle
+ {%
+ \def\titletag##1{##1}%
+ \@title
+ }%
+ \jmlrposttitle
\jmlrpreauthor \@author \jmlrpostauthor
}}
\newcommand*\kernelmachines{(for
@@ -500,19 +506,19 @@ Keywords:} \ignorespaces}%
\def\@evenfoot{\hfill \small\rmfamily \thepage \hfill}%
}%
\pagestyle{jmlrps}
-\let\@jmlrvolume\@empty
+\providecommand*{\@jmlrvolume}{}
\newcommand*{\jmlrvolume}[1]{\renewcommand*{\@jmlrvolume}{#1}}
-\let\@jmlrissue\@empty
+\providecommand*{\@jmlrissue}{}
\newcommand*{\jmlrissue}[1]{\renewcommand*{\@jmlrissue}{#1}}
-\let\@jmlryear\@empty
+\providecommand*{\@jmlryear}{}
\newcommand*{\jmlryear}[1]{\renewcommand*{\@jmlryear}{#1}}
-\newcommand*\@jmlrpages{\pageref{jmlrstart}--\pageref{jmlrend}}
+\providecommand*\@jmlrpages{\pageref{jmlrstart}--\pageref{jmlrend}}
\newcommand*{\jmlrpages}[1]{\renewcommand*{\@jmlrpages}{#1}}
-\let\@jmlrsubmitted\@empty
+\providecommand*\@jmlrsubmitted{}
\newcommand*{\jmlrsubmitted}[1]{\renewcommand*{\@jmlrsubmitted}{#1}}
-\let\@jmlrpublished\@empty
+\providecommand*\@jmlrpublished{}
\newcommand*{\jmlrpublished}[1]{\renewcommand*{\@jmlrpublished}{#1}}
-\let\@jmlrworkshop\@empty
+\providecommand*\@jmlrworkshop{}
\newcommand*{\jmlrworkshop}[1]{\renewcommand*{\@jmlrworkshop}{#1}}
\newcommand*{\@jmlrauthors}{}
\newcommand*{\@jmlr@authors}{\@jmlrauthors}
@@ -1104,6 +1110,7 @@ Keywords:} \ignorespaces}%
\setcounter{section}{0}%
\gdef\@chapapp{\appendixname}%
\gdef\thechapter{\@Alph\c@chapter}%
+ \def\@write@jmlr@import{\@@write@jmlr@apdimport}%
\csname appendixmore\endcsname
}
\newcommand*{\jmlrbookcommands}{%
@@ -1157,6 +1164,29 @@ Keywords:} \ignorespaces}%
\newcommand*{\jmlrSuppressPackageChecks}{%
\let\@jmlr@check@packages\relax
}
+\DeclareRobustCommand*{\obsoletefontcs}[1]{%
+ \ClassWarning{jmlr}{Obsolete command
+ \expandafter\string\csname#1\endcsname\space detected.}%
+ \csname #1 \endcsname
+}
+\renewcommand*{\bf}{%
+ \obsoletefontcs{bf}%
+}
+\renewcommand*{\it}{%
+ \obsoletefontcs{it}%
+}
+\renewcommand*{\sc}{%
+ \obsoletefontcs{sc}%
+}
+\renewcommand*{\rm}{%
+ \obsoletefontcs{rm}%
+}
+\renewcommand*{\sf}{%
+ \obsoletefontcs{sf}%
+}
+\renewcommand*{\tt}{%
+ \obsoletefontcs{tt}%
+}
\endinput
%%
%% End of file `jmlr.cls'.