Skip to content

Commit a20e87e

Browse files
committed
Fixed title to display double-space if more than one line, in response to Ujjwal Gupta's July 23rd bug report.
1 parent 57ead59 commit a20e87e

File tree

3 files changed

+13
-6
lines changed

3 files changed

+13
-6
lines changed

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,6 @@ before_install:
1818
script:
1919
- >
2020
pdflatex -interaction=nonstopmode dis.tex
21+
bibtex dis
22+
pdflatex -interaction=nonstopmode dis.tex
23+
pdflatex -interaction=nonstopmode dis.tex

asudis.sty

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ letterpaper}%,showframe,showcrop}
1717
\newcommand{\doublespace} {
1818
\renewcommand{\baselinestretch}{1.66}\small\normalsize
1919
}
20+
\newcommand{\exactdoublespace} {
21+
\renewcommand{\baselinestretch}{1.8}\small\normalsize
22+
}
2023
\newcommand{\oneandhalfspace} {
2124
\renewcommand{\baselinestretch}{1.24}\small\normalsize
2225
}
@@ -68,11 +71,13 @@ letterpaper}%,showframe,showcrop}
6871
\thispagestyle{empty}
6972
\noindent
7073
\begin{minipage}[t][647.0truept][t]{\linewidth}
74+
\exactdoublespace
7175
\begin{center}
72-
\@title\\ \ \\
73-
by\\ \ \\
76+
\@title\\
77+
by\\
7478
\@author
7579
\end{center}
80+
\singlespace
7681
\vspace{\fiveblanklines}
7782
\begin{center}
7883
\singlespace

dis.tex

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
\documentclass[12pt,letterpaper]{report}
22
\usepackage{natbib}
33
\usepackage{geometry}
4-
%\usepackage{fancyheadings} fancyheadings is obsolete: replaced by fancyhdr. JL
54
\usepackage{fancyhdr}
65
\usepackage{afterpage}
76
\usepackage{graphicx}
@@ -13,14 +12,14 @@
1312
\begin{document}
1413
%-----------------------front matter
1514
\pagenumbering{roman}
16-
\title{Your Title}
15+
\title{Your Title Goes Here}
1716
\author{Your name}
1817
\degreeName{Doctor of Philosophy}
1918
\paperType{Dissertation}
2019
\defensemonth{Some month}
2120
\defenseyear{Some year}
22-
\gradmonth{Some other month}
23-
\gradyear{Some other year}
21+
\gradmonth{Graduation month}
22+
\gradyear{Graduation year}
2423
\chair{Your chair}
2524
\memberOne{Your first member}
2625
\memberTwo{Your second member}

0 commit comments

Comments
 (0)