Titles, bump style to sty 8.0. Add full-names for professors
This commit is contained in:
parent
01463ab98d
commit
4e683ee320
37
SNHU.sty
37
SNHU.sty
|
@ -1,14 +1,15 @@
|
|||
% snhu.sty - Custom style file for all of snhu
|
||||
% snhu.sty - Custom style file for all of SNHU
|
||||
|
||||
% Version variable
|
||||
\def\snhuversion{v8.2}
|
||||
\def\snhuversion{v9.0}
|
||||
|
||||
% Color for answers
|
||||
% Required packages
|
||||
\usepackage{xcolor}
|
||||
\RequirePackage{fancyhdr}
|
||||
\RequirePackage{hyperref}
|
||||
\usepackage{graphicx}
|
||||
\usepackage{fancyhdr}
|
||||
\usepackage{hyperref}
|
||||
|
||||
\ProvidesPackage{snhu}[\snhuversion Custom package for all of snhu]
|
||||
\ProvidesPackage{snhu}[\snhuversion Custom package for all of SNHU]
|
||||
|
||||
% Custom answer highlighting
|
||||
\newcommand{\ans}[1]{\colorbox{yellow}{#1}}
|
||||
|
@ -27,13 +28,25 @@
|
|||
\renewcommand{\maketitle}{%
|
||||
\begin{titlepage}
|
||||
\centering
|
||||
\vspace*{1in}
|
||||
{\Huge \textbf{\@reporttitle}} \\[2cm]
|
||||
{\Large \textbf{Name:}} \@studentname \\[0.5cm]
|
||||
{\Large \textbf{Class:}} \@class \\[0.5cm]
|
||||
{\Large \textbf{Date of Submission:}} \@submissiondate \\[0.5cm]
|
||||
{\Large \textbf{University:}} \@universityname \\
|
||||
\vspace*{2cm}
|
||||
|
||||
% Title
|
||||
{\Huge \@reporttitle} \\[0.3cm]
|
||||
\hrulefill \\[0.5cm] % Horizontal line under the title
|
||||
|
||||
% Submission details (properly aligned)
|
||||
\begin{tabular}{p{0.45\textwidth} p{0.45\textwidth}}
|
||||
\raggedright \textbf{Submitted to:} \\ \@class &
|
||||
\raggedleft \textbf{Submitted by:} \\ \@studentname
|
||||
\end{tabular}
|
||||
|
||||
\vspace{0.8cm}
|
||||
{\large \@universityname} \\[0.5cm]
|
||||
{\large \@submissiondate}
|
||||
|
||||
\vfill
|
||||
% Logo
|
||||
\includegraphics[width=3cm]{resources/SNHU-Logo.png} % Adjust width as needed
|
||||
\end{titlepage}
|
||||
}
|
||||
|
||||
|
|
|
@ -4,5 +4,6 @@
|
|||
"name": "Your Name",
|
||||
"class": "EE-101",
|
||||
"professor": ["SNHU", "monk", "moghimi"],
|
||||
"professorlong": "{% if cookiecutter.professor == 'monk' %}Timothy Monk, Ph.D.\\\\{% elif cookiecutter.professor == 'moghimi' %}Prof. Moghimi\\\\{% else %}SNHU Faculty\\\\{% endif %}",
|
||||
"two_column_mode": "no"
|
||||
}
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 96 KiB |
|
@ -4,7 +4,7 @@
|
|||
|
||||
% Set title page details
|
||||
\reporttitle{ {{ cookiecutter.project_type }} {{cookiecutter.number}} }
|
||||
\class{ {{cookiecutter.class}} }
|
||||
\class{ {{cookiecutter.professorlong}}{{cookiecutter.class}} }
|
||||
\studentname{ {{cookiecutter.name}} }
|
||||
\submissiondate{\today}
|
||||
\universityname{Southern New Hampshire University}
|
||||
|
|
Loading…
Reference in New Issue