Personal Header Template for Latex

To avoid creating the Latex header every time I start a project, I tend to keep a Latex header template file that I can reuse from project to project. You can access the raw file here.

% Version number 0.1.1
% If you have made any changes, please consider also changing
% https://github.com/Weiming-Hu/Weiming-Hu.github.io/blob/master/_posts/2019-03-05-latex-header-template.md
%
% The MIT License (MIT)
% 
% Copyright (c) 2019 Weiming Hu
% 
% Permission is hereby granted, free of charge, to any person obtaining a copy
% of this software and associated documentation files (the "Software"), to deal
% in the Software without restriction, including without limitation the rights
% to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
% copies of the Software, and to permit persons to whom the Software is
% furnished to do so, subject to the following conditions:
% 
% The above copyright notice and this permission notice shall be included in all
% copies or substantial portions of the Software.
% 
% THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
% IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
% FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
% AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
% LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
% OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
% SOFTWARE.

% Include packages
\usepackage[utf8]{inputenc}

% For graphics and figures
\usepackage{graphicx}

% For bibliography
\usepackage[numbers]{natbib}

% For tagged hyper-links
\usepackage[bookmarks, colorlinks, breaklinks, pdfauthor={Weiming Hu},unicode=true]{hyperref}

% To change the layout and margins to A4 paper layout
\usepackage[a4paper, total={6in, 8in}]{geometry}

% For nested itemized environment
\usepackage{outlines}

% Provide the degree symbol
\usepackage{textcomp}
\usepackage{gensymb}

% Set up link format
\hypersetup{linkcolor=blue,citecolor=blue,filecolor=black}

% Add acronyms
\usepackage[acronym]{glossaries} 
\setacronymstyle{long-short}
\newacronym{GFS}{GFS}{Global Forecasts System}
\newacronym{AnEn}{AnEn}{Analog Ensemble}
\newacronym{VGI}{VGI}{Volunteered Geographic Information}
\newacronym{NWP}{NWP}{Numerical Weather Prediction}
\newacronym{NCEP}{NCEP}{National Centers for Environmental Prediction}
\newacronym{WU}{WU}{Weather Underground}
\newacronym{PWS}{PWS}{Private Weather Station}
\newacronym{NOAA}{NOAA}{National Oceanic and Atmospheric Agency}
\newacronym{FLT}{FLT}{Forecast Lead Time}
\newacronym{API}{API}{Application Programming Interface}
\newacronym{WHO}{WHO}{World Health Organization}
\newacronym{SVI}{SVI}{Social Vulnerability Index}
\newacronym{ATSDR}{ATSDR}{Agency for Toxic Substances and Diseases Registry}
\newacronym{PDF}{PDF}{Probability Distribution Function}
\newacronym{RMSE}{RMSE}{Root Mean Square Error}
\newacronym{MSE}{MSE}{Mean Square Error}
\newacronym{OMT}{OMT}{Over Max Time}
\newacronym{PAN}{PAN}{Persistence Analog}
\newacronym{GCM}{GCM}{General Circulation Model}
\newacronym{UHI}{UHI}{Urban Heat Island}
\newacronym{IDW}{IDW}{Inverse Distance Weighted}
\newacronym{PEF}{PEF}{Parallel Ensemble Program}
\newacronym{CLI}{CLI}{Command Line Interface}
\newacronym{RAM}{RAM}{Random Access Memory}
\newacronym{NAM}{NAM}{North American Mesoscale Model}
\newacronym{UML}{UML}{Unified Modeling Language}
\newacronym{SSE}{SSE}{Search Space Extension}
\newacronym{TAU}{TAU}{Tuning and Analysis Utilities}
\newacronym{HPC}{HPC}{High-Performance Computing}
\newacronym{ANN}{ANN}{Artifitial Neural Network}
\newacronym{CRPS}{CRPS}{Continuous Rank Probability Score}
\newacronym{RPS}{RPS}{Rank Probability Score}
\newacronym{CDF}{CDF}{Cumulative Distribution Function}
\newacronym{MAE}{MAE}{Mean Absolute Error}
\newacronym{ITCZ}{ITCZ}{Intertropical Convergence Zone}
\newacronym{ENSO}{ENSO}{El Ni\~no Southern Oscillation}
\newacronym{PDO}{PDO}{Pacific Decadal Oscillation}
\newacronym{AVS}{AVS}{Agrivoltaic System}
\newacronym{LBR}{LBR}{Land-Based Renewables}
%\makeglossaries

% Define commands that come in handy
\newcommand*{\Fig}[1]{Figure~\ref{#1}}
\newcommand*{\Figs}[1]{Figures~\ref{#1}}
\newcommand*{\Table}[1]{Table~\ref{#1}}
\newcommand*{\Tables}[1]{Tables~\ref{#1}}
\newcommand*{\Eqr}[1]{(\ref{#1})}
\newcommand*{\Eq}[1]{Equation~(\ref{#1})}
\newcommand*{\Eqs}[1]{Equations~(\ref{#1})}
\newcommand*{\Sect}[1]{Section~\ref{#1}}
\newcommand*{\Sects}[1]{Sections~\ref{#1}}
\newcommand*{\Alg}[1]{Algorithm~\ref{#1}}


% If you have made any changes, please consider also changing
% https://github.com/Weiming-Hu/Weiming-Hu.github.io/blob/master/_posts/2019-03-05-latex-header-template.md