%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
%  This is a sample LaTeX input file for your contribution to 
%  the M&C2021 topical meeting.
%
%  Please use it as a template for your full paper 
%    Accompanying/related file(s) include: 
%       1. Document class/format file: mc2021.cls
%       2. Sample PDF/Postscript Figure: figure.pdf,figure.ps
%       3. A PDF file showing the desired appearance: mc2021_template.pdf
%       4. cites.sty and citesort.sty that might be needed by some users 
%    Direct questions about these files to: brantley1@llnl.gov
%
%    Notes: 
%      (1) You can use the "dvips" utility to convert .dvi 
%          files to PostScript.  Then, use either Acrobat 
%          Distiller or "ps2pdf" to convert to PDF format. 
%      (2) Different versions of LaTeX have been observed to 
%          shift the page down, causing improper margins.
%          If this occurs, adjust the "topmargin" value in the
%          mc2021.cls file to achieve the proper margins. 
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass[letterpaper]{mc2021}
%
%  various packages that you may wish to activate for usage 
\usepackage{tabls}
\usepackage{cites}
\usepackage{epsf}
\usepackage{appendix}
\usepackage{ragged2e}
\usepackage[top=1in, bottom=1in, left=1in, right=1in]{geometry}
\usepackage{enumitem}
\setlist[itemize]{leftmargin=*}
\usepackage{caption}
\captionsetup{width=1.0\textwidth,font={bf,normalsize},skip=0.3cm,within=none,justification=centering}

%\usepackage[justification=centering]{caption}

%
% Define title...
%
\title{TITLE OF THE PAPER: CENTERED, UPPERCASE, 14 POINT TIMES \\
  NEW ROMAN, ON SECOND LINE FROM THE TOP MARGIN, NOT \\
  MORE THAN 3 LINES LONG}
