yage
96992e9344
===================================================================== --- New Scripts -------------------------- zsh ) latex + latex template engine - latex/build-pdf - latex/cleanup - latex/create-new - latex/get-pdf - latex/open-pdf beta SQL script -- got tired of floating this; works, but only OK - db/run-sql/postgres --- Changes ------------------------------ - Added 'math', 'basic', and 'times-new-roman' templates to latex - Added 'readlink' to list of required coreutils - Added __INPUT to read into a variable with prompt (zsh/utils/io) - Added $EXECUTION_DIR to interact with the user's working directory --- Bug Fixes ---------------------------- - subscwrypts no longer force stdout/stderr to tty
38 lines
981 B
TeX
38 lines
981 B
TeX
\usepackage[margin=.75in,bottom=0.5in,top=1.0in]{geometry}
|
|
|
|
\usepackage{enumitem}
|
|
\usepackage{fancyhdr}
|
|
\usepackage{hyperref}
|
|
\usepackage{lastpage}
|
|
|
|
\newcommand{\headerL} {\documentTitle: \documentDate}
|
|
\newcommand{\headerC} {\documentId}
|
|
\newcommand{\headerR} {\authorName\ (\authorId)}
|
|
\newcommand{\pageOfTotal} {\thepage\ of~\pageref{LastPage}}
|
|
|
|
\pagestyle{fancy}
|
|
\fancypagestyle{plain}{%
|
|
\fancyhf{}
|
|
\fancyhead[L]{\headerL}\fancyhead[R]{\headerR}\fancyhead[C]{\headerC}
|
|
\fancyfoot[C]{\pageOfTotal}
|
|
}
|
|
|
|
\renewcommand{\baselinestretch}{1}
|
|
\setlength{\parskip}{0em}
|
|
\hyphenpenalty=5000%
|
|
|
|
\fancyhf{}
|
|
\fancyhead[L]{\headerL}\fancyhead[R]{\headerR}\fancyhead[C]{\headerC}
|
|
\fancyfoot[C]{\pageOfTotal}
|
|
|
|
\title{\documentTitle}
|
|
\author{\authorName\ \\ \authorId}
|
|
\date{\documentDate}
|
|
|
|
\begin{document}
|
|
\maketitle%
|
|
% ---------------------------------------------------------------------
|
|
|
|
% ---------------------------------------------------------------------
|
|
\end{document}
|