summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/jmlr/sample-papers/jmlrwcp-sample.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/jmlr/sample-papers/jmlrwcp-sample.tex')
-rw-r--r--Master/texmf-dist/doc/latex/jmlr/sample-papers/jmlrwcp-sample.tex73
1 files changed, 43 insertions, 30 deletions
diff --git a/Master/texmf-dist/doc/latex/jmlr/sample-papers/jmlrwcp-sample.tex b/Master/texmf-dist/doc/latex/jmlr/sample-papers/jmlrwcp-sample.tex
index fd98239d205..9c771393b10 100644
--- a/Master/texmf-dist/doc/latex/jmlr/sample-papers/jmlrwcp-sample.tex
+++ b/Master/texmf-dist/doc/latex/jmlr/sample-papers/jmlrwcp-sample.tex
@@ -1,30 +1,33 @@
-%\documentclass[wcp,gray]{jmlr} % test grayscale version
+ %\documentclass[wcp,gray]{jmlr} % test grayscale version
\documentclass[wcp]{jmlr}
-% The following packages will be automatically loaded:
-% amsmath, amssymb, natbib, graphicx, url, algorithm2e
+ % The following packages will be automatically loaded:
+ % amsmath, amssymb, natbib, graphicx, url, algorithm2e
-%\usepackage{rotating}% for sideways figures and tables
+ %\usepackage{rotating}% for sideways figures and tables
\usepackage{longtable}% for long tables
-% The booktabs package is used by this sample document
-% (it provides \toprule, \midrule and \bottomrule).
-% Remove the next line if you don't require it.
+ % The booktabs package is used by this sample document
+ % (it provides \toprule, \midrule and \bottomrule).
+ % Remove the next line if you don't require it.
\usepackage{booktabs}
-% The siunitx package is used by this sample document
-% to align numbers in a column by their decimal point.
-% Remove the next line if you don't require it.
+ % The siunitx package is used by this sample document
+ % to align numbers in a column by their decimal point.
+ % Remove the next line if you don't require it.
\usepackage[load-configurations=version-1]{siunitx} % newer version
-%\usepackage{siunitx}
+ %\usepackage{siunitx}
-% The following command is just for this sample document:
+ % The following command is just for this sample document:
\newcommand{\cs}[1]{\texttt{\char`\\#1}}
-\jmlrvolume{vol}
+
+ % change the arguments, as appropriate, in the following:
+\jmlrvolume{1}
\jmlryear{2010}
\jmlrworkshop{Workshop Title}
-\title[Short Title]{Full Title of Article}
+\title[Short Title]{Full Title of Article\titlebreak This Title Has
+A Line Break\titletag{\thanks{sample footnote}}}
% Use \Name{Author Name} to specify the name.
% If the surname contains spaces, enclose the surname
@@ -34,7 +37,7 @@
% enclose the diacritic in braces, e.g. \Name{{\'E}louise Smith}
% Two authors with the same address
- \author{\Name{Author Name1} \Email{abc@sample.com}\and
+ \author{\Name{Author Name1\nametag{\thanks{with a note}}} \Email{abc@sample.com}\and
\Name{Author Name2} \Email{xyz@sample.com}\\
\addr Address}
@@ -65,7 +68,7 @@
%}
\editor{Editor's name}
-% \editors{List of editors' names}
+ % \editors{List of editors' names}
\begin{document}
@@ -87,8 +90,16 @@ this sample document as it can help to reduce complications when
combining the articles into a book. Please avoid using obsolete
commands, such as \verb|\rm|, and obsolete packages, such as
\textsf{epsfig}.\footnote{See
-\url{http://www.ctan.org/pkg/l2tabu}} Please also ensure
-that your document will compile with PDF\LaTeX.
+\url{http://www.ctan.org/pkg/l2tabu}}
+
+Please also ensure that your document will compile with PDF\LaTeX.
+If you have an error message that's puzzling you, first check for it
+at the UK TUG FAQ
+\url{http://www.tex.ac.uk/cgi-bin/texfaq2html?label=man-latex}. If
+that doesn't help, create a minimal working example (see
+\url{http://theoval.cmp.uea.ac.uk/~nlct/latex/minexample/}) and post
+to somewhere like the LaTeX Community Forum
+\url{http://www.latex-community.org/forum/}.
\subsection{Sub-sections}
@@ -173,7 +184,9 @@ This can be referenced using \verb|\label| and \verb|\equationref|.
For example, \equationref{eq:trigrule}.
Multi-lined numbered equations should be displayed using the
-\texttt{align} environment. For example:
+\texttt{align} environment.\footnote{For reasons why you
+shouldn't use the obsolete \texttt{eqnarray} environment, see
+Lars Madsen, \emph{Avoid eqnarray!} TUGboat 33(1):21--25, 2012.} For example:
\begin{align}
f(x) &= x^2 + x\label{eq:f}\\
f'(x) &= 2x + 1\label{eq:df}
@@ -280,9 +293,9 @@ environment use \verb|\floatconts| (defined by \textsf{jmlr})
to set the caption correctly and center the table contents.
\begin{table}[htbp]
-% The first argument is the label.
-% The caption goes in the second argument, and the table contents
-% go in the third argument.
+ % The first argument is the label.
+ % The caption goes in the second argument, and the table contents
+ % go in the third argument.
\floatconts
{tab:example}%
{\caption{An Example Table}}%
@@ -383,8 +396,8 @@ image, it's better to use a fraction of the line width rather
than an explicit length. For example, see \figureref{fig:nodes}.
\begin{figure}[htbp]
-% Caption and label go in the first argument and the figure contents
-% go in the second argument
+ % Caption and label go in the first argument and the figure contents
+ % go in the second argument
\floatconts
{fig:nodes}
{\caption{Example Image}}
@@ -586,12 +599,12 @@ For an example, see \algorithmref{alg:net}.
\begin{algorithm2e}
\caption{Computing Net Activation}
\label{alg:net}
-% older versions of algorithm2e have \dontprintsemicolon instead
-% of the following:
-%\DontPrintSemicolon
-% older versions of algorithm2e have \linesnumbered instead of the
-% following:
-%\LinesNumbered
+ % older versions of algorithm2e have \dontprintsemicolon instead
+ % of the following:
+ %\DontPrintSemicolon
+ % older versions of algorithm2e have \linesnumbered instead of the
+ % following:
+ %\LinesNumbered
\KwIn{$x_1, \ldots, x_n, w_1, \ldots, w_n$}
\KwOut{$y$, the net activation}
$y\leftarrow 0$\;