%
% ...and authors
%
\author{%
  % FIRST AUTHORS 
  %
  \textbf{Author A$^1$, Author B$^2$, and Author C$^3$}\footnote{Footnote, if necessary, in Times New Roman font and font size 10} \\
  $^1$Name of Institution 1  \\
  Corresponding Address \\ 
\\
  $^2$Name of Institution 2  \\ 
    Corresponding Address \\ 
\\
  $^3$Name of Institution 3  \\
     Corresponding Address \\
     \\
  \url{AuthorA@email}, \url{AuthorB@email}, \url{AuthorC@email}
}
%
% Insert authors' names and short version of title in lines below
%
\newcommand{\authorHead}{Authors' names, use et al. if more than 3}
\newcommand{\shortTitle}{Short One Line Paper Title}
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
%   BEGIN DOCUMENT
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
\maketitle
\justify 

\begin{abstract}
  Use 8.5$\times$11 paper size, with 1'' margins on all sides.  A required 200-250 
  word abstract starts on this line.  Leave two blank lines before ``ABSTRACT''
  and one after.  Use 11 point Times New Roman here and single 
  spacing. The abstract is a very brief summary highlighting main 
  accomplishments, what is new, and how it relates to the state-of-the-art.
\end{abstract}
\keywords{list of three to five key words}

\section{INTRODUCTION} 
Paper starts here with two blank lines before first section title.  Use 
8.5$\times$11 paper size, with 1'' margins on all sides.  Use one blank line 
before and after each subsequent section's title.  Most of the formatting is globally
set by the specifications given in the \texttt{mc2021.cls} file.  
First-level section titles must be all uppercase and centered, and must 
be numbered in Arabic numerals as shown above.  Unlike the Word template, the body
text and section titles for this \LaTeX\ template use 
11-point font.  We have found that the 11-point font in \LaTeX\ more closely 
matched the 12-point font in Word.  Introduce the topic of your work 
in this section.

The first line of a paragraph is not indented; rather add one blank line between 
paragraphs.  This is done automatically. If you are a \LaTeX\ expert you 
can likely define the established format characteristics in a more elegant 
manner than what is done here.  This is perfectly fine, so long as the 
established paper format/appearance is maintained.  This template is merely 
to assist with maintaining uniformity in paper appearance.

There are four types of reference styles: journal paper~\cite{journal}, 
proceedings paper~\cite{proc_paper}, book~\cite{book}, and website~\cite{website}.
References to websites are discouraged, but acceptable if absolutely necessary. It 
is the author's responsibility to check links in the PDF file of your paper. 
All references should be cited in the text in numerical order, in order of 
appearance as [5-7].

The page limit for M\&C 2021 papers is 10 pages.  Papers longer than 10 pages
will be billed at \$100/page in excess of 10 pages.  It is strongly recommended
that the length of any final paper should not exceed 12 pages.

\section{SECOND OR SUBSEQUENT MAJOR HEADING} 
\label{sec:first}

This is Section~\ref{sec:first}. It is followed by a subsection, that is, 
\ref{sec:second}. The style for subsection titles and all text in this template is defined 
in the \texttt{mc2021.cls} file.  Make sure to avoid widow/orphan lines.

\subsection{Subsection Title: First Character of Each Non-trivial Word is Uppercase} 
\label{sec:second}

Double-space before and after secondary titles is automatic.  Figures and 
tables should appear as close as possible to where they are first
cited, e.g., Fig.~\ref{fig:mcd}, in the text.  Figures are numbered in Arabic 
numerals, with the caption centered below the figure, in \textbf{boldface}. For a better 
arrangement it is strongly recommended that all the figures must be placed in the``Figures'' 
folder. Triple-space before the figure, and after the figure caption.

\begin{figure}[!htb]
  \centering
  \includegraphics[scale=0.46]{./Figures/MCD-poster-2016}
  \caption{The Mathematics and Computation Division of the American Nuclear Society}
  \label{fig:mcd}
\end{figure}

When importing figures or any graphical image please verify two things:
\vspace{-0.65cm} % THE DISTANCE BETWEEN THE ":" AND THE FIRST LINE OF THE LIST MAY VARY DEPENDING ON THE TEXT LENGTH, CHANGE THIS VALUE DEPENDING ON YOUR NEEDS.
\begin{itemize} \itemsep1pt \parskip0pt \parsep0pt
\item Any number, text or symbol is in Times font and is not smaller than 
  10-point after reduction to the actual window in your paper
\item That it can be translated into PDF
\end{itemize}

Equations, such as Eq. (\ref{sample_equation}), should be centered and 
sequentially numbered to the flush right of the formula.

\begin{equation}
  \label{sample_equation}
  \mathrm{Speedup}=\frac{1}{\frac{f}{p}+(1-f)}
\end{equation}

The continuation of a paragraph after an equation should not be indented.  
All paragraphs, as well as section or subsection headings, are separated by 
just one single empty line.

\subsubsection{Sub-subsection level and lower: only first character uppercase}

See Table \ref{table:example} for a sample table.  The ``tabls'' package is
recommended for improved row and column spacing.  Notice the caption appears 
above the table by setting the \verb!\caption! command immediately 
after the \verb!\begin{table}!. Tables are numbered in Roman 
numerals, with the caption centered above the table, in \textbf{boldface}.  
Triple-space before and after the table.

\begin{table}[!htb]
  \centering
  \caption{\bf Parallel Performance for the Sample Problem}
  \label{table:example} 
  \begin{tabular}{|c|c|c|c|} \hline 
   Number of & Wall-Clock & Speedup & Efficiency \\
   Processors & Time$^{a}$ (min) & (T$_{s}$/T$_{p}$) & (\%) \\ \hline
    \ 1 &  100.0 & \ ---    & ---  \\ \hline
    \ 2 &   52.6 & \ 1.9    & 95.0 \\ \hline 
  \end{tabular}
\end{table}

\section{CONCLUSIONS}

Present your summary and conclusions here.

\section*{NOMENCLATURE}

If variables are extensively used in the text, a Nomenclature section would be helpful to the readers.

\section*{ACKNOWLEDGEMENTS}

Acknowledge the help of colleagues and sources of funding, as appropriate.

\textbf{As an example:} The format for this template was adapted from the \LaTeX\ template for the M\&C 2019
conference, incorporating limited elements from the M\&C 2015 template.  The M\&C 2021 organizing committee
thanks the M\&C 2019 and M\&C 2015 technical committees for this support.

% You can enter a bibliography into the document using either BibTex with the bibliography
% style file "mc2021.bst" found in the template directory or using the standard LaTeX
% thebibliography environment.
\newif\ifusebibtex
\usebibtexfalse
%\usebibtextrue

\ifusebibtex
\setlength{\baselineskip}{12pt}
\bibliographystyle{mc2021}
\bibliography{mc2021}
\else
\setlength{\baselineskip}{12pt}
\begin{thebibliography}{300}
\bibitem{journal} B. Author(s), ``Title,'' \emph{Journal Name in Italic}, 
  \textbf{Volume in Bold}, pp. 34-89 (19xx).
\bibitem{proc_paper} C. D. Author(s), ``Article Title,'' \emph{Proceedings of
  Meeting in Italic}, Location, Dates of Meeting, Vol. n, pp. 134-156 
  (19xx).
\bibitem{book} E. F. Author, \emph{Book Title in Italic}, Publisher, City \&
  Country (19xx). 
\bibitem{website} ``Spallation Neutron Source: The next-generation 
  neutron-scattering facility in the United States,'' 
  \url{http://www.sns.gov/documentation/sns\_brochure.pdf} (2002).
\end{thebibliography}
\fi

\appendix
\gdef\thesection{APPENDIX \Alph{section}}
\section{Sample Appendix 1}
\label{app:a}
If necessary, include Appendices numbered in upper case alphabetical order. This is \ref{app:a}. 



\end{document}
