Professional Documents
Culture Documents
This guide is for authors who are preparing papers for the European Journal of Applied
Mathematics using the LATEX 2ε document preparation system and the Cambridge Uni-
versity Press EJM class file.
Key Words: Include up to five ‘key subject categories’, listed in order of importance, taken
from the Mathematics Subject Classification
(see http://www.ams.org/mathscinet/msc/pdfs/classification2010.pdf ).
Contents
1 Introduction
The layout design for the European Journal of Applied Mathematics has been imple-
mented as a LATEX 2ε class file. The EJM class is based on the ARTICLE class as discussed
in the LATEX manual (2nd edition). Commands which differ from the standard LATEX in-
terface, 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.
Note that the final printed version of papers will use the Monotype Times typeface
rather than Computer Modern available to authors. Also, the measure in the EJM class
is different from the LATEX article class. For these reasons line lengths and page breaks
will change and authors should not insert hard breaks in their text.
can automatically number equations, figures, tables, and list entries, as well as sections
and subsections. Using this numbering system, bibliographic citations, page references
and cross-references to any other numbered entity (e.g. section, equation, figure, list
entry) are quite straightforward.
ftp.cup.cam.ac.uk
You will find the class file and instructions contained in a single file ejmcls.ltx in the
directory
pub/texarchive/journals/latex/ejm-cls
The readme.txt (which is the same directory) tells you how to unpack the ejmcls.ltx
file. There may also be an ‘unpacked’ directory containing all of the files separately, in
case of difficulty. If you cannot obtain the EJM files, use the standard article class,
with the default ‘10pt’ option.
When submitting the final article, ensure that the following are included and are clearly
labelled.
(1) A hardcopy printout of the article (typeset using the referee option, see §??).
(2) The input file (exactly matching the hardcopy).
(3) A copy of all user-defined macros.
(4) If you have used BibTEX, the .bib, .bbl and .bst files that were used.
(5) Any other files necessary to prepare the article for typesetting.
The files for the final article should be supplied on a PC or Macintosh disk. Please write
on the disk what format it is, as this saves time. Submit the hardcopy and disk by post
in the normal way.
European Journal of Applied Mathematics 3
If your site does not have the AMS Fonts and AMS LATEX packages installed, we
strongly recommend that your site installs them. With them, you can produce output
which is much closer to the final result. The latest AMS Fonts/AMS LATEX distributions
can be found on your nearest CTAN (Comprehensive TEX Archive Network) site.
3 Additional facilities
In addition to all of the standard LATEX design elements, the EJM class file includes the
following features:
• Extended commands for specifying a short version of the title and author(s) for the
running headlines.
• Control of enumerated lists.
• An extended theorem environment, enabling you to also typeset unnumbered theorems,
etc.
• Ability to create new theorem-like environments for claims, conjectures, examples,
problems, remarks, etc.
• A proof environment.
• The subequations and subeqnarray environments for sub-numbering equations.
• An acknowledgments environment.
Once you have used any of these additional facilities in your document, it can only be
processed with ejm.cls.
short title and author’s name, the standard \title and \author commands have been
extended to take an optional argument to be used as the running headline:
Note: If there are three or more authors for your article, the alternate (short) authors
string used for the running headline should contain the first authors name followed by
‘et al.’ e.g. K. T. Andrews et al.
Unlike most other document styles, ejm.cls does not follow the convention of using
the second line of the \author command to write the author’s affiliation. Rather, this
must be entered using the \affiliation command as shown above. The \and command
does not produce separate author/affiliation pairs, but only generates the word ‘and’
in roman type as required by the EJM style. Use the predefined macro \ls to get the
letterspacing between the letters of the author’s name, and \ns between different authors.
Notice that you have to insert the affiliation footnote numbers manually.
The following example will make this clearer. To produce the title page of this docu-
ment we used:
\affiliation{%
$^1\,$Cambridge University Press, Cambridge CB2 2BS, UK\\
email\textup{\nocorr: \texttt{texline@cup.cam.ac.uk}}\\
$^2\,$Department of Mathematics, University of Southampton,
Southampton SO9 5NH, UK\\
$^3\,$Mathematical Institute, 24--29 St Giles, Oxford OX1 3LB, UK}
The LATEX \thanks command can be used inside the \author command to insert an
authors ‘Current address’ information as a footnote, appearing at the bottom of the title
page.
6 M. A. Reed et al.
3.2 Abstract
The EJM style provides an environment for typesetting the article abstract:
\begin{abstract}
...
\end{abstract}
This should appear just before the first \section command.
3.3 Lists
The EJM style provides the three standard list environments:
• Numbered lists, created using the enumerate environment.
• Bulleted lists, created using the itemize environment.
• Labelled lists, created using the description environment.
The enumerate environment numbers each list item with an arabic number in parenthe-
ses; alternative styles can be achieved by inserting a redefinition of the number labelling
command after the \begin{enumerate}. For example, a list numbered with roman nu-
merals inside parentheses can be produced by the following commands:
\begin{enumerate}
\renewcommand{\theenumi}{\roman{enumi}}
\item first item
:
\end{enumerate}
This produces the following list:
(i) first item
(ii) second item
(iii) etc.
In the last example, the item alignment is uneven because the standard list indention
is designed to be sufficient for arabic numerals rather than the wider roman numerals. In
order to enable different labels to be used more easily, the enumerate environment in the
EJM style can be given an optional argument which (like the standard thebibliography
environment) specifies the widest label. For example,
(i) first item
(ii) second item
(iii) etc.
was produced by the following input:
\begin{enumerate}[(iii)]
\renewcommand{\theenumi}{\roman{enumi}}
\item first item
European Journal of Applied Mathematics 7
:
\end{enumerate}
Once you have used the optional argument on the enumerate environment, do not
process your document with a standard LATEX class file.
3.4 Theorems
The EJM style provides an extended \newtheorem command which enables you to typeset
unnumbered theorems. e.g. An unnumbered ‘Theorem’ can be typeset with the following:
\newtheorem{theorem}{Theorem}[section]
:
\begin{theorem}
This gives me a normal numbered theorem.
\end{theorem}
\begin{theorem*}
This gives me an unnumbered theorem.
\end{theorem*}
Which produces:
The preferred numbering scheme is for theorems to be numbered within sections, as 1.1,
1.2, 1.3, etc., but other numbering schemes are permissible and may be implemented as
described in the LATEX manual. In order to allow authors maximum flexibility in num-
bering and naming, no theorem-like environments are defined in ejm.cls. Rather, you
have to define each one yourself. Theorem-like environments include Theorem, Definition,
Lemma, Corollary, and Proposition.
The new macro which follows can also produce numbered and unnumbered environ-
ments.
3.5 Definitions
The \newdefinition command can be used to create environments for claims, conjec-
tures, examples, problems, remarks, etc. These are typeset in the way as theorems, except
the text is typeset in roman instead of italic.
You can have an environment created by \newdefinition number in the same se-
quence as a ‘Theorem’ by adding the optional [theorem] argument as below:
\newdefinition{definition}[theorem]{Definition}
:
\begin{definition}
This is a definition.
8 M. A. Reed et al.
\end{definition}
\begin{definition*}
This is an unnumbered definition.
\end{definition*}
which produces the following:
\begin{proof}[Proof of Theorem~\ref{miyajima}]
The assumption about $T$ means that
\[
0 \sim \frac{\upartial T}{\upartial t} +
\mathcal{E}T \bomega_t
= \frac{\upartial T}{\upartial t} + \{ T, H\},
\]
where $\upartial T / \upartial t$ refers to explicit
dependence on $t$. The skew symmetry of $\mathsf{J}$ hence implies
\begin{equation}
\frac{\upartial T}{\upartial t} \sim \{ H, T\},
\end{equation}
whereupon the operation $\mathsf{J} \mathcal{E}$, which commutes with
$\upartial_t$ in its present sense, gives
\[
\frac{\upartial {\bldP}}{\upartial t}=\mathsf{J}\mathcal{E}\{ H, T\}.
\]
This equation reproduces the characterisation of symmetries that was
European Journal of Applied Mathematics 9
Theorem 3.3 (Miyajima) Let the scalar function T (x, y, t, ω) be a conserved density for
solutions of (9). Then the two-component function
P = JET (3.1)
represents the infinitesimal generator of a symmetry group for (9).
\begin{subequations}
\begin{equation}
a_1 \equiv (2\Omega M^2/x)^{\frac{1}{4}} y^{\frac{1}{2}}\label{a1}
\end{equation}
and
\begin{equation}
a_2 \equiv (x/2\Omega)^{\frac{1}{2}}k_y/M.\label{a2}
\end{equation}
\end{subequations}
You may also typeset an array such as:
Ẋ = γX − γδη, (4.2 a)
1
η̇ = 2δ + 2Xη. (4.2 b)
by using the subeqnarray environment as follows:
\begin{subeqnarray}
\dot{X} & = & \gamma X - \gamma\delta\eta ,\\
\dot{\eta} & = & {\textstyle\frac{1}{2}} \delta + 2X\eta .
\end{subeqnarray}
You can do something more complex with these environments. Here follow a few ex-
amples of manipulating equation numbers which may be useful. First, you may wish to
manipulate individual lines in a subeqnarray
M1 = a1 z 3 + b1 zρ2 + . . . , M2 = a2 z 3 + b2 zρ2 + . . . , (4.3 a,b)
3 2 3 2
M3 = a3 z + b3 zρ + . . . , M4 = c4 ρ + d4 ρz + . . . , (4.3 c,d )
3 2 3 2
M5 = c5 ρ + d5 ρz + . . . , M6 = c6 ρ + d6 ρz + . . . , (4.3 e,f )
3 2 3 2
M7 = c7 ρ + d7 ρz + . . . , M8 = a8 z + b8 zρ + . . . , (4.3 g,h)
3 2 3 2
M9 = a9 z + b9 zρ + . . . , M10 =10 ρ + d10 ρz + . . . . (4.3 i,j )
Second, you may wish to have a subeqnarray
Ẋ = γX − γδη, (4.4 a)
1
η̇ = 2δ + 2Xη. (4.4 b)
followed by another subeqnarray
Ẋ = γX − γδη, (4.4 c)
1
η̇ = 2δ + 2Xη. (4.4 d)
followed by an equation
K ∼ (A + ~A1 + ~2 A2 + ...) exp(−Iclass /~). (4.4 e)
At some point, you will need to reset everything back to normal
Ψ(a, ψ A ) = C exp(−3a2 /~) + D exp(3a2 /~)ψA ψ A . (4.5)
European Journal of Applied Mathematics 11
\begin{subeqnarray}
% define subequation numbers
\gdef\thesubequation{\theequation\,\textit{a,b}}
M_{1} & = & a_{1}z^3+b_{1}z\rho^2 + \ldots,\quad
M_{2} = a_{2}z^3+b_{2}z\rho^2 + \ldots, \\
\gdef\thesubequation{\theequation\,\textit{c,d}}
M_{3} & = & a_{3}z^3+b_{3}z\rho^2 + \ldots,\quad
M_{4} = c_{4}\rho^3+d_{4}\rho z^2 + \ldots, \\
\gdef\thesubequation{\theequation\,\textit{e,f}}
M_{5} & = & c_{5}\rho^3+d_{5}\rho z^2 + \ldots,\quad
M_{6} = c_{6}\rho^3+d_{6}\rho z^2 + \ldots, \\
\gdef\thesubequation{\theequation\,\textit{g,h}}
M_{7} & = & c_{7}\rho^3+d_{7}\rho z^2 + \ldots,\quad
M_{8} = a_{8}z^3+b_{8}z\rho^2 + \ldots, \\
\gdef\thesubequation{\theequation\,\textit{i,j}}
M_{9} & = & a_{9}z^3+b_{9}z\rho^2 + \ldots,\quad
M_{10} = _{10}\rho^3+d_{10}\rho z^2 + \ldots.
\end{subeqnarray}
% reinstate the original definition of \thesubequation
\returnthesubequation
%
Second, you may wish to have a \verb"subeqnarray"
%
\begin{subeqnarray}
\dot{X} & = & \gamma X - \gamma\delta\eta ,\\
\dot{\eta} & = & {\textstyle\frac{1}{2}} \delta + 2X\eta .
\end{subeqnarray}
%
followed by another \verb"subeqnarray"
% don’t increment the equation counter
\addtocounter{equation}{-1}
\begin{subeqnarray}
% increment subequation counter by 2 to take it from a to c
\addtocounter{subequation}{2}
\dot{X} & = & \gamma X - \gamma\delta\eta ,\\
\dot{\eta} & = & {\textstyle\frac{1}{2}} \delta + 2X\eta .
\end{subeqnarray}
%
followed by an \verb"equation"
% save the current definition of \theequation
\let\oldequation=\theequation
% define \theequation
\renewcommand\theequation{4.4\,\textit{e}}
12 M. A. Reed et al.
\begin{equation}
K\sim(A + {\hbar} {A_1} +{{\hbar}^2} {A_2} +...)\,
\exp(-I_{\mathrm{class}}/{\hbar}).
\end{equation}
%
At some point, you will need to reset everything back to normal
% restore the definition of \theequation
\let\theequation=\oldequation
% restore the equation number
\setcounter{equation}{4}
\begin{equation}
\Psi(a, \psi^A) = C \exp(-3a^2/\hbar) + D \exp(3a^2/\hbar)
{\psi_A}{\psi^A}.
\end{equation}
defined macros that can be redefined by the typesetter to use the correct AMS macros.
For example, the blackboard bold symbols, sometimes called shell or outline characters,
are obtained with the AMS macro \mathbb{..}. Instead, use a macro definition such as:
% replace font!
\newcommand\BbbE{\ensuremath{\mathsf{E}}} % Blackboard bold E
This substitutes a sans serif character where you want blackboard bold. You can typeset
the input file and the typesetter is alerted to do the substitution.
The following example (which uses the \providecommand macro) will work without
modification by the typesetter, because the \providecommand macro will not overwrite
any existing \mathbb definition.
\providecommand\mathbb[1]{\ensuremath{\mathsf{#1}}}
...
\newcommand\BbbE{\mathbb{E}} % Blackboard bold E
Plain TEX provides only \leq and \geq which typeset the Computer Modern symbols
≤ and ≥, respectively. These will be redefined at typesetting to use the AMS symbols
\leqslant and \geqslant, to give slanted symbols.
If you wish to use AMS fonts with LATEX 2ε you must be using at least version 2.0.
Earlier versions are not supported.
4.3 Typeface
Sometimes, non-italic symbols are required in maths. This section describes how these
may be obtained using LATEX and ejm.cls.
$\mbox{Re}\;x$
which typesets as Re x.
Where such expressions are used repeatedly, macro definitions can reduce typing and
editing. The following examples are included in the preamble of the input files for this
document. Authors are encouraged to use them and others like them.
font cmssi – because there is no bold-slanted math sans serif font in available in Computer
Modern! If you use the supplied sans-serif text and math commands the typesetter will
be able to substitute the fonts automatically.
5 User-defined macros
If you define your own macros you must ensure that their names do not conflict with
any existing macros in plain TEX or LATEX (or AMS LATEX if you are using this). You
should also place them in the preamble to your input file, between the \documentclass
and \begin{document} commands.
Apart from scanning the indexes of the relevant manuals, you can check whether a
macro name is already used in plain TEX or LATEX by using the TEX command show.
For instance, run LATEX interactively and type \show\<macro_name> at the TEX prompt.
(Alternatively, insert the \show command into the preamble of an input file and TEX it.)
* \show\Re
produces the following response from TEX:
> \Re=\mathchar"23C.
<*> \show\Re
By contrast \Real is not part of plain TEX or LATEX and \show\Real generates:
> \Real=undefined
<*> \show\Real
confirming that this name can be assigned to a user-defined macro.
Alternatively, you can just use \newcommand, which will check for the existence of the
macro you are trying to define. If the macro exists LATEX will respond with:
! LaTeX Error: Command ... already defined.
In this case you should choose another name, and try again.
Such macros must be in a place where they can easily be found and modified by the
journal’s editors or typesetter. They must be gathered together in the preamble of your
input file, or in a separate macros.tex file with the command \input{macros} in the
preamble. Macro definitions must not be scattered about your document where they are
likely to be completely overlooked by the typesetter.
The same applies to font definitions that are based on Computer Modern fonts. These
must be changed by the typesetter to use the journal’s TEX typefaces Times and Hel-
vetica. In this case, you should draw attention to these font definitions on the hard copy
that you submit for publication and by placing a comment in your input file just before
the relevant definitions, for example % replace font!
6.1 Sections
LATEX provides five levels of section headings, only four of which are defined in the EJM
class file:
European Journal of Applied Mathematics 17
Table 1. An example table
Figure hA hB a hC
a
A table must be inside a minipage environment if it includes table footnotes.
Heading A – \section{...}
Heading B – \subsection{...}
Heading C – \subsubsection{...}
Heading D – \paragraph{...}
There is no subparagraph heading in the EJM style.
To obtain non-bold in a bold heading use the usual LATEX 2ε commands for changing
typeface; for example \section{Fluctuations in Ca\textsc{\textmd{ii}}.
6.2 Tables
The table environment is implemented as described in the LATEX manual to provide
consecutively numbered floating inserts for tables.
The EJM class will cope with most table positioning problems and you should not
normally use the optional positional qualifiers t, b, h on the table environment, as this
would override these decisions. Table captions should appear before the body of the table;
therefore you should place the \caption command before the \begin{tabular}.
The EJM style dictates that vertical rules should never be used within the body of the
table. As an example, table ?? is produced using the following commands:
\begin{table}
\caption{An example table} \label{sample-table}
\begin{minipage}{\textwidth}
\tabcolsep=8pt
\begin{tabular}{cccc}
\hline\hline
{Figure} & {$hA$} & {$hB$}\footnote{A table must be
inside a \texttt{minipage} environment if it includes
table footnotes.}
& {$hC$}\\
\hline
2 & $\exp\;(\upi \mathrm{i} x)$
& $\exp\;(\upi \mathrm{i} y)$ & $0$\\
3 & $-1$ & $\exp\;(\upi \mathrm{i} x)$ & $1$\\
4 & $-4+3\mathrm{i}$ & $-4+3 \mathrm{i}$ & 1.6\\
5 & $-2$ & $-2$ & $1.2 \mathrm{i}$\\
18 M. A. Reed et al.
\hline\hline
\end{tabular}
\end{minipage}
\end{table}
The tabular environment has been modified for the EJM 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{tabular*}{\textwidth}.
Commands to redefine quantities such as \arraystretch should be omitted. If the old
tabular facilities are needed, there is a new environment, oldtabular, which has none
of the reformatting; it should be used in exactly the same way.
\begin{figure}
\vspace{3cm}
\caption{An example figure with space for artwork.}
\label{sample-figure}
\end{figure}
If a figure caption is too long to fit on the same page as its illustration, the caption
may be typeset as ‘Figure X. For caption see facing page.’, and the longer caption typeset
at the bottom of the facing page. Authors should not concern themselves unduly with
such details, and may leave pages long.
European Journal of Applied Mathematics 19
6.4 Acknowledgements
Acknowledgements should appear at the close of your paper, just before any appendices
and the list of references. Use the acknowledgement or acknowledgements environment,
which will also typeset the appropriate section heading.
6.5 Appendices
You should use the standard LATEX \appendix command to place any Appendices, nor-
mally, just before the references. This numbers appendices as A, B etc., equations as
(A1), (B1) etc. Figures and tables number as A1, B1 etc.
6.6 References
As with standard LATEX, there are two ways of producing a list of references; either by
compiling a list (using a thebibliography environment), or by using BibTEX with a
suitable bibliographic database.
\bibitem[PAR]{Paris}
\textsc{Paris, R.~B.} 1992 Smoothing of the Stokes phenomenon
...
And then use \cite in the normal way with the key in ‘{}’ as the argument. You should
not mix the two referencing systems, use one or the other – the journal prefers referencing
using numbers.
\begin{thebibliography}{9}
\bibitem{Dingle}
\textsc{Dingle, R.~B.} 1973 \textit{Asymptotic expansions: their
derivation and interpretation}. London. Academic Press.
\bibitem{Olveras}
\textsc{Olver, F.~W.~J.} 1974 \textit{Asymptotics and special
functions}. New York. Academic Press.
\bibitem{OlverEx}
\textsc{Olver, F.~W.~J.} 1993 Exponentially-improved asymptotic
solutions of ordinary differential equations I:
The confluent hypergeometric function. \textit{SIAM Journal
on Mathematical Analysis} \textbf{24}, 756--67.
\bibitem{Olverae}
\textsc{Olver, F.~W.~J.} 1994 Asymptotic expansions of the
coefficients in asymptotic series solutions of linear
differential equations. \textit{Methods and Applications of
Analysis} \textbf{1}, 1--13.
\bibitem{Paris}
\textsc{Paris, R.~B.} 1992 Smoothing of the Stokes phenomenon
using Mellin--Barnes integrals. \textit{Journal of Computational
and Applied Mathematics} \textbf{41}, 117--33.
\bibitem{Whittaker}
\textsc{Whittaker, E.~T. \& Watson, G.~N.} 1927 \textit{A course of
modern analysis} (4th edn). London. Cambridge University Press.
\end{thebibliography}
References should be listed alphabetically by author name(s) and then by year if the
same author has several papers.
Formatting for italic etc. should be avoided unless you are sure you understand the
style of references; please concentrate on giving full and clear information.
European Journal of Applied Mathematics 21
New environments
acknowledg(e)ment(s) to typeset the acknowledgments section.
bottomfigure for split figures and captions (on facing page).
proof to typeset mathematical proofs.
proof* to typeset mathematical proofs without the terminating
proofbox.
subeqnarray enables equations in an array to be numbered as (6.1 a),
etc.
subequations enables consecutive equations to be numbered (6.1 a), etc.
oldtabular the tabular environment has been modified to insert ad-
ditional space above and below an \hrule and the table
caption and body is centred with rules full out across the
text measure.
22 M. A. Reed et al.
New optional arguments
[<short title>] in the \title command: to define a shorter title to be
used in the running head.
[<short author>] in the \author command: to define a shorter version of
the authors’ surnames to be used in the running head.
[<widest label>] in \begin{enumerate}: to ensure the correct alignment of
numbered lists with wide labels.
References
[1] Dingle, R. B. 1973 Asymptotic expansions: their derivation and interpretation. London.
Academic Press.
[2] Olver, F. W. J. (1974) Asymptotics and Special Functions. New York. Academic Press.
[3] Olver, F. W. J. (1993) Exponentially-improved asymptotic solutions of ordinary differen-
tial equations I: The confluent hypergeometric function. SIAM Journal on Mathematical
Analysis 24, 756–67.
[4] Olver, F. W. J. (1994) Asymptotic expansions of the coefficients in asymptotic series
solutions of linear differential equations. Methods and Applications of Analysis 1, 1–13.
[5] Paris, R. B. (1992) Smoothing of the Stokes phenomenon using Mellin–Barnes integrals.
Journal of Computational and Applied Mathematics 41, 117–33.
[6] Whittaker, E. T. & Watson, G. N. (1927) A Course of Modern Analysis (4th edn).
Cambridge University Press.