%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Please note that whilst this template provides a
% preview of the typeset manuscript for submission, it
% will not necessarily be the final publication layout.
%
% letterpaper/a4paper: US/UK paper size toggle
% num-refs/alpha-refs: numeric/author-year citation and bibliography toggle
%-------------------------------------------
\documentclass[alpha-refs]{oup-contemporary}
%-------------------------------------------
%%% Journal toggle; only specific options recognised.
%%% (Only "jcde" and "general" are implemented now. Support for other journals is planned.)
\usepackage{graphicx}
\usepackage{siunitx}
%%% Flushend: You can add this package to automatically balance the final page, but if things go awry (e.g. section contents appearing out-of-order or entire blocks or paragraphs are coloured), remove it!
% \usepackage{flushend}
\journal{jcde}
\title{Template for Journal of Computational Design and Engineering Manuscript Submissions}
\doi{10.1093/jcde/xxxxxxx}
\jyear{202X}
\jvolume{X}
\jnumber{X}
\jstartpage{X}
\jendpage{X}
\jpubdate{Day Month Year}
%%% Use the \authfn to add symbols for additional footnotes, if any. 1 is reserved for correspondence emails; then continuing with 2 etc for contributions.
\author[1]{First Author}
\author[2]{Second Author}
\author[2,{\authfn{1}}]{Third Author}
\affil[1]{First Institution}
\affil[2]{Second Institution}
%%% Author Notes
\authnote{\authfn{1}Corresponding author. E-mail: \href{mailto: abc@uni.edu}{abc@uni.edu}}
%%% Paper category
\papercat{Research article}
%Editorial
%Review article
%Research article
%Short communication
%%% "Short" author for running page header
\runningtitle{Template for Journal of Computational Design and Engineering}
%%% Should only be set by an editor
\begin{document}
\begin{frontmatter}{a}{b}{c}
\maketitle
\begin{abstract}
A concise and factual abstract is required. The abstract should state briefly the purpose of the study, the principal results and major conclusions. An abstract is often presented separately from the manuscript, so it must be able to stand alone. For this reason, References should be avoided, but if essential, then cite the author(s) and year(s). Also, non-standard or uncommon abbreviations should be avoided, but if essential they must be defined at their first mention in the abstract itself. After the Abstract please include up to 6 keywords.
\end{abstract}
\begin{keywords}
Keyword1; keyword 2; keyword 3; keyword 4; keyword 5; keyword 6 (Up to 6 keywords)
\end{keywords}
\end{frontmatter}
%%% Key points will be printed at top of second page
%\begin{keypoints*}
%\begin{itemize}
%\item This is the first point
%\item This is the second point
%\item One last point.
%\end{itemize}
%\end{keypoints*}
\setcounter{section}{0}
\section{Introduction to this Template}
This is the \LaTeX{} template for Journal of Computational Design and Engineering manuscript submissions. \textbf{Please note that whilst this template provides a preview of the typeset manuscript for submission, it will not necessarily be the final publication layout.}
There are important commands in the preamble that you will need to modify for your own manuscript. If you are using this template on Overleaf, please switch the editor to Source code mode to view them; or if you prefer to stay in the Rich Text view, click on the title in the Rich Text view to display the preamble code.
Specify your manuscript's category with the \verb|\papercat{...}| command in the preamble.
See the sample code in the preamble for a sample of how author and affiliation information can be specified.
Use later sections starting with `Introduction' on page~\pageref{sec:intro} to write your manuscript. The remainder of this current section will provide some sample \LaTeX{} code for various elements you may want to include in your manuscript.
\subsection{Sectional Headings}
You can use \verb|\section{...}|, \verb|\subsection{...}| commands to add more sections and subsections to your manuscript. Further sectional levels are provided by \verb|\subsubsection|, \verb|\paragraph| and \verb|\subparagraph|. Should be numbered, with subsections numbered 1.1, 1.1.1, 1.1.2, etc.
\subsubsection{This is a 3rd level heading}
Use \verb|\subsubsection| to get a 3rd level heading.
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
\paragraph{This is a 4th level heading}
Use \verb|\paragraph| to get a 4th level heading.
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Lorem ipsum dolor sit amet, consectetur adipiscing elit.
\subparagraph{This is a 5th level heading}
Use \verb|\subparagraph| to get a 5th level heading.
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Lorem ipsum dolor sit amet, consectetur adipiscing elit.
\subsection{Using the Style Template}
\begin{epigraph}{Epigraph source name}
This is the epigraph text, should you like to add one. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
\end{epigraph}
\begin{quote}
This is a quote. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
\end{quote}
\begin{itemize}
\item This is a bullet list.
\item Another point.
\item A third point.
\end{itemize}
This\footnote{This is the footnote text.} is a footnote. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
\begin{enumerate}
\item This is a numbered list.
\item Another numbered item.
\item A third numbered item.
\end{enumerate}
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
\begin{mdframed}[linewidth=1pt]
This is text in a box. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
\end{mdframed}
\subsection{Citations and References}
Please ensure that every reference cited in the text is also present in the reference list (and vice versa). Citations in the text should follow the referencing style used by the American Psychological Association. You are referred to the Publication Manual of the American Psychological Association (APA), Seventh Edition, ISBN 978-1-4338-3215-4, copies of which may be ordered online (\url{https://apastyle.apa.org/products/publication-manual-7th-edition}). References in the Abstract should be avoided, but if essential, then cite the author(s) and year(s). Unpublished results and personal communications are not recommended in the reference list but may be mentioned in the text. If these references are included in the reference list they should follow the standard reference style of the journal and should include a substitution of the publication date with either ‘Unpublished results’ or ‘Personal communication’. Citation of a reference as ‘in press’ implies that the item has been accepted for publication.
\subsubsection{A list of references}
References should be arranged first alphabetically and then further sorted chronologically if necessary. More than one reference from the same author(s) in the same year must be identified by the letters ‘a’, ‘b’, ‘c’, etc., placed after the year of publication.
\subsubsection{Web references}
As a minimum, the full URL should be given and the date when the reference was last accessed. Any further information, if known (DOI, author names, dates, reference to a source publication, etc.), should also be given. Web references can be listed separately (e.g., after the reference list) under a different heading if desired, or can be included in the reference list.
\subsubsection{References in a Special Issue}
Please ensure that the words ‘this issue’ are added to any references in the list (and any citations in the text) to other manuscripts in the same Special Issue.
\subsubsection{Examples for reference style}
We provide several examples for reference style. Use the \verb|\textcite| command for narrative citations, and \verb|\parencite| command for parenthetical citations. This is a citation: \parencite{Jackson} and here are two more: \parencite{Grady,Piumsomboon:2017}.
\begin{itemize}
\item Reference to a journal publication: \textcite{Grady} or \parencite{Grady}
\item Reference to a journal publication with a manuscript number: \textcite{Jerrentrup} or \parencite{Jerrentrup}
\item Reference to a book: \textcite{Jackson} or \parencite{Jackson}
\item Reference to a chapter in an edited book: \textcite{Aron} or \parencite{Aron}
\item Reference to a website: \textcite{testWeb} or \parencite{testWeb}
\item Reference to a dataset: \textcite{testDataset} or \parencite{testDataset}
\item Reference to conference proceedings: \textcite{Piumsomboon:2017} or \parencite{Piumsomboon:2017}
\item Reports: \textcite{testReport} or \parencite{testReport}
\item Reference to dissertations and theses: \textcite{testThesis} or \parencite{testThesis}
\end{itemize}
Note that APA Style uses sentence case for titles of articles, books, reports, webpages, and other works in reference list entries, even if the title case was used in the original work. Therefore, use double curly braces in the \verb|title| field of $.$bib if you need to capitalize on a certain character.
Unlike the reference of a webpage, APA style in-text citation of a webpage includes the author and year, and does not include date information of the last accessed day. Note that Bib\LaTeX{}'s current APA style implementation provides both year and date information in an in-text citation. The date information should be removed in final production.
You can find more information about the examples here (\url{https://apastyle.apa.org/style-grammar-guidelines/references/examples}).
\subsection{Figures and Tables}
Figures and tables can be added with the usual \verb|figure| and \verb|table| environments, e.g.~Figure \ref{fig:example} and Table \ref{tab:example}. Use \verb|figure*| and \verb|table*| if you need a two-column wide figure or table, as in Figure \ref{fig:example:wide} and Table \ref{tab:example:wide}.
If you have a very wide table or figure, you can use \texttt{sidewaystable} or \texttt{sidewaysfigure}, as in Table \ref{tab:example:sideways}: this will be rotated sideways and occupy a \emph{single column} on its own.
If your table or figure is both wide and tall (so it wouldn't fit well in a single column with \texttt{sidewaystable} or \texttt{figure}),
you can use \verb|table| or \verb|figure| inside a \verb|landscape| environment for a full-page landscaped alternative. A page break will be inserted \emph{immediately before and after} the \verb|landscape| environment (Table \ref{tab:example:landscape}), so you'll need to carefully position it in a suitable location in your manuscript.
\begin{figure}[bt!] %% preferably at bottom or top of column
\centering
\includegraphics[width=\linewidth]{example-image}
\caption{An example figure.}\label{fig:example}
\end{figure}
\begin{table}[bt!]
\caption{An example table.}\label{tab:example}
\begin{tabular}{p{0.28\linewidth}p{0.28\linewidth}p{0.28\linewidth}}
\toprule
Item & Quantity & Notes\\
\midrule
Widgets & 42 & Over-supplied\textsuperscript{*} \\
Gadgets & 13 & Under-supplied \\
\bottomrule
\end{tabular}
\begin{tablenotes}
\item This is a table note.
\item \textsuperscript{*}Another note.
\end{tablenotes}
\end{table}
\begin{table*}[bt!]
\caption{Automobile land speed records (GR 5-10)}\label{tab:example:wide}
% Use "S" column identifier (from siunitx) to align on decimal point.
% Use "L", "R" or "C" column identifier for auto-wrapping columns with tabularx.
\begin{tabularx}{\linewidth}{S l l l r L}
\toprule
{Speed (mph)} & {Driver} & {Car} & {Engine} & {Date} & {Extra comments}\\
\midrule
407.447 & Craig Breedlove & Spirit of America & GE J47 & 8/5/63 & (Just to demo a full-width table with auto-wrapping long lines) \\
413.199 & Tom Green & Wingfoot Express & WE J46 & 10/2/64 \\
434.22 & Art Arfons & Green Monster & GE J79 & 10/5/64 \\
468.719 & Craig Breedlove & Spirit of America & GE J79 & 10/13/64 \\
526.277 & Craig Breedlove & Spirit of America & GE J79 & 10/15/65 \\
536.712 & Art Arfons & Green Monster & GE J79 & 10/27/65 \\
555.127 & Craig Breedlove & Spirit of America, Sonic 1 & GE J79 & 11/2/65 \\
576.553 & Art Arfons & Green Monster & GE J79 & 11/7/65 \\
600.601 & Craig Breedlove & Spirit of America, Sonic 1 & GE J79 & 11/15/65 \\
622.407 & Gary Gabelich & Blue Flame & Rocket & 10/23/70 \\
633.468 & Richard Noble & Thrust 2 & RR RG 146 & 10/4/83 \\
763.035 & Andy Green & Thrust SSC & RR Spey & 10/15/97\\
\bottomrule
\end{tabularx}
\begin{tablenotes}
\item Source is from this website: \url{https://www.sedl.org/afterschool/toolkits/science/pdf/ast_sci_data_tables_sample.pdf}
\end{tablenotes}
\end{table*}
\subsection{Some Mathematics Sample}
Let $X_1, X_2, \ldots, X_n$ be a sequence of independent and identically distributed random variables with $\text{E}[X_i] = \mu$ and $\text{Var}[X_i] = \sigma^2 < \infty$, and let
%
\begin{equation}
S_n = \frac{X_1 + X_2 + \cdots + X_n}{n}
= \frac{1}{n}\sum_{i}^{n} X_i
\end{equation}
%
denote their mean. Then as $n$ approaches infinity, the random variables $\sqrt{n}(S_n - \mu)$ converge in distribution to a normal $\mathcal{N}(0, \sigma^2)$.
\subsection{Algorithms, Program codes and Listings}\label{sec7}
Packages \verb+algorithm+, \verb+algorithmicx+ and \verb+algpseudocode+ are used for setting algorithms in latex.
For this, one has to use the below format:
\begin{verbatim}
\begin{algorithm}
\caption{<alg-caption>}\label{<alg-label>}
\begin{algorithmic}[1]
. . .
\end{algorithmic}
\end{algorithm}
\end{verbatim}
We need to refer above listed package documentations for more details before setting \verb+algorithm+ environment.
To set program codes, one has to use \verb+program+, package. We need to use \verb+\begin{program}+ \verb+...+
\verb+\end{program}+ environment to set program codes. A fast exponentiation procedure:
\begin{algorithm}[!t]
\caption{Calculate $y = x^n$}\label{algo1}
\begin{algorithmic}[1]
\Require $n \geq 0 \vee x \neq 0$
\Ensure $y = x^n$
\State $y \Leftarrow 1$
\If{$n < 0$}
\State $X \Leftarrow 1 / x$
\State $N \Leftarrow -n$
\Else
\State $X \Leftarrow x$
\State $N \Leftarrow n$
\EndIf
\While{$N \neq 0$}
\If{$N$ is even}
\State $X \Leftarrow X \times X$
\State $N \Leftarrow N / 2$
\Else[$N$ is odd]
\State $y \Leftarrow y \times X$
\State $N \Leftarrow N - 1$
\EndIf
\EndWhile
\end{algorithmic}
\end{algorithm}
Similarly, for \verb+listings+, one has to use \verb+listings+ package. \verb+\begin{lstlisting}+ \verb+...+ \verb+\end{lstlisting}+ environment is used to set environments similar to \verb+verbatim+ environment. Refer \verb+lstlisting+, package documentation for more details on this.
\section{Introduction}
\label{sec:intro}
This section states the objectives of the work and provides an adequate background, avoiding a detailed literature survey or a summary of the results.
\section{Material and Methods}
This section provides sufficient details to allow the work to be reproduced by an independent researcher. Methods that are already published should be summarised, and indicated by a reference. If quoting directly from a previously published method, use quotation marks and also cite the source. Any modifications to existing methods should also be described.
The methods section should include the design of the study, the type of materials involved, a clear description of all comparisons, and the type of analysis used, to enable replication of the work. Ease of reproducibility is one of the key criteria on which reviewers will be asked to comment.
\section{Theory/Calculation}
This section should extend, not repeat, the background to the manuscript already dealt with in the Introduction and lay the foundation for further work. In contrast, a Calculation section represents a practical development from a theoretical basis.
\begin{figure*}%[b!] %% Add a [b!] if you prefer the wide image to be at the bottm of the page
\centering
\includegraphics[width=.7\textwidth]{example-image}
\caption{An example wide figure. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
}\label{fig:example:wide}
\end{figure*}
\section{Results}
This section should comprise the study results presented in a logical sequence, supplemented with tables and/or figures. Take care that the text does not repeat data that are presented in the tables and/or figures.
\begin{sidewaystable}
\caption{Automobile land speed records (GR 5-10). This is the same table as before, but rotated sideways.}
\label{tab:example:sideways}
% Use "S" column identifier (from siunitx) to align on decimal point.
% Use "L", "R" or "C" column identifier for auto-wrapping columns with tabularx.
\begin{tabularx}{\linewidth}{S l l l r L}
\toprule
{Speed (mph)} & {Driver} & {Car} & {Engine} & {Date} & {Extra comments}\\
\midrule
407.447 & Craig Breedlove & Spirit of America & GE J47 & 8/5/63 & (Just to demo a full-width table with auto-wrapping long lines) \\
413.199 & Tom Green & Wingfoot Express & WE J46 & 10/2/64 \\
434.22 & Art Arfons & Green Monster & GE J79 & 10/5/64 \\
468.719 & Craig Breedlove & Spirit of America & GE J79 & 10/13/64 \\
526.277 & Craig Breedlove & Spirit of America & GE J79 & 10/15/65 \\
536.712 & Art Arfons & Green Monster & GE J79 & 10/27/65 \\
555.127 & Craig Breedlove & Spirit of America, Sonic 1 & GE J79 & 11/2/65 \\
576.553 & Art Arfons & Green Monster & GE J79 & 11/7/65 \\
600.601 & Craig Breedlove & Spirit of America, Sonic 1 & GE J79 & 11/15/65 \\
622.407 & Gary Gabelich & Blue Flame & Rocket & 10/23/70 \\
633.468 & Richard Noble & Thrust 2 & RR RG 146 & 10/4/83 \\
763.035 & Andy Green & Thrust SSC & RR Spey & 10/15/97\\
\bottomrule
\end{tabularx}
\begin{tablenotes}
\item Source is from this website: \url{https://www.sedl.org/afterschool/toolkits/science/pdf/ast_sci_data_tables_sample.pdf}
\end{tablenotes}
\end{sidewaystable}
\section{Discussion}
This section should explore the significance of the results of the work, not repeat them. A combined Results and Discussion section is often appropriate. Avoid extensive citations and discussion of published literature.
\section{Conclusions}
The main conclusions of the study may be presented in a short Conclusions section, which may stand alone or form a subsection of a Discussion or Results and Discussion section.
\section{Additional section}
Authors can add or remove the sectional headings according to their type or structure of the manuscript.
\part{Acknowledgements}
Please refer to your funding organisations to acknowledge their support.
\part{Conflict of interest statement}
The authors declared no potential conflicts of interest with respect
to the research, authorship, and/or publication of this article.
%% Specify your .bib file name here, without the extension
\printbibliography
\begin{landscape}
\begin{table}
\caption{Automobile land speed records (GR 5-10). This is again the same table as before, but on a landscaped page. \textbf{Note that a hard page break is inserted immediately before and after \texttt{landscape}}, so you'll need to carefully position such an environment at a suitable location in your manuscript!}
\label{tab:example:landscape}
\begin{tabularx}{\linewidth}{S l l l r L}
\toprule
{Speed (mph)} & {Driver} & {Car} & {Engine} & {Date} & {Extra comments}\\
\midrule
407.447 & Craig Breedlove & Spirit of America & GE J47 & 8/5/63 & (Just to demo a full-width table with auto-wrapping long lines) \\
413.199 & Tom Green & Wingfoot Express & WE J46 & 10/2/64 \\
434.22 & Art Arfons & Green Monster & GE J79 & 10/5/64 \\
468.719 & Craig Breedlove & Spirit of America & GE J79 & 10/13/64 \\
526.277 & Craig Breedlove & Spirit of America & GE J79 & 10/15/65 \\
536.712 & Art Arfons & Green Monster & GE J79 & 10/27/65 \\
555.127 & Craig Breedlove & Spirit of America, Sonic 1 & GE J79 & 11/2/65 \\
576.553 & Art Arfons & Green Monster & GE J79 & 11/7/65 \\
600.601 & Craig Breedlove & Spirit of America, Sonic 1 & GE J79 & 11/15/65 \\
622.407 & Gary Gabelich & Blue Flame & Rocket & 10/23/70 \\
633.468 & Richard Noble & Thrust 2 & RR RG 146 & 10/4/83 \\
763.035 & Andy Green & Thrust SSC & RR Spey & 10/15/97\\
\bottomrule
\end{tabularx}
\begin{tablenotes}
\item Source is from this website: \url{https://www.sedl.org/afterschool/toolkits/science/pdf/ast_sci_data_tables_sample.pdf}
\end{tablenotes}
\end{table}
\end{landscape}
\end{document}