summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Master/texmf-dist/doc/latex/msu-thesis/MSU-thesis-testfile.pdfbin71548 -> 0 bytes
-rw-r--r--Master/texmf-dist/doc/latex/msu-thesis/README16
-rw-r--r--Master/texmf-dist/doc/latex/msu-thesis/msu-thesis.pdfbin203002 -> 205836 bytes
-rw-r--r--Master/texmf-dist/doc/msu-thesis/msu-thesis.tex (renamed from Master/texmf-dist/doc/latex/msu-thesis/msu-thesis.tex)25
-rw-r--r--Master/texmf-dist/doc/msu-thesis/samples/MSU-thesis-template.pdf (renamed from Master/texmf-dist/doc/latex/msu-thesis/MSU-thesis-template.pdf)bin30975 -> 30975 bytes
-rw-r--r--Master/texmf-dist/doc/msu-thesis/samples/MSU-thesis-template.tex (renamed from Master/texmf-dist/doc/latex/msu-thesis/MSU-thesis-template.tex)19
-rw-r--r--Master/texmf-dist/doc/msu-thesis/samples/MSU-thesis-testfile.bib (renamed from Master/texmf-dist/doc/latex/msu-thesis/MSU-thesis-testfile.bib)0
-rw-r--r--Master/texmf-dist/doc/msu-thesis/samples/MSU-thesis-testfile.pdfbin0 -> 70450 bytes
-rw-r--r--Master/texmf-dist/doc/msu-thesis/samples/MSU-thesis-testfile.tex (renamed from Master/texmf-dist/doc/latex/msu-thesis/MSU-thesis-testfile.tex)48
-rw-r--r--Master/texmf-dist/doc/msu-thesis/samples/unified.bst (renamed from Master/texmf-dist/doc/latex/msu-thesis/unified.bst)0
-rw-r--r--Master/texmf-dist/tex/latex/msu-thesis/msu-thesis.cls30
11 files changed, 120 insertions, 18 deletions
diff --git a/Master/texmf-dist/doc/latex/msu-thesis/MSU-thesis-testfile.pdf b/Master/texmf-dist/doc/latex/msu-thesis/MSU-thesis-testfile.pdf
deleted file mode 100644
index 695e4bdb4d9..00000000000
--- a/Master/texmf-dist/doc/latex/msu-thesis/MSU-thesis-testfile.pdf
+++ /dev/null
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/msu-thesis/README b/Master/texmf-dist/doc/latex/msu-thesis/README
index 20da51ceea2..cfd3bffd0fb 100644
--- a/Master/texmf-dist/doc/latex/msu-thesis/README
+++ b/Master/texmf-dist/doc/latex/msu-thesis/README
@@ -1,4 +1,4 @@
-MSU Thesis Class Version 1.9 2011/07/22
+MSU Thesis Class Version 2.0 2011/08/25
Copyright 2011 by Alan Munn <amunn@msu.edu>
@@ -11,13 +11,17 @@ all of the functionality of that class.
Installation:
-Put the msu-thesis folder from the latex folder into the latex folder of
-your local texmf tree.
+The msu-thesis class is part of both TeXLive and MikTeX, so you should either already have it or should be able to install it with your package manager.
-Put the msu-thesis folder from the doc folder into the doc folder of
-your local texmf tree.
+If you wish to install it locally, follow the directions below:
-The samples folder inside the doc folder contains a thesis test-file and
+Put msu-thesis.cls and gb4e-compat.tex into
+<local texmf>/tex/latex/msu-thesis
+
+Put msu-thesis.tex, msu-thesis.pdf and the samples folder into
+<local texmf>/doc/latex/msu-thesis
+
+The samples folder contains a thesis test-file and
a template.
This package may be distributed and/or modified under the conditions of
diff --git a/Master/texmf-dist/doc/latex/msu-thesis/msu-thesis.pdf b/Master/texmf-dist/doc/latex/msu-thesis/msu-thesis.pdf
index 16030fe8c91..d415b00998f 100644
--- a/Master/texmf-dist/doc/latex/msu-thesis/msu-thesis.pdf
+++ b/Master/texmf-dist/doc/latex/msu-thesis/msu-thesis.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/msu-thesis/msu-thesis.tex b/Master/texmf-dist/doc/msu-thesis/msu-thesis.tex
index 4b237928283..4b206732a02 100644
--- a/Master/texmf-dist/doc/latex/msu-thesis/msu-thesis.tex
+++ b/Master/texmf-dist/doc/msu-thesis/msu-thesis.tex
@@ -1,7 +1,7 @@
\documentclass[11pt]{article}
\title{\textbf{Using the MSU Thesis Class}}
\author{\textbf{Alan Munn}\\Department of Linguistics and Languages\\\texttt{\href{mailto:amunn@msu.edu}{amunn@msu.edu}}}
-\date{Version 1.9\\July 22, 2011}
+\date{Version 2.0\\August 25, 2011}
\usepackage[T1]{fontenc}
\usepackage[margin=1.25in]{geometry}
\usepackage{titling}
@@ -70,7 +70,7 @@ Formatting a dissertation according to a University's thesis requirements is not
\section{Background}
The MSU Thesis Class is based on the \pkg{memoir} document class. The \pkg{memoir} class is an extensive class that incorporates the functionality of many other packages into it. The class is extensively documented, and the documentation (\pkg{memman.pdf}) should be available with any \TeX\ distribution. I strongly recommend that you familiarize yourself with \pkg{memoir} as you use the present class.
\section{Package Options}
-In addition to any options passed to the \pkg{memoir} class (e.g. |oldfontcommands|; see Section \ref{sec:fonts}), the \pkg{msu-thesis} takes one option to specify the type of degree, (see Table~\ref{degrees}). If no options are specified, a Ph.D. dissertation is assumed.
+In addition to any options passed to the \pkg{memoir} class (e.g. |oldfontcommands|; see Section \ref{sec:fonts}), the \pkg{msu-thesis} takes two options: one to specify the type of degree, (see Table~\ref{degrees}), and one to enable landscape page numbering. If no degree option is specified, a Ph.D. dissertation is assumed.
\begin{table}
\centering
\begin{tabularx}{.8\textwidth}{>{\ttfamily}lX}
@@ -92,9 +92,10 @@ In addition to any options passed to the \pkg{memoir} class (e.g. |oldfontcomman
{[MURP]} & Master in Urban and Regional Planning \\
\bottomrule
\end{tabularx}
-\caption{Package options}\label{degrees}
+\caption{Package degree options}\label{degrees}
\end{table}
-
+\subsection{The \pkg{[lscape]} option}
+The Formatting Guide requires that any lansdscape pages be numbered in landscape mode (i.e. along the long edge of the page) rather than in portrait mode. The |[lscape]| option enables this. The option loads both the \pkg{lscape} package and \pkg{tikz}, and is implemented as a class option so that you are not required to load those packages if they are not needed.
\section{User commands}
In addition to all the user functionality defined by \pkg{memoir}, the \pkg{msu-thesis} class defines six new titling commands, and a command to signal that the document has multiple appendices.
@@ -161,7 +162,21 @@ The \pkg{memoir} class provides commands for single and double spacing (|\Single
The \pkg{memoir} class replicates the functionality of many independent packages, so if you are transferring \LaTeX\ source from other documents using the \pkg{article} class, you may encounter some warnings or errors. The \pkg{memoir} documentation has substantial information about the packages it emulates, and the packages for which it provides equivalent functionality. See Chap. 18 Sec. 24 of the \pkg{memoir} manual for details. Quoting from the manual:
\begin{quote} \pkg{memoir} emulates the following packages: {\sffamily abstract, appendix, array, booktabs, ccaption, chngcntr, crop, dcolumn, delarray, enumerate, epigraph, ifmtarg, ifpdf, index, makeidx, moreverb, needspace, newfile, nextpage, pagenote, patchcmd, parskip, setspace, shortvrb, showidx, tabularx, titleref, tocbibind, tocloft, verbatim}, and {\sffamily verse}. It also provides functions equivalent to those in the following packages, although the class does not prevent you from using them: {\sffamily fancyhdr, framed, geometry, sidecap, subfigure}, and \sffamily{titlesec}.\\\hfill{\normalfont\emph{The Memoir Class} 8th Ed. 2010, p.345}
\end{quote}
+\subsection{Landscape figures and tables}
+If you have large figures and tables that must be rotated, you should use the |[lscape]| option. This enables a pagestyle |lscape| and places the page numbers correctly on the long edge of the page. The option loads the \pkg{lscape} package which provides a |landscape| environment to place the landscape figure in. Before the landscape environment, you need to issue a |\clearpage| command and change the pagestyle to |lscape|, and afterwards, change it back to |plain|. Schematically, then, any landscape pages should be created in the following way.
+
+\begin{quote}
+\begin{lstlisting}
+\clearpage\pagestyle{lscape}
+\begin{landscape}
+ ... your large table(s) or figure(s) here
+\end{landscape}
+\pagestyle{plain}
+\end{lstlisting}
+
+\end{quote}
+The |landscape| environment makes all pages within it landscape, so if you have multiple landscape figures in a row, you can put all of them inside a single |landscape| environment. If you are using \pkg{pdflatex} you can optionally load the \pkg{pdflscape} package, which actually rotates the landscape pages within the pdf document itself.
\subsection{Customizing the look of things}
@@ -188,7 +203,7 @@ The latest copy of \pkg{msu-thesis} will always be available here \url{http://ww
\subsection{Version history}
Previous versions of \pkg{msuthesis} (versions 1.0--1.4b) were created for non-electronic submission and should not be used. Versions 1.5--1.6 (the first electronic submission versions) contained a |\makeabstract| command and a separate |msuabstract| environment. These have been removed as of version 1.7. Users who are upgrading from earlier versions to version 1.7 do not need to change these commands however but their use will trigger a warning.)
\section{Acknowledgements}
-Thanks to Lars Masden, Ulrike Fischer and Peter Wilson for help with setting up parts of the memoir code for versions 1.0-1.4 (now eliminated due to changed requirements). Thanks also to Wolfgang Sternefeld for supplying the \pkg{linguex} spacing fix code, and Matt Husband, Irina Agafonova, and Dmitriy Bryndin for reporting problems during initial testing.
+Thanks to Lars Masden, Ulrike Fischer and Peter Wilson for help with setting up parts of the memoir code for versions 1.0-1.4 (now eliminated due to changed requirements). Thanks to Wolfgang Sternefeld for supplying the \pkg{linguex} spacing fix code, and Leo Liu for the landscape page numbering code, which greatly simplified my original version. Thanks also to Matt Husband, Irina Agafonova, and Dmitriy Bryndin for reporting problems during initial testing.
\appendix
\renewcommand{\thesection}{Appendix \Alph{section}}
diff --git a/Master/texmf-dist/doc/latex/msu-thesis/MSU-thesis-template.pdf b/Master/texmf-dist/doc/msu-thesis/samples/MSU-thesis-template.pdf
index a0436b30bff..8b58013cade 100644
--- a/Master/texmf-dist/doc/latex/msu-thesis/MSU-thesis-template.pdf
+++ b/Master/texmf-dist/doc/msu-thesis/samples/MSU-thesis-template.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/msu-thesis/MSU-thesis-template.tex b/Master/texmf-dist/doc/msu-thesis/samples/MSU-thesis-template.tex
index a1113244e87..86b4c33c58e 100644
--- a/Master/texmf-dist/doc/latex/msu-thesis/MSU-thesis-template.tex
+++ b/Master/texmf-dist/doc/msu-thesis/samples/MSU-thesis-template.tex
@@ -56,7 +56,10 @@
% Force a newpage
\clearpage
-% Make the copyright page
+% Make the copyright page. The Graduate School ridiculously prohibits you
+% from having a copyright page unless you pay ProQuest to register the copyright.
+% This should be illegal, but I didn't make up the rule.
+
%\makecopyrightpage
% If you have a dedication page, uncomment the next command to print the dedication page
@@ -88,7 +91,19 @@ Your acknowledgements here.
\chapter{Your first chapter}
%
-% If you have appendices, they would go here. Comment these lines out if you don't
+% If you have pages that must appear in landscape mode, use the [lscape] option
+% and enclose the pages in a {landscape} environment.
+%\clearpage\pagestyle{lscape} % first clear the page and change the pagestyle
+%\begin{landscape}
+%
+% your landscape table(s) or figure(s) here
+%
+%\end{landscape}
+%\pagestyle{plain} % remember to change the pagestyle back to plain
+%
+%
+% If you have appendices, they would go here.
+% Comment these lines out if you don't
% If you have more than one appendix, uncomment the next line
%\appendicestrue
\makeappendixcover % make the appendix cover page
diff --git a/Master/texmf-dist/doc/latex/msu-thesis/MSU-thesis-testfile.bib b/Master/texmf-dist/doc/msu-thesis/samples/MSU-thesis-testfile.bib
index 52361277c3c..52361277c3c 100644
--- a/Master/texmf-dist/doc/latex/msu-thesis/MSU-thesis-testfile.bib
+++ b/Master/texmf-dist/doc/msu-thesis/samples/MSU-thesis-testfile.bib
diff --git a/Master/texmf-dist/doc/msu-thesis/samples/MSU-thesis-testfile.pdf b/Master/texmf-dist/doc/msu-thesis/samples/MSU-thesis-testfile.pdf
new file mode 100644
index 00000000000..07e3edf1457
--- /dev/null
+++ b/Master/texmf-dist/doc/msu-thesis/samples/MSU-thesis-testfile.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/msu-thesis/MSU-thesis-testfile.tex b/Master/texmf-dist/doc/msu-thesis/samples/MSU-thesis-testfile.tex
index e7ceedd124e..40760c13e2a 100644
--- a/Master/texmf-dist/doc/latex/msu-thesis/MSU-thesis-testfile.tex
+++ b/Master/texmf-dist/doc/msu-thesis/samples/MSU-thesis-testfile.tex
@@ -1,6 +1,9 @@
-\listfiles
+%\listfiles
-\documentclass[]{msu-thesis}
+\documentclass[lscape]{msu-thesis}
+% lscape option is needed for this sample file to show correct placement
+% of page numbers on landscape pages. If you don't have any landscape pages
+% in your document, you don't need to load this option.
\usepackage[T1]{fontenc}
\usepackage{mathptmx}
\usepackage{amsmath}
@@ -12,7 +15,7 @@
\usepackage{lipsum}
\usepackage[T1]{fontenc}
-\usepackage[dvipsnames]{xcolor}
+\usepackage{xcolor}
\usepackage{gb4e}
\usepackage{cgloss}
\usepackage{natbib}
@@ -144,7 +147,46 @@ Men & Women & Monsters\\
\caption{Another sample table.}
\end{table}
\lipsum[8]
+% Now sample page in landscape (need to use [lscape] option for this)
+% First clear the page. Then make the page style {lscape}
+\clearpage\pagestyle{lscape}
+% Enclose landscape pages in the {landscape} environment. Every page within
+% this environment will be landscape. There is no need to enclose each individual
+% figures/tables in the environment if they appear on a set of adjacent landscape
+% pages.
+\begin{landscape}
+\begin{table}
+\centering
+\begin{tabular}{lllllll}
+
+\toprule
+A & B & C & D & E & F & G \\
+\midrule
+821.3827119 & 661.0913922 & 106.3008156 & 474.009513 & 190.8146776 & 788.4459729 & 784.7964852 \\
+863.5891052 & 308.5023091 & 15.97055732 & 319.4531424 & 932.4330525 & 313.8826277 & 574.5100815 \\
+867.7203343 & 343.6538027 & 34.35605188 & 680.5890553 & 538.4341728 & 510.3271094 & 987.7874714 \\
+144.6465988 & 86.30176472 & 145.0166526 & 26.00087715 & 694.0117063 & 556.0943379 & 650.0605751 \\
+269.5656447 & 979.9087235 & 150.7698724 & 715.0255442 & 312.5203237 & 608.58149 & 737.0459961 \\
+361.7660545 & 38.81968682 & 7.788463243 & 789.031736 & 599.306695 & 407.9588464 & 420.3577306 \\
+22.45176377 & 631.7249181 & 266.0566897 & 81.77581697 & 399.0120086 & 460.8922885 & 341.5815705 \\
+486.3650486 & 398.9817682 & 601.8745699 & 912.7856216 & 102.7510937 & 83.25854643 & 655.1995291 \\
+306.8558515 & 672.2668801 & 582.1884719 & 607.9748493 & 126.3316726 & 672.490033 & 754.4823663 \\
+745.6384032 & 369.5763752 & 170.8671329 & 248.2581139 & 994.2369771 & 28.13615151 & 230.6094341 \\
+270.3421307 & 193.6617479 & 374.94621 & 769.6975098 & 342.6845841 & 917.8180557 & 827.1024885 \\
+360.3810025 & 780.7139757 & 415.9038887 & 846.3157501 & 96.64026956 & 954.7160727 & 21.71722262 \\
+487.6847246 & 200.8682708 & 739.9673152 & 395.1695216 & 524.7826343 & 228.4705562 & 39.95541901 \\
+207.8091332 & 300.6871609 & 627.8808013 & 740.4949976 & 128.9558068 & 176.2158891 & 296.1642661 \\
+336.7537922 & 859.907318 & 704.2503641 & 426.845866 & 773.8926695 & 883.1773631 & 64.85043069 \\
+\bottomrule
+\end{tabular}
+
+\caption{Some random data that takes up too much room.}
+\end{table}
+\end{landscape}
+% at the end of the {landscape} environment, make the page style {plain}
+\pagestyle{plain}
+%
% Uncomment this next command if you have more than one appendix
%\appendicestrue
diff --git a/Master/texmf-dist/doc/latex/msu-thesis/unified.bst b/Master/texmf-dist/doc/msu-thesis/samples/unified.bst
index 80d9add02d7..80d9add02d7 100644
--- a/Master/texmf-dist/doc/latex/msu-thesis/unified.bst
+++ b/Master/texmf-dist/doc/msu-thesis/samples/unified.bst
diff --git a/Master/texmf-dist/tex/latex/msu-thesis/msu-thesis.cls b/Master/texmf-dist/tex/latex/msu-thesis/msu-thesis.cls
index ea3942991ea..fbc484b36eb 100644
--- a/Master/texmf-dist/tex/latex/msu-thesis/msu-thesis.cls
+++ b/Master/texmf-dist/tex/latex/msu-thesis/msu-thesis.cls
@@ -70,12 +70,18 @@
% problem when Copyright page was missing. Removed varioref
% and afterpage as required packages.
% Version 1.9b 2011/07/22 Made footnotes \normalsize (new requirement)
-%
+% Version 2.0 2011/08/24 Added lscape pagestyle for placement of page numbers
+% on landscape pages. Implemented as a package option
+% so that people aren't forced to load lscape or tikz
+% if they don't need it. Compatible also with pdflscape
+% for those using pdflatex; fixed problem with some long
+% TOC entries
% Use at your own risk!
% Report bugs/problems/questions to <amunn@msu.edu>
%
\NeedsTeXFormat{LaTeX2e}
-\ProvidesClass{msu-thesis}[2011/07/22 Michigan State University Thesis Class version 1.9b]
+\ProvidesClass{msu-thesis}[2011/08/24 Michigan State University Thesis Class version 2.0]
+\newif\ifmsu@lscape\msu@lscapefalse
\DeclareOption{PhD}{\gdef\@degree{DOCTOR OF PHILOSOPHY}\gdef\@diss{DISSERTATION}}
\DeclareOption{MA}{\gdef\@degree{MASTER OF ARTS}\gdef\@diss{THESIS}}
\DeclareOption{MS}{\gdef\@degree{MASTER OF SCIENCE}\gdef\@diss{THESIS}}
@@ -88,6 +94,9 @@
\DeclareOption{MPP}{\gdef\@degree{MASTER OF PUBLIC POLICY}\gdef\@diss{THESIS}}
\DeclareOption{MSW}{\gdef\@degree{MASTER OF SOCIAL WORK}\gdef\@diss{THESIS}}
\DeclareOption{MURP}{\gdef\@degree{MASTER IN URBAN AND REGIONAL PLANNING}\gdef\@diss{THESIS}}
+\DeclareOption{lscape}{%
+\msu@lscapetrue
+\AtEndDocument{\ClassWarningNoLine{msu-thesis}{You have chosen the [lscape] option. You may need to run latex twice to get landscape page numbering to display correctly}}}
\ExecuteOptions{PhD}
\DeclareOption*{%
@@ -96,6 +105,22 @@
\ProcessOptions
\LoadClass[12pt,oneside,letterpaper]{memoir}[2008/05/27]
\RequirePackage{etex}
+% set up landscape page numbering
+\ifmsu@lscape
+ \RequirePackage{lscape}
+ \RequirePackage{tikz}
+% adjust yshift (in both commands) to meet the thesis office requirements
+% positive values will move the number closer to the bottom of the table
+% 0 seems to satisfy them, though.
+ \makepagestyle{lscape}
+ \makeevenfoot{lscape}{}{\tikz[remember picture,overlay]
+ \node[outer sep=1cm,above,rotate=90,yshift=0] at (current page.east)
+ {\thepage};}{}
+ \makeoddfoot{lscape}{}{\tikz[remember picture,overlay]
+ \node[outer sep=1cm,above,rotate=90,yshift=0] at (current page.east)
+ {\thepage};}{}
+\fi
+
% set up page for MSU Thesis guidelines
\settypeblocksize{9in}{6.5in}{*}
\setlrmargins{1in}{*}{*}
@@ -181,6 +206,7 @@
\renewcommand*{\l@appendix}[2]{%
\l@chapapp{\MakeUppercase{#1}}{#2}{\cftappendixname}} % Format appendix names
\setlength{\cftchapternumwidth}{3em}
+\setrmarg{3.5em} % better wrapping of long titles
%\setlength{\cftbeforechapterskip}{1.0em \@plus\p@}
% MSU requires double spacing between entries in the list of tables, figures etc.