summaryrefslogtreecommitdiff
path: root/Master/texmf-dist
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-12-12 00:34:19 +0000
committerKarl Berry <karl@freefriends.org>2012-12-12 00:34:19 +0000
commit76e9aff676545810d244874dfeb7902698c525d8 (patch)
tree4b15620a01368781e702a9712bf3d012f6ec6c05 /Master/texmf-dist
parent1f2b718b5ad8569c1a5b1785bfd0b4d5ac1495ef (diff)
uafthesis (11dec12)
git-svn-id: svn://tug.org/texlive/trunk@28506 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r--Master/texmf-dist/doc/latex/uafthesis/Makefile28
-rw-r--r--Master/texmf-dist/doc/latex/uafthesis/README.md16
-rw-r--r--Master/texmf-dist/doc/latex/uafthesis/example/example.bib26
-rw-r--r--Master/texmf-dist/doc/latex/uafthesis/example/example.pdfbin175696 -> 0 bytes
-rw-r--r--Master/texmf-dist/doc/latex/uafthesis/example/example.tex13
-rw-r--r--Master/texmf-dist/doc/latex/uafthesis/example/fig/fivebatteries.pngbin24839 -> 8855 bytes
-rw-r--r--Master/texmf-dist/doc/latex/uafthesis/example/fig/onebattery.pngbin23847 -> 6651 bytes
-rw-r--r--Master/texmf-dist/tex/latex/uafthesis/uafthesis.cls118
8 files changed, 121 insertions, 80 deletions
diff --git a/Master/texmf-dist/doc/latex/uafthesis/Makefile b/Master/texmf-dist/doc/latex/uafthesis/Makefile
new file mode 100644
index 00000000000..06a19ea3168
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/uafthesis/Makefile
@@ -0,0 +1,28 @@
+example.pdf:
+ @echo "-> building example.pdf..."
+ @cd example && ./build.sh > /dev/null
+ @mv example/example.pdf ./
+
+clean:
+ @echo "-> cleaning..."
+ @git clean -xdf > /dev/null
+ @rm example.pdf
+
+test: clean example.pdf
+ @# Feel free to make this smarter.
+ @echo "-> Opening example.pdf in evince. Does it look okay?"
+ @`evince example.pdf &2> /dev/null`
+
+publish: example.pdf clean
+ @echo "-> creating tarball..."
+ @tar -czf /tmp/uafthesis.tgz --exclude=.git ../uafthesis > /dev/null
+ curl --form "contribution=uafthesis" \
+ --form "name=Joshua Holbrook" \
+ --form "email=josh.holbrook@gmail.com" \
+ --form "summary=Document class for theses at University of Alaska Fairbanks." \
+ --form "version=12.12" \
+ --form "directory=/macros/latex/contrib/uafthesis" \
+ --form "license=free" \
+ --form "freeversion=lppl" \
+ --form "file=@/tmp/uafthesis.tgz" \
+ http://www.tex.ac.uk/cgi-bin/ctan-upload.cgi
diff --git a/Master/texmf-dist/doc/latex/uafthesis/README.md b/Master/texmf-dist/doc/latex/uafthesis/README.md
index 6207b30f42f..699f9cd0466 100644
--- a/Master/texmf-dist/doc/latex/uafthesis/README.md
+++ b/Master/texmf-dist/doc/latex/uafthesis/README.md
@@ -8,7 +8,7 @@
Its development web site is at <https://github.com/jesusabdullah/uafthesis>.
-## Contents:
+## Basic Contents:
* `uafthesis.cls`: The class file itself.
* `bib_styles/`: A few common bibliography styles for BibTeX:
@@ -18,6 +18,20 @@ Its development web site is at <https://github.com/jesusabdullah/uafthesis>.
* `example/`: Contains the source code for `example.pdf`.
* `README.md`: This file.
+## Branches:
+
+* `master` is the main branch, and is based on the 2004 thesis class.
+* `2006` is a side branch which contains Ryan Woodard's 2006 version of `uafthesis.cls` which also tackled the missing "page" headers problem. A cursory analysis based on `diff uafthesis2004.cls uafthesis2006.cls` indicates that my solution to the "page heading" problem is probably better/easier. However, I may be wrong, and I really appreciate Ryan's work, so it's included in its own branch.
+
+## Help
+
+If you don't know how to use LaTeX or need general support, I would recommend the following resources for learning and asking questions:
+
+* <http://en.wikibooks.org/wiki/LaTeX>
+* <http://tex.stackexchange.com>
+* <irc://freenode.net/#latex>
+
+For questions directly pertaining to `uafthesis.tex`, refer to `example/example.pdf` or contact the latest author via [github](https://github.com/jesusabdullah/uafthesis/issues), twitter (http://twitter.com/jesusabdullah) or [email](email:josh.holbrook@gmail.com).
## Call to Arms
diff --git a/Master/texmf-dist/doc/latex/uafthesis/example/example.bib b/Master/texmf-dist/doc/latex/uafthesis/example/example.bib
deleted file mode 100644
index 35bb7898d96..00000000000
--- a/Master/texmf-dist/doc/latex/uafthesis/example/example.bib
+++ /dev/null
@@ -1,26 +0,0 @@
-@misc{wikibook,
- author = "The Wikimedia Foundation",
- title = "LaTeX Wikibook",
- howpublished = "web",
- year = "2011",
- month = "April",
- note = "\url{http://en.wikibooks.org/wiki/LaTeX}"
-}
-
-@misc{buildsystems,
- author = "Joshua Holbrook and others",
- title = "Let's talk LaTeX Build Systems: Or, avoiding the whole ``pdflatex, bibtex, pdflatex, pdflatex, pdflatex'' thing",
- howpublished = "web",
- year = "2010",
- month = "March",
- note = "\url{http://www.reddit.com/r/LaTeX/comments/b9wvi/lets_talk_latex_build_systems_or_avoiding_the/}"
-}
-
-@misc{handbook,
- author = "UAF Graduate School",
- title = "Thesis Format Handbook",
- howpublished = "web",
- year = "2011",
- month = "February",
- note = "\url{http://www.uaf.edu/gradsch/forms/Handbook_Thesis_10-11.pdf}"
-}
diff --git a/Master/texmf-dist/doc/latex/uafthesis/example/example.pdf b/Master/texmf-dist/doc/latex/uafthesis/example/example.pdf
deleted file mode 100644
index ee63bfbc6a4..00000000000
--- a/Master/texmf-dist/doc/latex/uafthesis/example/example.pdf
+++ /dev/null
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/uafthesis/example/example.tex b/Master/texmf-dist/doc/latex/uafthesis/example/example.tex
index 88a2357c787..1305452cfe0 100644
--- a/Master/texmf-dist/doc/latex/uafthesis/example/example.tex
+++ b/Master/texmf-dist/doc/latex/uafthesis/example/example.tex
@@ -1,8 +1,9 @@
-\documentclass{uafthesis}
+\documentclass{../uafthesis}
-\usepackage{fixltx2e} % Allows \(\) in captions, amongst other things.
-\usepackage{ppl} % The Paladino font
\usepackage{amsmath, amssymb, amsfonts} % Thanks, AMS!
+\usepackage{fixltx2e} % Allows \(\) in captions, amongst other things.
+%\usepackage{ppl} % The Paladino font (tough to find?)
+\usepackage{pxfonts} % Paladino-like fonts
\usepackage{graphicx, float} % Graphics stuff
\usepackage{verbatim} % Mostly for the comment environment.
%\usepackage{chapterbib} % This is an option for those bundling papers.
@@ -24,9 +25,15 @@
\department{Dept. of Fresh Beats}
\numberofmembers{3} % Make sure this is right! The grad school hates empty
% signature lines.
+\committeewidth{4in}
+\approvedwidth{4in}
+\comitteespace{\hfill}
+\approvedspace{\hfill}
+
\prevdegrees{B.A.M.F.}
\college{College of Pwning Noobs}
+
\makesig
\maketitle
diff --git a/Master/texmf-dist/doc/latex/uafthesis/example/fig/fivebatteries.png b/Master/texmf-dist/doc/latex/uafthesis/example/fig/fivebatteries.png
index 766baff117c..5639e9f41b2 100644
--- a/Master/texmf-dist/doc/latex/uafthesis/example/fig/fivebatteries.png
+++ b/Master/texmf-dist/doc/latex/uafthesis/example/fig/fivebatteries.png
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/uafthesis/example/fig/onebattery.png b/Master/texmf-dist/doc/latex/uafthesis/example/fig/onebattery.png
index f9cc345c28c..193712344e4 100644
--- a/Master/texmf-dist/doc/latex/uafthesis/example/fig/onebattery.png
+++ b/Master/texmf-dist/doc/latex/uafthesis/example/fig/onebattery.png
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/uafthesis/uafthesis.cls b/Master/texmf-dist/tex/latex/uafthesis/uafthesis.cls
index 155a057dad4..36994074b7c 100644
--- a/Master/texmf-dist/tex/latex/uafthesis/uafthesis.cls
+++ b/Master/texmf-dist/tex/latex/uafthesis/uafthesis.cls
@@ -15,7 +15,10 @@
%% Made all fonts the same size so that Craven will shut up.
%%
%% Edited by Joshua Holbrook 2010/3/08
-%% I'm not from the physics department. Also, bugfixes.
+%% Fixed font size in title page, added "Page" headings.
+%%
+%% Edited by Jesse Frey 2012/12/6
+%% Messed with the signature page some of us need longer lines
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{uafthesis}
@@ -107,6 +110,19 @@
\def\numberofmembers#1{\gdef\@numberofmembers{#1}}
%% The name of your college or school
\def\college#1{\gdef\@college{#1}}
+%% The width of committee signature lines
+\def\@committeewidth{3in}
+\def\committeewidth#1{\gdef\@committeewidth{#1}}
+%% The width of approval signature and date lines
+\def\@approvedwidth{3.75in}
+\def\approvedwidth#1{\gdef\@approvedwidth{#1}}
+%% The space between "RECOMMENDED:" and the committee signature lines
+\def\@comitteespace{\hfill}
+\def\comitteespace#1{\gdef\@comitteespace{#1}}
+%% The space between "APPROVED:" and the approval lines
+\def\@approvedspace{\hspace{0.75in}}
+\def\approvedspace#1{\gdef\@approvedspace{#1}}
+
%% \maketitle makes titlepage. requires all the above macros
\def\maketitle{
@@ -164,56 +180,58 @@
\bigskip \bigskip \medskip
\vspace{.25in}
\end{center}
-RECOMMENDED:\hfill\rule{3in}{.05mm}\vskip2.5ex\relax
-\noindent\phantom{RECOMMENDED:}\hfill\rule{3in}{.05mm}
-\vskip2.5ex\relax
-\noindent\phantom{RECOMMENDED:}\hfill\rule{3in}{.05mm}
-\vskip2.5ex\relax
-\ifnum \@numberofmembers = 3
-\vskip-3.5ex\relax
-\noindent\hskip3in\relax Advisory
-Committee Chair \vskip2.5ex
-\fi
-\ifnum \@numberofmembers = 4
-\noindent\phantom{RECOMMENDED:}\hfill\rule{3in}{.05mm}
-\vskip-1ex\relax
-\noindent\hskip3in\relax Advisory
-Committee Chair \vskip2.5ex
-\fi
-\ifnum \@numberofmembers = 5
-\noindent\phantom{RECOMMENDED:}\hfill\rule{3in}{.05mm}
-\vskip2.5ex\relax
-\noindent\phantom{RECOMMENDED:}\hfill\rule{3in}{.05mm}
-\vskip-1ex\relax
-\noindent\hskip3in\relax Advisory
-Committee Chair \vskip2.5ex
-\fi
-\ifnum \@numberofmembers = 6
-\noindent\phantom{RECOMMENDED:}\hfill\rule{3in}{.05mm}
-\vskip2.5ex\relax
-\noindent\phantom{RECOMMENDED:}\hfill\rule{3in}{.05mm}
-\vskip2.5ex\relax
-\noindent\phantom{RECOMMENDED:}\hfill\rule{3in}{.05mm}
-\vskip-1ex\relax
-\noindent\hskip3in\relax Advisory
-Committee Chair \vskip2.5ex
-\fi
-\noindent\phantom{RECOMMENDED:}\hfill\rule{3in}{.05mm}
-\vskip-1ex\relax
-\noindent\hskip3in\relax Chair, \@department
+RECOMMENDED:\@comitteespace
+\begin{minipage}[t]{\@committeewidth}
+ \rule{\@committeewidth}{.05mm}\vskip2.5ex\relax
+ \rule{\@committeewidth}{.05mm}
+ \vskip2.5ex\relax
+ \rule{\@committeewidth}{.05mm}
+ \vskip2.5ex\relax
+ \ifnum \@numberofmembers = 3
+ \vskip-3.5ex\relax
+ \relax Advisory Committee Chair \vskip2.5ex
+ \fi
+ \ifnum \@numberofmembers = 4
+ \rule{\@committeewidth}{.05mm}
+ \vskip-1ex\relax
+ \relax Advisory Committee Chair \vskip2.5ex
+ \fi
+ \ifnum \@numberofmembers = 5
+ \rule{\@committeewidth}{.05mm}
+ \vskip2.5ex\relax
+ \rule{\@committeewidth}{.05mm}
+ \vskip-1ex\relax
+ \relax Advisory Committee Chair \vskip2.5ex
+ \fi
+ \ifnum \@numberofmembers = 6
+ \rule{\@committeewidth}{.05mm}
+ \vskip2.5ex\relax
+ \rule{\@committeewidth}{.05mm}
+ \vskip2.5ex\relax
+ \rule{\@committeewidth}{.05mm}
+ \vskip-1ex\relax
+ \relax Advisory Committee Chair \vskip2.5ex
+ \fi
+ \rule{\@committeewidth}{.05mm}
+ \vskip-1ex\relax
+ \relax Chair, \@department
+\end{minipage}
\bigskip \bigskip \bigskip \par
-\noindent APPROVED: \hspace{.75in} \rule{3.75in}{.05mm}
-\vskip-1ex\relax
-\noindent\phantom{APPROVED: \hspace{.75in} }Dean, {\@college}
-\vskip2.5ex\relax
-\noindent\phantom{APPROVED: \hspace{.75in} }\rule{3.75in}{.05mm}
-\vskip-1ex\relax
-\noindent\phantom{APPROVED: \hspace{.75in} }Dean of the Graduate
-School
-\vskip2.5ex\relax
-\noindent\phantom{APPROVED: \hspace{.75in} }\rule{3.75in}{.05mm}
-\vskip-1ex\relax
-\noindent\phantom{APPROVED: \hspace{.75in} }Date
+%\noindent APPROVED: \@approvedspace
+\noindent APPROVED: \@approvedspace
+\begin{minipage}[t]{\@approvedwidth}
+ \rule{\@approvedwidth}{.05mm}
+ \vskip-1ex\relax
+ Dean, {\@college}
+ \vskip2.5ex\relax
+ \rule{\@approvedwidth}{.05mm}
+ \vskip-1ex\relax
+ Dean of the Graduate School
+ \vskip2.5ex\relax
+ \rule{\@approvedwidth}{.05mm}
+ \vskip-1ex\relax
+ Date
+\end{minipage}
\newpage
}