updated times12 latex template
This commit is contained in:
parent
2f7dfabc5f
commit
87c591322b
@ -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%
|
||||||
|
|
||||||
% ----------------------------------------------------------
|
% ----------------------------------------------------------
|
||||||
|
@ -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}
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user