[9219] in Athena Bugs
fixes for mitthesis.sty and cover.tex
daemon@ATHENA.MIT.EDU (Barr3y Jaspan)
Mon Apr 20 18:47:42 1992
Date: Mon, 20 Apr 92 18:47:31 -0400
From: "Barr3y Jaspan" <bjaspan@Athena.MIT.EDU>
To: bugs@Athena.MIT.EDU
The following patches fix a few minor problems in the LaTeX thesis
stuff. Specifcally,
o The phrase "All rights reserved." is not included in the copyright
notice for course VI theses.
o The phrase "and to grant others the right to do so" has been added
to the standard permission clause.
o The second copy of the abstract is not counted as separate pages,
so the numbers work out right.
According to Anne Hunter, these changes are necessary. All standard
disclaimers apply, of course. :-)
Barr3y
*** /mit/thesis/tex/mitthesis.sty Tue Apr 23 10:37:23 1991
--- mitthesis.sty Mon Apr 20 18:32:59 1992
***************
*** 131,137 ****
%% `vi' and `upcase' document style options. Krishna Sethuraman (1990)
\newcount\vithesis
! \def\ds@vi{\advance\vithesis by1}
\vithesis=0
\def\ds@upcase{\typeout{Uppercase cover page.}
--- 131,137 ----
%% `vi' and `upcase' document style options. Krishna Sethuraman (1990)
\newcount\vithesis
! \def\ds@vi{\typeout{Course VI/VIII thesis style.}\advance\vithesis by1}
\vithesis=0
\def\ds@upcase{\typeout{Uppercase cover page.}
***************
*** 289,294 ****
--- 289,308 ----
\def\and{\gdef\@degreeword{degrees} \par and \par}
\def\@degreeword{degree}
+ % The copyright notice stuff is a tremendous mess.
+ %
+ % \@copyrightnotice is used by \maketitle to actually put text on the
+ % page; it defaults to ``Copyright MIT 19xx. All rights reserved.''
+ % \copyrightnoticetext takes an argument and defined \@copyrightnotice
+ % to that argument. \copyrightnotice takes an argument, and calls
+ % \copyrightnoticetext with that argument, preceeded by a copyright
+ % symbol and followed by ``All rights reserved.'' and the standard
+ % permission notice.
+ %
+ % If you use the 'vi' option, \copyrightnoticetext is used to set the
+ % copyright to ``(C) Your Name, Current Year in Roman Numerals.''
+ % followed by the permission notice.
+
% If there is no \copyrightnotice command, it is asssumed that MIT
% holds the copyright. This commands adds the copyright symbol to the
% beginning, and puts the standard permission notice below.
***************
*** 307,318 ****
%% \copyrightnotice{stuff} to copyright to someone else, or
%% \copyrightnoticetext{stuff} to specify the exact text of the copyright
%% notice.
! \ifodd\vithesis \copyrightnotice{\@author,
! \uppercase\expandafter{\romannumeral\@degreeyear}}
%% or just
%%\@degreeyear}}
! \typeout{Copyright given to
! author, permission to copy/distribute given to MIT.}
\else \typeout{Thesis document copyright MIT unless otherwise (manually) specified}
\fi
--- 321,332 ----
%% \copyrightnotice{stuff} to copyright to someone else, or
%% \copyrightnoticetext{stuff} to specify the exact text of the copyright
%% notice.
! \ifodd\vithesis \copyrightnoticetext{\copyright\ \@author,
! \uppercase\expandafter{\romannumeral\@degreeyear}.\par\permission}
%% or just
%%\@degreeyear}}
! \typeout{Copyright given to author,
! permission to copy/distribute given to MIT.}
\else \typeout{Thesis document copyright MIT unless otherwise (manually) specified}
\fi
***************
*** 399,404 ****
--- 413,422 ----
\def\endabstractpage{\end{abstract}\noindent
\unvcopy\@abstractsupervisor \newpage}
+ %% This counter is used to save the page number for the second copy of
+ %% the abstract.
+ \newcounter{savepage}
+
% You can use the titlepage environment to do it all yourself if you
% don't want to use \maketitle. If the titlepage environment, the
% paragraph skip is infinitely stretchable, so if you leave a blank line
***************
*** 415,422 ****
\def\Mit{Massachusetts Institute of Technology}
\def\permission{\par\noindent{\centering
! The author hereby grants to MIT permission to reproduce and \\*
! to distribute copies of this thesis document in whole or in part.}\par}
\def\signature#1#2{\par\noindent#1\dotfill\null\\*
{\raggedleft #2\par}}
--- 433,442 ----
\def\Mit{Massachusetts Institute of Technology}
\def\permission{\par\noindent{\centering
! The author hereby grants to MIT permission to reproduce and to
! distribute copies \\*
! of this thesis document in whole or in part, and to grant others the
! right to do so.}\par}
\def\signature#1#2{\par\noindent#1\dotfill\null\\*
{\raggedleft #2\par}}
*** /mit/thesis/tex/cover.tex Tue Apr 23 10:37:21 1991
--- /tmp/cover.tex Mon Apr 20 18:41:54 1992
***************
*** 1,14 ****
- % -*-latex-*-
- % $Log: cover.tex,v $
- %Revision 1.2 90/05/11 01:01:19 lwvanels
- %fixed abstract pages
- %added acks
- %
- % Revision 1.1 90/02/04 13:41:50 lwvanels
- % Initial revision
- %
- %
-
\title{An Optimizing Compiler for Low-Level Floating Point Operations}
\author{Lucien William Van Elsen}
--- 1,3 ----
***************
*** 49,84 ****
% be more than one page itself. If you need more control over the
% format of the page, you can use the abstract environment, which puts
% the word "Abstract" at the beginning and single spaces its text.
! \newpage
! \pagestyle{empty}
! \begin{abstractpage}
%% You can either \input (*not* \include) your abstract file, or you can put
%% the text of the abstract directly between the \begin{abstractpage} and
%% \end{abstractpage} commands.
\input{abstract}
\end{abstractpage}
- \newpage
! %for duplicate copy
\begin{abstractpage}
\input{abstract}
\end{abstractpage}
\newpage
! \section*{Acknowledgments}
!
! I would like to thank all the members of
! 4\hspace{-.8em}\raisebox{.6em}{\scriptsize th} East for keeping me sane, to my
! parents for supporting me though all of this.
!
! Also to Leslie Lamport and Donald Knuth for \LaTeX{} and \TeX{}, without
! which I would have had much less fun formatting my thesis.
!
! \vfill
! \parbox[t]{\textwidth}{This research was supported in part by Mom and Dad Van
! Elsen, the Coca-Cola and LaVerde's Magic Chocolate-Covered Espresso Bean
! companies, and a grant from the John T and Catherine R MacArthur foundation,
! supplying the needs of runaway geniuses everywhere.}
!
!
!
--- 38,74 ----
% be more than one page itself. If you need more control over the
% format of the page, you can use the abstract environment, which puts
% the word "Abstract" at the beginning and single spaces its text.
!
%% You can either \input (*not* \include) your abstract file, or you can put
%% the text of the abstract directly between the \begin{abstractpage} and
%% \end{abstractpage} commands.
+
+ % First copy: start a new page, and save the page number.
+ \newpage
+ \pagestyle{empty}
+ \setcounter{savepage}{\thepage}
+ \begin{abstractpage}
\input{abstract}
\end{abstractpage}
! % Second copy: start a new page, and reset the page number. This way,
! % the second copy of the abstract is not counted as separate pages.
! \newpage
! \setcounter{page}{\thesavepage}
\begin{abstractpage}
\input{abstract}
\end{abstractpage}
+
\newpage
! %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
! % -*-latex-*-
! % $Log: cover.tex,v $
! %Revision 1.2 90/05/11 01:01:19 lwvanels
! %fixed abstract pages
! %added acks
! %
! % Revision 1.1 90/02/04 13:41:50 lwvanels
! % Initial revision
! %
! %