summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/jmlr/sample-books/paper1/paper1.tex
blob: e0fff8c89caefc263676eead315b723e43ed1332 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
% This file is public domain

\documentclass[wcp]{jmlr}

\usepackage{lipsum}% Provides dummy text for this example

\newcommand{\samplecommand}{\emph{A sample command}}

\jmlrvolume{42}
\jmlryear{2010}
\jmlrworkshop{Workshop on Causality}

\title[Article 1]{First Sample Article}

\author{\Name{Jane Doe}\Email{jd@sample.com}\and
\Name{John {Smith Jones}}\Email{jsj@sample.com}\\
\addr{University of No Where}}

\editor{Anne Editor}

\begin{document}
\maketitle

\begin{abstract}
This abstract has a citation \citep{guyon-elisseeff-03}.
\lipsum[1]
\end{abstract}
\begin{keywords}
Sample
\end{keywords}

\section{Introduction}

This is a sample article. \sectionref{sec:method} discusses
the method used. \equationref{eq:emc2} is an interesting 
equation. The results are discussed in \sectionref{sec:results}
and some other stuff is in \appendixref{apd:first}.
\samplecommand.

\lipsum

\section{Method}\label{sec:method}

\lipsum

\begin{equation}\label{eq:emc2}
E = mc^2
\end{equation}

\section{Results}\label{sec:results}

\begin{table}[htbp]
\floatconts
  {tab:sample}
  {\caption{A Sample Table}}
  {%
    \begin{tabular}{cc}
    A & B\\
    1 & 2
    \end{tabular}
  }%
\end{table}

\begin{table}[htbp]
\floatconts
  {tab:sample2}
  {\caption{Another Sample Table}}
  {%
    \begin{tabular}{cc}
    A & B\\
    1 & 2
    \end{tabular}
  }%
\end{table}

\lipsum

Here are some citations: \citet{guyon-elisseeff-03,guyon2007causalreport}.

\bibliography{paper1}

\appendix
\section{First Appendix}\label{apd:first}

\lipsum
\end{document}