Skip to content

Commit

Permalink
Fixed title to display double-space if more than one line, in respons…
Browse files Browse the repository at this point in the history
…e to Ujjwal Gupta's July 23rd bug report.
  • Loading branch information
shumway committed Jul 26, 2014
1 parent 57ead59 commit a20e87e
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 6 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,6 @@ before_install:
script:
- >
pdflatex -interaction=nonstopmode dis.tex
bibtex dis
pdflatex -interaction=nonstopmode dis.tex
pdflatex -interaction=nonstopmode dis.tex
9 changes: 7 additions & 2 deletions asudis.sty
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down Expand Up @@ -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
Expand Down
7 changes: 3 additions & 4 deletions dis.tex
Original file line number Diff line number Diff line change
@@ -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}
Expand All @@ -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}
Expand Down

0 comments on commit a20e87e

Please sign in to comment.