Skip to content

Latest commit

 

History

History
143 lines (107 loc) · 3.37 KB

README.md

File metadata and controls

143 lines (107 loc) · 3.37 KB

Latex class for NIPS-style report

A LaTex template for reports, based on the elegant NIPS 2018 style.

This template retains the clean look of the single-column NIPS style, with the addition of a few extra options suitable for reports.

See example_minimal.pdf and its TeX file for a short demonstration.


Options

By default without options, the package will add line numbers and generate A4 size pages. List of options:

  1. none : Draft version, with line numbers.
  2. titlepage : Produce a title page, with university name and logo.
  3. letter : For letter sized page.
  4. preprint : Preprint version.
  5. anonymise: For anonymised submission. Will also add line numbers.
  6. final : To generate final version without line numbers.
\usepackage{report_2019_JH}
\usepackage[]{report_2019_JH}
\usepackage[options1]{report_2019_JH}
\usepackage[options1,...,optionsN]{report_2019_JH}

Authors

Multiple authors can be placed in the following format:

\author{Your Name \\ \textit{ID / Some text}  \AND
        Co-author \\ \textit{Supervisor}      \AND
        Co-author \\ \textit{Co-supervisor}   \And
        Co-author \\ \textit{Co-supervisor}   \And
        Co-author \\ \textit{Co-supervisor}}

\author{Your Name \AND
        Co-author \AND
        Co-author \And
        Co-author \And
        Co-author }

Authors are separated using \AND and \And. The difference between them is:

  • \AND forces a line break.
  • \And leaves it to LaTeX to determine where to break the lines.

In the most minimal case:

\author{Your Name}

Title page

If the "titlepage" option is used, the name and logo of the university can be set via:

\newcommand{\universityLogo}{images/logo1.png}              % Put university logo path here
\newcommand{\university}{My University / Faculty Name}      % Put university name here

Optional:

  • Footnote can be provided:
\newcommand{\titlePageFootnote}{Complete Research Progress Report}
  • Author vertical placement can be adjusted:
\newcommand{\titlePageAuthorOffset}{-0.03\textheight}

Combining everything:

\newcommand{\universityLogo}{logo.png}
\newcommand{\university}{University of Life}
\newcommand{\titlePageFootnote}{Progress Report}
\newcommand{\titlePageAuthorOffset}{-0.03\textheight}

\title{My Work}
\author{Your Name \\ \textit{ID / Some text}  \AND
        Co-author \\ \textit{Supervisor}      \AND
        Co-author \\ \textit{Co-supervisor}}

\begin{document}

Citation

Squared citation format

\usepackage[square, numbers]{natbib}
\bibliographystyle{elsarticle-harv}

\begin{document}

\cite{xu2015show}

IEEE citation format

\usepackage[square, numbers]{natbib}
\bibliographystyle{IEEEtran}

\begin{document}

\cite{xu2015show}

APA citation format

\usepackage[round]{natbib}
\bibliographystyle{apa}

\begin{document}

\citep{xu2015show}    % wraps citation in parentheses:   (Xu et al., 2015)
\citet{xu2015show}    % in-line citation:   Xu et al. (2015)

Subsections

Subsections are numbered down until level 4 (x.x.x.x), and will appear in Table of Contents. Created by using either one of these:

\paragraph{Subsection name}
\subsubsubsection{Subsection name}

Subsections of level 5 are not numbered, and will NOT appear in Table of Contents:

\subparagraph{Subsection name}
\subsubsubsubsection{Subsection name}