drexel-thesis.git
10 years agoMakefile: Make *.sty and *.tex precious so Make won't delete them
W. Trevor King [Tue, 21 Oct 2014 04:45:03 +0000 (21:45 -0700)]
Makefile: Make *.sty and *.tex precious so Make won't delete them

See [1] for the .PRECIOUS docs.

[1]: https://www.gnu.org/software/make/manual/html_node/Special-Targets.html#index-preserving-with-_002ePRECIOUS

10 years ago.gitignore: Don't ignore build targets
W. Trevor King [Tue, 21 Oct 2014 04:33:20 +0000 (21:33 -0700)]
.gitignore: Don't ignore build targets

For folks who don't want to use DocStrip [1] to generate these locally
from drexel-thesis.ins and drexel-thesis.dtx.

[1]: http://www.tug.org/texlive/Contents/live/texmf-dist/doc/latex/base/docstrip.pdf

10 years agoREADME.rst: Rename from README for GitHub's browser
W. Trevor King [Tue, 21 Oct 2014 04:37:38 +0000 (21:37 -0700)]
README.rst: Rename from README for GitHub's browser

11 years agoBump to version 0.15 0.15
W. Trevor King [Tue, 21 May 2013 12:51:48 +0000 (08:51 -0400)]
Bump to version 0.15

Changes since 0.14:
* Rename mydraftwatermark -> xdraftwatermark
* Added nodraftwatermark option and ifdraftwatermark macro
* Added pagebreak and nopagebreak options
* Added missing \DUTif... versions of user-visibile \if... macros
* Refactored makeapprovalform
* Added LyX layout drexel-thesis.layout
* Bundled USEFUL_PACKAGES pulled from the local TeX installation
* Give \draftmarksetup example based on Travis Hoppe's thesis
* Assorted documentation cleanups

11 years agoChange my email address from drexel.edu to tremily.us.
W. Trevor King [Wed, 18 Apr 2012 17:16:23 +0000 (13:16 -0400)]
Change my email address from drexel.edu to tremily.us.

12 years agoAdd pagebreak and nopagebreak options.
W. Trevor King [Sat, 23 Apr 2011 12:03:01 +0000 (08:03 -0400)]
Add pagebreak and nopagebreak options.

This will make it easier to setup your thesis for a good-looking copy.
Pure `final` mode has too many silly requirements and pure `draft`
mode is much too cluttered.

Also add \changes note about the nodraftwatermark options.

12 years agoAdd nodraftwatermark option and ifdraftwatermark macro.
W. Trevor King [Sat, 23 Apr 2011 11:08:03 +0000 (07:08 -0400)]
Add nodraftwatermark option and ifdraftwatermark macro.

Also:
* Rename mydraftwatermark -> xdraftwatermark.
* Give \draftmarksetup example based on Travis Hoppe's thesis.
* Add missing \DUTif... versions of user-visibile \if... macros.

12 years agoConvert README to reStructruedText.
W. Trevor King [Tue, 13 Mar 2012 22:31:54 +0000 (18:31 -0400)]
Convert README to reStructruedText.

12 years agoUpdate copyright years.
W. Trevor King [Tue, 13 Mar 2012 22:24:34 +0000 (18:24 -0400)]
Update copyright years.

12 years agoUse `\cs{...}` instead of `$\backslash$...`.
W. Trevor King [Tue, 13 Mar 2012 22:07:40 +0000 (18:07 -0400)]
Use `\cs{...}` instead of `$\backslash$...`.

12 years agoAdd section discussing \PassOptionsToPackage.
W. Trevor King [Tue, 13 Mar 2012 21:48:07 +0000 (17:48 -0400)]
Add section discussing \PassOptionsToPackage.

This documents Walt Mankowski's suggestion for using xcolor with table
support so that future users will not have to dig around for it.

13 years ago`daring` is not a book option.
W. Trevor King [Wed, 16 Feb 2011 23:16:02 +0000 (18:16 -0500)]
`daring` is not a book option.

