Support other project/type things
This commit is contained in:
parent
d36bf79ee5
commit
ee0248176b
|
@ -1,3 +0,0 @@
|
||||||
# Homework {{cookiecutter.number}}
|
|
||||||
|
|
||||||
Find the source for this template [here](https://git.kitsunehosting.net/Kenwood/SNHU-LaTeX).
|
|
|
@ -1,6 +1,8 @@
|
||||||
{
|
{
|
||||||
|
"project_type": "Homework",
|
||||||
"number": "1",
|
"number": "1",
|
||||||
"name": "Your Name",
|
"name": "Your Name",
|
||||||
"class": "EE-101",
|
"class": "EE-101",
|
||||||
"professor": ["SNHU", "monk", "moghimi"]
|
"professor": ["SNHU", "monk", "moghimi"],
|
||||||
|
"two_column_mode": "no"
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
# {{ cookiecutter.project_type }} {{cookiecutter.number}}
|
||||||
|
|
||||||
|
Find the source for this template [here](https://git.kitsunehosting.net/Kenwood/SNHU-LaTeX).
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# Output File
|
# Output File
|
||||||
ZIPFILE="Homework {{cookiecutter.number}}.zip"
|
ZIPFILE="{{ cookiecutter.project_type }} {{cookiecutter.number}}.zip"
|
||||||
|
|
||||||
# List of known LaTeX build artifacts to exclude
|
# 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"
|
EXCLUDE_EXTENSIONS="*.aux *.log *.synctex.gz *.out *.toc *.bbl *.blg *.fls *.fdb_latexmk *.lof *.lot *.nav *.snm *.vrb"
|
|
@ -1,9 +1,9 @@
|
||||||
\documentclass[12pt]{article}
|
\documentclass[12pt{{ ", twocolumn" if cookiecutter.two_column_mode == "yes" else "" }}]{article}
|
||||||
\usepackage{ {{cookiecutter.professor}} }
|
\usepackage{ {{cookiecutter.professor}} }
|
||||||
|
|
||||||
|
|
||||||
% Set title page details
|
% Set title page details
|
||||||
\reporttitle{Homework {{cookiecutter.number}} }
|
\reporttitle{ {{ cookiecutter.project_type }} {{cookiecutter.number}} }
|
||||||
\class{ {{cookiecutter.class}} }
|
\class{ {{cookiecutter.class}} }
|
||||||
\studentname{ {{cookiecutter.name}} }
|
\studentname{ {{cookiecutter.name}} }
|
||||||
\submissiondate{\today}
|
\submissiondate{\today}
|
Loading…
Reference in New Issue