关键词不能为空

当前您在: 大学查询网 > 大学 >

山东师范大学附中Stanford斯坦福大学博士论文LaTEX模板(免费)

作者:高考题库网
来源:https://bjmy2z.cn/daxue
2020-12-14 13:49
tags:

-

2020年12月14日发(作者:朱由桵)

the addcontentsline works correctly with
% hyperref. Thanks to Peter Sturdza for pointing out this
% Modified 2/14/04 by Emma Pease
% Changed documentation on how to change line spacing
% Modified 6/29/04 by Emma Pease
% Correction to humanitiesthesis definition

% Modified 11/9/2004 by Emma Pease
% Reformatted Signature Page to fit requirements
% Reformatted Title page to fit requirements

% Modified 8/26/2005 by Emma Pease
% Modified language to languagemajor so as not to interfere with
% babel.

% Modifed 10/31/2005 by Emma Pease
% added an optional fourth reader to signature page (Biology)
% added a length signaturespace

% Modified 8/23/2006 by Emma Pease
% added () around names on signature page

% Modified 5/7/2007 by Emma Pease
% redefined @endpart so that blank page after part has page number
% as per thesis office requirements

% Modified 9/17/2008 by Emma Pease
% changed copyright year calculations so September theses are summer

%%%%%
%%%%% PRELIMS
%%%%%