14 years agoPull USEFUL_PACKAGES from the tex system (via kpsewhich) not current directory.
W. Trevor King [Tue, 16 Nov 2010 21:43:49 +0000 (16:43 -0500)]
Pull USEFUL_PACKAGES from the tex system (via kpsewhich) not current directory.

14 years agoReplace old contrib/drexel-thesis.layout with John's newer version.
W. Trevor King [Tue, 16 Nov 2010 21:28:38 +0000 (16:28 -0500)]
Replace old contrib/drexel-thesis.layout with John's newer version.

I'd accidentally placed his new version in the repository root directory.

14 years agoMerge branch 'master' of ssh://einstein/~/public_html/code/git/drexel-thesis
W. Trevor King [Tue, 12 Oct 2010 20:45:57 +0000 (16:45 -0400)]
Merge branch 'master' of ssh://einstein/~/public_html/code/git/drexel-thesis

14 years agoDocument drexel-thesis.layout.
W. Trevor King [Tue, 12 Oct 2010 20:45:32 +0000 (16:45 -0400)]
Document drexel-thesis.layout.

14 years agoAdded LyX layout drexel-thesis.layout.
John K. Parejko [Tue, 12 Oct 2010 20:45:10 +0000 (16:45 -0400)]
Added LyX layout drexel-thesis.layout.

14 years agoFix columness -> columns typo.
W. Trevor King [Wed, 29 Sep 2010 06:06:11 +0000 (02:06 -0400)]
Fix columness -> columns typo.

14 years agoAdjused Evan Sultanik's makeapprovalform to be more LaTeX-y.
W. Trevor King [Wed, 29 Sep 2010 05:40:51 +0000 (01:40 -0400)]
Adjused Evan Sultanik's makeapprovalform to be more LaTeX-y.

The original implementation was a more TeX-y.

Also make similar stylistic changes to other aspects of Evan's patch.

14 years agoAdded approvalform option and tikz Drexel logo. 0.14
Evan Sultanik [Wed, 22 Sep 2010 16:51:15 +0000 (12:51 -0400)]
Added approvalform option and tikz Drexel logo.

14 years agoCleaned up TOC/LOF/LOT and bump to version 0.13 0.13
W. Trevor King [Wed, 28 Jul 2010 12:56:20 +0000 (08:56 -0400)]
Cleaned up TOC/LOF/LOT and bump to version 0.13

This fixes a line break bug with latex reported by Daniel Cross, wher
figure and table entries had looked like

  1.1
      A table float .  .  .  .  .  3

rather than the expected

  1.1 A table float .  .  .  .  .  3

The bug did not occur with pdflatex.

14 years agoAdded blackref option and notes on overriding hyperref colors.
W. Trevor King [Thu, 17 Jun 2010 11:47:42 +0000 (07:47 -0400)]
Added blackref option and notes on overriding hyperref colors.

14 years agoCorrect single-paragraph spacing bug in several environments. Version 0.12. 0.12
W. Trevor King [Thu, 17 Jun 2010 11:16:05 +0000 (07:16 -0400)]
Correct single-paragraph spacing bug in several environments.  Version 0.12.

Thanks to John Parejko and Daniel Cross for pointing out the bug.

Also moved some of the 0.8 change notes out to the beginning of their
macro definition to avoid introducing a blank line mid-macro in the
drexel-thesis.pdf output.

14 years agoAdded contrib to Makefile and cleaned up indentation in drexel-thesis.layout
W. Trevor King [Sun, 13 Jun 2010 12:13:35 +0000 (08:13 -0400)]
Added contrib to Makefile and cleaned up indentation in drexel-thesis.layout

14 years agoAdded John's LyX layout.
John K. Parejko [Sun, 13 Jun 2010 12:03:32 +0000 (08:03 -0400)]
Added John's LyX layout.

