%This program is free software; you can redistribute it and/or modify it under
%the terms of the GNU General Public License as published by the Free Software
%Foundation;
\documentclass{army/armymemo}
\title{Army Memo Template}
\usepackage{lipsum} %Only needed for example text.
%Add any other packages you might need. Some are here
\usepackage{amsmath} %more powerful math environment
\usepackage{graphicx}
\usepackage{titling}
\usepackage{float}
%\usepackage{soul} %\st for strikethrough text
%\usepackage{subfigure} % for side by side images
%\usepackage{hyperref} % hypertext links in digital copy pdfs
\begin{document}
%the following are required fields
\AMdept{DEPARTMENT OF THE ARMY}
\AMunit{AFIT DETACHMENT, US ARMY STUDENT DETACHMENT}
\AMaddress{WRIGHT-PATTERSON AFB, OH 45433}
\AMsymbol{AFIT-ENS}
\AMsubject{Army Memoranda in \LaTeX.}
\AMfor{MEMORANDUM FOR Army Analytic Community}
\AMdate{\today}
%Can also use system date for today
%\AMdate{\today}
%\newdate{MDATE}{7}{12}{2016} % 7 December 2016 -- dd MM YYYY Manual input of Date
\AMsethead
\Ni This is a template for Army memoranda using \LaTeX. It is still a work in progress, and improvements or suggestions for improvements are welcome.
\Nii By AR 25-50
\Niii You should only have:
\Niiii Three subdivisions of a paragraph.
\Niiii And two of each subdivision.
\Niii But when a subparagraph wraps around, it should extend the entire length of a page in order to not waste space.
\Nii Our optimization model is in Equation \ref{MOLPModel}:
\begin{equation}
\label{MOLPModel}
\begin{array}{ll@{}ll}
\text{lex}\displaystyle \min_{\boldsymbol{X}\in\boldsymbol{U}} & & \big( f_1(\boldsymbol{X}), f_2(\boldsymbol{X})\big) \\
\text{subject to}& \displaystyle\sum\limits_{i \in O} &x_{ij} = 1, &\forall j \in A\\
& \displaystyle\sum\limits_{j \in A} &x_{ij} = 1, &\forall i \in O\\
& &x_{ij} \in \{0,1\}, &\forall i\in O,j \in A
\end{array}
\end{equation}
\Ni \lipsum[1]
\Nii \lipsum[2]
\Nii \lipsum[3]
\Niii Second Model is given by Equation \ref{MOLPModel2}.
\begin{equation}
\label{MOLPModel2}
\begin{array}{ll@{}ll}
\displaystyle \text{lex}\min_{\boldsymbol{X}\in\boldsymbol{U}} & & \big ( f_1 (\boldsymbol{X}), f_3(\boldsymbol{X}) \big ) \\
\text{subject to}& \displaystyle\sum\limits_{i \in O} &x_{ij} = 1, &\forall j \in A\\
& \displaystyle\sum\limits_{j \in A} &x_{ij} = 1, &\forall i \in O\\
& &x_{ij} \in \{0,1\}, &\forall i\in O,j \in A
\end{array}
\end{equation}
\Niii \lipsum[5]
%Signature Block with Enclosures
%\AMsigblock{Matthew D. Ferguson}{MAJ, FA49}{Student}{Encl:\\1. Enclosure 1\\2. Enclosure 2}
%technically, this is one line too low for using "/signed/"
%\AMsigblock{/signed/\\Matthew D. Ferguson}{MAJ, FA49}{Student}
\AMsigblock{Matthew D. Ferguson}{MAJ, FA49}{Student}
\end{document}