12.07.2015 Views

jmlr: LaTeX2e Classes for the Journal of Machine Learning Research

jmlr: LaTeX2e Classes for the Journal of Machine Learning Research

jmlr: LaTeX2e Classes for the Journal of Machine Learning Research

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

4.1.7 MiscellanyThis code was taken from <strong>jmlr</strong>2e.sty.Define macros <strong>for</strong> figure captions and table titles488 \def\figurecaption#1#2{\noindent\hangindent 40pt489 \hbox to 36pt {\small\slshape #1 \hfil}490 \ignorespaces {\small #2}}Figurecenter prints <strong>the</strong> caption title centered.491 \def\figurecenter#1#2{\centerline{{\slshape #1} #2}}492 \def\figurecenter#1#2{\centerline{{\small\slshape #1} {\small #2}}}Allow “hanging indents” in long captions\@makecaption493 \long\def\@makecaption#1#2{%494 \vskip 10pt495 \setbox\@tempboxa\hbox{#1: #2}%496 \ifdim \wd\@tempboxa >\hsize % IF longer than one line:497 \begin{list}{#1:}{%498 \settowidth{\labelwidth}{#1:}499 \setlength{\leftmargin}{\labelwidth}500 \addtolength{\leftmargin}{\labelsep}501 }\item #2 \end{list}\par % Output in quote mode502 \else % ELSE center.503 \hbox to\hsize{\hfil\box\@tempboxa\hfil}504 \fi}Define strut macros <strong>for</strong> skipping spaces above and below text in a tabular environment.505 \def\abovestrut#1{\rule[0in]{0in}{#1}\ignorespaces}506 \def\belowstrut#1{\rule[-#1]{0in}{#1}\ignorespaces}\acksAcknowledgments507 \long\def\acks#1{\section*{Acknowledgments}#1}<strong>Research</strong> Note\researchnote\set508 \long\def\researchnote#1{\noindent {\LARGE\itshape <strong>Research</strong> Note} #1}509 \newcommand*{\set}[1]{\ensuremath{\mathcal{#1}}}Convenient macros <strong>for</strong> cross-referencing.510 \newcommand*{\@<strong>jmlr</strong>@reflistsep}{, }511 \newcommand*{\@<strong>jmlr</strong>@reflistlastsep}{ and }512 \newcommand*{\sectionrefname}{Section}513 \newcommand*{\sectionsrefname}{Sections}51

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!