Date: Fri, 11 Jun 2010 22:49:57 -0400
From: John K. Parejko
Subject: LyX class

...
Might be handy for you to include.  It probably needs improvements,
but it'll be helpful for anyone else who wants to use LyX for their
thesis.
...

14 years agoAdded daring, ifdaring, "Advisor(s):" and bumped to v0.11. 0.11
W. Trevor King [Fri, 4 Jun 2010 19:43:48 +0000 (15:43 -0400)]
Added daring, ifdaring, "Advisor(s):" and bumped to v0.11.

I'm all for optionally breaking rules, so here's a new switch to
control this sort of thing.  I imagine there will be more daring
hacks in the future...

From: Evan Sultanik
Subject: Advisors in the Thesis Abstract
Date: Fri, 04 Jun 2010 14:49:12 -0400

how the advisors are listed in the abstract.  "Shouldn't there be the
word 'Advisor:' or something before the names to differentiate the
advisor(s) from the student?"

I assured him that this was done to conform to the official Drexel
thesis manual.

However...

I took a look at how I typeset my MS thesis (back in 2006) and I did
put the word "Advisor: " before listing my advisor.  Perhaps I broke
the rules then, and I am probably going to break them again for my
Ph.D.

Here's what I did: On line 195 of drexel-thesis.cls, right before
"\newcounter{advisor@loop}", I added the following:

    Advisor\ifnum\c@advisors>1s\fi: %

That seemed to do the trick.  I am not sure how you feel about
breaking such rules, but I would highly recommend merging it into the
master :-)

    - Evan

14 years agoTransitioned to DUT-centric namespace with aliases and bumped to v0.10. 0.10
W. Trevor King [Fri, 21 May 2010 18:59:02 +0000 (14:59 -0400)]
Transitioned to DUT-centric namespace with aliases and bumped to v0.10.

John Parejko was having some trouble getting his thesis to work with
the previous implementation.  Apparently the standard approach to
theses for the astro folks at Drexel is to have most body chapters be
full-fledged papers from previous publications.  This lead to a bunch
of name collisions.  For example, the per-chapter abstracts were using
the drexel-thesis abstract environment, which was not appropriate.

I think the cut-and-paste-paper-chapter idea isn't all that great ;),
so I didn't want to just rename the drexel-thesis stuff to more
obscure names to avoid collisions.

The solution implemented here compromises, by adding DUT* aliases to
public macros and environments.  That way, most users can continue as
they were with no problems, but users who wish a macro or environment
name was different can clobber away and then use the DUT* form to
access the clobbered functionality.

I also moved some of the internal commands to drexel-thesis-specific
names, when I felt the internal commands were also a clobber risk.
The problem with this is that it becomes more awkward to override
the drexel-thesis behaviour, since then you *want* to successfully
clobber something.  If that ends up being a problem for someone,
let me know :).

14 years agoAdd author/title metadata to compiled PDF
W. Trevor King [Fri, 21 May 2010 14:43:09 +0000 (10:43 -0400)]
Add author/title metadata to compiled PDF

14 years agoBumped to verison 0.9 0.9
W. Trevor King [Fri, 21 May 2010 14:19:44 +0000 (10:19 -0400)]
Bumped to verison 0.9

14 years agoDon't use \@ to print the at symbol, it doesn't work.
W. Trevor King [Fri, 21 May 2010 14:14:13 +0000 (10:14 -0400)]
Don't use \@ to print the at symbol, it doesn't work.

Note that it's not listed in the
  LaTeX2e Escapable "Special" Characters
section of the Comprehensive LaTeX Symbol List
  http://www.ctan.org/tex-archive/info/symbols/comprehensive/

We add \textat to work around this in the body text, and $@$ in the
changes text.

14 years agoRework \@advisor to use scratch \count@ instead of advisor@loop.
W. Trevor King [Fri, 21 May 2010 13:47:22 +0000 (09:47 -0400)]
Rework \@advisor to use scratch \count@ instead of advisor@loop.

