RRI - Res Doc - Template
Author
Juan Tomas Sayago
Last Updated
2 anni fa
License
Creative Commons CC BY 4.0
Abstract
This template allows the user to write resource documents at the Regional Research Institute at West Virginia University.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% RRI template for TechDocs
%
% Original author:
% Juan Tomas Sayago
%
% Instructions for using this template:
% This title page compiles as is. If you wish to include this title page in
% another document, you will need to copy everything before
% \begin{document} into the preamble of your document. The title page is
% then included using \titleAT within your document.
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%----------------------------------------------------------------------------------------
% PACKAGES AND OTHER DOCUMENT CONFIGURATIONS
%----------------------------------------------------------------------------------------
\documentclass[12pt]{article}
\usepackage{amsmath,amsthm}
\usepackage{amssymb}
\usepackage[english]{babel}
\usepackage{latexsym}
\usepackage{amsfonts}
\usepackage{graphicx}
\usepackage{float}
\usepackage{graphics}
\usepackage{epsfig}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{hyperref}
\usepackage{authblk}
%\usepackage[]{mcode}
\usepackage{natbib}
\usepackage{geometry}
\usepackage{xcolor}
\newcommand*{\Doctitle}{Document Title} % Generic publisher logo
\newcommand*{\Docstitle}{Document subtitle} % Generic publisher logo
\newcommand*{\Author}{Author(s)} % Generic publisher logo
\title{\Doctitle} % Article title
\pagenumbering{arabic}
\author{Author(s)} % Authors
\date{}
\newcommand*{\plogo}{Number} % Generic publisher logo
\newcommand*{\keywords}{Regional economics; R1} % Generic publisher logo
\renewenvironment{itemize}{
\begin{list}{}{
\setlength{\leftmargin}{-1em}
}
}{
\end{list}
}
\definecolor{wvublue}{HTML}{003366}
\definecolor{wvugold}{HTML}{FFCC00}
%----------------------------------------------------------------------------------------------------
% ---------------------------------------------------------------------
\RequirePackage{fancyhdr} % Needed to define custom headers/footers
\RequirePackage{lastpage} % Number of pages in the document
\pagestyle{fancy} % Enables the custom headers/footers
% Headers
\lhead{\includegraphics[width=1.5cm]{RRI_logo.png} }%
\chead{}%
\rhead{ \thepage/\pageref{LastPage}} %Logo MEI to include
% Footers
\lfoot{}%
\cfoot{}%
\rfoot{}%
\renewcommand{\headrulewidth}{0pt}% % No header rule
\renewcommand{\footrulewidth}{0pt}% % No footer rule
% ---------------------------------------------------------------------
%----------------------------------------------------------------------------------------
% TITLE PAGE
%----------------------------------------------------------------------------------------
\newcommand*{\titleRRITD}{\begingroup % Create the command for including the title page in the document
\thispagestyle{empty}
\centering % Center all text
{\huge \textbf{Regional Research Institute}}\\[0.5\baselineskip] % RRI
{\Huge \textbf{West Virginia University}}\\[1.5\baselineskip] % RRI
{\large \textbf{Resource Document Series}}\\[0.75\baselineskip] % Series name
\vspace{0.5cm}
\begin{figure}[h]
\centering
\includegraphics[scale=0.8]{RRI_logo.png}
\end{figure}
\vspace{0.8cm} % Whitespace between the title and short horizontal line
\centering % Center all text
{\Large \textcolor{wvublue}{\textbf{\Doctitle}}}\\[0.5\baselineskip] % Document title
{\large \textcolor{wvublue}{\textbf{\Docstitle}}}\\[0.75\baselineskip] %Document subtitle
\vspace{1.4cm}
{\large \Author}\par % Author(s) name(s)
\vfill % Whitespace between the author name and publisher text
{\Large RRI Resource Doc \plogo}\\[0.5\baselineskip] %[Enter TechDoc number here. 20XX-XX format <year-number>. Add R# if revised, e.g., 2013-01R3 for revision 3. Obtain TechDoc number from RRI Office Admin]
{\large Date submitted: \today}\\ % Publisher
{\large Date revised: }\\ %
{\large Key words/Codes: \keywords}
\endgroup}
%----------------------------------------------------------------------------------------
% BLANK DOCUMENT
%----------------------------------------------------------------------------------------
\begin{document}
\pagenumbering{gobble}
% Removes page numbers
\titleRRITD % This command includes the title page
\newpage
\pagenumbering{arabic}
\maketitle
\thispagestyle{empty}
\tableofcontents
\section{Section}
\subsection{subsection}
\begin{itemize}
\item Item
\item item 2
\end{itemize}
\subsection{subsection2}
\section{Section 2}
\subsection{Other subsection}
\subsubsection{subsubsection}
\end{document}