From a20e87ecd55c6e791afc3feb0220c14ea6961575 Mon Sep 17 00:00:00 2001 From: John Shumway Date: Sat, 26 Jul 2014 18:53:24 -0500 Subject: [PATCH] Fixed title to display double-space if more than one line, in response to Ujjwal Gupta's July 23rd bug report. --- .travis.yml | 3 +++ asudis.sty | 9 +++++++-- dis.tex | 7 +++---- 3 files changed, 13 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index 5ee6f33..e516f3a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,3 +18,6 @@ before_install: script: - > pdflatex -interaction=nonstopmode dis.tex + bibtex dis + pdflatex -interaction=nonstopmode dis.tex + pdflatex -interaction=nonstopmode dis.tex diff --git a/asudis.sty b/asudis.sty index 80ecf97..4223193 100644 --- a/asudis.sty +++ b/asudis.sty @@ -17,6 +17,9 @@ letterpaper}%,showframe,showcrop} \newcommand{\doublespace} { \renewcommand{\baselinestretch}{1.66}\small\normalsize } +\newcommand{\exactdoublespace} { + \renewcommand{\baselinestretch}{1.8}\small\normalsize +} \newcommand{\oneandhalfspace} { \renewcommand{\baselinestretch}{1.24}\small\normalsize } @@ -68,11 +71,13 @@ letterpaper}%,showframe,showcrop} \thispagestyle{empty} \noindent \begin{minipage}[t][647.0truept][t]{\linewidth} + \exactdoublespace \begin{center} - \@title\\ \ \\ - by\\ \ \\ + \@title\\ + by\\ \@author \end{center} + \singlespace \vspace{\fiveblanklines} \begin{center} \singlespace diff --git a/dis.tex b/dis.tex index 5354e23..b9748f8 100644 --- a/dis.tex +++ b/dis.tex @@ -1,7 +1,6 @@ \documentclass[12pt,letterpaper]{report} \usepackage{natbib} \usepackage{geometry} -%\usepackage{fancyheadings} fancyheadings is obsolete: replaced by fancyhdr. JL \usepackage{fancyhdr} \usepackage{afterpage} \usepackage{graphicx} @@ -13,14 +12,14 @@ \begin{document} %-----------------------front matter \pagenumbering{roman} -\title{Your Title} +\title{Your Title Goes Here} \author{Your name} \degreeName{Doctor of Philosophy} \paperType{Dissertation} \defensemonth{Some month} \defenseyear{Some year} -\gradmonth{Some other month} -\gradyear{Some other year} +\gradmonth{Graduation month} +\gradyear{Graduation year} \chair{Your chair} \memberOne{Your first member} \memberTwo{Your second member}