I thought the end of the group would deallocating my advisor@loop
counter.  I was wrong :p.  Turns out deallocating counters in (La)TeX
is hard (see the localloc package for details).  The easier solution
is to use scratch counters, which led to a few of LaTeX -> TeX
adjustments.  Anyhow, now I don't waste a counter running \@advisor.

Also corrected a typo in the documentation: \@advisor is used by the
abstract environment, not \maketitle.

14 years agoUse nifty section symbol \S instead of saying "section" for references.
W. Trevor King [Fri, 21 May 2010 11:57:13 +0000 (07:57 -0400)]
Use nifty section symbol \S instead of saying "section" for references.

14 years agoAdd URL for babel package
W. Trevor King [Fri, 21 May 2010 11:38:33 +0000 (07:38 -0400)]
Add URL for babel package

14 years agoFix indentation for some macrocode environments
W. Trevor King [Fri, 21 May 2010 11:36:17 +0000 (07:36 -0400)]
Fix indentation for some macrocode environments

14 years agoWork around potential \chapter{Bla bla\label{x}} usage.
W. Trevor King [Fri, 21 May 2010 11:07:15 +0000 (07:07 -0400)]
Work around potential \chapter{Bla bla\label{x}} usage.

Also corrected some
  % \begin{macrocode}
lines to
  %    \begin{macrocode}
along with their associated end tags.

14 years agoAdd "Main Matter" PDF bookmark note to the template and bump to v0.8. 0.8
W. Trevor King [Thu, 20 May 2010 16:13:11 +0000 (12:13 -0400)]
Add "Main Matter" PDF bookmark note to the template and bump to v0.8.

Promted by Evan Sultanik's comments on 2010-04-30.  I remember making
similar changes back then, but I don't seem to have pushed them back to my
central git repository :(.  Anhow, better late than never ;).

Version bump because of added spaces in PDF bookmarks (further LaTeX
consistency):
  * "Frontmatter" -> "Front Matter"
  * "Backmatter" -> "Back Matter"

14 years agoAdded \iffinal and bumped to v0.7 0.7
W. Trevor King [Sun, 14 Mar 2010 11:39:59 +0000 (07:39 -0400)]
Added \iffinal and bumped to v0.7

Removed v1.4f change note from cut-and-pasted theindex definition.

Shortened the one-page \Blindtext entries to 3 paragraphs, so they
will actually fit on one page.  I was calling the blindtext macros
incorrectly before.  The options should go in brackets [], not braces
{}.

14 years agoUse \listed@schapter in theindex
W. Trevor King [Thu, 11 Mar 2010 15:10:21 +0000 (10:10 -0500)]
Use \listed@schapter in theindex

14 years agoFixed \if@final handling and bumped to v0.6 0.6
W. Trevor King [Thu, 11 Mar 2010 12:29:57 +0000 (07:29 -0500)]
Fixed \if@final handling and bumped to v0.6

14 years agoMerged v0.5 into trunk
W. Trevor King [Wed, 3 Mar 2010 20:43:56 +0000 (15:43 -0500)]
Merged v0.5 into trunk

14 years agoUse hypcap (and bump to v0.5) 0.5
W. Trevor King [Wed, 3 Mar 2010 20:26:37 +0000 (15:26 -0500)]
Use hypcap (and bump to v0.5)

14 years agoRepositioned hyperref inclusion and fixed \change backslash escaping
W. Trevor King [Tue, 23 Feb 2010 18:40:25 +0000 (13:40 -0500)]
Repositioned hyperref inclusion and fixed \change backslash escaping

14 years agoRemoved blabla.sty from drexel-thesis.ins
W. Trevor King [Tue, 23 Feb 2010 15:01:01 +0000 (10:01 -0500)]
Removed blabla.sty from drexel-thesis.ins

