summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
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
W. Trevor King [Tue, 12 Oct 2010 20:45:32 +0000 (16:45 -0400)]
Document drexel-thesis.layout.
John K. Parejko [Tue, 12 Oct 2010 20:45:10 +0000 (16:45 -0400)]
Added LyX layout drexel-thesis.layout.
W. Trevor King [Wed, 29 Sep 2010 06:06:11 +0000 (02:06 -0400)]
Fix columness -> columns typo.
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.
Evan Sultanik [Wed, 22 Sep 2010 16:51:15 +0000 (12:51 -0400)]
Added approvalform option and tikz Drexel logo.
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.
W. Trevor King [Thu, 17 Jun 2010 11:47:42 +0000 (07:47 -0400)]
Added blackref option and notes on overriding hyperref colors.
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.
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
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.
...
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
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 :).
W. Trevor King [Fri, 21 May 2010 14:43:09 +0000 (10:43 -0400)]
Add author/title metadata to compiled PDF
W. Trevor King [Fri, 21 May 2010 14:19:44 +0000 (10:19 -0400)]
Bumped to verison 0.9
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.
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.
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.
W. Trevor King [Fri, 21 May 2010 11:38:33 +0000 (07:38 -0400)]
Add URL for babel package
W. Trevor King [Fri, 21 May 2010 11:36:17 +0000 (07:36 -0400)]
Fix indentation for some macrocode environments
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.
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"
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
{}.
W. Trevor King [Thu, 11 Mar 2010 15:10:21 +0000 (10:10 -0500)]
Use \listed@schapter in theindex
W. Trevor King [Thu, 11 Mar 2010 12:29:57 +0000 (07:29 -0500)]
Fixed \if@final handling and bumped to v0.6
W. Trevor King [Wed, 3 Mar 2010 20:43:56 +0000 (15:43 -0500)]
Merged v0.5 into trunk
W. Trevor King [Wed, 3 Mar 2010 20:26:37 +0000 (15:26 -0500)]
Use hypcap (and bump to v0.5)
W. Trevor King [Tue, 23 Feb 2010 18:40:25 +0000 (13:40 -0500)]
Repositioned hyperref inclusion and fixed \change backslash escaping
W. Trevor King [Tue, 23 Feb 2010 15:01:01 +0000 (10:01 -0500)]
Removed blabla.sty from drexel-thesis.ins
W. Trevor King [Tue, 23 Feb 2010 14:02:56 +0000 (09:02 -0500)]
Make 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
W. Trevor King [Tue, 9 Feb 2010 19:36:08 +0000 (14:36 -0500)]
Fix 'multi-partfigures' typo in subfig section
W. Trevor King [Tue, 9 Feb 2010 19:32:29 +0000 (14:32 -0500)]
Fix 'begin{macrocode}' typo before fancyhdr section
W. Trevor King [Tue, 9 Feb 2010 19:21:57 +0000 (14:21 -0500)]
Added fancyfoot removal note
W. Trevor King [Tue, 9 Feb 2010 18:18:17 +0000 (13:18 -0500)]
Fix babel name overwrites in examples.
W. Trevor King [Tue, 9 Feb 2010 17:33:09 +0000 (12:33 -0500)]
Added indenttoc option
W. Trevor King [Tue, 9 Feb 2010 17:04:18 +0000 (12:04 -0500)]
Added subfig option
W. Trevor King [Tue, 9 Feb 2010 16:32:21 +0000 (11:32 -0500)]
Replaced blabla package with blindtext following Evan Sultanik's suggestion
W. Trevor King [Tue, 19 Jan 2010 18:02:52 +0000 (13:02 -0500)]
Added \crefname{part} example
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
W. Trevor King [Fri, 15 Jan 2010 14:47:58 +0000 (09:47 -0500)]
Added includeonly hint
W. Trevor King [Thu, 14 Jan 2010 22:05:38 +0000 (17:05 -0500)]
Added subfig usage suggestions
W. Trevor King [Thu, 14 Jan 2010 21:59:44 +0000 (16:59 -0500)]
Added possible fancy footer overlap issue.
W. Trevor King [Wed, 13 Jan 2010 20:59:39 +0000 (15:59 -0500)]
Use \@tsp insead of hard coded 3 in \maketitle
W. Trevor King [Wed, 13 Jan 2010 20:26:45 +0000 (15:26 -0500)]
Mention bugs/hacks in the documentation
W. Trevor King [Wed, 13 Jan 2010 20:12:15 +0000 (15:12 -0500)]
Official bump to v0.3
W. Trevor King [Wed, 13 Jan 2010 20:02:38 +0000 (15:02 -0500)]
Use Evan's watermark implementation by default
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.'
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.'
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.
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.
W. Trevor King [Wed, 13 Jan 2010 13:10:27 +0000 (08:10 -0500)]
Updated CC license to version 3.0
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.
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.
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.
W. Trevor King [Tue, 12 Jan 2010 17:05:10 +0000 (12:05 -0500)]
Added indentfirst option
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.
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.
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}
W. Trevor King [Tue, 12 Jan 2010 01:49:41 +0000 (20:49 -0500)]
Added blabla.sty to Makefile clean
W. Trevor King [Tue, 12 Jan 2010 01:38:45 +0000 (20:38 -0500)]
Added example PDFs to the Makefile too
W. Trevor King [Tue, 12 Jan 2010 01:29:35 +0000 (20:29 -0500)]
Oops, add drexel-logo.pdf to EXAMPLE_FILES in Makefile
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.
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.
W. Trevor King [Sun, 10 Jan 2010 14:56:20 +0000 (09:56 -0500)]
Broke \set@lines@length out of \blanklines
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 ;).
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
W. Trevor King [Sun, 10 Jan 2010 00:54:09 +0000 (19:54 -0500)]
Fix \makecopyrightCC implementation
W. Trevor King [Sun, 10 Jan 2010 00:49:12 +0000 (19:49 -0500)]
"\vfil" -> "\vspace*{\fill}" (better LaTeX idiom)
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
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.
W. Trevor King [Sun, 10 Jan 2010 00:07:02 +0000 (19:07 -0500)]
Fix "*" -> "def*" in \defmonth/\defyear example
W. Trevor King [Sat, 9 Jan 2010 23:38:20 +0000 (18:38 -0500)]
Began versioning