├── README.md ├── jmlr2e.sty ├── sample.bib ├── sample.pdf └── sample.tex /README.md: -------------------------------------------------------------------------------- 1 | # JMLR style file 2 | 3 | LaTeX style file for the Journal of Machine Learning Research 4 | -------------------------------------------------------------------------------- /jmlr2e.sty: -------------------------------------------------------------------------------- 1 | % 2 | % File: Macros for Journal of Machine Learning Research 3 | % Very minor modification of macros for Journal of Artificial 4 | % Intelligence Research (jair.sty) 5 | % 6 | % Suggestions: Submit an issue or pull request to 7 | % https://github.com/JmlrOrg/jmlr-style-file 8 | % 9 | % Last edited October 9, 2000 by Leslie Pack Kaelbling 10 | % Last edited January 23, 2001 by Alex J. Smola (we should set up RCS or CVS) 11 | % Last edited March 29, 2004 Erik G. Learned-Miller 12 | % Last edited January 17, 2016 Charles Sutton 13 | % Last edited January 9, 2017 Charles Sutton 14 | % (We have now set up GIT, good thing that we waited for it to 15 | % be invented.) 16 | % Last edited June 17, 2019 Fabian Pedregosa 17 | % Added a preprint option 18 | % Last edited February 3, 2020 Boyue Li 19 | % Fixed section counter in appendix 20 | % Last edited Sept 2, 2020 Alp Kucukelbir 21 | % Do not define proof environemtn if already defined. (Thank you James Martens) 22 | % Last edited Sept 5, 2022 Alp Kucukelbir 23 | % Disclose funding. 24 | % Last edited Oct 17, 2022 Daniel LeJeune 25 | % Fixed appendix title display. 26 | % 27 | % The name of this file should follow the article document 28 | % type, e.g. \documentstyle[jmlr]{article} 29 | 30 | % Copied and edited from similar file for Machine Learning Journal. 31 | % Original Author: Jeff Schlimmer 32 | % Edited by: Kevin Thompson, Martha Del Alto, Helen Stewart, Steve Minton \& Pandu Nayak. 33 | 34 | \typeout{Document Style `jmlr'.} 35 | 36 | \newif\if@abbrvbib\@abbrvbibfalse 37 | \DeclareOption{abbrvbib}{\@abbrvbibtrue} 38 | 39 | \newif\if@usehyper\@usehypertrue 40 | \DeclareOption{nohyperref}{\@usehyperfalse} 41 | \DeclareOption{hyperref}{\@usehypertrue} 42 | 43 | % declare preprint option, which creates a preprint version ready for 44 | % upload to, e.g., arXiv 45 | \newif\if@preprint\@preprintfalse 46 | \DeclareOption{preprint}{ 47 | \@preprinttrue 48 | } 49 | 50 | \DeclareOption*{\PackageWarning{jmlr}{Unknown ‘\CurrentOption’}} 51 | \ProcessOptions\relax 52 | 53 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 54 | % REQUIRED PACKAGES 55 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 56 | 57 | \RequirePackage{epsfig} 58 | \RequirePackage{amssymb} 59 | \RequirePackage{natbib} 60 | \RequirePackage{graphicx} 61 | 62 | \if@usehyper 63 | \RequirePackage[colorlinks=false,allbordercolors={1 1 1}]{hyperref} 64 | \fi 65 | 66 | \if@abbrvbib 67 | \bibliographystyle{abbrvnat} 68 | \else 69 | \bibliographystyle{plainnat} 70 | \fi 71 | 72 | \bibpunct{(}{)}{;}{a}{,}{,} 73 | 74 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 75 | % P A G E S I Z E 76 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 77 | 78 | % Change the overall width of the page. If these parameters are 79 | % changed, they will require corresponding changes in the 80 | % maketitle section. 81 | % 82 | \renewcommand{\topfraction}{0.95} % let figure take up nearly whole page 83 | \renewcommand{\textfraction}{0.05} % let figure take up nearly whole page 84 | 85 | % Specify the dimensions of each page 86 | 87 | \oddsidemargin .25in % Note \oddsidemargin = \evensidemargin 88 | \evensidemargin .25in 89 | \marginparwidth 0.07 true in 90 | %\marginparwidth 0.75 true in 91 | %\topmargin 0 true pt % Nominal distance from top of page to top of 92 | %\topmargin 0.125in 93 | \topmargin -0.5in 94 | \addtolength{\headsep}{0.25in} 95 | \textheight 8.5 true in % Height of text (including footnotes & figures) 96 | \textwidth 6.0 true in % Width of text line. 97 | \widowpenalty=10000 98 | \clubpenalty=10000 99 | \@twosidetrue \@mparswitchtrue \def\ds@draft{\overfullrule 5pt} 100 | 101 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 102 | % S E C T I O N S 103 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 104 | 105 | % Definitions for nicer (?) sections, etc., ideas from Pat Langley. 106 | % Numbering for sections, etc. is taken care of automatically. 107 | 108 | \def\@startsiction#1#2#3#4#5#6{\if@noskipsec \leavevmode \fi 109 | \par \@tempskipa #4\relax 110 | \@afterindenttrue 111 | \ifdim \@tempskipa <\z@ \@tempskipa -\@tempskipa \@afterindentfalse\fi 112 | \if@nobreak \everypar{}\else 113 | \addpenalty{\@secpenalty}\addvspace{\@tempskipa}\fi \@ifstar 114 | {\@ssect{#3}{#4}{#5}{#6}}{\@dblarg{\@sict{#1}{#2}{#3}{#4}{#5}{#6}}}} 115 | 116 | \def\@sict#1#2#3#4#5#6[#7]#8{\ifnum #2>\c@secnumdepth 117 | \def\@svsec{}\else 118 | \refstepcounter{#1}\edef\@svsec{\csname the#1\endcsname}\fi 119 | \@tempskipa #5\relax 120 | \ifdim \@tempskipa>\z@ 121 | \begingroup #6\relax 122 | \@hangfrom{\hskip #3\relax\@svsec\hskip 0.1em} 123 | {\interlinepenalty \@M #8\par} 124 | \endgroup 125 | \csname #1mark\endcsname{#7}\addcontentsline 126 | {toc}{#1}{\ifnum #2>\c@secnumdepth \else 127 | \protect\numberline{\csname the#1\endcsname}\fi 128 | #7}\else 129 | \def\@svsechd{#6\hskip #3\@svsec #8\csname #1mark\endcsname 130 | {#7}\addcontentsline 131 | {toc}{#1}{\ifnum #2>\c@secnumdepth \else 132 | \protect\numberline{\csname the#1\endcsname}\fi 133 | #7}}\fi 134 | \@xsect{#5}} 135 | 136 | % Title each appendix with `Appendix` before its letter 137 | \let\originalJMLRappendix\appendix 138 | \renewcommand{\appendix}{ 139 | \originalJMLRappendix 140 | \def\@sict##1##2##3##4##5##6[##7]##8{\ifnum ##2>\c@secnumdepth 141 | \def\@svsec{}\else 142 | \refstepcounter{##1}\edef\@svsec{\csname the##1\endcsname}\fi 143 | \@tempskipa ##5\relax 144 | \ifdim \@tempskipa>\z@ 145 | \begingroup ##6\relax 146 | \@hangfrom{\hskip ##3\relax Appendix \@svsec.\hskip 0.1em} 147 | {\interlinepenalty \@M ##8\par} 148 | \endgroup 149 | \csname ##1mark\endcsname{##7}\addcontentsline 150 | {toc}{##1}{\ifnum ##2>\c@secnumdepth \else 151 | \protect\numberline{\csname the##1\endcsname}\fi 152 | ##7}\else 153 | \def\@svsechd{##6\hskip ##3\@svsec ##8\csname ##1mark\endcsname 154 | {##7}\addcontentsline 155 | {toc}{##1}{\ifnum ##2>\c@secnumdepth \else 156 | \protect\numberline{\csname the##1\endcsname}\fi 157 | ##7}}\fi 158 | \@xsect{##5}} 159 | } 160 | 161 | \def\@sect#1#2#3#4#5#6[#7]#8{\ifnum #2>\c@secnumdepth 162 | \def\@svsec{}\else 163 | \refstepcounter{#1}\edef\@svsec{\csname the#1\endcsname\hskip 0.5em }\fi 164 | \@tempskipa #5\relax 165 | \ifdim \@tempskipa>\z@ 166 | \begingroup #6\relax 167 | \@hangfrom{\hskip #3\relax\@svsec}{\interlinepenalty \@M #8\par} 168 | \endgroup 169 | \csname #1mark\endcsname{#7}\addcontentsline 170 | {toc}{#1}{\ifnum #2>\c@secnumdepth \else 171 | \protect\numberline{\csname the#1\endcsname}\fi 172 | #7}\else 173 | \def\@svsechd{#6\hskip #3\@svsec #8\csname #1mark\endcsname 174 | {#7}\addcontentsline 175 | {toc}{#1}{\ifnum #2>\c@secnumdepth \else 176 | \protect\numberline{\csname the#1\endcsname}\fi 177 | #7}}\fi 178 | \@xsect{#5}} 179 | 180 | \def\thesection {\arabic{section}} 181 | \def\thesubsection {\thesection.\arabic{subsection}} 182 | \def\section{\@startsiction{section}{1}{\z@}{-0.24in}{0.10in} 183 | {\large\bf\raggedright}} 184 | \def\subsection{\@startsection{subsection}{2}{\z@}{-0.20in}{0.08in} 185 | {\normalsize\bf\raggedright}} 186 | \def\subsubsection{\@startsection{subsubsection}{3}{\z@}{-0.18in}{0.08in} 187 | {\normalsize\sc\raggedright}} 188 | \def\paragraph{\@startsiction{paragraph}{4}{\z@}{1.5ex plus 189 | 0.5ex minus .2ex}{-1em}{\normalsize\bf}} 190 | \def\subparagraph{\@startsiction{subparagraph}{5}{\z@}{1.5ex plus 191 | 0.5ex minus .2ex}{-1em}{\normalsize\bf}} 192 | 193 | 194 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 195 | % F O O T N O T E S 196 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 197 | 198 | % Change the size of the footnote rule 199 | % 200 | % \renewcommand{\footnoterule}{\vspace{10pt}\hrule width 0mm} 201 | 202 | \long\def\@makefntext#1{\@setpar{\@@par\@tempdima \hsize 203 | \advance\@tempdima-15pt\parshape \@ne 15pt \@tempdima}\par 204 | \parindent 2em\noindent \hbox to \z@{\hss{\@thefnmark}. \hfil}#1} 205 | 206 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 207 | % A B S T R A C T 208 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 209 | 210 | %% use \begin{abstract} .. \end{abstract} for abstracts. 211 | \renewenvironment{abstract} 212 | {\centerline{\large\bf Abstract}\vspace{0.7ex}% 213 | \bgroup\leftskip 20pt\rightskip 20pt\small\noindent\ignorespaces}% 214 | {\par\egroup\vskip 0.25ex} 215 | 216 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 217 | % KEYWORDS 218 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 219 | 220 | %% use \begin{keywords} .. \end{keywords} for keywordss. 221 | \newenvironment{keywords} 222 | {\bgroup\leftskip 20pt\rightskip 20pt \small\noindent{\bf Keywords:} }% 223 | {\par\egroup\vskip 0.25ex} 224 | 225 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 226 | % FIRST PAGE, TITLE, AUTHOR 227 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 228 | 229 | % Author information can be set in various styles: 230 | % For several authors from the same institution: 231 | % \author{Author 1 \and ... \and Author n \\ 232 | % \addr{Address line} \\ ... \\ \addr{Address line}} 233 | % if the names do not fit well on one line use 234 | % Author 1 \\ {\bf Author 2} \\ ... \\ {\bf Author n} \\ 235 | % To start a seperate ``row'' of authors use \AND, as in 236 | % \author{Author 1 \\ \addr{Address line} \\ ... \\ \addr{Address line} 237 | % \AND 238 | % Author 2 \\ \addr{Address line} \\ ... \\ \addr{Address line} \And 239 | % Author 3 \\ \addr{Address line} \\ ... \\ \addr{Address line}} 240 | 241 | % Title stuff, borrowed in part from aaai92.sty 242 | 243 | \newlength\aftertitskip \newlength\beforetitskip 244 | \newlength\interauthorskip \newlength\aftermaketitskip 245 | 246 | %% Changeable parameters. 247 | \setlength\aftertitskip{0.1in plus 0.2in minus 0.2in} 248 | \setlength\beforetitskip{0.05in plus 0.08in minus 0.08in} 249 | \setlength\interauthorskip{0.08in plus 0.1in minus 0.1in} 250 | \setlength\aftermaketitskip{0.3in plus 0.1in minus 0.1in} 251 | 252 | %% overall definition of maketitle, @maketitle does the real work 253 | \def\maketitle{\par 254 | \begingroup 255 | \def\thefootnote{\fnsymbol{footnote}} 256 | \def\@makefnmark{\hbox to 0pt{$^{\@thefnmark}$\hss}} 257 | \@maketitle \@thanks 258 | \endgroup 259 | \setcounter{footnote}{0} 260 | \let\maketitle\relax \let\@maketitle\relax 261 | \gdef\@thanks{}\gdef\@author{}\gdef\@title{}\let\thanks\relax} 262 | 263 | \def\@startauthor{\noindent \normalsize\bf} 264 | \def\@endauthor{} 265 | \def\@starteditor{\noindent \small {\bf Editor:~}} 266 | \def\@endeditor{\normalsize} 267 | \def\@maketitle{\vbox{\hsize\textwidth 268 | \linewidth\hsize \vskip \beforetitskip 269 | {\begin{center} \Large\bf \@title \par \end{center}} \vskip \aftertitskip 270 | {\def\and{\unskip\enspace{\rm and}\enspace}% 271 | \def\addr{\small\it}% 272 | \def\email{\hfill\small\sc}% 273 | \def\name{\normalsize\bf}% 274 | \def\AND{\@endauthor\rm\hss \vskip \interauthorskip \@startauthor} 275 | \@startauthor \@author \@endauthor} 276 | \vskip \aftermaketitskip 277 | \if@preprint 278 | \else 279 | \noindent \@starteditor \@editor \@endeditor 280 | \vskip \aftermaketitskip 281 | \fi 282 | }} 283 | 284 | \def\editor#1{\gdef\@editor{#1}} 285 | 286 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 287 | %%% 288 | %%% Pagestyle 289 | %% 290 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 291 | 292 | %% Defines the pagestyle for the title page. 293 | %% Usage: \jmlrheading{1}{1993}{1-15}{8/93}{9/93}{14-115}{Jane Q. Public and A. U. Thor} 294 | %% \jmlrheading{vol}{year}{pages}{Submitted date}{published date}{paper id}{authors} 295 | %% 296 | %% If your paper required revisions that were reviewed by the action editor, then indicate 297 | %% this by, e.g. 298 | %% \jmlrheading{1}{1993}{1-15}{8/93; Revised 10/93}{12/93}{14-115}{Jane Q. Public and A. U. Thor} 299 | 300 | \def\firstpageno#1{\setcounter{page}{#1}} 301 | 302 | \def\jmlrheading#1#2#3#4#5#6#7{\def\ps@jmlrtps{\let\@mkboth\@gobbletwo% 303 | \if@preprint 304 | \def\@oddhead{} % empty header if its a preprint 305 | \def\@oddfoot{\parbox[t]{\textwidth}{\raggedright \scriptsize \copyright #2 #7.\\[5pt] 306 | License: CC-BY 4.0, see \url{https://creativecommons.org/licenses/by/4.0/}.\hfill}}% 307 | \else 308 | \def\@oddhead{\scriptsize Journal of Machine Learning Research #1 (#2) #3 \hfill Submitted #4; Published #5}% 309 | \def\@oddfoot{\parbox[t]{\textwidth}{\raggedright \scriptsize \copyright #2 #7.\\[5pt] 310 | License: CC-BY 4.0, see \url{https://creativecommons.org/licenses/by/4.0/}. Attribution requirements 311 | are provided at \url{http://jmlr.org/papers/v#1/#6.html}.\hfill}}% 312 | \fi 313 | 314 | \def\@evenhead{}\def\@evenfoot{}}% 315 | \thispagestyle{jmlrtps}} 316 | 317 | %% Defines the pagestyle for the rest of the pages 318 | %% Usage: \ShortHeadings{Minimizing Conflicts}{Minton et al} 319 | %% \ShortHeadings{short title}{short authors} 320 | 321 | \def\ShortHeadings#1#2{\def\ps@jmlrps{\let\@mkboth\@gobbletwo% 322 | \def\@oddhead{\hfill {\small\sc #1} \hfill}% 323 | \def\@oddfoot{\hfill \small\rm \thepage \hfill}% 324 | \def\@evenhead{\hfill {\small\sc #2} \hfill}% 325 | \def\@evenfoot{\hfill \small\rm \thepage \hfill}}% 326 | \pagestyle{jmlrps}} 327 | 328 | 329 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 330 | % MISCELLANY 331 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 332 | 333 | % Define macros for figure captions and table titles 334 | 335 | % Figurecaption prints the caption title flush left. 336 | % \def\figurecaption#1#2{\noindent\hangindent 42pt 337 | % \hbox to 36pt {\sl #1 \hfil} 338 | % \ignorespaces #2} 339 | % \def\figurecaption#1#2{\noindent\hangindent 46pt 340 | % \hbox to 41pt {\small\sl #1 \hfil} 341 | % \ignorespaces {\small #2}} 342 | \def\figurecaption#1#2{\noindent\hangindent 40pt 343 | \hbox to 36pt {\small\sl #1 \hfil} 344 | \ignorespaces {\small #2}} 345 | % Figurecenter prints the caption title centered. 346 | \def\figurecenter#1#2{\centerline{{\sl #1} #2}} 347 | \def\figurecenter#1#2{\centerline{{\small\sl #1} {\small #2}}} 348 | 349 | % 350 | % Allow ``hanging indents'' in long captions 351 | % 352 | \long\def\@makecaption#1#2{ 353 | \vskip 10pt 354 | \setbox\@tempboxa\hbox{#1: #2} 355 | \ifdim \wd\@tempboxa >\hsize % IF longer than one line: 356 | \begin{list}{#1:}{ 357 | \settowidth{\labelwidth}{#1:} 358 | \setlength{\leftmargin}{\labelwidth} 359 | \addtolength{\leftmargin}{\labelsep} 360 | }\item #2 \end{list}\par % Output in quote mode 361 | \else % ELSE center. 362 | \hbox to\hsize{\hfil\box\@tempboxa\hfil} 363 | \fi} 364 | 365 | 366 | % Define strut macros for skipping spaces above and below text in a 367 | % tabular environment. 368 | \def\abovestrut#1{\rule[0in]{0in}{#1}\ignorespaces} 369 | \def\belowstrut#1{\rule[-#1]{0in}{#1}\ignorespaces} 370 | 371 | % Acknowledgments 372 | \long\def\acks#1{\vskip 0.3in\noindent{\large\bf Acknowledgments and Disclosure of Funding}\vskip 0.2in 373 | \noindent #1} 374 | 375 | % Research Note 376 | \long\def\researchnote#1{\noindent {\LARGE\it Research Note} #1} 377 | 378 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 379 | % PROOF, THEOREM, and FRIENDS 380 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 381 | 382 | \newcommand{\BlackBox}{\rule{1.5ex}{1.5ex}} % end of proof 383 | \ifdefined\proof 384 | \renewenvironment{proof}{\par\noindent{\bf Proof\ }}{\hfill\BlackBox\\[2mm]} 385 | \else 386 | \newenvironment{proof}{\par\noindent{\bf Proof\ }}{\hfill\BlackBox\\[2mm]} 387 | \fi 388 | \newtheorem{example}{Example} 389 | \newtheorem{theorem}{Theorem} 390 | \newtheorem{lemma}[theorem]{Lemma} 391 | \newtheorem{proposition}[theorem]{Proposition} 392 | \newtheorem{remark}[theorem]{Remark} 393 | \newtheorem{corollary}[theorem]{Corollary} 394 | \newtheorem{definition}[theorem]{Definition} 395 | \newtheorem{conjecture}[theorem]{Conjecture} 396 | \newtheorem{axiom}[theorem]{Axiom} 397 | -------------------------------------------------------------------------------- /sample.bib: -------------------------------------------------------------------------------- 1 | 2 | @Article{chow:68, 3 | author = {C. K. Chow and C. N. Liu}, 4 | title = {Approximating discrete probability distributions with dependence trees}, 5 | journal = {IEEE Transactions on Information Theory}, 6 | year = {1968}, 7 | volume = {IT-14}, 8 | number = {3}, 9 | pages = {462--467}} 10 | 11 | 12 | @Book{pearl:88, 13 | author = {Judea Pearl}, 14 | title = {Probabilistic {R}easoning in {I}ntelligent {S}ystems: 15 | {N}etworks of {P}lausible {I}nference}, 16 | publisher = {Morgan Kaufman Publishers}, 17 | year = {1988}, 18 | address = {San Mateo, CA} 19 | } 20 | 21 | -------------------------------------------------------------------------------- /sample.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JmlrOrg/jmlr-style-file/f413f638b407af76074813f8f88a82a7a5a81e9d/sample.pdf -------------------------------------------------------------------------------- /sample.tex: -------------------------------------------------------------------------------- 1 | \documentclass[twoside,11pt]{article} 2 | 3 | \usepackage{blindtext} 4 | 5 | % Any additional packages needed should be included after jmlr2e. 6 | % Note that jmlr2e.sty includes epsfig, amssymb, natbib and graphicx, 7 | % and defines many common macros, such as 'proof' and 'example'. 8 | % 9 | % It also sets the bibliographystyle to plainnat; for more information on 10 | % natbib citation styles, see the natbib documentation, a copy of which 11 | % is archived at http://www.jmlr.org/format/natbib.pdf 12 | 13 | % Available options for package jmlr2e are: 14 | % 15 | % - abbrvbib : use abbrvnat for the bibliography style 16 | % - nohyperref : do not load the hyperref package 17 | % - preprint : remove JMLR specific information from the template, 18 | % useful for example for posting to preprint servers. 19 | % 20 | % Example of using the package with custom options: 21 | % 22 | % \usepackage[abbrvbib, preprint]{jmlr2e} 23 | 24 | \usepackage{jmlr2e} 25 | 26 | % Definitions of handy macros can go here 27 | 28 | \newcommand{\dataset}{{\cal D}} 29 | \newcommand{\fracpartial}[2]{\frac{\partial #1}{\partial #2}} 30 | 31 | % Heading arguments are {volume}{year}{pages}{date submitted}{date published}{paper id}{author-full-names} 32 | 33 | \usepackage{lastpage} 34 | \jmlrheading{23}{2022}{1-\pageref{LastPage}}{1/21; Revised 5/22}{9/22}{21-0000}{Author One and Author Two} 35 | 36 | % Short headings should be running head and authors last names 37 | 38 | \ShortHeadings{Sample JMLR Paper}{One and Two} 39 | \firstpageno{1} 40 | 41 | \begin{document} 42 | 43 | \title{Sample JMLR Paper} 44 | 45 | \author{\name Author One \email one@stat.washington.edu \\ 46 | \addr Department of Statistics\\ 47 | University of Washington\\ 48 | Seattle, WA 98195-4322, USA 49 | \AND 50 | \name Author Two \email two@cs.berkeley.edu \\ 51 | \addr Division of Computer Science\\ 52 | University of California\\ 53 | Berkeley, CA 94720-1776, USA} 54 | 55 | \editor{My editor} 56 | 57 | \maketitle 58 | 59 | \begin{abstract}% <- trailing '%' for backward compatibility of .sty file 60 | \blindtext 61 | \end{abstract} 62 | 63 | \begin{keywords} 64 | keyword one, keyword two, keyword three 65 | \end{keywords} 66 | 67 | \section{Introduction} 68 | 69 | \blindmathpaper 70 | 71 | Here is a citation \cite{chow:68}. 72 | 73 | % Acknowledgements and Disclosure of Funding should go at the end, before appendices and references 74 | 75 | \acks{All acknowledgements go at the end of the paper before appendices and references. 76 | Moreover, you are required to declare funding (financial activities supporting the 77 | submitted work) and competing interests (related financial activities outside the submitted work). 78 | More information about this disclosure can be found on the JMLR website.} 79 | 80 | % Manual newpage inserted to improve layout of sample file - not 81 | % needed in general before appendices/bibliography. 82 | 83 | \newpage 84 | 85 | \appendix 86 | \section{} 87 | \label{app:theorem} 88 | 89 | % Note: in this sample, the section number is hard-coded in. Following 90 | % proper LaTeX conventions, it should properly be coded as a reference: 91 | 92 | %In this appendix we prove the following theorem from 93 | %Section~\ref{sec:textree-generalization}: 94 | 95 | In this appendix we prove the following theorem from 96 | Section~6.2: 97 | 98 | \noindent 99 | {\bf Theorem} {\it Let $u,v,w$ be discrete variables such that $v, w$ do 100 | not co-occur with $u$ (i.e., $u\neq0\;\Rightarrow \;v=w=0$ in a given 101 | dataset $\dataset$). Let $N_{v0},N_{w0}$ be the number of data points for 102 | which $v=0, w=0$ respectively, and let $I_{uv},I_{uw}$ be the 103 | respective empirical mutual information values based on the sample 104 | $\dataset$. Then 105 | \[ 106 | N_{v0} \;>\; N_{w0}\;\;\Rightarrow\;\;I_{uv} \;\leq\;I_{uw} 107 | \] 108 | with equality only if $u$ is identically 0.} \hfill\BlackBox 109 | 110 | \section{} 111 | 112 | \noindent 113 | {\bf Proof}. We use the notation: 114 | \[ 115 | P_v(i) \;=\;\frac{N_v^i}{N},\;\;\;i \neq 0;\;\;\; 116 | P_{v0}\;\equiv\;P_v(0)\; = \;1 - \sum_{i\neq 0}P_v(i). 117 | \] 118 | These values represent the (empirical) probabilities of $v$ 119 | taking value $i\neq 0$ and 0 respectively. Entropies will be denoted 120 | by $H$. We aim to show that $\fracpartial{I_{uv}}{P_{v0}} < 0$....\\ 121 | 122 | {\noindent \em Remainder omitted in this sample. See http://www.jmlr.org/papers/ for full paper.} 123 | 124 | 125 | \vskip 0.2in 126 | \bibliography{sample} 127 | 128 | \end{document} 129 | --------------------------------------------------------------------------------