14 years agoMake CC specific to CC-by-sa v3.0 0.4
W. Trevor King [Tue, 23 Feb 2010 14:02:56 +0000 (09:02 -0500)]
Make CC specific to CC-by-sa v3.0

14 years agoMake CC specific to CC-by-sa v3.0
W. Trevor King [Tue, 23 Feb 2010 14:02:53 +0000 (09:02 -0500)]
Make CC specific to CC-by-sa v3.0

14 years agoFix 'multi-partfigures' typo in subfig section
W. Trevor King [Tue, 9 Feb 2010 19:36:08 +0000 (14:36 -0500)]
Fix 'multi-partfigures' typo in subfig section

14 years agoFix 'begin{macrocode}' typo before fancyhdr section
W. Trevor King [Tue, 9 Feb 2010 19:32:29 +0000 (14:32 -0500)]
Fix 'begin{macrocode}' typo before fancyhdr section

14 years agoAdded fancyfoot removal note
W. Trevor King [Tue, 9 Feb 2010 19:21:57 +0000 (14:21 -0500)]
Added fancyfoot removal note

14 years agoFix babel name overwrites in examples.
W. Trevor King [Tue, 9 Feb 2010 18:18:17 +0000 (13:18 -0500)]
Fix babel name overwrites in examples.

14 years agoAdded indenttoc option
W. Trevor King [Tue, 9 Feb 2010 17:33:09 +0000 (12:33 -0500)]
Added indenttoc option

14 years agoAdded subfig option
W. Trevor King [Tue, 9 Feb 2010 17:04:18 +0000 (12:04 -0500)]
Added subfig option

14 years agoReplaced blabla package with blindtext following Evan Sultanik's suggestion
W. Trevor King [Tue, 9 Feb 2010 16:32:21 +0000 (11:32 -0500)]
Replaced blabla package with blindtext following Evan Sultanik's suggestion

14 years agoAdded \crefname{part} example
W. Trevor King [Tue, 19 Jan 2010 18:02:52 +0000 (13:02 -0500)]
Added \crefname{part} example

14 years agoAdd note about chapter-text/section spacing in base book.cls
W. Trevor King [Fri, 15 Jan 2010 15:22:45 +0000 (10:22 -0500)]
Add note about chapter-text/section spacing in base book.cls

14 years agoAdded includeonly hint
W. Trevor King [Fri, 15 Jan 2010 14:47:58 +0000 (09:47 -0500)]
Added includeonly hint

14 years agoAdded subfig usage suggestions
W. Trevor King [Thu, 14 Jan 2010 22:05:38 +0000 (17:05 -0500)]
Added subfig usage suggestions

14 years agoAdded possible fancy footer overlap issue.
W. Trevor King [Thu, 14 Jan 2010 21:59:44 +0000 (16:59 -0500)]
Added possible fancy footer overlap issue.

14 years agoUse \@tsp insead of hard coded 3 in \maketitle
W. Trevor King [Wed, 13 Jan 2010 20:59:39 +0000 (15:59 -0500)]
Use \@tsp insead of hard coded 3 in \maketitle

14 years agoMention bugs/hacks in the documentation
W. Trevor King [Wed, 13 Jan 2010 20:26:45 +0000 (15:26 -0500)]
Mention bugs/hacks in the documentation

14 years agoOfficial bump to v0.3 0.3
W. Trevor King [Wed, 13 Jan 2010 20:12:15 +0000 (15:12 -0500)]
Official bump to v0.3

14 years agoUse Evan's watermark implementation by default
W. Trevor King [Wed, 13 Jan 2010 20:02:38 +0000 (15:02 -0500)]
Use Evan's watermark implementation by default

14 years agoWork around 'head--table space longer for LOT/LOF than TOC.'
W. Trevor King [Wed, 13 Jan 2010 18:50:03 +0000 (13:50 -0500)]
Work around 'head--table space longer for LOT/LOF than TOC.'

