%%%%%%%%%%%%%%%%%%%%%%%  algorithm2e.tex  %%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% example of typesetting psuedocode using packages
%  ltexpprt
%  algorithm2e

\documentclass[twoside,leqno,twocolumn]{article}

\usepackage[algo2e]{algorithm2e} %pass algo2e parameter to avoid name clash with ltexpprt defining "algorithm"

\newcommand\anon[2]{{#2}} %known

\begin{document}

\title{\Large ltexpprt with \textbackslash usepackage\{algorithm2e\} for SIAM IMR}
\author{samitch}    

\date{}

\maketitle

\begin{abstract} \small\baselineskip=9pt An abstract is a brief summary of the paper's contributions, written for experts. We give an example tex file that typesets pseudocode using the package algorithm2e, for SIAM IMR papers and research notes, etc.
\end{abstract}


\section{Introduction}
An introduction is a gentler description and summary of the paper than the abstract, written for non-experts. It describes the paper's concepts, contribution, context and significance. Open the algorithm2e.tex file in a \LaTeX\ or plain text editor for a working example of how to typeset pseudocode.


\section{Algorithm}
\newcommand{\squarecut}{scooped-square}
\newcommand{\True}{\texttt{True}}
\newcommand{\False}{\texttt{False}}

% works with \usepackage[algo2e]{algorithm2e}
\begin{algorithm2e}[h]
 \KwData{this text}
 \KwResult{how to write algorithm with \LaTeX2e }
 initialization\;
 \While{not at end of this document}{
  read current\;
  \eIf{understand}{
   go to next section\;
   current section becomes this one\;
   }{
   go back to the beginning of current section\;
  }
 }
 \caption{How to write algorithms}\label{alg:howto}
\end{algorithm2e}

This is the example algorithm given by the package. I didn't convert a real algorithm into this syntax since I'm unfamiliar with it. But it looks very nice and I think I should try to use it in the future.

\section*{Acknowledgements}
\anon
{Redacted for anonymity.} %Leave as-is
{ %Actual acknowledgement goes here.
I thank Thouis Ray Jones for suggesting this problem to me in 2012, and my institution for funding me.


{\tiny
My institution requires this disclaimer on all my publications, even though it handicaps its employees by preventing the author from making full use of the proceedings page limit. This technical article contains objective information and does not necessarily represent the subjective opinions of my institution. The authors are not authorized to communicate the policy of the institution. That said, my institution does not necessarily represent my views nor speak for me.\par
}
}

\end{document}
