Natural Language Engineering: L TEX Guidelines For Authors: Cambridge Author
Natural Language Engineering: L TEX Guidelines For Authors: Cambridge Author
Natural Language Engineering: L TEX Guidelines For Authors: Cambridge Author
doi:10.1017/xxxxx
A RT I C L E
Abstract
This guide is for authors who are preparing papers for the Natural Language Engineering journal using
the LATEX document preparation system and the CUP NLE style file.
1. Introduction
The layout design for the Natural Language Engineering journal has been implemented as a LATEX
style file. The NLE style file is based on the ARTICLE style as discussed in the LATEX manual.
Commands which differ from the standard LATEX interface, or which are provided in addition to
the standard interface, are explained in this guide. This guide is not a substitute for the LATEX
manual itself.
a To know more information about LaTeX and its packages, try https://ctan.org/?lang=en
c Cambridge University Press 2019
2 Natural Language Engineering
from that for ARTICLE, therefore line breaks will change and it is possible that equations may
need re-setting.
2. Additional facilities
In addition to all the standard LATEX design elements, the NLE style includes the following feature:
r Extended commands for specifying a short version of the title and author(s) for the running
headlines.
Once you have used this additional facility in your document, do not process it with a standard
LATEX style file.
\lefttitle{\LaTeX\ Supplement}
\righttitle{Natural Language Engineering}
\title{The full title which can be as long
as necessary}
\begin{authgrp}
\author{Author’s name}
\affiliation{the affiliation if necessary
\email{email}}
\end{authgrp}
2.2 Abstract
The NLE style provides for an abstract which is produced by the following commands
2.3 Lists
The NLE style provides the three standard list environments.
r Bulleted lists, created using the itemize environment.
LATEX Supplement 3
2.4 Footnotes
The NLE journal style uses superior numbers for footnote references.a
3.1 Sections
LATEX provides five levels of section headings and they are all defined in the NLE style file:
r \section.
r \subsection.
r \subsubsection.
r \paragraph.
r \subparagraph.
Section numbers are given for sections, subsection and subsubsection headings.
3.3 Tables
The figure and table environments are implemented as described in the LATEX Manual to pro-
vide consecutively numbered floating inserts for illustrations and tables respectively. The standard
inserts and their captions are formatted centred. Line breaks in captions can be inserted as required
using \\.
The NLE style file will cope with most positioning of your tables and you should not normally
use the optional positional qualifiers on the table environment which would override these deci-
sions. Normal journal style sets the table caption first, followed by a double rule, the table body
and a double rule at the bottom. Single rules and spanner rules (\cline) can be used to separate
headings from the columns. For example, Table 3.3 is produced using the following commands:
\begin{table}
\tbl{\caption{Results of Overloading for 3 Experimental Setups}}
{\tablefont\begin{minipage}{25pc}
\begin{tabular}{@{\extracolsep{\fill}}lcrrrrr}
\hline
Program& Expt.&
CPU\footnote{Seconds of elapsed time on an unloaded Sun 3/50.}&
Notice the use of the macro to obtain the centered decimal points, inside the body of the table.
Table 1. Results of Overloading for 3 Experimental Setups
Program Expt. CPU RelCPU GC Mem RelMem
8 Queens (a) 2 88 1 00 6 1 7M 1 00
.. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ..
(b) 32 51 11 29 193 48 9M 28 76
.. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ..
(c) 7 90 2 74 42 11 3M 6 65
.. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ..
(a) 4 89 1 00 19 5 3M 1 00
.. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ..
(c) 10 08 2 06 47 13 0M 2 45
.. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ..
(c) 21 30 0 98 161 42 0M 1 03
.. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ..
KWIC (a) 7 07 1 00 15 6 3M 1 00
.. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ..
(b) 34 55 4 89 109 47 8M 7 59
.. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ..
(c) 31 62 4 47 53 45 0M 7 14
The tabular environment should be used to produce ruled tables; it has been modified for the
NLE style in the following ways:
(1) Additional vertical space is inserted above and below a horizontal rule (produced by
\hline);
(2) Tables are centred, and span the full width of the page; that is, they are similar to the tables
that would be produced by \begin{minipage} {\textwidth}.
Because of this reformatting, vertical rules should not be used; furthermore, commands to redefine
quantities such as \arraystretch should be omitted. If the old tabular facilities are needed, there
LATEX Supplement 5
is a new environment, oldtabular, which has none of the reformatting; it should be used in
exactly the same way.
\begin{figure}
\includegraphics[scale=.4]{sample.eps}
\caption{An example figure with space for artwork.}
\label{sample-figure}
\end{figure}
The vertical depth should correspond roughly to the artwork you will submit; it will be adjusted
to fit the final artwork exactly.
4. Mathematics
The NLE class file will centre displayed mathematics, and will insert the correct space above and
below if standard LATEX commands are used; for example use \[ ... \] and not $$ ... $$.
Do not leave blank lines above and below displayed equations unless a new paragraph is really
intended.
amsmath.sty is common package to handle various type math equations. The
amsmath descriptions are available in the document can be find in the web link
https://ctan.org/pkg/amsmath?lang=en
6 Natural Language Engineering
\begin{subequations}
\begin{equation}
a_1 \equiv (2\Omega M^2/x)^{\textstyle\frac{1}{4}}
y^{\textstyle\frac{1}{2}}\label{a1}
\end{equation}
and
\begin{equation}
a_2 \equiv (x/2\Omega)^{\textstyle\frac{1}{2}}k_y/M.\label{a2}
\end{equation}
\end{subequations}
4.2 Bibliography
As with standard LATEX, there are two ways of producing a bibliography; either by compiling a
list of references by hand (using a thebibliography environment), or by using BibTeX with
a suitable bibliographic database with the bibliography style provided with the nleguide.tex like
\bibliographystyle{nlelike}. The nle.bst will produce the bibliography which is similar
to NLE style but not exactly. If any modification has to be made with nle.bst can be adjusted
during manuscript preparation but the updated bst file should be given with source files. However,
contributors are encouraged to format their list of references style outlined in section 4.2.2 below.
\cite{sal90}.
LATEX Supplement 7
natbib.sty is common package to handle various reference and its cross citations.
The natbib descriptions are available in the document can be find in the web link
https://ctan.org/pkg/natbib?lang=en
\begin{thebibliography}{}
\bibitem[\protect\citename{Akmajian and Lehrer }1976]{akm76}
Akmajian, \& Lehrer, A. 1976. NP-like quantifiers and the
problem of determining the head of an NP. {\it Linguistic
Analysis\/} {2}, 295--313.
\bibitem[\protect\citename{Huddleston }1984]{hud84}
Huddleston, Rodney. 1984. {\it Introduction to the Grammar of
English}. Cambridge: Cambridge University Press.
\bibitem[\protect\citename{McCord }1990]{mcc90}
McCord, Michael C. 1990. Slot grammar: a system for simpler
construction of practical natural language grammars. In R.
Studer (ed.), {\it Natural Language and Logic: International
Scientific Symposium}, pp.~118--45. Lecture Notes in Computer
Science. Berlin: Springer-Verlag.
\bibitem[\protect\citename{Salton {\it et al.}\ }1990]{sal90}
Salton, Gerald, Zhao, Zhongnan \& Buckley, Chris. 1990.
A simple syntactic approach for the generation of indexing
phrases. Technical Report 90--1137, Department of Computer
Science, Cornell University.
\end{thebibliography}
This list typesets as shown at the end of this guide. Each entry takes the form
\bibitem[\protect\citename{Author(s), }Date]{tag}
Bibliography entry
where Author(s) should be the author names as they are cited in the text, Date is the date to
be cited in the text, and tag is the tag that is to be used as an argument for the \cite{} com-
mand. Bibliography entry should be the material that is to appear in the bibliography, suitably
formatted. This rather unwieldy scheme makes up for the lack of an author-date system in LATEX.
5.2 Editing citations (when the author has used the \cite command)
In the past when an automatic \cite command produced text in the output which needed to be
changed, the argument (in [ ]) from the bibliography entry was copied to the location of the \cite
command and then modified. The \cite command would then be removed as part of this process.
In the near future, we will probably have to supply TEX output which will need to contain ‘PDF
marks’ for interactive browsing. Clearly by removing the automatic link to the bibliographic entry
(referenced by the \cite), we are making extra work for ourselves later on.
To avoid this, the function of the \cite command’s optional argument has been changed. For
example, the \cite command for the ‘mcc90’ entry gives:
(McCord 1990)
but you want the following to appear in the text:
(McCord 1990, see p. 119)
you would then use:
\cite[(McCord 1990, see p.~119)]{mcc90}
to obtain the desired result. Notice that you have to supply the round brackets as well in the
optional argument.
References
Akmajian & Lehrer A. 1976. NP-like quantifiers and the problem of determining the head of an NP. Linguistic Analysis 2,
295–313.
Huddleston, Rodney. 1984. Introduction to the Grammar of English. Cambridge: Cambridge University Press.
McCord, Michael C. 1990. Slot grammar: a system for simpler construction of practical natural language grammars. In R.
Studer (ed.), Natural Language and Logic: International Scientific Symposium, pp. 118–45. Lecture Notes in Computer
Science. Berlin: Springer-Verlag.
Salton, Gerald, Zhao, Zhongnan & Buckley, Chris. 1990. A simple syntactic approach for the generation of indexing phrases.
Technical Report 90–1137, Department of Computer Science, Cornell University.