14 years agoWorked around 'page top--chapter head space longer than one line.'
W. Trevor King [Wed, 13 Jan 2010 18:26:40 +0000 (13:26 -0500)]
Worked around 'page top--chapter head space longer than one line.'

14 years agoReplace \begin{spacing} with \setstretch{} calls.
W. Trevor King [Wed, 13 Jan 2010 17:36:34 +0000 (12:36 -0500)]
Replace \begin{spacing} with \setstretch{} calls.

setspace's spacing environment adds some extra skips to get
clean transitions.  We handle those transitions on our own.
\setstretch lets us change the spacing without bothering
with the extra skipping.

I've been struggling with \blanklines.  Current problems:
  * page top--chapter head space longer than one line.
  * chapter head--text space longer than chapter head--section head.
  * head--table space longer for LOT/LOF than TOC.

14 years agoUse small-caps rather than slanted-uppercase for chapter/section marks.
W. Trevor King [Wed, 13 Jan 2010 13:22:10 +0000 (08:22 -0500)]
Use small-caps rather than slanted-uppercase for chapter/section marks.

For consistency with TOC.

14 years agoUpdated CC license to version 3.0
W. Trevor King [Wed, 13 Jan 2010 13:10:27 +0000 (08:10 -0500)]
Updated CC license to version 3.0

14 years agoPunted the TOC/LOF/LOT layout to the tocloft package.
W. Trevor King [Wed, 13 Jan 2010 12:47:19 +0000 (07:47 -0500)]
Punted the TOC/LOF/LOT layout to the tocloft package.

Following the CS department's drexelthesis.cls.

Use of small caps in the TOC, etc. avoids the hyperref-uppercase
issue while still looking close to the specifications ;).
This allows us to drop the AddContentsLine junk.

Assorted other changes:
  * Added \listed@schapter for easy unnumbered, TOC-listed
    chapter definition.
  * Appendicies now added to TOC as "chapter", not "appendix"
  * Replaced \sc, \bf, etc. with \scshape, \bfseries, etc.
    See http://www.ctan.org/tex-archive/info/l2tabu/
  * Spell out TOC in user section, since they might not be
    familiar with this abreviation.
  * Corrected List of Tables reference Manual 3.7->3.6
  * Removed superseded \if@appendix code
  * Corrected calc dependers \blanklines->\set@lines@length
  * Added an explanatory sentence to the indentfirst import
  * Always use the same text for \pdfbookmark required args.
  * Added a long chapter heading to check TOC wrap spacing.

14 years agoPunted the caption/figure layout to the caption and floatrow packages.
W. Trevor King [Tue, 12 Jan 2010 21:43:26 +0000 (16:43 -0500)]
Punted the caption/figure layout to the caption and floatrow packages.

14 years agoOops, _now_ I've fixed the page numbering.
W. Trevor King [Tue, 12 Jan 2010 17:07:37 +0000 (12:07 -0500)]
Oops, _now_ I've fixed the page numbering.

Previous "solution" only changed "fancy" style.

The new solution looks like my original format, with head<->foot.

Also add \schaptermark so multipage chapter*s will have proper
marking.

14 years agoAdded indentfirst option
W. Trevor King [Tue, 12 Jan 2010 17:05:10 +0000 (12:05 -0500)]
Added indentfirst option

14 years agoMoved page numbers to the upper right, as Evan pointed out is required.
W. Trevor King [Tue, 12 Jan 2010 16:59:48 +0000 (11:59 -0500)]
Moved page numbers to the upper right, as Evan pointed out is required.

14 years agoAdded LaTeX temp files to .gitignore, + minor cleanups
W. Trevor King [Tue, 12 Jan 2010 16:38:33 +0000 (11:38 -0500)]
Added LaTeX temp files to .gitignore, + minor cleanups

  * removed textcase.sty from Makefile USEFUL_PACKAGES
    I'd tried it out on the hyperref/uppercase problem,
    but it didn't help, so we don't use it anymore.
  * add \foorloop usage information to blabla.
  * alphebetized draftmark's dependency listing.

