summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/jmlr/jmlrbook.cls
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/jmlr/jmlrbook.cls')
-rw-r--r--Master/texmf-dist/tex/latex/jmlr/jmlrbook.cls115
1 files changed, 93 insertions, 22 deletions
diff --git a/Master/texmf-dist/tex/latex/jmlr/jmlrbook.cls b/Master/texmf-dist/tex/latex/jmlr/jmlrbook.cls
index 0a67946d173..f05c4fc0dd9 100644
--- a/Master/texmf-dist/tex/latex/jmlr/jmlrbook.cls
+++ b/Master/texmf-dist/tex/latex/jmlr/jmlrbook.cls
@@ -41,7 +41,7 @@
%% First editor:
%% Second editor:
\NeedsTeXFormat{LaTeX2e}
-\ProvidesClass{jmlrbook}[2011/01/05 v1.10 (NLCT) JMLR Book Style]
+\ProvidesClass{jmlrbook}[2011/03/24 v1.11 (NLCT) JMLR Book Style]
\RequirePackage{xkeyval}
\newcommand*{\jmlr@prehyperref}{}
\define@key{jmlrbook.cls}{prehyperref}{%
@@ -90,12 +90,37 @@
\expandafter\NAT@parse@date\NAT@date??????@@%
\ifciteindex\NAT@index\fi}
\RequirePackage{setspace}
+\RequirePackage{fink}
\@twosidetrue
\newif\if@openright
\@openrighttrue
\newif\if@mainmatter
\newcommand*{\pagerule}[1][0pt]{\par\noindent
\rule[#1]{\linewidth}{2pt}\par}
+\ifjmlrhtml
+ \newenvironment{preface}[1][preface]%
+ {%
+ \noindent\HCode{<h2>\prefacename</h2>}%
+ }%
+ {%
+ }
+\else
+ \newenvironment{preface}[1][preface]%
+ {%
+ \chapter{\prefacename}
+ \protected@write\@mainauxout
+ {}{\string\@prefacestart{\thepage}{\arabic{page}}}%
+ \protected@write\@mainauxout{}{\string\@prefacefile{\finkpath}{#1}}%
+ }%
+ {%
+ \protected@write\@mainauxout{}{\string\@prefaceend{\thepage}}%
+ }
+\fi
+\newcommand*{\prefacename}{Preface}
+\newcommand*{\@prefacefile}[2]{}
+\newcommand*{\@prefacestart}[2]{}
+\newcommand*{\@prefaceend}[1]{}
+\newcommand*{\@prefaceeditor}[1]{}
\newcommand*{\chapterrefname}{Chapter}
\newcommand*{\chaptersrefname}{Chapters}
\newcommand*{\chapterref}[1]{%
@@ -253,27 +278,51 @@
\newcommand{\postmainproductioneditor}{\par}
\renewcommand{\maindatefont}{}
\renewcommand{\postmaindate}{}
-\newenvironment{signoff}[2][The Editorial Team]{%
- \def\Editor##1{\begin{tabular}{@{}l@{}}%
- ##1%
- \end{tabular}%
- \par\vskip\baselineskip\noindent\ignorespaces
+\ifjmlrhtml
+ \newenvironment{signoff}[2][The Editorial Team]{%
+ \def\Editor##1{##1\par\vskip\baselineskip\noindent\ignorespaces}%
+ \def\@editorialteam{#1}%
+ \def\@signoffdate{#2}%
+ \par\vskip\baselineskip\noindent
+ \ifx\@signoffdate\@empty
+ \else
+ \emph{\@signoffdate}\par
+ \vskip\baselineskip\noindent
+ \fi
+ \ifx\@editorialteam\@empty
+ \else
+ \@editorialteam:\par\vskip\baselineskip
+ \fi
+ \noindent\ignorespaces
}%
- \def\@editorialteam{#1}%
- \def\@signoffdate{#2}%
- \par\vskip\baselineskip\noindent
- \ifx\@signoffdate\@empty
- \else
- \emph{\@signoffdate}\par
- \vskip\baselineskip\noindent
- \fi
- \ifx\@editorialteam\@empty
- \else
- \@editorialteam:\par\vskip\baselineskip
- \fi
- \noindent\ignorespaces
-}{%
-}
+ {%
+ }%
+\else
+ \newenvironment{signoff}[2][The Editorial Team]{%
+ \def\Editor##1{%
+ \protected@write\@mainauxout{}{\string\@prefaceeditor{##1}}%
+ \begin{tabular}{@{}l@{}}%
+ ##1%
+ \end{tabular}%
+ \par\vskip\baselineskip\noindent\ignorespaces
+ }%
+ \def\@editorialteam{#1}%
+ \def\@signoffdate{#2}%
+ \par\vskip\baselineskip\noindent
+ \ifx\@signoffdate\@empty
+ \else
+ \emph{\@signoffdate}\par
+ \vskip\baselineskip\noindent
+ \fi
+ \ifx\@editorialteam\@empty
+ \else
+ \@editorialteam:\par\vskip\baselineskip
+ \fi
+ \noindent\ignorespaces
+ }%
+ {%
+ }
+\fi
\newenvironment{authorsignoff}{%
\def\Author##1{\begin{tabular}{@{}l@{}}%
##1%
@@ -705,7 +754,6 @@ not permitted outside `jmlrpapers' environment}{}%
}
\newcommand*\l@chapterauthor[2]{%
\ifnum \c@tocdepth >\m@ne
- \addpenalty{-\@highpenalty}%
\begingroup
\parindent \z@ \rightskip \@pnumwidth
\parfillskip -\@pnumwidth
@@ -784,6 +832,29 @@ not permitted outside `jmlrpapers' environment}{}%
}
\renewcommand*\bibsection{\section*{\refname}}
\jmlrbookcommands
+\providecommand*{\SetNoLine}{\SetAlgoNoLine}
+\providecommand*{\SetVline}{\SetAlgoVlined}
+\providecommand*{\Setvlineskip}{\SetVlineSkip}
+\providecommand*{\SetLine}{\SetAlgoLined}
+\providecommand*{\dontprintsemicolon}{\DontPrintSemicolon}
+\providecommand*{\printsemicolon}{\PrintSemicolon}
+\providecommand*{\incmargin}{\IncMargin}
+\providecommand*{\decmargin}[1]{\DecMargin{-#1}}
+\providecommand*{\setnlskip}{\SetNlSkip}
+\providecommand*{\Setnlskip}{\SetNlSkip}
+\providecommand*{\setalcapskip}{\SetAlCapSkip}
+\providecommand*{\setalcaphskip}{\SetAlCapHSkip}
+\providecommand*{\nlSty}{\NlSty}
+\providecommand*{\Setnlsty}{\SetNlSty}
+\providecommand*{\linesnumbered}{\LinesNumbered}
+\providecommand*{\linesnotnumbered}{\LinesNotNumbered}
+\providecommand*{\linesnumberedhidden}{\LinesNumberedHidden}
+\providecommand*{\showln}{\ShowLn}
+\providecommand*{\showlnlabel}{\ShowLnLabel}
+\providecommand*{\nocaptionofalgo}{\NoCaptionOfAlgo}
+\providecommand*{\restorecaptionofalgo}{\RestoreCaptionOfAlgo}
+\providecommand*{\restylealgo}{\RestyleAlgo}
+\providecommand*{\Titleofalgo}{\TitleOfAlgo}
\endinput
%%
%% End of file `jmlrbook.cls'.