drexel-thesis.git
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