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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

This isn’t an article <strong>for</strong> a workshop:51 \DeclareOptionX{nowcp}{\<strong>jmlr</strong>nowcp}This is an article <strong>for</strong> a workshop52 \DeclareOptionX{wcp}{\<strong>jmlr</strong>wcp}The default paper size is letter, but provide 7 × 10in alternative:53 \newif\ifviiXx54 \viiXxfalse55 \DeclareOptionX{7x10}{\viiXxtrue}56 \DeclareOptionX{letterpaper}{\PassOptionsToPackage{letterpaper}{typearea}}Pass all remaining options to article class:57 \DeclareOptionX*{\PassOptionsToClass{\CurrentOption}{article}}Execute required options:58 \ExecuteOptions{twoside,letterpaper}Process options:59 \ProcessOptionsXLoad article class.60 \LoadClass[\pt@size]{article}Can’t use geometry package because it doesn’t play nicely with <strong>the</strong> combineclass.61 \ifviiXx62 \setlength{\paperwidth}{7in}63 \setlength{\paperheight}{10in}64 \setlength{\textwidth}{5.25in}65 \setlength{\tex<strong>the</strong>ight}{8.2in}66 \setlength{\topmargin}{0.4in}67 \setlength{\headheight}{0.2in}68 \setlength{\headsep}{0.2in}69 \setlength{\h<strong>of</strong>fset}{-1in}70 \setlength{\v<strong>of</strong>fset}{-1in}71 \setlength{\evensidemargin}{0.75in}72 \setlength{\oddsidemargin}{1.0in}73 \else74 \setlength{\oddsidemargin}{0.25in}75 \setlength{\evensidemargin}{0.25in}76 \setlength{\marginparwidth}{0.07 true in}77 \setlength{\topmargin}{-0.5in}78 \addtolength{\headsep}{0.25in}79 \setlength{\tex<strong>the</strong>ight}{8.5 true in}80 \setlength{\textwidth}{6.0 true in}81 \fiNeed to add <strong>jmlr</strong> end document hook be<strong>for</strong>e natbib adds a \clearpage to it.82 \AtEndDocument{\@<strong>jmlr</strong>enddoc}37

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

Saved successfully!

Ooh no, something went wrong!