updated times12 latex template

This commit is contained in:
Wryn Wagner 2020-03-10 08:50:53 -06:00
parent 2f7dfabc5f
commit 87c591322b
2 changed files with 31 additions and 26 deletions

View File

@ -1,10 +1,17 @@
\usepackage{times} \usepackage{times}
% custom headers
\newcommand{\firstH}[1] {\begin{large}\textbf{#1}\end{large}\par}
\newcommand{\secondH}[1] {\textbf{#1}\par}
\newcommand{\thirdH}[1] {\textbf{#1}. }
\newcommand{\fourthH}[1] {\textbf{\textit{#1}}. }
\begin{document} \begin{document}
\maketitle \insertTitle%
% ---------------------------------------------------------- % ----------------------------------------------------------
% ---------------------------------------------------------- % ----------------------------------------------------------
\firstH{Blah}
\kant% \kant%
% ---------------------------------------------------------- % ----------------------------------------------------------

View File

@ -3,38 +3,36 @@
% %
% %
\newcommand{\headerLeft} {\documentTitle: \documentDate} \newcommand{\horizontalHeader} {%
\newcommand{\headerCenter} {\documentId} \authorName\hfill
\newcommand{\headerRight} {\authorName\ (\authorId)} \authorId\hfill
\newcommand{\pageOfTotal} {\thepage\ of~\pageref{LastPage}} \documentId\hfill
\documentDate%
}
% %
% %
% margins % margins
\RequirePackage[margin=1in,bottom=.5in,includefoot]{geometry} \RequirePackage[margin=1in]{geometry}
\RequirePackage{lastpage}
% page header / page footer
\RequirePackage{fancyhdr} \pagestyle{fancy} \RequirePackage{fancyhdr} \pagestyle{fancy}
% Page 1 \renewcommand{\headrulewidth}{0pt}
\fancypagestyle{plain}{% \fancyhead[C]{\horizontalHeader}
\fancyhf{} \fancyfoot[C]{\thepage}
\fancyhead[L]{\headerLeft}
\fancyhead[R]{\headerRight} % paragraph spacing / line indent
\fancyhead[C]{\headerCenter} \renewcommand{\baselinestretch}{1}
\fancyfoot[C]{\pageOfTotal} \setlength{\parskip}{1em}
\setlength{\parindent}{0em}
\raggedright%
% title format
\newcommand{\insertTitle} {%
\centerline{\begin{large}\textbf{\documentTitle}\end{large}}
} }
% Subsequent Pages
\fancyhf{}
\fancyhead[L]{\headerLeft}
\fancyhead[R]{\headerRight}
\fancyhead[C]{\headerCenter}
\fancyfoot[C]{\pageOfTotal}
\title{\documentTitle}
\author{\authorName\ \\ \authorId}
\date{\documentDate}