From 4be602aabb747be11a542f7d567a76e126ecef88 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 20 Sep 2008 00:34:07 +0000 Subject: new latex package psu-thesis (17sep08) git-svn-id: svn://tug.org/texlive/trunk@10647 c570f23f-e606-0410-a88d-b1316a301751 --- .../texmf-dist/bibtex/bst/psu-thesis/psuthesis.bst | 1236 ++++++++++++++++++++ Master/texmf-dist/doc/latex/psu-thesis/README | 414 +++++++ Master/texmf-dist/doc/latex/psu-thesis/manual.pdf | Bin 0 -> 93709 bytes Master/texmf-dist/doc/latex/psu-thesis/manual.tex | 426 +++++++ .../texmf-dist/doc/latex/psu-thesis/mssample.pdf | Bin 0 -> 103509 bytes .../texmf-dist/doc/latex/psu-thesis/mssample.tex | 180 +++ .../texmf-dist/doc/latex/psu-thesis/phdsample.pdf | Bin 0 -> 94925 bytes .../texmf-dist/doc/latex/psu-thesis/phdsample.tex | 185 +++ .../texmf-dist/tex/latex/psu-thesis/psu-thesis.sty | 799 +++++++++++++ Master/tlpkg/bin/tlpkg-ctan-check | 2 +- Master/tlpkg/tlpsrc/collection-publishers.tlpsrc | 1 + Master/tlpkg/tlpsrc/psu-thesis.tlpsrc | 2 + 12 files changed, 3244 insertions(+), 1 deletion(-) create mode 100644 Master/texmf-dist/bibtex/bst/psu-thesis/psuthesis.bst create mode 100644 Master/texmf-dist/doc/latex/psu-thesis/README create mode 100644 Master/texmf-dist/doc/latex/psu-thesis/manual.pdf create mode 100644 Master/texmf-dist/doc/latex/psu-thesis/manual.tex create mode 100644 Master/texmf-dist/doc/latex/psu-thesis/mssample.pdf create mode 100644 Master/texmf-dist/doc/latex/psu-thesis/mssample.tex create mode 100644 Master/texmf-dist/doc/latex/psu-thesis/phdsample.pdf create mode 100644 Master/texmf-dist/doc/latex/psu-thesis/phdsample.tex create mode 100644 Master/texmf-dist/tex/latex/psu-thesis/psu-thesis.sty create mode 100644 Master/tlpkg/tlpsrc/psu-thesis.tlpsrc (limited to 'Master') diff --git a/Master/texmf-dist/bibtex/bst/psu-thesis/psuthesis.bst b/Master/texmf-dist/bibtex/bst/psu-thesis/psuthesis.bst new file mode 100644 index 00000000000..0118a534d93 --- /dev/null +++ b/Master/texmf-dist/bibtex/bst/psu-thesis/psuthesis.bst @@ -0,0 +1,1236 @@ +%% +%% This is file `try2.bst', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% merlin.mbs (with options: `,seq-no,nm-revf,dt-end,yr-com,tit-qq,atit-u,jxper,vnum-nr,volp-com,jwdpg,pp-last,jwdvol,pre-edn,isbn,issn,edby,blk-com,in-x,fin-bare,pp,xedn,etal-it,nfss') +%% ---------------------------------------- +%% *** Style File for Penn State Theses by Matt Floros *** +%% +%% Copyright 1994-1999 Patrick W Daly + % =============================================================== + % IMPORTANT NOTICE: + % This bibliographic style (bst) file has been generated from one or + % more master bibliographic style (mbs) files, listed above. + % + % This generated file can be redistributed and/or modified under the terms + % of the LaTeX Project Public License Distributed from CTAN + % archives in directory macros/latex/base/lppl.txt; either + % version 1 of the License, or any later version. + % =============================================================== + % Name and version information of the main mbs file: + % \ProvidesFile{merlin.mbs}[1999/05/28 3.89 (PWD)] + % For use with BibTeX version 0.99a or later + %------------------------------------------------------------------- + % This bibliography style file is intended for texts in ENGLISH + % This is a numerical citation style, and as such is standard LaTeX. + % It requires no extra package to interface to the main text. + % The form of the \bibitem entries is + % \bibitem{key}... + % Usage of \cite is as follows: + % \cite{key} ==>> [#] + % \cite[chap. 2]{key} ==>> [#, chap. 2] + % where # is a number determined by the ordering in the reference list. + % The order in the reference list is that by which the works were originally + % cited in the text, or that in the database. + %--------------------------------------------------------------------- + +ENTRY + { address + author + booktitle + chapter + edition + editor + howpublished + institution + isbn + issn + journal + key + month + note + number + organization + pages + publisher + school + series + title + type + volume + year + } + {} + { label } + +INTEGERS { output.state before.all mid.sentence after.sentence after.block } + +FUNCTION {init.state.consts} +{ #0 'before.all := + #1 'mid.sentence := + #2 'after.sentence := + #3 'after.block := +} + +STRINGS { s t } + +FUNCTION {output.nonnull} +{ 's := + output.state mid.sentence = + { ", " * write$ } + { output.state after.block = + { add.period$ write$ + newline$ + "\newblock " write$ + } + { output.state before.all = + 'write$ + { add.period$ " " * write$ } + if$ + } + if$ + mid.sentence 'output.state := + } + if$ + s +} + +FUNCTION {output} +{ duplicate$ empty$ + 'pop$ + 'output.nonnull + if$ +} + +FUNCTION {output.check} +{ 't := + duplicate$ empty$ + { pop$ "empty " t * " in " * cite$ * warning$ } + 'output.nonnull + if$ +} + +FUNCTION {fin.entry} +{ duplicate$ empty$ + 'pop$ + 'write$ + if$ + newline$ +} + +FUNCTION {new.block} +{ output.state before.all = + 'skip$ + { after.block 'output.state := } + if$ +} + +FUNCTION {new.sentence} +{ output.state after.block = + 'skip$ + { output.state before.all = + 'skip$ + { after.sentence 'output.state := } + if$ + } + if$ +} + +FUNCTION {add.blank} +{ " " * before.all 'output.state := +} + +FUNCTION {date.block} +{ + skip$ +} + +FUNCTION {not} +{ { #0 } + { #1 } + if$ +} + +FUNCTION {and} +{ 'skip$ + { pop$ #0 } + if$ +} + +FUNCTION {or} +{ { pop$ #1 } + 'skip$ + if$ +} + +FUNCTION {non.stop} +{ duplicate$ + "}" * add.period$ + #-1 #1 substring$ "." = +} + +FUNCTION {new.block.checka} +{ empty$ + 'skip$ + 'new.block + if$ +} + +FUNCTION {new.block.checkb} +{ empty$ + swap$ empty$ + and + 'skip$ + 'new.block + if$ +} + +FUNCTION {new.sentence.checka} +{ empty$ + 'skip$ + 'new.sentence + if$ +} + +FUNCTION {new.sentence.checkb} +{ empty$ + swap$ empty$ + and + 'skip$ + 'new.sentence + if$ +} + +FUNCTION {field.or.null} +{ duplicate$ empty$ + { pop$ "" } + 'skip$ + if$ +} + +FUNCTION {emphasize} +{ duplicate$ empty$ + { pop$ "" } + { "\emph{" swap$ * "}" * } + if$ +} + + +FUNCTION {capitalize} +{ "u" change.case$ "t" change.case$ } + +FUNCTION {space.word} +{ " " swap$ * " " * } + + % Here are the language-specific definitions for explicit words. + % Each function has a name bbl.xxx where xxx is the English word. + % The language selected here is ENGLISH +FUNCTION {bbl.and} +{ "and"} + +FUNCTION {bbl.etal} +{ "et~al." } + +FUNCTION {bbl.editors} +{ "editors" } + +FUNCTION {bbl.editor} +{ "editor" } + +FUNCTION {bbl.edby} +{ "edited by" } + +FUNCTION {bbl.edition} +{ "edition" } + +FUNCTION {bbl.volume} +{ "volume" } + +FUNCTION {bbl.of} +{ "of" } + +FUNCTION {bbl.number} +{ "number" } + +FUNCTION {bbl.nr} +{ "no." } + +FUNCTION {bbl.in} +{ "in" } + +FUNCTION {bbl.pages} +{ "pp." } + +FUNCTION {bbl.page} +{ "p." } + +FUNCTION {bbl.chapter} +{ "chapter" } + +FUNCTION {bbl.techrep} +{ "Technical Report" } + +FUNCTION {bbl.mthesis} +{ "Master's thesis" } + +FUNCTION {bbl.phdthesis} +{ "Ph.D. thesis" } + +MACRO {jan} {"January"} + +MACRO {feb} {"February"} + +MACRO {mar} {"March"} + +MACRO {apr} {"April"} + +MACRO {may} {"May"} + +MACRO {jun} {"June"} + +MACRO {jul} {"July"} + +MACRO {aug} {"August"} + +MACRO {sep} {"September"} + +MACRO {oct} {"October"} + +MACRO {nov} {"November"} + +MACRO {dec} {"December"} + +MACRO {acmcs} {"ACM Computing Surveys"} + +MACRO {acta} {"Acta Informatica"} + +MACRO {cacm} {"Communications of the ACM"} + +MACRO {ibmjrd} {"IBM Journal of Research and Development"} + +MACRO {ibmsj} {"IBM Systems Journal"} + +MACRO {ieeese} {"IEEE Transactions on Software Engineering"} + +MACRO {ieeetc} {"IEEE Transactions on Computers"} + +MACRO {ieeetcad} + {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"} + +MACRO {ipl} {"Information Processing Letters"} + +MACRO {jacm} {"Journal of the ACM"} + +MACRO {jcss} {"Journal of Computer and System Sciences"} + +MACRO {scp} {"Science of Computer Programming"} + +MACRO {sicomp} {"SIAM Journal on Computing"} + +MACRO {tocs} {"ACM Transactions on Computer Systems"} + +MACRO {tods} {"ACM Transactions on Database Systems"} + +MACRO {tog} {"ACM Transactions on Graphics"} + +MACRO {toms} {"ACM Transactions on Mathematical Software"} + +MACRO {toois} {"ACM Transactions on Office Information Systems"} + +MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"} + +MACRO {tcs} {"Theoretical Computer Science"} + + +INTEGERS { nameptr namesleft numnames } + +FUNCTION {format.names} +{ 's := + "" 't := + #1 'nameptr := + s num.names$ 'numnames := + numnames 'namesleft := + { namesleft #0 > } + { s nameptr + "{vv~}{ll}{, jj}{, ff}" format.name$ + 't := + nameptr #1 > + { + namesleft #1 > + { ", " * t * } + { + numnames #2 > + { "," * } + 'skip$ + if$ + s nameptr "{ll}" format.name$ duplicate$ "others" = + { 't := } + { pop$ } + if$ + t "others" = + { + " " * bbl.etal emphasize * + } + { bbl.and + space.word * t * + } + if$ + } + if$ + } + 't + if$ + nameptr #1 + 'nameptr := + namesleft #1 - 'namesleft := + } + while$ +} + +FUNCTION {format.names.ed} +{ 's := + "" 't := + #1 'nameptr := + s num.names$ 'numnames := + numnames 'namesleft := + { namesleft #0 > } + { s nameptr + "{ff~}{vv~}{ll}{, jj}" + format.name$ + 't := + nameptr #1 > + { + namesleft #1 > + { ", " * t * } + { + numnames #2 > + { "," * } + 'skip$ + if$ + s nameptr "{ll}" format.name$ duplicate$ "others" = + { 't := } + { pop$ } + if$ + t "others" = + { + + " " * bbl.etal emphasize * + } + { bbl.and + space.word * t * + } + if$ + } + if$ + } + 't + if$ + nameptr #1 + 'nameptr := + namesleft #1 - 'namesleft := + } + while$ +} + +FUNCTION {format.authors} +{ author empty$ + { "" } + { author format.names } + if$ +} + +FUNCTION {format.editors} +{ editor empty$ + { "" } + { editor format.names + ", " * + editor num.names$ #1 > + 'bbl.editors + 'bbl.editor + if$ + * + } + if$ +} + +FUNCTION {format.in.editors} +{ editor empty$ + { "" } + { editor format.names.ed + } + if$ +} + +FUNCTION {format.isbn} +{ isbn empty$ + { "" } + { + "ISBN " isbn * } + if$ +} + +FUNCTION {format.issn} +{ issn empty$ + { "" } + { + "ISSN " issn * } + if$ +} + +FUNCTION {format.note} +{ + note empty$ + { "" } + { note #1 #1 substring$ + duplicate$ "{" = + 'skip$ + { output.state mid.sentence = + { "l" } + { "u" } + if$ + change.case$ + } + if$ + note #2 global.max$ substring$ * + } + if$ +} + +FUNCTION {format.title} +{ title empty$ + { "" } + { title + "\enquote{" swap$ * + non.stop + { ",} " * } + { "} " * } + if$ + } + if$ +} + +FUNCTION {end.quote.title} +{ title empty$ + 'skip$ + { before.all 'output.state := } + if$ +} + +FUNCTION {output.bibitem} +{ newline$ + "\bibitem{" write$ + cite$ write$ + "}" write$ + newline$ + "" + before.all 'output.state := +} + +FUNCTION {n.dashify} +{ + 't := + "" + { t empty$ not } + { t #1 #1 substring$ "-" = + { t #1 #2 substring$ "--" = not + { "--" * + t #2 global.max$ substring$ 't := + } + { { t #1 #1 substring$ "-" = } + { "-" * + t #2 global.max$ substring$ 't := + } + while$ + } + if$ + } + { t #1 #1 substring$ * + t #2 global.max$ substring$ 't := + } + if$ + } + while$ +} + +FUNCTION {word.in} +{ "" } + +FUNCTION {format.date} +{ year empty$ + { month empty$ + { "" } + { "there's a month but no year in " cite$ * warning$ + month + } + if$ + } + { month empty$ + 'year + { month " " * year * } + if$ + } + if$ + duplicate$ empty$ + 'skip$ + { + before.all 'output.state := + ", " swap$ * + } + if$ +} + +FUNCTION {format.btitle} +{ title emphasize +} + +FUNCTION {tie.or.space.connect} +{ duplicate$ text.length$ #3 < + { "~" } + { " " } + if$ + swap$ * * +} + +FUNCTION {either.or.check} +{ empty$ + 'pop$ + { "can't use both " swap$ * " fields in " * cite$ * warning$ } + if$ +} + +FUNCTION {format.bvolume} +{ volume empty$ + { "" } + { bbl.volume volume tie.or.space.connect + series empty$ + 'skip$ + { bbl.of space.word * series emphasize * } + if$ + "volume and number" number either.or.check + } + if$ +} + +FUNCTION {format.number.series} +{ volume empty$ + { number empty$ + { series field.or.null } + { output.state mid.sentence = + { bbl.number } + { bbl.number capitalize } + if$ + number tie.or.space.connect + series empty$ + { "there's a number but no series in " cite$ * warning$ } + { bbl.in space.word * series * } + if$ + } + if$ + } + { "" } + if$ +} + + +FUNCTION {format.edition} +{ edition empty$ + { "" } + { output.state mid.sentence = + { edition "l" change.case$ " " * bbl.edition * } + { edition "t" change.case$ " " * bbl.edition * } + if$ + } + if$ +} + +INTEGERS { multiresult } + +FUNCTION {multi.page.check} +{ 't := + #0 'multiresult := + { multiresult not + t empty$ not + and + } + { t #1 #1 substring$ + duplicate$ "-" = + swap$ duplicate$ "," = + swap$ "+" = + or or + { #1 'multiresult := } + { t #2 global.max$ substring$ 't := } + if$ + } + while$ + multiresult +} + +FUNCTION {format.pages} +{ pages empty$ + { "" } + { pages multi.page.check + { bbl.pages pages n.dashify tie.or.space.connect } + { bbl.page pages tie.or.space.connect } + if$ + } + if$ +} + +FUNCTION {format.journal.pages} +{ pages empty$ + 'skip$ + { duplicate$ empty$ + { pop$ format.pages } + { + ", " * + pages multi.page.check + { bbl.pages } + { bbl.page } + if$ + "~" * * + pages n.dashify * + } + if$ + } + if$ +} + +FUNCTION {format.vol.num.pages} +{ volume field.or.null + volume empty$ + 'skip$ + { bbl.volume "~" * swap$ * } + if$ + number empty$ + 'skip$ + { + ", " bbl.nr * number tie.or.space.connect * + volume empty$ + { "there's a number but no volume in " cite$ * warning$ } + 'skip$ + if$ + } + if$ +} + +FUNCTION {format.chapter.pages} +{ chapter empty$ + { "" } + { type empty$ + { bbl.chapter } + { type "l" change.case$ } + if$ + chapter tie.or.space.connect + } + if$ +} + +FUNCTION {format.in.ed.booktitle} +{ booktitle empty$ + { "" } + { editor empty$ + { word.in booktitle emphasize * } + { word.in booktitle emphasize * + ", " * + bbl.edby + * " " * + format.in.editors * + } + if$ + } + if$ +} + +FUNCTION {empty.misc.check} +{ author empty$ title empty$ howpublished empty$ + month empty$ year empty$ note empty$ + and and and and and + { "all relevant fields are empty in " cite$ * warning$ } + 'skip$ + if$ +} + +FUNCTION {format.thesis.type} +{ type empty$ + 'skip$ + { pop$ + type "t" change.case$ + } + if$ +} + +FUNCTION {format.tr.number} +{ type empty$ + { bbl.techrep } + 'type + if$ + number empty$ + { "t" change.case$ } + { number tie.or.space.connect } + if$ +} + +FUNCTION {format.article.crossref} +{ + key empty$ + { journal empty$ + { "need key or journal for " cite$ * " to crossref " * crossref * + warning$ + "" + } + { word.in journal emphasize * } + if$ + } + { word.in key * " " *} + if$ + " \cite{" * crossref * "}" * +} + +FUNCTION {format.crossref.editor} +{ editor #1 "{vv~}{ll}" format.name$ + editor num.names$ duplicate$ + #2 > + { pop$ + " " * bbl.etal emphasize * + } + { #2 < + 'skip$ + { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" = + { + " " * bbl.etal emphasize * + } + { bbl.and space.word * editor #2 "{vv~}{ll}" format.name$ + * } + if$ + } + if$ + } + if$ +} + +FUNCTION {format.book.crossref} +{ volume empty$ + { "empty volume in " cite$ * "'s crossref of " * crossref * warning$ + word.in + } + { bbl.volume volume tie.or.space.connect + bbl.of space.word * + } + if$ + editor empty$ + editor field.or.null author field.or.null = + or + { key empty$ + { series empty$ + { "need editor, key, or series for " cite$ * " to crossref " * + crossref * warning$ + "" * + } + { series emphasize * } + if$ + } + { key * } + if$ + } + { format.crossref.editor * } + if$ + " \cite{" * crossref * "}" * +} + +FUNCTION {format.incoll.inproc.crossref} +{ + editor empty$ + editor field.or.null author field.or.null = + or + { key empty$ + { booktitle empty$ + { "need editor, key, or booktitle for " cite$ * " to crossref " * + crossref * warning$ + "" + } + { word.in booktitle emphasize * } + if$ + } + { word.in key * " " *} + if$ + } + { word.in format.crossref.editor * " " *} + if$ + " \cite{" * crossref * "}" * +} + +FUNCTION {format.org.or.pub} +{ 't := + "" + address empty$ t empty$ and + 'skip$ + { + t empty$ + { address empty$ + 'skip$ + { address * } + if$ + } + { t * + address empty$ + 'skip$ + { ", " * address * } + if$ + } + if$ + } + if$ +} + +FUNCTION {format.publisher.address} +{ publisher empty$ + { "empty publisher in " cite$ * warning$ + "" + } + { publisher } + if$ + format.org.or.pub +} + +FUNCTION {format.organization.address} +{ organization empty$ + { "" } + { organization } + if$ + format.org.or.pub +} + +FUNCTION {article} +{ output.bibitem + format.authors "author" output.check + format.title "title" output.check + end.quote.title + crossref missing$ + { journal + purify$ + emphasize + "journal" output.check + format.vol.num.pages output + } + { format.article.crossref output.nonnull + format.pages output + } + if$ + format.journal.pages + format.issn output + format.note output + format.date "year" output.check + fin.entry +} + +FUNCTION {book} +{ output.bibitem + author empty$ + { format.editors "author and editor" output.check + } + { format.authors output.nonnull + crossref missing$ + { "author and editor" editor either.or.check } + 'skip$ + if$ + } + if$ + format.btitle "title" output.check + crossref missing$ + { format.bvolume output + format.number.series output + format.edition output + format.publisher.address output + } + { + format.book.crossref output.nonnull + } + if$ + format.isbn output + format.note output + format.date "year" output.check + fin.entry +} + +FUNCTION {booklet} +{ output.bibitem + format.authors output + format.title "title" output.check + end.quote.title + howpublished output + address output + format.isbn output + format.note output + format.date output + fin.entry +} + +FUNCTION {inbook} +{ output.bibitem + author empty$ + { format.editors "author and editor" output.check + } + { format.authors output.nonnull + crossref missing$ + { "author and editor" editor either.or.check } + 'skip$ + if$ + } + if$ + format.btitle "title" output.check + crossref missing$ + { + format.bvolume output + format.chapter.pages "chapter and pages" output.check + format.number.series output + format.edition output + format.publisher.address output + } + { + format.chapter.pages "chapter and pages" output.check + format.book.crossref output.nonnull + } + if$ + crossref missing$ + { format.isbn output } + 'skip$ + if$ + format.pages "pages" output.check + format.note output + format.date "year" output.check + fin.entry +} + +FUNCTION {incollection} +{ output.bibitem + format.authors "author" output.check + format.title "title" output.check + end.quote.title + crossref missing$ + { format.in.ed.booktitle "booktitle" output.check + format.bvolume output + format.number.series output + format.edition output + format.chapter.pages output + format.publisher.address output + format.isbn output + } + { format.incoll.inproc.crossref output.nonnull + format.chapter.pages output + } + if$ + format.pages "pages" output.check + format.note output + format.date "year" output.check + fin.entry +} + +FUNCTION {inproceedings} +{ output.bibitem + format.authors "author" output.check + format.title "title" output.check + end.quote.title + crossref missing$ + { format.in.ed.booktitle "booktitle" output.check + format.bvolume output + format.number.series output + publisher empty$ + { format.organization.address output } + { organization output + format.publisher.address output + } + if$ + format.isbn output + format.issn output + } + { format.incoll.inproc.crossref output.nonnull + format.pages output + } + if$ + format.note output + format.date "year" output.check + fin.entry +} + +FUNCTION {conference} { inproceedings } + +FUNCTION {manual} +{ output.bibitem + author empty$ + { organization empty$ + 'skip$ + { organization output.nonnull + address output + } + if$ + } + { format.authors output.nonnull } + if$ + format.btitle "title" output.check + author empty$ + { organization empty$ + { + address output + } + 'skip$ + if$ + } + { + organization output + address output + } + if$ + format.edition output + format.note output + format.date output + fin.entry +} + +FUNCTION {mastersthesis} +{ output.bibitem + format.authors "author" output.check + format.btitle "title" output.check + bbl.mthesis format.thesis.type output.nonnull + school "school" output.check + address output + format.note output + format.date "year" output.check + fin.entry +} + +FUNCTION {misc} +{ output.bibitem + format.authors output + format.title output + end.quote.title + howpublished output + format.note output + format.date output + fin.entry + empty.misc.check +} + +FUNCTION {phdthesis} +{ output.bibitem + format.authors "author" output.check + format.btitle "title" output.check + bbl.phdthesis format.thesis.type output.nonnull + school "school" output.check + address output + format.note output + format.date "year" output.check + fin.entry +} + +FUNCTION {proceedings} +{ output.bibitem + editor empty$ + { organization output } + { format.editors output.nonnull } + if$ + format.btitle "title" output.check + format.bvolume output + format.number.series output + editor empty$ + { publisher empty$ + 'skip$ + { + format.publisher.address output + } + if$ + } + { publisher empty$ + { + format.organization.address output } + { + organization output + format.publisher.address output + } + if$ + } + if$ + format.isbn output + format.issn output + format.note output + format.date "year" output.check + fin.entry +} + +FUNCTION {techreport} +{ output.bibitem + format.authors "author" output.check + format.title "title" output.check + end.quote.title + format.tr.number output.nonnull + institution "institution" output.check + address output + format.note output + format.date "year" output.check + fin.entry +} + +FUNCTION {unpublished} +{ output.bibitem + format.authors "author" output.check + format.title "title" output.check + end.quote.title + format.note "note" output.check + format.date output + fin.entry +} + +FUNCTION {default.type} { misc } + +READ + +STRINGS { longest.label } + +INTEGERS { number.label longest.label.width } + +FUNCTION {initialize.longest.label} +{ "" 'longest.label := + #1 'number.label := + #0 'longest.label.width := +} + +FUNCTION {longest.label.pass} +{ number.label int.to.str$ 'label := + number.label #1 + 'number.label := + label width$ longest.label.width > + { label 'longest.label := + label width$ 'longest.label.width := + } + 'skip$ + if$ +} + +EXECUTE {initialize.longest.label} + +ITERATE {longest.label.pass} + +FUNCTION {begin.bib} +{ preamble$ empty$ + 'skip$ + { preamble$ write$ newline$ } + if$ + "\begin{thebibliography}{" longest.label * "}" * + write$ newline$ + "\newcommand{\enquote}[1]{``#1''}" + write$ newline$ +} + +EXECUTE {begin.bib} + +EXECUTE {init.state.consts} + +ITERATE {call.type$} + +FUNCTION {end.bib} +{ newline$ + "\end{thebibliography}" write$ newline$ +} + +EXECUTE {end.bib} +%% End of customized bst file +%% +%% End of file `try2.bst'. diff --git a/Master/texmf-dist/doc/latex/psu-thesis/README b/Master/texmf-dist/doc/latex/psu-thesis/README new file mode 100644 index 00000000000..ec7ce0db361 --- /dev/null +++ b/Master/texmf-dist/doc/latex/psu-thesis/README @@ -0,0 +1,414 @@ + psu-thesis.sty + Copyright 2008 Matt Floros + +This work may be distributed and/or modified under the +conditions of the LaTeX Project Public License, either version 1.3 +of this license or (at your option) any later version. +The latest version of this license is in + http://www.latex-project.org/lppl.txt +and version 1.3 or later is part of all distributions of LaTeX +version 2005/12/01 or later. + +This work has the LPPL maintenance status `maintained'. + +The Current Maintainer of this work is Matt Floros. + +This work consists of the files psuthesis.sty and psuthesis.bst + +-------------------------------------------------------------------------------- + +Manual for psu-thesis LATEX Style File +Matthew W. Floros +September 17, 2008 + + +Included Files + +manual.tex +manual.pdf +psu-thesis.sty +psu-thesis.bst +mssample.tex +mssample.pdf +phdsample.tex +phdsample.pdf + + +Introduction + +The origin of this style file came directly from my horrible experience trying +to write a technical Master's thesis using "a popular word processor." It was at +that time that I decided that it would be best to bite the bullet and simply +learn TEX and not have to deal with that nightmare again for my PhD thesis. + +Unfortunately, at the time I was writing my Ph.D. thesis, Penn State did not +provide any support for TEX users. Although there were several style files +floating around different departments, they seemed to me as a novice user to +require quite a bit of effort to use them. The style file itself had to be +changed, i.e. lines commented out or uncommented, and there was no +documentation. My goal was to merge together parts of various style files and +make a single package whose features could all be accessed through issuing +simple LATEX commands in the document rather than editing the style file itself. + +I received my PhD in December of 2000 and did the development work on this +package then. I wrote most of this documentation in 2002 and then came back to +it in 2008 when I realized I could upload it to CTAN and make it available to +other people. A fair amount of work went into it and I thought others could +benefit. As of 2000, the Penn State Thesis Office had no interest in having +anything to do with a LATEX style file and only maintained templates for +"popular word processors." I'm sure they still feel the same way. + +Note that I have not reviewed the thesis guidelines since 2000 and they may have +changed. When I submitted my thesis in 2000, it passed Thesis Office scrutiny +using this package. The committee page was contributed from a 2004 thesis, and +incorporated "as-is," with appropriate logic to include it or not. + +There are few guidelines for the main body of the thesis, so nearly all of the +provided commands can be classified as either front matter or back matter. These +commands are used to set up the title page, abstract, appendices, and so forth. +There are some commands which do not fall into these two categories which are +provided at the end. A summary of the commands is provided below. + +Note that the setspace package is a separate LATEX package, not something +developed at PSU. It is a required package because the line spacing and some of +the commands in the psu-thesis style file rely on commands in the setspace style +file. + +To include the style file (and bibliographic style file psuthesis.bst) in your +thesis document, simply issue the command \usepackage{psu-thesis} in the +preamble after the documentclass command and \usepackage{doublespace} command +since many of the psu-thesis commands rely on the doublespace package. It is +also intended to be used with the report document class: + +\documentclass[dvips,11pt,twoside]{report} +\usepackage{doublespace} +\usepackage{psu-thesis} +\bibliographystyle{psuthesis} + +The package was set up with both one-sided and two-sided printing in mind, so +the optional arguments oneside and twoside to the report document class can be +used and the macros provided in this package will adapt accordingly. + + +Package Options + +The following options are available: + +master +doctor +signature +draft + +The first two package options, master and doctor are available which set +defaults for those thesis types: + +master doctor +-------------------------------------------------------------------------------- +Set degree to "Master of Science" Set degree to "Doctor of Philosophy" +Permission to Copy Page Committee Page +List of Tables List of Tables +List of Figures List of Figures + +The signature option will include the signature page, which has since been +supplanted by the committee page. The \includesignature command in the preamble +produces the same effect. + +The draft option is useful for version control of drafts of your thesis while it +is being written. It produces a box with the date the document was produced at +the top of every page, + ++-------------------------------------+ +|Draft: June 26, 2008 at 1:32 am | ++-------------------------------------+ + +You can also place the \draft command in the preamble to activate this feature. + + +Front Matter + +Most of the commands provided are related to the front matter. Commands can be +divided into three groups, commands which set information for the title page, +commands to set up the signature page, and commands to include and format the +other front matter items. + +The front matter definition commands can be issued either in the preamble or +within the document itself. The only command that is required to appear within +the document is the \makefrontmatter command which generates and outputs all of +the frontmatter material based on the other commands issued. Of course if the +commands to create the front matter parts are not in the preamble, they must +appear before the \makefrontmatter command. + + +Title Page Information + +A variety of general information is required for the style file to format the +title page, signature page, and so forth. These commands to input the +information are straightforward. The appropriate information is simply the +argument of the command: + +\title{} thesis title (it should be in all caps; this is not automatic) +\author{} thesis author \dept{} academic department in which thesis is earned +\college{} college the above department belongs to \submitdate{} month and year +of submission/publication of thesis \copyrightyear{} year of publication of +thesis (for title and copyright pages) \degree{} degree being obtained, e.g. +"Doctor of Philosophy" + +The thesis type is set to produce "A Thesis in..." by default but can be changed +to "A Thesis Proposal in..." with the \proposal command or "A Dissertation in" +with the \dissertation command. + +Additionally, the \includecopyrightline command will include a copyright line on +the title page using the copyright year and author information supplied. +Alternatively, the command \includecopyrightpage will cause a separate copyright +page to be output immediately following the title page. Both the title page line +and separate page can be included, but only one is recommended. + + +Signature/Committee Page Information + +The signature and committee pages can be set up with up to six thesis readers +using the \includesignature and \includecommittee commands, respectively. A +suite of commands are included to aid in the formatting of the signature and +committee pages. Headings and spacing are set automatically. The author +information is taken from the \author{} command above. Each reader is added with +a consecutive command, i.e. + +\firstreader{}{} +\secondreader{}{} +\thirdreader{}{} +\fourthreader{}{} +\fifthreader{}{} +\sixthreader{}{} + +Each reader command requires two arguments. The first is the reader's name, +and the second is the title and affiliation of that reader, for example +\firstreader{Isaac Newton}{Professor of Mathematics} would produce + + +------------------------------------------------ ------------------- +Isaac Newton +Professor of Mathematics + +for the signature page and similar without the lines for the committee page. The +signature page is optional, and can be included with \includesignature in the +preamble or the signature package option. It is not numbered, so it can be bound +with the author's personal copy and the page numbers will not differ from the +reference copy. + +Several macros have been defined to format the reader affiliations. First, +macros are defined to identify the professor as assistant, associate, or full +professor: + +\assistprof{} +\assocprof{} +\prof{} + +Additionally, the macro head{} is defined to identify that the reader is the +head of the department. The Thesis Office likes to see both \prof{} and \head{} +for department heads. Macros are provided for additional information as follows: + +Macro Command Text Produced +------------- ------------- +\adviser Thesis Adviser +\coadviser Thesis Co-Adviser +\chair Chair of Committee +\cochair Co-Chair of Committee +\adviserchair Thesis Adviser, Chair of Committee +\coadviserchair Thesis Co-Adviser, Co-Chair of Committee + +These macros are not necessarily of much value since it is nearly as easy to +simply type the appropriate information into the document rather than using the +macros, but several style files I came across contained such shortcuts, so they +were retained in this package. + +For example, either + +\secondreader{Isaac Newton}{\prof{Mathematics}\head{Mathematics} +\adviserchair} + +or + +\secondreader{Isaac Newton}{Professor of Physics \\ +Head of Department of Physics \\ +Thesis Adviser, Chair of Committee} + +would produce + +------------------------------------------------ ------------------- +Isaac Newton +Professor of Physics +Head of Department of Physics +Thesis Adviser, Chair of Committee + + +Permission to Copy Page + +The permission to copy page is produced with the \includepermission command. The +name is taken from the \author entry. No other input is required since the +required text is given in the thesis guide. + + +List of Symbols + +Three macros are included for the List of Symbols. The first, +\listofsymbols[width]{}, causes the List of Symbols to be included in the +frontmatter. The List of Symbols itself is the required argument, which can of +course be entered directly or in a separate file and accessed with an \input or +similar command. + +The second macro is to aid in generating the symbol list and takes the form + +\symbolentry{symbol}{definition} + +The command outputs the symbol and definition in two columns. The definition +column is in paragraph form, so manual line breaking is not necessary. The width +of the symbol column is set by the optional argument [width] in the +\listofsymbols[width]{} command. The default is 1 inch. The definition column +will be the remainder of the page, i.e. \textwidth-width. To change the width in +the middle of the list of symbols, use the command \setsymwidth{width}. It +redefines the symbol width and automatically adjusts the description width to +the remainder of the page. + +By default, the first argument is output in math mode, but plain text symbols +can be created with \mbox{}. For example, \symbolentry{g}{Acceleration due to +Gravity} produces + + +g Acceleration due to gravity + + +Unformatted Front Matter Pages + +The remaining frontmatter pages do not include any formatting, hence commands +are provided for the sole purpose of determining whether to include each page or +not, and placing them in the correct order. They can be defined in any order but +will appear in a specific order when the document is processed. These front +matter items can be included are in two groups, commands which merely include +the associated item, and commands which include the item and define its +contents. The items will be output in the following order if the corresponding +command is present: + +Macro Command Front Matter Item + +\includecopyrightpage Copyright Page +\includepermission Permission to Copy Page (For MS Theses) +\includesignature Signature Page (For PhD Theses) +\includecommittee Committee Page (For PhD Theses) +\dedicationtext{content} Dedication +\abstracttext{content} Abstract + (Table of Contents) +\includelistoffigures List of Figures +\includelistoftables List of Tables +\listofsymbols[wid]{content} List of Symbols +\dedicationtext{content} Dedication +\prefacetext{content} Preface +\acknowltext{content} Acknowledgements +\epigraphtext{content} Epigraph +\frontispiece{content} Frontispiece + +For my thesis the content for each of these was an \include command to include a +separate file, but you can put your actual content in the braces if you like. + + +Back Matter + +There is considerably less back matter than front matter, but unfortunately, the +thesis office wants some of the items to appear differently than the LATEX +defaults. The following macros are provided to format the back matter items to +the thesis office standards. + + +Appendices + +Two commands are provided for inclusion of appendices, \singleappendix and +\appendices. The reason for these is that the thesis office wants a single +appendix to be called "Appendix" and LATEX treats it as a chapter and by default +if the \appendix command was issued, would call it "Appendix A" and would put +"A" in the table of contents. The provided macros \singleappendix and +\appendices format the appendix/appendices to be called "Appendix" in both the +text and the table of contents in the case of a single appendix and have the +letters prefaced by the word "Appendix" in the table of contents in the case of +multiple appendices. + +The appropriate command should be issued, followed by a \chapter command to +provide a title for the appendix, + +\singleappendix \chapter{Appendix name} + +or + +\appendices \chapter{First appendix name} +\chapter{Second appendix name} + +etc. + + +Bibliography Entry + +Unfortunately, the bibliography is also not included in the table of contents by +default. A command is provided to include the bibliography in the table of +contents and single space the list of references. The command is +\includebibliography{}. Unlike the other "include" commands, the +\includebibliography{} command takes an argument which is the bibliography +itself. This is for single space formatting. Simply include the bibliographic +entries as its argument to print out the bibliography. Using LATEX features is +fine, so the command would likely be + +\includebibliography{\bibliography{refs}} + +if BibTEX is used. The psuthesis.bst style file is included for producing a +bibliography with BibTEX. + + +Vita + +A command \vita{} is provided to include a vita/curriculum vitae at the end of +the thesis. It is not required by the thesis office, but many like to include +it. The argument is the vita itself, most likely an \input{} or \include command +linking to a file containing the vita. The macro provides a clean page and the +author name from the front matter. + + +UMI Abstract + +The UMI Abstract is required by the thesis office for PhD theses. UMI keeps your +thesis on file and if you read the fine print, keeps your royalties unless a lot +of people request your thesis in a given year. The UMI abstract is not bound +with the thesis, but it can be placed at the end so a whole separate document is +not required. The command \UMIabstract{} formats the specific header required by +UMI using information from the front matter and includes the abstract supplied +as the argument. The UMI abstract has a word limit (consult the thesis guide for +details), but if the thesis abstract falls within the word limit it can be the +same for both. The abstract is printed without a page number since it is not +bound with the thesis. + + +Numbering by Chapter + +The \numberbychapter command changes the numbering scheme for figures, tables, +and equations to follow the chapters so that they are numbered 1.1, 1.2, 1.3, +... in the first chapter, and 2.1, 2.2, 2.3, ... in the second chapter and so +forth. This command should always be included to follow thesis office +guidelines. Include it in the preamble to activate. + + +Other notes + +There may be other commands hiding in the style file that are not documented +here. These instructions and the sample files were thrown together to try to +make the package usable without people tracking down my email address and asking +me about them. The mssample and phdsample files are provided to show how many of +the features work in for MS and PhD theses. Feel free to look through the .sty +file itself and discover commands I forgot to document in these instructions. If +you know enough about TEX and LATEX to be using them to write a thesis, you can +figure it out. + +Finally, I put together much of the style file by piecing together parts of +other style files that I picked up from various people. Some of the macros +identify who wrote them, and I preserved the original author information if +present, even if I modified the macros. So if there is some piece of code in the +style file that you wrote but isn't credited to you, thank you for your +contribution and it wasn't me who took your name out. + +I hope you find the package helpful, if so, please tell the Thesis Office they +should support LATEX and/or tell your friends about this macro package. diff --git a/Master/texmf-dist/doc/latex/psu-thesis/manual.pdf b/Master/texmf-dist/doc/latex/psu-thesis/manual.pdf new file mode 100644 index 00000000000..dcbb462254e Binary files /dev/null and b/Master/texmf-dist/doc/latex/psu-thesis/manual.pdf differ diff --git a/Master/texmf-dist/doc/latex/psu-thesis/manual.tex b/Master/texmf-dist/doc/latex/psu-thesis/manual.tex new file mode 100644 index 00000000000..aee18ea39b9 --- /dev/null +++ b/Master/texmf-dist/doc/latex/psu-thesis/manual.tex @@ -0,0 +1,426 @@ +\documentclass[11pt]{article} +\usepackage{psu-thesis} +\usepackage{texnames} % only needed for \BibTeX macro +\setlength{\paperwidth}{8.5in} \setlength{\paperheight}{11in} +\setlength{\textwidth}{6.5in} \setlength{\textheight}{8.5in} +\setlength{\topmargin}{0in} \setlength{\oddsidemargin}{0in} +\setlength{\evensidemargin}{0in} +\begin{document} +\begin{singlespace} +\title{Manual for psu-thesis \LaTeX\ Style File} +\author{Matthew W. Floros} +\date{September 17, 2008} +\maketitle +\section*{Included Files} +\begin{verbatim} +manual.tex +manual.pdf +psu-thesis.sty +psu-thesis.bst +mssample.tex +mssample.pdf +phdsample.tex +phdsample.pdf +\end{verbatim} + +\section*{Introduction} + +The origin of this style file came directly from my horrible experience trying +to write a technical Master's thesis using ``a popular word processor.'' It +was at that time that I decided that it would be best to bite the bullet +and simply learn \TeX\ and not have to deal with that nightmare again for my +PhD thesis. + +Unfortunately, at the time I was writing my Ph.D. thesis, Penn State did not +provide any support for \TeX\ users. Although there were several style files +floating around different departments, they seemed to me as a novice user to +require quite a bit of effort to use them. The style file itself had to be +changed, i.e. lines commented out or uncommented, and there was no +documentation. My goal was to merge together parts of various style files and +make a single package whose features could all be accessed through issuing +simple \LaTeX\ commands in the document rather than editing the style file +itself. + +I received my PhD in December of 2000 and did the development work on this +package then. I wrote most of this documentation in 2002 and then came back to +it in 2008 when I realized I could upload it to CTAN and make it available to +other people. A fair amount of work went into it and I thought others could +benefit. As of 2000, the Penn State Thesis Office had no interest in +having anything to do with a \LaTeX\ style file and only maintained templates +for ``popular word processors.'' I'm sure they still feel the same way. + +{\bfseries Note that I have not reviewed the thesis guidelines since 2000 and +they may have changed. When I submitted my thesis in 2000, it passed Thesis +Office scrutiny using this package. The committee page was contributed from a +2004 thesis, and incorporated ``as-is,'' with appropriate logic to include it or +not.} + +There are few guidelines for the main body of the thesis, so nearly all of the +provided commands can be classified as either front matter or back matter. +These commands are used to set up the title page, abstract, appendices, and so +forth. There are some commands which do not fall into these two categories +which are provided at the end. A summary of the commands is provided below. + +Note that the setspace package is a separate \LaTeX package, not something +developed at PSU. It is a required package because the line spacing and some of +the commands in the psu-thesis style file rely on commands in the setspace style +file. + +To include the style file (and bibliographic style file psuthesis.bst) in your +thesis document, simply issue the command \verb+\usepackage{psu-thesis}+ in the +preamble \emph{after} the \verb+documentclass+ command and +\verb+\usepackage{doublespace}+ command since many of the psu-thesis commands +rely on the doublespace package. It is also intended to be used with the +\verb+report+ document class: + +\begin{verbatim} +\documentclass[dvips,11pt,twoside]{report} +\usepackage{doublespace} +\usepackage{psu-thesis} +\bibliographystyle{psuthesis} +\end{verbatim} + +The package was set up with both one-sided and two-sided printing in mind, so +the optional arguments \verb+oneside+ and \verb+twoside+ to the report document +class can be used and the macros provided in this package will adapt +accordingly. + +\section*{Package Options} + +The following options are available: +\begin{verbatim} +master +doctor +signature +draft +\end{verbatim} + +The first two package options, \verb+master+ and \verb+doctor+ are available +which set defaults for those thesis types: + +\begin{tabular}{ll} +\verb+master+ & \verb+doctor+ \\ \hline +Set degree to ``Master of Science'' & Set degree to ``Doctor of Philosophy'' \\ +Permission to Copy Page & Committee Page \\ +List of Tables & List of Tables \\ +List of Figures & List of Figures +\end{tabular} + +The \verb+signature+ option will include the signature page, which has since +been supplanted by the committee page. The \verb+\includesignature+ command in +the preamble produces the same effect. + +The \verb+draft+ option is useful for version control of drafts of your +thesis while it is being written. It produces a box with the date the document +was produced at the top of every page, + +\noindent\usebox{\draftbox} + +You can also place the \verb+\draft+ command in the preamble to activate this +feature. + +\section*{Front Matter} + +Most of the commands provided are related to the front matter. Commands can be +divided into three groups, commands which set information for the title page, +commands to set up the signature page, and commands to include and format the +other front matter items. + +The front matter definition commands can be issued either in the preamble or +within the document itself. The only command that is required to appear within +the document is the \verb+\makefrontmatter+ command which generates and outputs +all of the frontmatter material based on the other commands issued. Of course +if the commands to create the front matter parts are not in the preamble, they +must appear \emph{before} the \verb+\makefrontmatter+ command. + +\subsection*{Title Page Information} + +A variety of general information is required for the style file to format the +title page, signature page, and so forth. These commands to input the +information are straightforward. The appropriate information is simply the +argument of the command: + +\begin{tabular}{ll} +\verb+\title{}+ & thesis title (it should be in all caps; this is not automatic)\\ +\verb+\author{}+ & thesis author \\ +\verb+\dept{}+ & academic department in which thesis is earned \\ +\verb+\college{}+ & college the above department belongs to \\ +\verb+\submitdate{}+ & month and year of submission/publication of thesis \\ +\verb+\copyrightyear{}+ & year of publication of thesis (for title and copyright +pages) \\ +\verb+\degree{}+ & degree being obtained, e.g. ``Doctor of Philosophy'' +\end{tabular} + +The thesis type is set to produce ``A Thesis in...'' by default but can be +changed to ``A Thesis Proposal in...'' with the \verb+\proposal+ command or ``A +Dissertation in'' with the \verb+\dissertation+ command. + +Additionally, the \verb+\includecopyrightline+ command will include a copyright +line on the title page using the copyright year and author information supplied. +Alternatively, the command \verb+\includecopyrightpage+ will cause a separate +copyright page to be output immediately following the title page. Both the +title page line and separate page can be included, but only one is recommended. + +\subsection*{Signature/Committee Page Information} + +The signature and committee pages can be set up with up to six thesis readers +using the \verb+\includesignature+ and \verb+\includecommittee+ commands, +respectively. A suite of commands are included to aid in the formatting of the +signature and committee pages. Headings and spacing are set automatically. The +author information is taken from the \verb+\author{}+ command above. Each +reader is added with a consecutive command, i.e. + +\begin{verbatim} +\firstreader{}{} +\secondreader{}{} +\thirdreader{}{} +\fourthreader{}{} +\fifthreader{}{} +\sixthreader{}{} +\end{verbatim} + +Each reader command requires two arguments. The first is the reader's name, and +the second is the title and affiliation of that reader, for example + +\noindent\verb+\firstreader{Isaac Newton}{Professor of Mathematics}+ + +\noindent would produce \vspace{0.25in} + +\signature{Isaac Newton \\ Professor of Mathematics \\} + +\vspace{0.25in} + +\noindent for the signature page and similar without the lines for the committee +page. The signature page is optional, and can be included with +\verb+\includesignature+ in the preamble or the \verb+signature+ package option. +It is not numbered, so it can be bound with the author's personal copy and the +page numbers will not differ from the reference copy. + +Several macros have been defined to format the reader affiliations. First, +macros are defined to identify the professor as assistant, associate, or full +professor: +\begin{verbatim} +\assistprof{} +\assocprof{} +\prof{} +\end{verbatim} +\noindent Additionally, the macro \verb+head{}+ is defined to identify that the +reader is the head of the department. The Thesis Office likes to see both +\verb+\prof{}+ and \verb+\head{}+ for department heads. + +Macros are provided for additional information as follows: + +\begin{tabular}{ll} +Macro Command & Text Produced \\ \hline +\verb+\adviser+ & Thesis Adviser \\ +\verb+\coadviser+ & Thesis Co-Adviser \\ +\verb+\chair+ & Chair of Committee \\ +\verb+\cochair+ & Co-Chair of Committee \\ +\verb+\adviserchair+ & Thesis Adviser, Chair of Committee \\ +\verb+\coadviserchair+ & Thesis Co-Adviser, Co-Chair of Committee +\end{tabular} + +These macros are not necessarily of much value since it is nearly as easy to +simply type the appropriate information into the document rather than using the +macros, but several style files I came across contained such shortcuts, so they +were retained in this package. + +For example, either + +\begin{verbatim} +\secondreader{Isaac Newton}{\prof{Mathematics}\head{Mathematics} +\adviserchair} \end{verbatim} + +\noindent or + +\noindent\begin{verbatim} +\secondreader{Isaac Newton}{Professor of Physics \\ +Head of Department of Physics \\ Thesis Adviser, Chair of Committee} +\end{verbatim} + +\noindent would produce \vspace{0.25in} + +\signature{Isaac Newton \\ Professor of Physics \\ + Head of Department of Physics \\ Thesis Adviser, Chair of Committee} + +\vspace{0.25in} + + +\subsection*{Permission to Copy Page} + +The permission to copy page is produced with the \verb+\includepermission+ +command. The name is taken from the \verb+\author+ entry. No other input is +required since the required text is given in the thesis guide. + +\subsection*{List of Symbols} + +Three macros are included for the List of Symbols. The first, +\verb+\listofsymbols[width]{}+, causes the List of Symbols to be included in the +frontmatter. The List of Symbols itself is the required argument, which can of +course be entered directly or in a separate file and accessed with an +\verb+\input+ or similar command. + +The second macro is to aid in generating the symbol list and takes the form + +\noindent \verb+\symbolentry{symbol}{definition}+ + +The command outputs the symbol and definition in two columns. The definition +column is in paragraph form, so manual line breaking is not necessary. The +width of the symbol column is set by the optional argument \verb+[width]+ in +the \verb+\listofsymbols[width]{}+ command. The default is 1 inch. The +definition column will be the remainder of the page, i.e. +\verb+\textwidth-width+. To change the width in the middle of the list of +symbols, use the command \verb+\setsymwidth{width}+. It redefines the symbol +width and automatically adjusts the description width to the remainder of the +page. + +By default, the first argument is output in math mode, but plain +text symbols can be created with \verb+\mbox{}+. For example, +\verb+\symbolentry{g}{Acceleration due to Gravity}+ produces + +\symbolentry{g}{Acceleration due to gravity} + +\subsection*{Unformatted Front Matter Pages} + +The remaining frontmatter pages do not include any formatting, hence commands +are provided for the sole purpose of determining whether to include each page or +not, and placing them in the correct order. They can be defined in any order +but will appear in a specific order when the document is processed. These front +matter items can be included are in two groups, commands which merely include +the associated item, and commands which include the item and define its +contents. The items will be output in the following order if the corresponding +command is present: + +\begin{tabular}{ll} +Macro Command & Front Matter Item \\ \hline +\verb+\includecopyrightpage+ & Copyright Page \\ +\verb+\includepermission+ & Permission to Copy Page (For MS Theses) \\ +\verb+\includesignature+ & Signature Page (For PhD Theses) \\ +\verb+\includecommittee+ & Committee Page (For PhD Theses) \\ +\verb+\dedicationtext{content}+ & Dedication \\ +\verb+\abstracttext{content}+ & Abstract \\ +\multicolumn{2}{c}{(Table of Contents)} \\ +\verb+\includelistoffigures+ & List of Figures \\ +\verb+\includelistoftables+ & List of Tables \\ +\verb+\listofsymbols[wid]{content}+ & List of Symbols \\ +\verb+\dedicationtext{content}+ & Dedication \\ +\verb+\prefacetext{content}+ & Preface \\ +\verb+\acknowltext{content}+ & Acknowledgements \\ +\verb+\epigraphtext{content}+ & Epigraph \\ +\verb+\frontispiece{content}+ & Frontispiece +\end{tabular} +\vspace{12pt} + +For my thesis the content for each of these was an \verb+\include+ command to +include a separate file, but you can put your actual content in the braces if +you like. + +\section*{Back Matter} + +There is considerably less back matter than front matter, but unfortunately, the +thesis office wants some of the items to appear differently than the \LaTeX\ +defaults. The following macros are provided to format the back matter items +to the thesis office standards. + +\subsection*{Appendices} + +Two commands are provided for inclusion of appendices, \verb+\singleappendix+ +and \verb+\appendices+. The reason for these is that the thesis office wants a +single appendix to be called ``Appendix'' and \LaTeX\ treats it as a chapter and +by default if the \verb+\appendix+ command was issued, would call it ``Appendix +A'' and would put ``A'' in the table of contents. The provided macros +\verb+\singleappendix+ and \verb+\appendices+ format the appendix/appendices to +be called ``Appendix'' in both the text and the table of contents in the case of +a single appendix and have the letters prefaced by the word ``Appendix'' in the +table of contents in the case of multiple appendices. + +The appropriate command +should be issued, followed by a \verb+\chapter+ command to provide a title for +the appendix, + +\begin{verbatim} +\singleappendix \chapter{Appendix name} + +\end{verbatim} + +\noindent or + +\begin{verbatim} +\appendices \chapter{First appendix name} + + +\chapter{Second appendix name} + +\end{verbatim} + +\noindent etc. + +\subsection*{Bibliography Entry} Unfortunately, the bibliography is also not +included in the table of contents by default. A command is provided to include +the bibliography in the table of contents and single space the list of +references. The command is \verb+\includebibliography{}+. Unlike the other +``include'' commands, the \verb+\includebibliography{}+ command takes an +argument which is the bibliography itself. This is for single space +formatting. Simply include the bibliographic entries as its argument to print +out the bibliography. Using \LaTeX features is fine, so the command would +likely be + +\noindent \verb+\includebibliography{\bibliography{refs}}+ + +\noindent if \BibTeX\ is used. The psuthesis.bst style file is included for +producing a bibliography with \BibTeX. + +\subsection*{Vita} + +A command \verb+\vita{}+ is provided to include a vita/\emph{curriculum vitae} +at the end of the thesis. It is not required by the thesis office, but many +like to include it. The argument is the vita itself, most likely an +\verb+\input{}+ or \verb+\include+ command linking to a file containing the +vita. The macro provides a clean page and the author name from the front +matter. + +\subsection*{UMI Abstract} + +The UMI Abstract is required by the thesis office for PhD theses. UMI keeps +your thesis on file and if you read the fine print, keeps your royalties unless +a lot of people request your thesis in a given year. The UMI abstract is not +bound with the thesis, but it can be placed at the end so a whole separate +document is not required. The command \verb+\UMIabstract{}+ formats the +specific header required by UMI using information from the front matter and +includes the abstract supplied as the argument. The UMI abstract has a word +limit (consult the thesis guide for details), but if the thesis abstract falls +within the word limit it can be the same for both. The abstract is printed +without a page number since it is not bound with the thesis. + +\section*{Numbering by Chapter} + +The \verb+\numberbychapter+ command changes the numbering scheme for figures, +tables, and equations to follow the chapters so that they are numbered 1.1, +1.2, 1.3, ... in the first chapter, and 2.1, 2.2, 2.3, ... in the second +chapter and so forth. This command should always be included to follow thesis +office guidelines. Include it in the preamble to activate. + + +\section*{Other notes} + +There may be other commands hiding in the style file that are not documented +here. These instructions and the sample files were thrown together to try to +make the package usable without people tracking down my email address and asking +me about them. The \verb+mssample+ and \verb+phdsample+ files are provided to +show how many of the features work in for MS and PhD theses. Feel free to look +through the .sty file itself and discover commands I forgot to document in these +instructions. If you know enough about \TeX\ and \LaTeX\ to be using them to +write a thesis, you can figure it out. + +Finally, I put together much of the style file by piecing together parts of +other style files that I picked up from various people. Some of the macros +identify who wrote them, and I preserved the original author information if +present, even if I modified the macros. So if there is some piece of code in +the style file that you wrote but isn't credited to you, thank you for your +contribution and it wasn't me who took your name out. + +I hope you find the package helpful, if so, please tell the Thesis Office they +should support \LaTeX\ and/or tell your friends about this macro package. + +\end{singlespace} +\end{document} diff --git a/Master/texmf-dist/doc/latex/psu-thesis/mssample.pdf b/Master/texmf-dist/doc/latex/psu-thesis/mssample.pdf new file mode 100644 index 00000000000..13683dec6bb Binary files /dev/null and b/Master/texmf-dist/doc/latex/psu-thesis/mssample.pdf differ diff --git a/Master/texmf-dist/doc/latex/psu-thesis/mssample.tex b/Master/texmf-dist/doc/latex/psu-thesis/mssample.tex new file mode 100644 index 00000000000..245e93d103d --- /dev/null +++ b/Master/texmf-dist/doc/latex/psu-thesis/mssample.tex @@ -0,0 +1,180 @@ +\documentclass[dvips,11pt,twoside]{report} +\usepackage[master]{psu-thesis} +\bibliographystyle{psuthesis} +\draft +\raggedbottom +\setstretch{1.5} + +\title{A NEW THEORY THAT WILL MAKE ME FAMOUS} + +\author{John Q. Doe} + +\firstreader{Albert Einstein}{\assocprof{Physics} \adviserchair} +\secondreader{Leonhard Euler}{\assistprof{Mathematics}} +\thirdreader{Rene Descartes}{\prof{Mathematics}} +\fourthreader{Isaac Newton}{\prof{Mathematics}} +\fifthreader{Leonardo DaVinci}{\prof{Physics} \head{Physics}} + +\dept{Physics}\college{Eberly College of Science} +\submitdate{May 2008} +\copyrightyear{2008} +\thesis +%\degree{Master of Science} +%\includepermission +\principaladviser{Albert Einstein} +\includecopyrightpage +\includecopyrightline +%\includelistoftables +%\includelistoffigures +\listofsymbols[0.75in]{ +\symbolentry{c}{Speed of light in a vacuum} +\symbolentry{e}{Euler Number} +\symbolentry{g}{Acceleration due to gravity. According to legend, one of my +readers had discovered gravity because an apple fell on his head. Of course +this is only shown to illustrate that multi-line variable descriptions remain in +the description column.} +\symbolentry{M_e}{Mass of Earth} +\symbolentry{G}{Universal gravitation constant. Following symbols will have +different column widths.} +\setsymwidth{0.5in} +\symbolentry{()'}{First derivative of a quantity. Notice that the columns have +moved and since the minipage environment is used, the description is wrapped to +the new column width. This might be used if both single character and longer +definitions such as integral expressions, are used in the list of symbols.} +\symbolentry{()''}{Second derivative of a quantity} +} + +\dedicationtext{This thesis is dedicated to my wife Mrs. Doe.} +\abstracttext{This thesis will no doubt be famous considering my committee.} +\acknowltext{I would like to thank H.G. Wells for lending me his time machine so +my committee could be present even though they lived over a span of hundreds of +years.} +\prefacetext{This is the preface} +\epigraphtext{This is the Epigraph} +\frontispiece{Insert Picture Here for Frontispiece} + +\begin{document} + +\makefrontmatter + +\chapter{Basic Considerations} + +This is a sample masters thesis. It has two skeleton chapters and two +appendices with simple figures and tables so that the lists and tables are +populated. There is no bibliography information. + +The body of the thesis would go here. Note that the placement of figures and +amount of figures and text per page is controlled by the \LaTeX commands: +\verb+\floatpagefraction+, \verb+\topfraction+, \verb+\bottomfraction,+ and +\verb+\textfraction+. + +\begin{table} \caption{Sample table in Chapter 1} \begin{center} +\begin{tabular}{|l|l|} \hline +Column 1, line 1 & Column 2, line 1 \\ \hline +Column 1, line 2 & Column 2, line 2 \\ \hline +Column 1, line 3 & Column 2, line 3 \\ \hline +Column 1, line 4 & Column 2, line 4 \\ \hline +\end{tabular} \end{center} \end{table} + +\begin{table} \caption{Second sample table in Chapter 1} \begin{center} +\begin{tabular}{|l|l|} \hline +Column 1, line 1 & Column 2, line 1 \\ \hline +Column 1, line 2 & Column 2, line 2 \\ \hline +Column 1, line 3 & Column 2, line 3 \\ \hline +Column 1, line 4 & Column 2, line 4 \\ \hline +\end{tabular} \end{center} \end{table} + +\begin{figure} \caption{Sample figure in Chapter 1} \begin{center} +\framebox{\begin{minipage}{5in} +\vspace{2in} \hfill \Huge A Figure would go here. \hfill \vspace{2in} +\end{minipage}} +\end{center} \end{figure} + +\begin{figure} \caption{Second sample figure in Chapter 1} \begin{center} +\framebox{\begin{minipage}{5in} +\vspace{2in} \hfill \Huge A Figure would go here. \hfill \vspace{2in} +\end{minipage}} +\end{center} \end{figure} + +\chapter{Advanced Considerations} + +A second chapter is included to illustrate the \verb+\numberbychapter+ feature, +which numbers tables and figures by the chapter number. + +\begin{figure} \caption{Sample figure in Chapter 2} \begin{center} +\framebox{\begin{minipage}{5in} +\vspace{2in} \hfill \Huge A Figure would go here. \hfill \vspace{2in} +\end{minipage}} +\end{center} \end{figure} + +\begin{figure} \caption{Second sample figure in Chapter 2} \begin{center} +\framebox{\begin{minipage}{5in} +\vspace{2in} \hfill \Huge A Figure would go here. \hfill \vspace{2in} +\end{minipage}} +\end{center} \end{figure} + +\begin{table} \caption{Sample table in Chapter 2} \begin{center} +\begin{tabular}{|l|l|} \hline +Column 1, line 1 & Column 2, line 1 \\ \hline +Column 1, line 2 & Column 2, line 2 \\ \hline +Column 1, line 3 & Column 2, line 3 \\ \hline +Column 1, line 4 & Column 2, line 4 \\ \hline +\end{tabular} \end{center} \end{table} + +\begin{table} \caption{Second sample table in Chapter 2} \begin{center} +\begin{tabular}{|l|l|} \hline +Column 1, line 1 & Column 2, line 1 \\ \hline +Column 1, line 2 & Column 2, line 2 \\ \hline +Column 1, line 3 & Column 2, line 3 \\ \hline +Column 1, line 4 & Column 2, line 4 \\ \hline +\end{tabular} \end{center} \end{table} + + +\includebibliography{ +\chapter*{Bibliography} +The bibliography would go here. It will not appear in the table of contents by +default. The \emph{includebibliography} command adds to the table of contents +and formats as single space. The built in \LaTeX\ bilbiography features can be +used inside and are automatically single spaced. +} + +\appendices \chapter{The First Appendix} + + +\begin{table} \caption{Sample table in first appendix} \begin{center} +\begin{tabular}{|l|l|} \hline +Column 1, line 1 & Column 2, line 1 \\ \hline +Column 1, line 2 & Column 2, line 2 \\ \hline +Column 1, line 3 & Column 2, line 3 \\ \hline +Column 1, line 4 & Column 2, line 4 \\ \hline +\end{tabular} \end{center} \end{table} + + +The first appendix goes here. The style file changes the chapter title to +"Appendix A" rather than ``A'' in the table of contents per the thesis +guidelines. The PhD example has a single appendix for illustration. + +A specific \verb+\chapter+ declaration is required for each appendix to specify +the title of the appendix. In that respect, it behaves like any other chapter +and the \verb+\appendices+ command merely reformats so it is called +``Appendix A'' in the table of contents + +\chapter{The Second Appendix} + +A second Appendix goes here. Two figures are included for inclusion in the +table of contents. + +\begin{figure} \caption{Sample figure in the second appendix} \begin{center} +\framebox{\begin{minipage}{5in} +\vspace{2in} \hfill \Huge A Figure would go here. \hfill \vspace{2in} +\end{minipage}} +\end{center} \end{figure} + +\begin{figure} \caption{Second sample figure in the second appendix} +\begin{center} +\framebox{\begin{minipage}{5in} +\vspace{2in} \hfill \Huge A Figure would go here. \hfill \vspace{2in} +\end{minipage}} +\end{center} \end{figure} + +\end{document} diff --git a/Master/texmf-dist/doc/latex/psu-thesis/phdsample.pdf b/Master/texmf-dist/doc/latex/psu-thesis/phdsample.pdf new file mode 100644 index 00000000000..528231e413f Binary files /dev/null and b/Master/texmf-dist/doc/latex/psu-thesis/phdsample.pdf differ diff --git a/Master/texmf-dist/doc/latex/psu-thesis/phdsample.tex b/Master/texmf-dist/doc/latex/psu-thesis/phdsample.tex new file mode 100644 index 00000000000..f1f83ed68cb --- /dev/null +++ b/Master/texmf-dist/doc/latex/psu-thesis/phdsample.tex @@ -0,0 +1,185 @@ +\documentclass[dvips,11pt,oneside]{report} +\usepackage[doctor,signature]{psu-thesis} +\numberbychapter +\bibliographystyle{psuthesis} + +\raggedbottom +\setstretch{1.5} +\begin{document} + +\title{A NEW THEORY THAT WILL MAKE ME FAMOUS} + +\author{John Q. Doe} + +\firstreader{Albert Einstein}{\assocprof{Physics} \adviserchair} +\secondreader{Leonhard Euler}{\assistprof{Mathematics}} +\thirdreader{Rene Descartes}{\prof{Mathematics}} +\fourthreader{Isaac Newton}{\prof{Mathematics}} +\fifthreader{Leonardo DaVinci}{\prof{Physics} \head{Physics}} + +\dept{Physics}\college{Eberly College of Science} +\submitdate{May 2008} +\copyrightyear{2008} +\thesis +%\degree{Doctor of Philosophy} +\principaladviser{Albert Einstein} +\includecopyrightpage +\includecopyrightline +%\includecommittee +%\includelistoftables +%\includelistoffigures +\listofsymbols{ +\symbolentry{c}{Speed of light in a vacuum} +\symbolentry{e}{Euler Number} +\symbolentry{g}{Acceleration due to gravity. According to legend, one of my +readers had discovered gravity because an apple fell on his head. Of course +this is only shown to illustrate that multi-line variable descriptions remain in +the description column.} +\symbolentry{M_e}{Mass of Earth} +\symbolentry{G}{Universal gravitation constant. Following symbols will have +different column widths.} +\setsymwidth{0.5in} +\symbolentry{()'}{First derivative of a quantity. Notice that the columns have +moved and since the minipage environment is used, the description is wrapped to +the new column width. This might be used if both single character and longer +definitions such as integral expressions, are used in the list of symbols.} +\symbolentry{()''}{Second derivative of a quantity} +} + +\dedicationtext{This thesis is dedicated to my wife Mrs. Doe.} +\abstracttext{This thesis will no doubt be famous considering my committee.} +\acknowltext{I would like to thank H.G. Wells for lending me his time machine so +my committee could be present even though they lived over a span of hundreds of +years.} +\prefacetext{This is the preface} +\epigraphtext{This is the Epigraph} +\frontispiece{Insert Picture Here for Frontispiece} +\makefrontmatter + +\chapter{Basic Considerations} + +This is a sample masters thesis. It has two skeleton chapters and two +appendices with simple figures and tables so that the lists and tables are +populated. There is no bibliography information. + +The body of the thesis would go here. Note that the placement of figures and +amount of figures and text per page is controlled by the \LaTeX commands: +\verb+\floatpagefraction+, \verb+\topfraction+, \verb+\bottomfraction,+ and + +\begin{table} \caption{Sample table in Chapter 1} \begin{center} +\begin{tabular}{|l|l|} \hline +Column 1, line 1 & Column 2, line 1 \\ \hline +Column 1, line 2 & Column 2, line 2 \\ \hline +Column 1, line 3 & Column 2, line 3 \\ \hline +Column 1, line 4 & Column 2, line 4 \\ \hline +\end{tabular} \end{center} \end{table} + +\begin{table} \caption{Second sample table in Chapter 1} \begin{center} +\begin{tabular}{|l|l|} \hline +Column 1, line 1 & Column 2, line 1 \\ \hline +Column 1, line 2 & Column 2, line 2 \\ \hline +Column 1, line 3 & Column 2, line 3 \\ \hline +Column 1, line 4 & Column 2, line 4 \\ \hline +\end{tabular} \end{center} \end{table} + +\begin{figure} \caption{Sample figure in Chapter 1} \begin{center} +\framebox{\begin{minipage}{5in} +\vspace{2in} \hfill \Huge A Figure would go here. \hfill \vspace{2in} +\end{minipage}} +\end{center} \end{figure} + +\begin{figure} \caption{Second sample figure in Chapter 1} \begin{center} +\framebox{\begin{minipage}{5in} +\vspace{2in} \hfill \Huge A Figure would go here. \hfill \vspace{2in} +\end{minipage}} +\end{center} \end{figure} + +\chapter{Advanced Considerations} + +A second chapter is included to illustrate the \verb+\numberbychapter+ feature, +which numbers tables and figures by the chapter number. + +\begin{figure} \caption{Sample figure in Chapter 2} \begin{center} +\framebox{\begin{minipage}{5in} +\vspace{2in} \hfill \Huge A Figure would go here. \hfill \vspace{2in} +\end{minipage}} +\end{center} \end{figure} + +\begin{figure} \caption{Second sample figure in Chapter 2} \begin{center} +\framebox{\begin{minipage}{5in} +\vspace{2in} \hfill \Huge A Figure would go here. \hfill \vspace{2in} +\end{minipage}} +\end{center} \end{figure} + +\begin{table} \caption{Sample table in Chapter 2} \begin{center} +\begin{tabular}{|l|l|} \hline +Column 1, line 1 & Column 2, line 1 \\ \hline +Column 1, line 2 & Column 2, line 2 \\ \hline +Column 1, line 3 & Column 2, line 3 \\ \hline +Column 1, line 4 & Column 2, line 4 \\ \hline +\end{tabular} \end{center} \end{table} + +\begin{table} \caption{Second sample table in Chapter 2} \begin{center} +\begin{tabular}{|l|l|} \hline +Column 1, line 1 & Column 2, line 1 \\ \hline +Column 1, line 2 & Column 2, line 2 \\ \hline +Column 1, line 3 & Column 2, line 3 \\ \hline +Column 1, line 4 & Column 2, line 4 \\ \hline +\end{tabular} \end{center} \end{table} + + +\includebibliography{ +\chapter*{Bibliography} +The bibliography would go here. It will not appear in the table of contents by +default. The \emph{includebibliography} command adds to the table of contents +and formats as single space. The built in \LaTeX\ bilbiography features can be +used inside and are automatically single spaced. +} + +\singleappendix \chapter{There Can Be Only One} + + +\begin{table} \caption{Sample table in Appendix} \begin{center} +\begin{tabular}{|l|l|} \hline +Column 1, line 1 & Column 2, line 1 \\ \hline +Column 1, line 2 & Column 2, line 2 \\ \hline +Column 1, line 3 & Column 2, line 3 \\ \hline +Column 1, line 4 & Column 2, line 4 \\ \hline +\end{tabular} \end{center} \end{table} + + +A single appendix goes here. The style file changes +the chapter title to "Appendix" rather than ``Appendix A'' per the thesis +guidelines. The MS example has multiple appendices for illustration. + +A specific \verb+\chapter+ declaration is required to specify the title of the +appendix. In that respect, it behaves like any other chapter and the +\verb+\singleappendix+ command merely reformats so it is not called ``Appendix +A'' + +\begin{figure} \caption{Sample figure in the appendix} \begin{center} +\framebox{\begin{minipage}{5in} +\vspace{2in} \hfill \Huge A Figure would go here. \hfill \vspace{2in} +\end{minipage}} +\end{center} \end{figure} + +\begin{figure} \caption{Second sample figure in the appendix} \begin{center} +\framebox{\begin{minipage}{5in} +\vspace{2in} \hfill \Huge A Figure would go here. \hfill \vspace{2in} +\end{minipage}} +\end{center} \end{figure} + +\vita{The vita (or \emph{Curriculum vitae} for Latin enthusiasts) goes here. +There are no special formatting commands for the vita.} + +\UMIabstract{The UMI abstract goes here. There are no special formatting +commands for the UMI abstract, and it may be the same as the regular abstract +at the beginning. The above information is taken from the frontmatter +information and formatted automatically. + +Note that the UMI abstract is not bound with the thesis and hence has no page +number. It is printed at the end as a convenience. By default it is spaced the +same as the thesis but can be made a different spacing if desired. But for some +reason it complains if the abstract is not a single paragraph.} + +\end{document} diff --git a/Master/texmf-dist/tex/latex/psu-thesis/psu-thesis.sty b/Master/texmf-dist/tex/latex/psu-thesis/psu-thesis.sty new file mode 100644 index 00000000000..79327bde7fa --- /dev/null +++ b/Master/texmf-dist/tex/latex/psu-thesis/psu-thesis.sty @@ -0,0 +1,799 @@ +%% psu-thesis.sty +%% Copyright 2008 Matt Floros +% +% This work may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.3 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.3 or later is part of all distributions of LaTeX +% version 2005/12/01 or later. +% +% This work has the LPPL maintenance status `maintained'. +% +% The Current Maintainer of this work is Matt Floros. +% +% This work consists of the files psuthesis.sty and psuthesis.bst + +%------------------------------------------------------------------------------- + +% PSU Thesis Style File Compiled by Matt Floros +% This file contains macros for automatic generation of front matter, back +% matter, signature pages, and so forth for Penn State master and doctoral +% theses. It was pieced together from several sources, and many macros were +% added such that the user should be able to piece together properly formatted +% thesis with simple macro calls without editing this file. +% +% To generate the title page, the following variables must be set, either in the +% preamble or in the document itself: +% \title{} (Thesis title) +% \author{} (Your name as it is to appear on the title page, +% signature page, permission to copy page, and +% UMI abstract) +% \submitdate{} (Month and year, e.g. December 2000) +% \principaladviser{} (Adviser's name) +% \dept{} (Academic Department} +% \degree{} (typically Master of Science or Doctor of Philosophy} +% to generate the appropriate entries on the title page. +% +% \includecopyrightline will add a copyright line on the title page +% +% +% Possibly one of the following commands must be issued: +% \thesis +% \dissertation +% \proposal +% +% to set whether or not you want the title page to say "A Thesis in" "A Thesis +% Proposal in," or "A Dissertation in" (\thesis is default). +% +% +% To generate the signature page, the readers must be set with +% \firstreader{}{}, \secondreader{}{}, up to \sixthreader{}{}. If the number +% of readers is smaller than six, simply omit the remaining. Each reader +% command takes two arguments. The first is the reader's name, and the second +% includes the identifiers for that reader. The following macros are used to +% format the identifiers: +% \adviser +% \coadviser +% \chair +% \cochair +% \head{} +% \prof{} +% \assistprof{} +% \assocprof{} +% or the combinations +% \adviserchair +% \coadviserchair +% if these entries are to appear on the same line. Each command will produce a +% line under the reader's name. The department is supplied as the argument for +% \head{}, \prof{}, etc. For example: +% +% \firstreader{John Doe}{\adviserchair \prof{Chemistry}\head{Chemistry}} +% would produce the entry: +% John Doe +% Thesis Adviser, Chair of Committee +% Professor of Chemistry +% Head of Department of Chemistry +% +% +% Options are set to select the frontmatter that will be used in the thesis: +% +% \includecopyrightpage +% \includelistoftables +% \includelistoffigures +% \includepermission +% \includesignature +% \listofsymbols[width]{list symbols here}* +% \dedicationtext{Dedication here.} +% \abstracttext{Abstract here.} +% \acknowltext{Acknowledgements here.} +% \prefacetext{Preface here.} +% \epigraphtext{Epigraph here.} +% \frontispiece{Picture Here} +% +% If not defined, the item will be neglected. +% +% * The list of symbols command \listofsymbols has an optional argument and +% additional command which can be helpful for typesetting the list of symbols. +% A command \symbolentry is defined which takes two arguments. The first is +% the symbol itself and the second is the definition. A sample use of +% \symbolentry would be \symbolentry{F}{Force}. Note that the first argument +% is typeset in math mode by default and a command such as \mbox must be used +% to set the symbol in regular text. The symbol and definition are set with +% the minipage environment defaulting to 1 inch for the symbol, and the +% remaining width of the text for the definition. Because the minipage +% environment is used, the definition will wrap indented by the 1 inch if it is +% too long to fit on a single line. The 1 inch can be changed either by +% setting the length parameter \symbolwidth to a different value before calling +% \listofsymbols, or adding an optional argument to \listofsymbols, i.e. +% \listofsymbols[0.5in]{list symbols here}. If it is desired to change the +% symbol width in the middle, the command \setsymwidth{length} will change the +% column sizes. +% +% Finally, the frontmatter is created with \makefrontmatter which must be in +% the main text. +% +% +% Additionally, a draft command \draft is included which creates a box at the +% top of each page with the date and time of creation. Note that this changes +% the page style to {plain} where it would normally be {headings} so the draft +% mark does not overlap the chapter headings. +% +% +% A command \numberbychapter causes equations, figures, and tables to be +% numbered by chapter as chapter.number, e.g. the first figure of chapter 2 is +% figure 2.1. A seperate command \numtheorembychap does the same for theorems, +% lemmas, and definitions, but must be invoked after defining the theorem or +% definition environment. +% +% +% Appendices should be preceeded by either \singleappendix or \appendices, +% which format single or multiple appendices properly The appendix title +% should be invoked by \chapter as usual after \singleappendix or \appendices +% is issued. + +\NeedsTeXFormat {LaTeX2e}[1994/12/01] +\def \filename {psu-thesis.sty} +\def \filedate {2008/9/17} +\def \fileversion {1.1} +\ProvidesPackage {psu-thesis}[\filedate\space\fileversion\space + Contributed and Supported LaTeX2e package] +\typeout {Package: `psu-thesis' \fileversion\space <\filedate>} + +% setspace package required for line spacing changes +\RequirePackage[doublespacing]{setspace} + +\DeclareOption{master}{\AtEndOfPackage{% +\thesis +\degree{Master of Science} +\includepermission +\includelistoftables +\includelistoffigures +}} + +\DeclareOption{doctor}{\AtEndOfPackage{% +\thesis +\degree{Doctor of Philosophy} +\includelistoftables +\includelistoffigures +\includecommittee +}} + +\DeclareOption{signature}{\AtEndOfPackage{\includesignature}} + +\DeclareOption{draft}{\AtEndOfPackage{\draft}} + +\ProcessOptions + +% Set up page layout +\oddsidemargin 0.5in +\evensidemargin 0in +\textwidth 6in +\textheight 8.3in +\topmargin 0in +\headheight 0.25in +\headsep 0.25in + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% % +% Make figures fit better on the page % +% % +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\renewcommand{\floatpagefraction}{0.85} +\renewcommand{\topfraction}{0.85} +\renewcommand{\bottomfraction}{0.85} +\renewcommand{\textfraction}{0.15} + +% Stolen from cwebmac.tex +% \datethis to get the date and time on the output. +% +% modified 3/27/92 (sanjeev@cs.psu.edu) +% + +\def\today{\ifcase\month\or + January\or February\or March\or April\or May\or June\or + July\or August\or September\or October\or November\or December\fi + \space\number\day, \number\year} + +\newcount\twodigits +\newcount\hrs + +\def\hours{\twodigits=\time% + \ifnum\twodigits>719\gdef\ampm{pm}% + \else\gdef\ampm{am}\fi% + \divide\twodigits by 60% + \hrs=\twodigits% + \ifnum\twodigits=0\twodigits=12\fi% + \ifnum\twodigits>12\advance\twodigits-12\fi\advance\twodigits0% + \ifnum\twodigits>9\printtwodigits:\else\printonedigit:\fi% + \twodigits=\hrs% + \multiply\twodigits by-60% + \advance\twodigits by\time% + \printtwodigits\space\ampm} + +\def\gobbleone1{} +\def\gobbleten10{} + +\def\printonedigit{% + \advance\twodigits100 + \expandafter\gobbleten\number\twodigits + \advance\twodigits-100 } + +\def\printtwodigits{% + \advance\twodigits100 + \expandafter\gobbleone\number\twodigits + \advance\twodigits-100 } + +\def\datethis{\medskip{\sc\today\ at \hours}\bigskip} + +% Commands for the \draft command and box setup. +\newif\ifthesisdraft +\newsavebox{\draftbox} + \sbox{\draftbox}{\framebox{{\sc Draft:}\quad\datethis}} +\def\draft{\thesisdrafttrue + \markright{\hfil\usebox{\draftbox}}\pagestyle{plain}} + +% Redefine the "empty" and "plain" pagestyles so that the "draft" indication +% will be printed in the head in draft mode. + +\def\ps@empty{\let\@mkboth\@gobbletwo\def\@oddfoot{} +\def\@evenfoot{} +\ifthesisdraft + \def\@oddhead{\hfil\usebox{\draftbox}\hfil} + \def\@evenhead{\hfil\usebox{\draftbox}\hfil} +\else + \def\@oddhead{}\def\@evenhead{} +\fi} + +\def\ps@plain{\let\@mkboth\@gobbletwo\def\@oddfoot{} +\ifthesisdraft + \def\@oddhead{\hfil\usebox{\draftbox}\hfil} + \def\@evenhead{\hfil\usebox{\draftbox}\hfil} +\else + \def\@oddhead{}\def\@evenhead{} +\fi +\def\@evenfoot{\hfil \thepage \hfil} +\def\@oddfoot{\hfil \thepage \hfil} +} + + +% \blankpage will produce a "floating" blank page. + +\def\blankpage{\begin{figure} +\vskip\textheight +\end{figure}} + + + +% Define \numberbychapter to number figures, tables, definitions and theorems +% within chapters. Any theorem-like environment numbered with theorem inherits +% this numbering (however, be sure to define the theorem/definition +% environment before invoking \numberbychapter). The LaTeX 2e default is to +% number equations by chapter, so \chapprefix is always set to prefix each +% number with the chapter number. + + +%\def\chapprefix{\thechapter.} +\def\cl@chapter{\@elt{section}\@elt{footnote}} +\def\numberbychapter{\def\thefigure{\thechapter.\arabic{figure}} + \@addtoreset{figure}{chapter} + \def\thetable{\thechapter.\arabic{table}} + \@addtoreset{table}{chapter} + \def\theequation{\thechapter.\arabic{equation}} + \@addtoreset{equation}{chapter} + \def\chapprefix{\thechapter.} +} + +\def\thetable{\arabic{table}} +\def\theequation{\arabic{equation}} +\def\thefigure{\arabic{figure}} + + +\def\numtheorembychap{\def\thetheorem{\thechapter.\arabic{theorem}} + \@addtoreset{theorem}{chapter} + \def\thedefine{\thechapter.\arabic{define}} + \@addtoreset{define}{chapter} + \def\thelemma{\thechapter.\arabic{lemma}} + \@addtoreset{lemma}{chapter} +} + + +%Define alphabetic sub-numbering of equations, figures, and chapters. The +%eqnalph environment is an extension to the eqnarray environment to number by +%letters also. It is commented out because the functionality is available in +%the LaTeX package subeqn.sty. + +%\newcounter{saveeqn}% +%\newenvironment{eqnalph}{\setcounter{saveeqn}{\value{equation}}% +%\stepcounter{saveeqn}\setcounter{equation}{0}% +%\renewcommand{\theequation}{\mbox{\chapprefix\arabic{saveeqn}% +%\alph{equation}}}\begin{eqnarray}}% +%{\end{eqnarray}\setcounter{equation}{\value{saveeqn}}% +%\renewcommand{\theequation}{\chapprefix\arabic{equation}}} + +\newcounter{savefig}% +\newenvironment{figalph}{\setcounter{savefig}{\value{figure}}% +\stepcounter{savefig}\setcounter{figure}{0}% +\renewcommand{\thefigure}{\mbox{\chapprefix\arabic{savefig}% +\alph{figure}}}}% +{\setcounter{figure}{\value{savefig}}% +\renewcommand{\thefigure}{\chapprefix\arabic{figure}}} + +\newcounter{savetable}% +\newenvironment{tablealph}{\setcounter{savetable}{\value{table}}% +\stepcounter{savetable}\setcounter{table}{0}% +\renewcommand{\thetable}{\mbox{\chapprefix\arabic{savetable}% +\alph{table}}}}% +{\setcounter{table}{\value{savetable}}% +\renewcommand{\thetable}{\chapprefix\arabic{table}}} + + + +\def\dept#1{\gdef\@dept{#1}} +\def\advis@r{Adviser} +\def\principaladviser#1{\gdef\advis@r{#1}} + +%Define signature page items, modified from Kelliher by Floros 3/8/2000 +\def\adviser{Thesis Adviser \\} +\def\coadviser{Thesis Co-Adviser \\} +\def\chair{Chair of Committee \\} +\def\cochair{Co-Chair of Committee \\} +\def\head#1{Head of the Department of #1 \\} +\def\prof#1{Professor of #1 \\} +\def\assocprof#1{Associate Professor of #1 \\} +\def\assistprof#1{Assistant Professor of #1 \\} +\def\adviserchair{Thesis Adviser, Chair of Committee \\} +\def\coadviserchair{Thesis Co-Adviser, Co-Chair of Committee \\} + +\def\firstreader#1#2{\def\@firstreader{#1 \\ + #2}} +\def\secondreader#1#2{\def\@secondreader{#1 \\ + #2}} +\def\thirdreader#1#2{\def\@thirdreader{#1 \\ + #2}} +\def\fourthreader#1#2{\def\@fourthreader{#1 \\ + #2}} +\def\fifthreader#1#2{\def\@fifthreader{#1 \\ + #2}} +\def\sixthreader#1#2{\def\@sixthreader{#1 \\ + #2}} + +\def\submitdate#1{\gdef\@submitdate{#1}} +\def\copyrightyear#1{\gdef\@copyrightyear{#1}} % \author, \title in report +\def\@title{}\def\@author{}\def\@dept{Your Dept Here} +\def\@firstreader{}\def\@secondreader{}\def\@thirdreader{} +\def\@fourthreader{}\def\@fifthreader{}\def\@sixthreader{} +\def\@submitdate{\ifcase\the\month\or + January\or February\or March\or April\or May\or June\or + July\or August\or September\or October\or November\or December\fi + \space \number\the\year} +\ifnum\month=12 + \@tempcnta=\year \advance\@tempcnta by 1 + \edef\@copyrightyear{\number\the\@tempcnta} +\else + \def\@copyrightyear{\number\the\year} +\fi + +% This was made more user-friendly by MWF 3/7/2000 such that changes +% to this file were replaced by setting the \includexxx flags in the +% main document +\newif\iffigurespage \def\includelistoffigures{\figurespagetrue} +\newif\iftablespage \def\includelistoftables{\tablespagetrue} +\newif\ifcopyright \def\includecopyrightpage{\copyrighttrue} +\newif\ifsignature \def\includesignature{\signaturetrue} +\newif\ifcommittee \def\includecommittee{\committeetrue} + +\newif\iflospage +\newcommand\listofsymbols[2][\symbolwidth]{\lospagetrue + \setlength{\symbolwidth}{#1} + \setlength{\symboldefwidth}{\textwidth} + \addtolength{\symboldefwidth}{-\symbolwidth} + \gdef\list@symbols{#2}} + +\def\copyright@line{\vfill} +\def\includecopyrightline{\def\copyright@line{\vfill \begin{center} + \copyright\hspace{0.5em} \@copyrightyear\hspace{0.5em}\@author \end{center} + \vfill}} + +% Create commands to help generate the list of symbols. (MWF 7/6/2000) +\newlength{\symbolwidth}\setlength{\symbolwidth}{1in} +\newlength{\symboldefwidth}\setlength{\symboldefwidth}{\textwidth} +\addtolength{\symboldefwidth}{-\symbolwidth} +\def\symbolentry#1#2{\noindent\begin{minipage}[t]{\symbolwidth} + \singlespace $#1$ \endsinglespace \end{minipage}% + \begin{minipage}[t]{\symboldefwidth}\singlespace + #2 \endsinglespace \end{minipage}} + +% Change symbol width midstream (MWF 11/17/2002) +\def\setsymwidth#1{\setlength{\symbolwidth}{#1} +\setlength{\symboldefwidth}{\textwidth} +\addtolength{\symboldefwidth}{-\symbolwidth} +} + +% This was made more user-friendly by MWF 3/7/2000 such that changes +% to this file were replaced by setting a thesis flag and the degree +% type in the main document +\def\@thesistype{A Thesis in} +\def\dissertation{\gdef\@thesistype{A Dissertation in} \gdef\@degreetype{Doctor + of Philosophy}} +\def\proposal{\gdef\@thesistype{A Thesis Proposal in}} +\def\thesis{\gdef\@thesistype{A Thesis in}} + +\def\@degreetype{} +\def\degree#1{\gdef\@degreetype{#1}} + +% Add option to specify college affiliation, ELH 10/4/2004 +\def\@collegename{} +\def\college#1{\gdef\@collegename{#1}} + +\def\titlep{% + \pagestyle{empty}% + \null\vskip.25in% changed from 1in to .25in + \begin{center} + \textbf{The Pennsylvania State University\\ + The Graduate School\\ + \@collegename } + \end{center} + \vfill + \begin{center} + \large{\textbf{\uppercase\expandafter{\@title}}} + \end{center} + \vfill + \begin{center}{\singlespace + \@thesistype \\ + \expandafter{\@dept}\\ + \rm by\\ + \@author\\ } + %\expandafter{\@copyrightyear} + \end{center} + \copyright@line + \begin{center} + {\singlespace + Submitted in Partial Fulfillment \\ + of the Requirements \\ + for the Degree of \endsinglespace} + \end{center} + \vfill + \begin{center} + \@degreetype + \end{center} + \vfill + \begin{center} + \@submitdate + \end{center} + \cleardoublepage} + +\def\copyrightpage{% + \null\vfill + \pagestyle{empty} + { \singlespace \begin{center} + \Large\copyright\ Copyright \@copyrightyear\\ + by\\ + \@author\\ + All Rights Reserved\\ + \end{center} + \vfill}\cleardoublepage +} + +\long\def\signature#1{% +\begin{minipage}{6.0in} +\parindent=0pt \raggedright +{\vrule width 3.9in height 0.4pt\hfill\vrule + width 1.25in height 0.4pt \par #1} +\end{minipage} +} + + +% This was made more user-friendly by MWF 3/7/2000 such that changes +% to this file were replaced by setting \firstreader..\sixthreader +\def\signaturepage{% + {\begin{singlespace} + \noindent We approve the thesis of \@author. \hfill \\ + \vspace{0.1in} + \hfill \begin{minipage}{1.25in} \center Date of Signature + \end{minipage} \\ + \vspace{0.425in}\\ + \ifx\@empty\@firstreader \else + \signature\@firstreader\\ + \vspace{0.625in}\\ + \fi + \ifx\@empty\@secondreader \else + \signature\@secondreader\\ + \vspace{0.625in}\\ + \fi + \ifx\@empty\@thirdreader \else + \signature\@thirdreader\\ + \vspace{0.625in}\\ + \fi + \ifx\@empty\@fourthreader \else + \signature\@fourthreader\\ + \vspace{0.625in}\\ + \fi + \ifx\@empty\@fifthreader \else + \signature\@fifthreader\\ + \vspace{0.625in}\\ + \fi + \ifx\@empty\@sixthreader \else + \signature\@sixthreader\\ + \vspace{0.625in}\\ + \fi + \par \end{singlespace} \cleardoublepage \pagestyle{plain} + \typeout{Signature Page.}} +} + +% As of Spring 2003, a "Committee Page" is required, rather than a signatory +% page (Signatory page is kept on file in the Graduate School, but only the +% Committee page should appear in the thesis ELH 10/4/2004 +\def\committeepage{% + {\begin{singlespace} + \vspace*{0.625in} + \noindent The thesis of \@author\ was reviewed and approved* by the + following:\\ + \\ + \\ + \\ + \hspace*{\fill} + \begin{minipage}[t]{5.5in} + \ifx\@empty\@firstreader \else + \@firstreader\\ + \\ + \fi + \ifx\@empty\@secondreader \else + \@secondreader\\ + \\ + \fi + \ifx\@empty\@thirdreader \else + \@thirdreader\\ + \\ + \fi + \ifx\@empty\@fourthreader \else + \@fourthreader\\ + \\ + \fi + \ifx\@empty\@fifthreader \else + \@fifthreader\\ + \\ + \fi + \ifx\@empty\@sixthreader \else + \@sixthreader\\ + \\ + \fi + \end{minipage}\\ + \\ + \\ + \noindent *Signatures are on file in the Graduate School. + \par \end{singlespace} \cleardoublepage \pagestyle{plain} + \typeout{Committee Page.}} +} + + +\def\permissionpage{} +\def\includepermission{% +\def\permissionpage{ +\thispagestyle{empty} +\vbox{ + \vskip 2.5in + \begin{singlespace} + +\noindent I grant The Pennsylvania State University the nonexclusive right to +use this work for the University's own purposes and to make single copies of +the work available to the public on a not-for-profit basis if copies are not +otherwise available. + + \vskip 0.75in + \hbox{\null\hskip 3.2in \vrule width 2in height 0.4pt} + \hbox{\null\hskip 3.2in \@author} + \end{singlespace} + \typeout{Permission to copy page.} +} \cleardoublepage }} + +%\makeatother + +%Set up preface section formats +\def\prefacesection#1{\chapter*{#1}} +\def\prefacesectiontoc#1{\chapter*{#1}\addcontentsline{toc}{chapter}{#1}} + +%Set up specific sections: dedication, abstract, acknowledgments, +%preface, epigraph, frontispiece, and introduction preceeding chapter 1 +\def\dedication@text{} +\def\abstract@text{} +\def\acknowl@text{} +\def\epigraph@text{} +\def\frontis@piece{} +\def\preface@text{} +\long\def\dedicationtext#1{\def\dedication@text{\prefacesectiontoc{Dedication} #1 + \typeout{Dedication.}}} +\long\def\abstracttext#1{\def\abstract@text{\prefacesection{Abstract} #1 + \typeout{Abstract.}}} +\long\def\acknowltext#1{\def\acknowl@text{\prefacesectiontoc{Acknowledgments} #1 + \typeout{Acknowledgments.}}} +\long\def\epigraphtext#1{\def\epigraph@text{\cleardoublepage \thispagestyle{plain} #1 + \typeout{Epigraph.}}} +\long\def\frontispiece#1{\def\frontis@piece{\cleardoublepage \thispagestyle{plain} #1 + \typeout{Frontispiece.}}} +\long\def\prefacetext#1{\def\preface@text{\prefacesectiontoc{Preface} #1 + \typeout{Preface.}}} +\def\introduction#1{\chapter*{Introduction} + \addcontentsline{toc}{chapter}{Introduction} #1} + + +\def\makefrontmatter{ + \pagenumbering{roman} + \pagestyle{plain} + \titlep + \ifcopyright\copyrightpage\fi + \thispagestyle{empty} + \permissionpage + \ifsignature\signaturepage\fi + \ifcommittee\committeepage\fi + \setcounter{page}{3} + \pagestyle{plain} + \abstract@text + \tableofcontents + \cleardoublepage + +% List of Figures + \iffigurespage +%This addcontentsline{}{}{} was added by GLG 5/4/91 Moved by MCS 12/14/92. + \addcontentsline{toc}{chapter}{List of Figures} + {\addvspace{10pt} + \let\saveaddvspace=\addvspace + \def\addvspace##1{} + \listoffigures + \let\addvspace=\saveaddvspace} + \typeout{List of Figures.} \newpage + \fi + +% List of Tables + \iftablespage +%This \addcontentsline{}{}{} was added by GLG 5/4/91 Moved by MCS 12/14/92. + \addcontentsline{toc}{chapter}{List of Tables} + {\addvspace{10pt} + \let\saveaddvspace=\addvspace + \def\addvspace##1{} + \listoftables + \let\addvspace=\saveaddvspace} + \typeout{List of Tables.} \newpage + \fi + +%List of Symbols + \iflospage +% Reset width of symbol definition width to fill space left from symbol itself + \setlength{\symboldefwidth}{\textwidth} + \addtolength{\symboldefwidth}{-\symbolwidth} +% This \addcontentsline{}{}{} was added by GLG 4/23/96. + \chapter*{List of Symbols} + \addcontentsline{toc}{chapter}{List of Symbols} + {\addvspace{10pt} + \let\saveaddvspace=\addvspace + \def\addvspace##1{} + \list@symbols + \let\addvspace=\saveaddvspace} + \typeout{List of Symbols.} \newpage + \fi + + \dedication@text + \preface@text + \acknowl@text + \epigraph@text + \frontis@piece + \newpage \pagenumbering{arabic} + \ifthesisdraft + \pagestyle{plain} + \else + \pagestyle{myheadings} + \fi + } + + +% Start with pagestyle{myheadings} in case front matter isn't processed +% Redefine the "empty" pagestyle so that the "draft" indication will be +% printed in the head in draft mode. + + \ifthesisdraft + \pagestyle{plain} + \else + \pagestyle{myheadings} + \fi + + +% Bibliography is not included in table of contents by default. This command +% adds it to the toc and formats it for single space. (MWF 11/17/2002) +\long\def\includebibliography#1{ +\addcontentsline{toc}{chapter}{Bibliography} +\begin{singlespace} +#1 +\end{singlespace} +} + +% 5/18/92 kelliher +% The bibliography is the first component of the backmatter. Appendices, +% if present, form the second component. Appendices are begun with the +% \chapter macro; however, either the \singleappendix or \appendices +% command should be given before any of the actual appendices. Use +% \singleappendix when there is only a single appendix, for multiple +% appendices use \appendices. + +% \singleappendix "redefs" \@chapter so that the proper entry is made in +% the table of contents. Basically, the appendix should not be "numbered." + + +% modified 3/8/2000 by Floros to say "Appendix" in the TOC and "Appendix" +% instead of "Appendix A" in document. This is from LaTeX 2e's report.cls file. +% I copied the entry to this file and removed the \thechapter + +\def\singleappendix{\appendix\def\@chapnum{} + \def\@chapter[##1]##2{ + \refstepcounter{chapter} + \typeout{\@chapapp.} + \addcontentsline{toc}{chapter}{\@chapapp\ \ ##1} + \chaptermark{##1} + \addtocontents{lof}{\protect\addvspace{10pt}} + \addtocontents{lot}{\protect\addvspace{10pt}} \if@twocolumn + \@topnewpage[\vspace*{50\p@}% + {\parindent \z@ \raggedright \normalfont + \ifnum \c@secnumdepth >\m@ne + \huge\bfseries \@chapapp\space + \par\nobreak + \vskip 20\p@ + \fi + \interlinepenalty\@M + \Huge \bfseries ##2\par\nobreak + \vskip 40\p@ + }] + \else + \vspace*{50\p@}% + {\parindent \z@ \raggedright \normalfont + \ifnum \c@secnumdepth >\m@ne + \huge\bfseries \@chapapp\space + \par\nobreak + \vskip 20\p@ + \fi + \interlinepenalty\@M + \Huge \bfseries ##2\par\nobreak + \vskip 40\p@ + } + \@afterheading \fi}} + +% Modified 3/8/2000 by Floros to change toc entries to "Appendix A. " +% instead of "A <title>" + +\def\appendices{\appendix + \def\@chapter[##1]##2{ + \refstepcounter{chapter} + \typeout{\@chapapp\space\thechapter.} + \addcontentsline{toc}{chapter}% + {{\protect\numberline{\@chapapp\space\thechapter.\hspace{1em} ##1}}} + \chaptermark{##1} + \addtocontents{lof}{\protect\addvspace{10pt}} + \addtocontents{lot}{\protect\addvspace{10pt}} \if@twocolumn + \@topnewpage[\@makechapterhead{##2}] + \else \@makechapterhead{##2} + \@afterheading \fi}} + + +\long\def\UMIabstract#1{\cleardoublepage \thispagestyle{empty} +\begin{singlespace} + +\noindent Abstract + +\noindent \@title + +\noindent \@author + +\noindent \@degreetype; \, \@submitdate + +\noindent The Pennsylvania State University + +\noindent \advis@r; \,Thesis Adviser + +\end{singlespace} \par \vspace{1em} +\noindent #1 +\typeout{UMI Abstract.} +} + + +\def\vita#1{\cleardoublepage \pagestyle{empty} +\begin{center} Vita \\ \@author \end{center} +\vspace{1em} #1 \typeout{Vita.}} diff --git a/Master/tlpkg/bin/tlpkg-ctan-check b/Master/tlpkg/bin/tlpkg-ctan-check index 865211473a2..eb5504fc7e4 100755 --- a/Master/tlpkg/bin/tlpkg-ctan-check +++ b/Master/tlpkg/bin/tlpkg-ctan-check @@ -177,7 +177,7 @@ my @WorkingTLP = qw( pst-solides3d pst-soroban pst-spectra pst-slpe pst-stru pst-text pst-uml pst-vue3d pst2pdf pstool pstricks pstricks-add - ptptex pxfonts + psu-thesis ptptex pxfonts qcm qstest quotmark qtree r_und_s randbild rccol rcs rcsinfo recipe recipecard refman refstyle regcount register resume robustcommand diff --git a/Master/tlpkg/tlpsrc/collection-publishers.tlpsrc b/Master/tlpkg/tlpsrc/collection-publishers.tlpsrc index 5a7e5c1f319..2ed498d5269 100644 --- a/Master/tlpkg/tlpsrc/collection-publishers.tlpsrc +++ b/Master/tlpkg/tlpsrc/collection-publishers.tlpsrc @@ -45,6 +45,7 @@ depend philosophersimprint depend pracjourn depend procIAGssymp depend ptptex +depend psu-thesis depend revtex depend siggraph depend spie diff --git a/Master/tlpkg/tlpsrc/psu-thesis.tlpsrc b/Master/tlpkg/tlpsrc/psu-thesis.tlpsrc new file mode 100644 index 00000000000..2ca9d9e2af0 --- /dev/null +++ b/Master/tlpkg/tlpsrc/psu-thesis.tlpsrc @@ -0,0 +1,2 @@ +name psu-thesis +category Package -- cgit v1.2.3