2020-03-09 19:56:21 +00:00
|
|
|
\ProvidesPackage{formatting}
|
|
|
|
|
|
|
|
%
|
|
|
|
%
|
|
|
|
|
2020-03-10 14:50:53 +00:00
|
|
|
\newcommand{\horizontalHeader} {%
|
|
|
|
\authorName\hfill
|
|
|
|
\authorId\hfill
|
|
|
|
\documentId\hfill
|
|
|
|
\documentDate%
|
|
|
|
}
|
2020-03-09 19:56:21 +00:00
|
|
|
|
|
|
|
%
|
|
|
|
%
|
|
|
|
|
|
|
|
% margins
|
2020-03-10 14:50:53 +00:00
|
|
|
\RequirePackage[margin=1in]{geometry}
|
|
|
|
|
2020-03-09 19:56:21 +00:00
|
|
|
|
2020-03-10 14:50:53 +00:00
|
|
|
% page header / page footer
|
2020-03-09 19:56:21 +00:00
|
|
|
\RequirePackage{fancyhdr} \pagestyle{fancy}
|
|
|
|
|
2020-03-10 14:50:53 +00:00
|
|
|
\renewcommand{\headrulewidth}{0pt}
|
|
|
|
\fancyhead[C]{\horizontalHeader}
|
|
|
|
\fancyfoot[C]{\thepage}
|
2020-03-09 19:56:21 +00:00
|
|
|
|
2020-03-10 14:50:53 +00:00
|
|
|
% paragraph spacing / line indent
|
|
|
|
\renewcommand{\baselinestretch}{1}
|
|
|
|
\setlength{\parskip}{1em}
|
|
|
|
\setlength{\parindent}{0em}
|
|
|
|
\raggedright%
|
2020-03-09 19:56:21 +00:00
|
|
|
|
|
|
|
|
2020-03-10 14:50:53 +00:00
|
|
|
% title format
|
|
|
|
\newcommand{\insertTitle} {%
|
|
|
|
\centerline{\begin{large}\textbf{\documentTitle}\end{large}}
|
|
|
|
}
|
2020-03-09 19:56:21 +00:00
|
|
|
|