diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/jmlr/sample-papers/jmlr-sample.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/jmlr/sample-papers/jmlr-sample.tex | 72 |
1 files changed, 42 insertions, 30 deletions
diff --git a/Master/texmf-dist/doc/latex/jmlr/sample-papers/jmlr-sample.tex b/Master/texmf-dist/doc/latex/jmlr/sample-papers/jmlr-sample.tex index 65b47604107..91d176915b0 100644 --- a/Master/texmf-dist/doc/latex/jmlr/sample-papers/jmlr-sample.tex +++ b/Master/texmf-dist/doc/latex/jmlr/sample-papers/jmlr-sample.tex @@ -1,31 +1,33 @@ -%\documentclass[gray]{jmlr} % test grayscale version + %\documentclass[gray]{jmlr} % test grayscale version \documentclass[tablecaption=bottom]{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{longtable}% for long 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} \jmlrsubmitted{submission date} \jmlrpublished{publication date} -\title[Short Title]{Full Title of Article} +\title[Short Title]{Full Title of Article\titlebreak This Title Has +A Line Break} % Use \Name{Author Name} to specify the name. % If the surname contains spaces, enclose the surname @@ -39,7 +41,7 @@ % Smith\thanks{A note}} % Two authors with the same address - \author{\Name{Author Name1}\thanks{A note} \Email{abc@sample.com}\and + \author{\Name{Author Name1\nametag{\thanks{A note}}} \Email{abc@sample.com}\and \Name{Author Name2} \Email{xyz@sample.com}\\ \addr Address} @@ -91,8 +93,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} @@ -177,7 +187,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} @@ -284,9 +296,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}}% @@ -387,8 +399,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}} @@ -598,12 +610,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$\; |