Support other project/type things

This commit is contained in:
2025-02-12 23:09:19 -05:00
parent d36bf79ee5
commit ee0248176b
4 changed files with 7 additions and 5 deletions

View File

@@ -1,6 +1,8 @@
{
"project_type": "Homework",
"number": "1",
"name": "Your Name",
"class": "EE-101",
"professor": ["SNHU", "monk", "moghimi"]
"professor": ["SNHU", "monk", "moghimi"],
"two_column_mode": "no"
}

View File

@@ -1,3 +1,3 @@
# Homework {{cookiecutter.number}}
# {{ cookiecutter.project_type }} {{cookiecutter.number}}
Find the source for this template [here](https://git.kitsunehosting.net/Kenwood/SNHU-LaTeX).

View File

@@ -1,7 +1,7 @@
#!/bin/bash
# Output File
ZIPFILE="Homework {{cookiecutter.number}}.zip"
ZIPFILE="{{ cookiecutter.project_type }} {{cookiecutter.number}}.zip"
# List of known LaTeX build artifacts to exclude
EXCLUDE_EXTENSIONS="*.aux *.log *.synctex.gz *.out *.toc *.bbl *.blg *.fls *.fdb_latexmk *.lof *.lot *.nav *.snm *.vrb"

View File

@@ -1,9 +1,9 @@
\documentclass[12pt]{article}
\documentclass[12pt{{ ", twocolumn" if cookiecutter.two_column_mode == "yes" else "" }}]{article}
\usepackage{ {{cookiecutter.professor}} }
% Set title page details
\reporttitle{Homework {{cookiecutter.number}} }
\reporttitle{ {{ cookiecutter.project_type }} {{cookiecutter.number}} }
\class{ {{cookiecutter.class}} }
\studentname{ {{cookiecutter.name}} }
\submissiondate{\today}