Add Professor McDonald
This commit is contained in:
parent
1a3df1b1df
commit
15ff9a5113
|
|
@ -3,7 +3,7 @@
|
|||
"number": "1",
|
||||
"name": "Your Name",
|
||||
"class": "EE-101",
|
||||
"professor": ["SNHU", "monk", "moghimi", "mcclellan"],
|
||||
"professorlong": "{% if cookiecutter.professor == 'monk' %}Timothy Monk, Ph.D.\\\\{% elif cookiecutter.professor == 'moghimi' %}Prof. Moghimi\\\\{% elif cookiecutter.professor == 'mcclellan' %}Natalia McClellan\\\\{% else %}SNHU Faculty\\\\{% endif %}",
|
||||
"professor": ["SNHU", "monk", "moghimi", "mcclellan", "mcdonald"],
|
||||
"professorlong": "{% if cookiecutter.professor == 'monk' %}Timothy Monk, Ph.D.\\\\{% elif cookiecutter.professor == 'moghimi' %}Prof. Moghimi\\\\{% elif cookiecutter.professor == 'mcclellan' %}Natalia McClellan\\\\{% elif cookiecutter.professor == 'mcdonald' %}Jack D McDonald, Ph.D.\\\\{% else %}SNHU Faculty\\\\{% endif %}",
|
||||
"two_column_mode": "no"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -0,0 +1,71 @@
|
|||
% mcdonald.sty - Custom style file for Professor McDonald's class
|
||||
|
||||
% Version variable
|
||||
\def\mcdonaldversion{v1.0}
|
||||
|
||||
\usepackage {snhu}
|
||||
\ProvidesPackage{mcdonald}[\mcdonaldversion Custom package for Professor Jack D McDonald]
|
||||
|
||||
% Encoding
|
||||
\usepackage[utf8]{inputenc}
|
||||
|
||||
% Math and titles
|
||||
\usepackage{amsmath}
|
||||
\usepackage{titlesec}
|
||||
\usepackage{siunitx}
|
||||
|
||||
% Circuits and Electronics
|
||||
\usepackage[american]{circuitikz}
|
||||
|
||||
% LaTeX
|
||||
\usepackage{ifthen}
|
||||
|
||||
% Title formatting for sections
|
||||
\titleformat{\section}
|
||||
{\normalfont\normalsize\bfseries}{}{1em}{}
|
||||
|
||||
\titleformat{\subsection}
|
||||
{\normalfont\normalsize\bfseries}{}{1em}{}
|
||||
|
||||
\titleformat{\subsubsection}
|
||||
{\normalfont\normalsize\bfseries}{}{1em}{}
|
||||
|
||||
% This is neat, its a custom \req command for keeping track of mcdonald's project requirement sheets
|
||||
% Define a toggle for showing requirements
|
||||
\newif\ifshowreqs
|
||||
\showreqstrue % Default to true
|
||||
|
||||
% Command to toggle visibility
|
||||
\newcommand{\showreqs}[1]{%
|
||||
\ifthenelse{\equal{#1}{true}}{\showreqstrue}{\showreqsfalse}%
|
||||
}
|
||||
|
||||
% Define the \req command
|
||||
\newcommand{\req}[1]{%
|
||||
\ifshowreqs%
|
||||
\textsuperscript{\textbf{\textit{\textcolor{red}{#1}}}}% Show requirement flag (styled)
|
||||
\fi%
|
||||
}
|
||||
|
||||
% Custom version command to print revision and compile date in footer
|
||||
\renewcommand{\revision}[2][false]{
|
||||
\clearpage
|
||||
\null
|
||||
\vfill
|
||||
\begin{center}
|
||||
\texttt{Revision: #2} \\
|
||||
\texttt{Compiled on \today}
|
||||
|
||||
% Conditionally include Source.zip text if #1 is set to true
|
||||
\ifthenelse{\equal{#1}{true}}{
|
||||
\bigskip
|
||||
\texttt{You should have received a copy of the Source.zip along with this document.}
|
||||
}{}
|
||||
|
||||
\bigskip
|
||||
|
||||
\texttt{Libs:} \\
|
||||
- \texttt{\href{https://git.kitsunehosting.net/Kenwood/SNHU-LaTeX/src/branch/main/SNHU.sty}{SNHU\_Sty} \snhuversion}\\
|
||||
- \texttt{\href{https://git.kitsunehosting.net/Kenwood/SNHU-LaTeX/src/branch/main/mcdonald.sty}{McDonald} \mcdonaldversion}
|
||||
\end{center}
|
||||
}
|
||||
Loading…
Reference in New Issue