From 1da7b4b2d03943f5131946fd3ba063904fa5f6b7 Mon Sep 17 00:00:00 2001 From: Jason Ziglar Date: Wed, 28 Sep 2016 10:01:49 -0400 Subject: [PATCH 1/6] Allow definition of alternate defense location --- setup.tex | 3 +++ 1 file changed, 3 insertions(+) diff --git a/setup.tex b/setup.tex index 07a047e..81daa1f 100644 --- a/setup.tex +++ b/setup.tex @@ -109,7 +109,10 @@ \def\mydate{\today} \fi \mydate \\ +\ifx\mydefenselocation\undefined Blacksburg, Virginia +\else +\fi \vfill From 862bc41b16435d261caf604d9663f04d639ce9e8 Mon Sep 17 00:00:00 2001 From: Jason Ziglar Date: Wed, 28 Sep 2016 10:02:18 -0400 Subject: [PATCH 2/6] Removes parentheses from abstract --- setup.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.tex b/setup.tex index 81daa1f..dbf5b70 100644 --- a/setup.tex +++ b/setup.tex @@ -151,7 +151,7 @@ % Abstract -(ABSTRACT) +ABSTRACT \vfill From 727d627499184d57c2f084e3e3ea6068f10314d3 Mon Sep 17 00:00:00 2001 From: Jason Ziglar Date: Wed, 28 Sep 2016 10:07:53 -0400 Subject: [PATCH 3/6] Add public abstract section --- README.md | 20 ++++++++++---------- frontmatter.mmd | 1 + setup.tex | 34 ++++++++++++++++++++++++++++++++++ 3 files changed, 45 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index bd7c2d0..4e40001 100644 --- a/README.md +++ b/README.md @@ -18,16 +18,16 @@ Variables have two potential configuration points, which will be described here. ## MultiMarkdown Frontmatter 1. `latex author`,`$AUTHOR` - name of the paper author 2. `latex title`, `$TITLE` - title of the document -3. `bibtex`, `$BIBTEX` - defines the Bibtex file to process for this document. Delete this line to eliminate bibliography support -4. `myreporttype`, `$REPORTTYPE` - The document type displayed on the cover page, should be either `Thesis` for Masters students or `Dissertation` for PhD students -5. `mydegree`, `$DEGREE` - The degree that is being awarded with this document. This should be the full degree, so `Masters of Science`, not simply `Masters`. -6. `mydepartment`, `$DEPARTMENT` - The Department which is awarding this degree +3. `abstract`, `$ABSTRACT` - defines the name of the file to include directly into the LaTeX output as the abstract +4. `public abstract`, `$PUBLIC_ABSTRACT` - define the name of the file to include directly into the LaTeX output as the abstract +4. `bibtex`, `$BIBTEX` - defines the Bibtex file to process for this document. Delete this line to eliminate bibliography support +5. `myreporttype`, `$REPORTTYPE` - The document type displayed on the cover page, should be either `Thesis` for Masters students or `Dissertation` for PhD students +6. `mydegree`, `$DEGREE` - The degree that is being awarded with this document. This should be the full degree, so `Masters of Science`, not simply `Masters`. +7. `mydepartment`, `$DEPARTMENT` - The Department which is awarding this degree ## LaTeX/Metadata Variables -1. `myabstract` - if this LaTeX variable is defined, the variable will be inserted as the abstract for the paper. This overrides the `abstract` variable -2. `abstract`, `$ABSTRACT` - if this LaTeX variable is defined, include the contents of the file named as the abstract. -3. `myacknowledgements`, `$ACKNOWLEDGEMENTS` - If defined, the value of this variable will be inserted as acknowledgements -4. `mykeywords`, `$KEYWORDS` - Keywords which are inserted into the document for metadata purposes -5. `mycommittee`, `$COMMITTEE` - List of committee members to place on cover page. This is unfiltered, so raw LaTeX is fully supported for multi-line and odd names -6. `mylinespace` - If defined, sets the line spacing of the document using the [setspace](http://www.ctan.org/tex-archive/macros/latex/contrib/setspace/) package. +1. `myacknowledgements`, `$ACKNOWLEDGEMENTS` - If defined, the value of this variable will be inserted as acknowledgements +2. `mykeywords`, `$KEYWORDS` - Keywords which are inserted into the document for metadata purposes +3. `mycommittee`, `$COMMITTEE` - List of committee members to place on cover page. This is unfiltered, so raw LaTeX is fully supported for multi-line and odd names +4. `mylinespace` - If defined, sets the line spacing of the document using the [setspace](http://www.ctan.org/tex-archive/macros/latex/contrib/setspace/) package. diff --git a/frontmatter.mmd b/frontmatter.mmd index 62f87eb..8d17eeb 100644 --- a/frontmatter.mmd +++ b/frontmatter.mmd @@ -3,6 +3,7 @@ latex input: metadata latex author: $AUTHOR latex title: $TITLE abstract: $ABSTRACT +public abstract: $PUBLIC_ABSTRACT bibtex: $BIBTEX myreporttype: $REPORTTYPE mydegree: $DEGREE diff --git a/setup.tex b/setup.tex index dbf5b70..3d787ea 100644 --- a/setup.tex +++ b/setup.tex @@ -166,9 +166,43 @@ \input{\myabstract} \fi +\ifx\mypublicabstract\undefined +\else +\vfill + +\pagebreak + +\begin{center} + + +{\large \mytitle} + + +\vfill + + +\myauthor + + +\vfill + + +% Abstract +ABSTRACT + + \vfill +\end{center} + + +\input{\mypublicabstract} + +\vfill + +\fi + % Grant Information \ifx\mygrants\undefined \else From 6c3211e5bed61dff29862efaeb703728d3d24a4b Mon Sep 17 00:00:00 2001 From: Jason Ziglar Date: Tue, 4 Oct 2016 11:25:41 -0400 Subject: [PATCH 4/6] Fix autoref to capitalize Chapter --- setup.tex | 2 ++ 1 file changed, 2 insertions(+) diff --git a/setup.tex b/setup.tex index 3d787ea..9e5c7a8 100644 --- a/setup.tex +++ b/setup.tex @@ -27,6 +27,8 @@ \usepackage{booktabs} % Better tables \usepackage{tabulary} % Support longer table cells +\renewcommand*{\chapterautorefname}{Chapter} + %Correctly reacting to definition of bibliography to optionally enable biber \ifx\bibliocommand\undefined \else From 5d9876cd71b2c093a85a33d14e600aa67668f96a Mon Sep 17 00:00:00 2001 From: Jason Ziglar Date: Mon, 10 Oct 2016 10:12:24 -0400 Subject: [PATCH 5/6] Change abstract titles --- setup.tex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.tex b/setup.tex index 9e5c7a8..0d1e4e3 100644 --- a/setup.tex +++ b/setup.tex @@ -153,7 +153,7 @@ % Abstract -ABSTRACT +Academic Abstract \vfill @@ -190,7 +190,7 @@ % Abstract -ABSTRACT +Public Abstract \vfill From 80f96905d3e26e38dfac5e8e0f6f88a7acdce733 Mon Sep 17 00:00:00 2001 From: Jason Ziglar Date: Mon, 10 Oct 2016 11:23:02 -0400 Subject: [PATCH 6/6] Remove page number from public abstract --- setup.tex | 2 ++ 1 file changed, 2 insertions(+) diff --git a/setup.tex b/setup.tex index 0d1e4e3..5a24f6d 100644 --- a/setup.tex +++ b/setup.tex @@ -174,6 +174,8 @@ \pagebreak +\thispagestyle{empty} + \begin{center}