14 years agoMerged Evan Sultanik's December 2009 multiple-advisor drexelthesis.cls.
W. Trevor King [Tue, 12 Jan 2010 14:38:13 +0000 (09:38 -0500)]
Merged Evan Sultanik's December 2009 multiple-advisor drexelthesis.cls.

Changes vs. Evan's implementation
  * use \expandafter to avoid involving \@mainaux
  * use already-defined \alph{} rather roll-your-own \@alphabet
  * many advisors case printed "A, B, and C" rather than "A, B and C".

Unrelated changes
  * \@advisor -> \@degree typo fix.
  * \@sect and \@ssect pseudocode now in |example| environment.
  * natbib's unsrt analog is unsrtnat, not plainnat.

Finally, I packaged the whole thing into \@advisor, so the compositing
logic can be used in multiple places

Evan's original patch was:

--- drexelthesis.cls-old
+++ drexelthesis.cls
@@ -1,5 +1,6 @@
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 % Drexel University Thesis LaTeX2e Class definition.
+% Modified by Evan Sultanik  December 2009
 % Modified by Jeff Abrahamson    May 2007
 % Modified by Evan Sultanik      April 2006
 % Modified by Jeff Abrahamson    May 2005
@@ -462,14 +463,16 @@
 \newcommand{\department}[1]{\ifx\empty#1\else\gdef\@department{#1}\fi}
 \newcommand{\degree}[1]{\ifx\empty#1\else\gdef\@degree{#1}\fi}
 \renewcommand{\author}[1]{\ifx\empty#1\else\gdef\@author{#1}\fi}
-\newcommand{\advisor}[1]{\ifx\empty#1\else\gdef\@advisor{#1}\fi}
+\newcommand{\advisor}[1]{\ifx\empty#1\else\refstepcounter{numadvisors}\immediate\write\@mainaux
+      {\string\gdef\string\@advisor\alph{numadvisors}{#1}}\fi}
 \renewcommand{\title}[1]{\ifx\empty#1\else\gdef\@title{#1}\fi}
 \newcommand{\gyear}[1]{\ifx\empty#1\else\gdef\@gyear{#1}\fi}

 \global\def\@department{\mbox{}}
 \global\def\@degree{\mbox{}}
 \global\def\@author{\mbox{}}
-\global\def\@advisor{\mbox{}}
+\newcounter{numadvisors}
+\setcounter{numadvisors}{0}
 \global\def\@title{\mbox{}}
 \global\def\@gyear{\number\year} % Default year is current year

@@ -655,6 +658,7 @@
   {\@latex@warning{Empty `thebibliography' environment}}%
   \endlist \clearpage}

+\def\@alphabet#1{\ifcase#1a\or a\or b\or c\or d\or e\or f\or g\else h\fi}
 \renewenvironment{abstract}{
   \clearemptydoublepage
   \phantomsection
@@ -665,7 +669,17 @@
       \vspace*{-1em}
       {\@title}\\[3mm]
       {\@author}\\
-      {\smallskip Advisor: \@advisor}\\
+      {\smallskip Advisor\ifnum\thenumadvisors>1 s\fi:
+        \begingroup
+          \newcount\adv
+          \adv=0
+          \loop
+            \ifnum\adv<\thenumadvisors
+              \advance\adv by 1
+              \ifnum\thenumadvisors>1\ifnum\adv=\thenumadvisors{\ and\ }\else\ifnum\adv>1{,\ }\fi\fi\fi
+              \csname @advisor\@alphabet{\the\adv}\endcsname\relax
+          \repeat
+        \endgroup}\\
       \vspace*{4em}
     }
   \end{singlespace}

14 years agoAdded blabla.sty to Makefile clean
W. Trevor King [Tue, 12 Jan 2010 01:49:41 +0000 (20:49 -0500)]
Added blabla.sty to Makefile clean

14 years agoAdded example PDFs to the Makefile too
W. Trevor King [Tue, 12 Jan 2010 01:38:45 +0000 (20:38 -0500)]
Added example PDFs to the Makefile too

14 years agoOops, add drexel-logo.pdf to EXAMPLE_FILES in Makefile
W. Trevor King [Tue, 12 Jan 2010 01:29:35 +0000 (20:29 -0500)]
Oops, add drexel-logo.pdf to EXAMPLE_FILES in Makefile

14 years agoMajor reorganization. Vast improvements.
W. Trevor King [Tue, 12 Jan 2010 01:25:37 +0000 (20:25 -0500)]
Major reorganization.  Vast improvements.

 * incorperated documentation from the base .dtx files.
 * improved hyperref and natbib integration.
 * cleaned examples.

14 years agoBetter handling of figure/table/caption spacing.
W. Trevor King [Sun, 10 Jan 2010 15:59:56 +0000 (10:59 -0500)]
Better handling of figure/table/caption spacing.

Added \@dsp for flexible control of display (equations, etc.) spacing.

Removed \DescribeMacros call, since its not defined :p.

Defined \blabla for creating a dummy text in bulk, and added calls to
the examples.

14 years agoBroke \set@lines@length out of \blanklines
W. Trevor King [Sun, 10 Jan 2010 14:56:20 +0000 (09:56 -0500)]
Broke \set@lines@length out of \blanklines

14 years agoAdded draftwatermark handling, graphicx explanation.
W. Trevor King [Sun, 10 Jan 2010 13:53:19 +0000 (08:53 -0500)]
Added draftwatermark handling, graphicx explanation.

Actually, the CS class seems to have tried to use _both_
  a draftcopy implementation (in \DeclareOption{draft})
_and_
  a handrolled \AddToShipoutPicture implementation
  (in \DeclareOption{draftwatermark},
   called by \DeclareOption{draft}).
I imagine this was due to inter-developer miscommunication...

Anyhow, I like draftmark ;).

14 years agoannotate isn't what I'd thought it was. Remove it for now
W. Trevor King [Sun, 10 Jan 2010 00:56:48 +0000 (19:56 -0500)]
annotate isn't what I'd thought it was.  Remove it for now

14 years agoFix \makecopyrightCC implementation
W. Trevor King [Sun, 10 Jan 2010 00:54:09 +0000 (19:54 -0500)]
Fix \makecopyrightCC implementation

14 years ago"\vfil" -> "\vspace*{\fill}" (better LaTeX idiom)
W. Trevor King [Sun, 10 Jan 2010 00:49:12 +0000 (19:49 -0500)]
"\vfil" -> "\vspace*{\fill}" (better LaTeX idiom)

14 years agoAdd \m@kecopyright + swap \listof* definitions
W. Trevor King [Sun, 10 Jan 2010 00:33:46 +0000 (19:33 -0500)]
Add \m@kecopyright + swap \listof* definitions

Began importing option descriptions from drexelthesis.cls
  http://www.cs.drexel.edu/~jeffa/talks/drexelthesis.cls

14 years ago\newpage -> \clearpage
W. Trevor King [Sun, 10 Jan 2010 00:29:00 +0000 (19:29 -0500)]
\newpage -> \clearpage

According to
  http://help-csli.stanford.edu/tex/latex-pagebreaks.shtml
\clearpage is similar to \newpage but figures are also printed.

So there is no situation in our class for which we would prefer
\newpage over \clearpage.

14 years agoFix "*" -> "def*" in \defmonth/\defyear example
W. Trevor King [Sun, 10 Jan 2010 00:07:02 +0000 (19:07 -0500)]
Fix "*" -> "def*" in \defmonth/\defyear example

14 years agoBegan versioning 0.2
W. Trevor King [Sat, 9 Jan 2010 23:38:20 +0000 (18:38 -0500)]
Began versioning