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

13 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

13 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

13 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.

13 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.

13 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.

13 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

13 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

13 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.

13 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