typeout{Document Style Option `suthesis' for latex2e <$$Date: 9/17/2008 $$>.}
typeout{Note that this tries to fulfill the Stanford Thesis
requirements but it is unofficial}

% First thing we do is make sure that report has been loaded. A
% common error is to try to use suthesis as a documentstyle .
@ifundefined{chapter}{@latexerr{The `suthesis' option should be used
with the `report' document style}{You should probably read the
suthesis documentation.}}{}

%%%%%
%%%%% DOCUMEN TATION
%%%%%

longdefcomment#1{}
comme nt{

Example of use:
documentclass{ report}

usepackage{suthesis-2e}
dept{Com puter Science}


begin{document}
title{How to Write Theses
With Two Line Titles}
author{John Henry Candidate}
principaladviser{John Parker}
firstreader{John Green}
secondreader{John BigBooty}
thirdreader{Jane Supernumerary} %if needed
fourthreader{Severus Snape} %if needed

beforepreface
prefacesection{Preface}
This thesis tells you all you need to know about...
prefacesection{Acknowledgments}
I would like to thank...
afterpreface

chapter{Introduction}
...
chapter{Conclusions}
...
appendix
chapter{A Long Proof}
...
bibliographystyle{plain}
bibliography{mybib}
end{document}

Documentation:
This style file modifies the standard report style to follow the
Graduate Degree Support Section of the Registrar's Office's
"Directions for Preparing Doctoral Dissertations". It sets the
margins and interline spacing and disallows page breaks at
hyphens.

The beforepreface command creates the title page, a copyright page
(optionally), and a signature page. Then the user should put
preface section(s), using the prefacesection{section title}
command. The afterpreface command then produces the tables of
contents, tables and figures, and sets things up to start
the

be changed by doing:
setstretch{1.6}
(or whatever you want instead of 1.6)

This command should be put before the begin{document} command but
after loading the packages

You can also set any particular section in singlespacing mode by using
the singlespace environment. For example

begin {quote}
begin{singlespace}
...
end{single space}
end{quote}

makes the quote singlespaced. See the documentation for
for more information.

The example at the beginning shows the 12pt substyle being used. This
seems to give acceptable looking results, but it may be omitted to get
smaller print.

}

%%%%%
%%%%% SETUP DOUBLESPACING
%%%%%

% include for some of the stuff below

RequirePackage{setspace}


% Use 1.3 times the normal baseline-to-baseline skip
setstretch{1.3}


%%%%%
%%%%% SETUP MARGINS AND PENALTIES NEEDED FOR STANFORD THESIS
%%%%%

% We need 1" margins except on the binding edge, where it is 1 1/2"
% Theses may be either single or double sided
if@twoside
setlengthoddsidemargin {36.1p@}
setlengthevensidemargin {0p@}
setlengthmarginparwidth {40p@}
else
setlengthoddsidemargin {36.1p@}
setlengthevensidemargin {36.1p@}
setlengthmarginparwidth {40p@}
fi

marginparsep 10pt
%oddsidemargin 0.5in evensidemargin 0in
%marginparwidth 40pt


topmargin 0pt headsep .5in
textheight 8.1in textwidth 6in

% Disallow page breaks at hyphens (this will give some underfull vbox's,
% so an alternative is to use brokenpenalty=100 and manually search
% for and fix such page breaks)
brokenpenalty=100 00

%%%%%
%%%%% SETUP COMMANDS PECULIAR TO THESES
%%%%%

% author, title are defined in report; here are the rest of the
% front matter defining macros
defdept#1{gdef@dep t{#1}}
defadvis@r{Adviser} % default spellingdefprincipaladviser#1{gdef@principaladviser{#1}}
defprincipaladvisor#1{gdef@principaladviser{#1 }gdefadvis@r{Advisor}}
defcoprincipaladvisor#1{ gdef@coprincipaladviser{#1}gdefadvis@r{Co-Advisor} }
defcoprincipaladviser#1{gdef@coprincipaladvis er{#1}gdefadvis@r{Co-Adviser}}
deffirstreader#1 {gdef@firstreader{#1}}
defsecondreader#1{gdef@s econdreader{#1}}
defthirdreader#1{gdef@thirdrea der{#1}}
deffourthreader#1{gdef@fourthreader{#1 }}
defsubmitdate#1{gdef@submitdate{#1}}
defc opyrightyear#1{gdef@copyrightyear{#1}} % author, title in report
% needed only for dual language departments to choose the language
deflanguagem ajor#1{gdef@languagemajor{#1}} def@language{babel}
def@title{}def@author{}def@dept{computer scien ce}
def@principaladviser{}def@firstreader{*}def @secondreader{*}
def@coprincipaladviser{*}
d ef@thirdreader{*}
def@fourthreader{*}
def@su bmitdate{ifcasethemonthor
Januaryor Februaryor Marchor Aprilor Mayor Juneor
Julyor Augustor Septemberor Octoberor Novemberor Decemberfi
space
umbertheyear}
% Stanford says that Fall quarter theses should have the

next year as the
% copyright year
ifnummonth>9
@tempcnta=year advance@tempcnta by 1
edef@copyrightyear{umberthe@tempcnta}
else
def@copyrighty ear{
umbertheyear}
fi

ewififcopyright
ewififfigurespage
ewififtablespage

ewififthesiscopyright
copyrighttrue figurespagetrue tablespagetrue
thesiscopyrightt rue

def@standardsub{submitted to the department of uppercaseexpandafter{@dept}
and the committee on graduate studies}
def@stan dardend{}

defcommitteethesis{let@whichsub=@ committeesub}
defprogramthesis{let@whichsub=@pr ogramsub}
defeducationthesis{let@whichsub=@educ ationsub}
defbusinessthesis{let@whichsub=@busin esssub}
deflawthesis{let@whichsub=@lawsub}
d efhumanitiesthesis{let@whichsub=@humanitiessub%
let@whichend=@humanitiesend}
defspecialthesis{ let@whichsub=@specialsub%
let@whichend=@special end}
defindustrialthesis{let@whichsub=@industri alsub%
let@whichend=@industrialend}
defdualt hesis{let@whichsub=@dualsub%
let@whichend=@dual end}


def@committeesub{SUBMITTED TO THE COMMITTEE ON uppercaseexpandafter{@dept}
AND THE COMMITTEE ON GRADUATE STUDIES}
def@programsub{SUBMITTED TO THE PROGRAM IN uppercaseexpandafter{@dept}
AND THE COMMITTEE ON GRADUATE STUDIES}
def@educationsub{SUBMITTED TO THE SCHOOL OF EDUCATION
AND THE COMMITTEE ON GRADUATE STUDIES}
def@businesssub{SUBMITTED TO THE GRADUATE SCHOOL OF BUSINESS AND THE
COMMITTEE ON GRADUATE STUDIES}
def@lawsub{SUBMITTED TO THE SCHOOL OF LAW
AND THE COMMITTEE ON GRADUATE STUDIES}

def@humanitiessub{SUBMITTED TO THE DEPARTMENT OF uppercaseexpandafter{@dept},
THE GRADUATE PROGRAM IN HUMANITIES,
AND THE COMMITTEE ON GRADUATE STUDIES}
def@humanitiesend{IN uppercaseexpandafter{@dept} AND HUMANITIES}

def@specialsub{SUBMITTED TO THE COMMITTEE ON GRADUATE STUDIES}
def@specialend{IN uppercaseexpandafter {@dept}}


def@dualsub{SUBMITTED TO THE DEPARTMENT OF uppercaseexpandafter{@dept}
AND THE COMMITTEE ON GRADUATE STUDIES}
def@dualend{IN uppercaseexpandafter{@l anguagemajor}}


let@whichend=@standarden d
let@whichsub=@standardsub


deftitle p{%
thispagestyle{empty}%

ullvskip1in%
begin{center}
largeuppercaseexpandafter{@title}
end{center}
vfill
begin{center}
large
% sc a dissertation
% lowercaseexpandafter{@whichsub}
% of stanford university
% in partial fulfillment of the requirements
% for the degree of
% doctor of philosophy uppercaseexpandafter{@whichend}
A DISSERTATION
uppercaseexpandafter{@whichsub}
OF STANFORD UNIVERSITY
IN PARTIAL FULFILLMENT OF THE REQUIREMENTS


FOR THE DEGREE OF
DOCTOR OF PHILOSOPHY uppercaseexpandafter{@whichend}
end{center}
vfill
begin{center}

m @author
@submitdate
end{center}vskip.5in
ewp age}

defthesiscopyrightpage{%

ullvfill
begin{center}
large
copyright Copyright by @author @copyrightyear
All Rights Reserved
end{center}
vfill
ewpage}

deftradcopyrightpage{%

ullvfill
begin{center}
large
Copyright copyright @copyrightyear by @author
All Rights Reserved
end{center}
vfill
ewpage}




ewlength{signa turespace}
setlength{signaturespace}{.5in}
< br>
longdefsignature#1{%
begin{flushright}begin{minipage}{5in}
parindent=0pt
I certify that I have read this dissertation and that, in my opinion,
it is fully adequate in scope and quality as a dissertation for the degree
of Doctor of Philosophy.
par
vspac e{signaturespace}
%hbox to 4in{hfilshortstack{vrule width 3in height 0.4pt #1}}
hbox to 5in{hfilbegin{tabular}{@{}l@{}}vrule width 3in height
0.4pt depth 0pt #1end{tabular}}
e nd{minipage}
end{flushright}}

defsignatu repage{%
signature{(@principaladviser)quad Principal advis@r}
vfill
% if second principal advisor
if*@coprincipaladviser else
signature{(@coprincipaladviser)quad Principal advis@r}
vfillfi
if*@firstreader else
signature{(@firstreader)}
vfillfi
if*@secondreader else
signature{(@secondreader)}
vfillfi
% if thirdreader then do signature@thirdreader vfill
if*@thirdreader else
signature{(@thirdreader)}
vfillfi
% if fourthreader then do signature@fourthreader vfill
if*@fourthreader else
signature{(@fourthreader)}
vfillfi
begin{flushright}
begin{minipage}{5in}
Approved for the University Committee on Graduate
vspace{.5in}
% hbox to 4in{hfilshortstack{vrule width 3in height 0.4pt}}
end{minipage}
end{flushright}}

defbeforepreface{
pagenumbering{roman}
pagestyle{plain}
titlep
ifco pyrightifthesiscopyrightthesiscopyrightpageelsetra dcopyrightpagefifi
signaturepage
cleardoublepage}


defprefacesection#1{%
chapter*{#1}
addcontentsline{toc}{chapt er}{#1}}

defafterpreface{
ewpage
tableofcontents
iftablespage
listoftables
fi
iffigurespage
listoffigures
fi
cleardoublepage
pagenumbering{arabic}
pagestyle{headings}}

% Redefine thebibliography to go to a new page and put an entry in the
% table of contents
let@ld
< br>

thebibliographythebibliography

en ewcommand{thebibliography}[1]{
ewpage
@ldthebibliography{#1}%
addcontentsline{toc}{ch apter}{bibname}}

% redefine @endpart so the blank page after part has a page number
def@endpart{vfil
ewpage
if@twoside
if@openright

ull
thispagestyle{plain}%

ewpage
fi
fi
if@tempswa
twocolumn
fi}


% Start out normal
pagestyle{headings}


-


-


-


-


-


-


-


-



本文更新与2020-12-14 13:49,由作者提供,不代表本网站立场,转载请注明出处:https://bjmy2z.cn/daxue/36391.html

Stanford斯坦福大学博士论文LaTEX模板(免费)的相关文章