diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2018-04-07 10:24:51 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2018-04-07 10:24:58 -0700 |
commit | 6cbc721e9a8152d85fcb7c510a1907570896ac90 (patch) | |
tree | dc48bbcecd65bd5e25d551e036d1897ecd672de5 /texmf | |
parent | 1f9c1e2a69de6c7456d425b8cbb0293f66efab95 (diff) | |
download | dotfiles-6cbc721e9a8152d85fcb7c510a1907570896ac90.tar.gz |
single dotfiles archive
Diffstat (limited to 'texmf')
-rw-r--r-- | texmf/archive/bibtex/bst/spwchicago/spwchicago.bst | 1662 | ||||
-rw-r--r-- | texmf/archive/tex/latex/spwdnd/spwdnd.cls | 46 | ||||
-rw-r--r-- | texmf/archive/tex/latex/spwdoc/spwdoc.cls | 126 | ||||
-rw-r--r-- | texmf/archive/tex/latex/spwessay/spwessay.cls | 186 | ||||
-rw-r--r-- | texmf/archive/tex/latex/spworg/spworg.sty | 50 | ||||
-rw-r--r-- | texmf/archive/tex/latex/spwoutline/spwoutline.cls | 172 | ||||
-rw-r--r-- | texmf/archive/tex/latex/spwpaper/spwpaper.cls | 198 | ||||
-rw-r--r-- | texmf/archive/tex/latex/spwtitle/spwtitle.sty | 26 |
8 files changed, 0 insertions, 2466 deletions
diff --git a/texmf/archive/bibtex/bst/spwchicago/spwchicago.bst b/texmf/archive/bibtex/bst/spwchicago/spwchicago.bst deleted file mode 100644 index b227d2fd..00000000 --- a/texmf/archive/bibtex/bst/spwchicago/spwchicago.bst +++ /dev/null @@ -1,1662 +0,0 @@ -%%% Chicago hacked around a little to be more like -%%% http://www.gs.cornell.edu/philrev/info/stylesheet.html - -%%% diff against -%%% /usr/share/texmf-texlive/bibtex/bst/chicago/chicago/bst on Debian - -%%% TODO: volume numbers and translators don't come out correctly - -%%% ==================================================================== -%%% @BibTeX-style-file{ -%%% author = "Glenn Paulley", -%%% version = "4", -%%% date = "28 August 1992", -%%% time = "10:23:39 199", -%%% filename = "chicago.bst", -%%% address = "Data Structuring Group -%%% Department of Computer Science -%%% University of Waterloo -%%% Waterloo, Ontario, Canada -%%% N2L 3G1", -%%% telephone = "(519) 885-1211", -%%% FAX = "(519) 885-1208", -%%% checksum = "26323 1654 5143 37417", -%%% email = "gnpaulle@bluebox.uwaterloo.ca", -%%% codetable = "ISO/ASCII", -%%% keywords = "", -%%% supported = "yes", -%%% abstract = "A BibTeX bibliography style that follows the -%%% `B' reference style of the 13th Edition of -%%% the Chicago Manual of Style. A detailed -%%% feature list is given below.", -%%% docstring = "The checksum field above contains a CRC-16 -%%% checksum as the first value, followed by the -%%% equivalent of the standard UNIX wc (word -%%% count) utility output of lines, words, and -%%% characters. This is produced by Robert -%%% Solovay's checksum utility.", -%%% } -%%% ==================================================================== -% -% "Chicago" BibTeX style, chicago.bst -% =================================== -% -% BibTeX `chicago' style file for BibTeX version 0.99c, LaTeX version 2.09 -% Place it in a file called chicago.bst in the BibTeX search path. -% You need to include chicago.sty as a \documentstyle option. -% (Placing it in the same directory as the LaTeX document should also work.) -% This "chicago" style is based on newapa.bst (American Psych. Assoc.) -% found at ymir.claremont.edu. -% -% Citation format: (author-last-name year) -% (author-last-name and author-last-name year) -% (author-last-name, author-last-name, and author-last-name year) -% (author-last-name et al. year) -% (author-last-name) -% author-last-name (year) -% (author-last-name and author-last-name) -% (author-last-name et al.) -% (year) or (year,year) -% year or year,year -% -% Reference list ordering: alphabetical by author or whatever passes -% for author in the absence of one. -% -% This BibTeX style has support for abbreviated author lists and for -% year-only citations. This is done by having the citations -% actually look like -% -% \citeauthoryear{full-author-info}{abbrev-author-info}{year} -% -% The LaTeX style has to have the following (or similar) -% -% \let\@internalcite\cite -% \def\fullcite{\def\citeauthoryear##1##2##3{##1, ##3}\@internalcite} -% \def\fullciteA{\def\citeauthoryear##1##2##3{##1}\@internalcite} -% \def\shortcite{\def\citeauthoryear##1##2##3{##2, ##3}\@internalcite} -% \def\shortciteA{\def\citeauthoryear##1##2##3{##2}\@internalcite} -% \def\citeyear{\def\citeauthoryear##1##2##3{##3}\@internalcite} -% -% These TeX macro definitions are found in chicago.sty. Additional -% commands to manipulate different components of a citation can be defined -% so that, for example, you can list author's names without parentheses -% if using a citation as a noun or object in a sentence. -% -% This file was originally copied from newapa.bst at ymir.claremont.edu. -% -% Features of chicago.bst: -% ======================= -% -% - full names used in citations, but abbreviated citations are available -% (see above) -% - if an entry has a "month", then the month and year are also printed -% as part of that bibitem. -% - all conjunctions use "and" instead of "\&" -% - major modification from Chicago Manual of Style (13th ed.) is that -% only the first author in a reference appears last name first- -% additional authors appear as J. Q. Public. -% - pages are listed as "pp. xx-xx" in all entry types except -% article entries. -% - book, inbook, and manual use "location: publisher" (or organization) -% for address and publisher. All other types list publishers separately. -% - "pp." are used to identify page numbers for all entry types except -% articles. -% - organization is used as a citation label if neither author nor editor -% is present (for manuals). -% - "et al." is used for long author and editor lists, or when "others" -% is used. -% -% Modifications and bug fixes from newapa.bst: -% =========================================== -% -% - added month, year to bib entries if month is present -% - fixed bug with In proceedings, added necessary comma after title -% - all conjunctions changed to "and" from "\&" -% - fixed bug with author labels in my.full.label: "et al." now is -% generated when "others" is an author name -% - major modification from Chicago Manual of Style (13th ed.) is that -% only the first author in a reference appears last name first- -% additional authors appear as J. Q. Public. -% - pages are listed as "pp. xx-xx" in all entry types except -% article entries. Unnecessary (IMHO) "()" around page numbers -% were removed, and page numbers now don't end with a period. -% - created chicago.sty for use with this bibstyle (required). -% - fixed bugs in FUNCTION {format.vol.num.pages} for missing volume, -% number, and /or pages. Renamed to format.jour.vol. -% - fixed bug in formatting booktitles: additional period an error if -% book has a volume. -% - fixed bug: editors usually given redundant period before next clause -% (format.editors.dot) removed. -% - added label support for organizations, if both author and editor -% are missing (from alpha.bst). If organization is too long, then -% the key field is used for abbreviated citations. -% - In proceedings or books of several volumes, no comma was written -% between the "Volume x" and the page numbers (this was intentional -% in newapa.bst). Fixed. -% - Some journals may not have volumes/numbers, only month/year (eg. -% IEEE Computer). Fixed bug in article style that assumed volume/number -% was always present. -% -% Original documentation for newapa.sty: -% ===================================== -% -% This version was made by modifying the master file made by -% Oren Patashnik (PATASHNIK@SCORE.STANFORD.EDU), and the 'named' BibTeX -% style of Peter F. Patel-Schneider. -% -% Copyright (C) 1985, all rights reserved. -% Copying of this file is authorized only if either -% (1) you make absolutely no changes to your copy, including name, or -% (2) if you do make changes, you name it something other than 'newapa.bst'. -% There are undoubtably bugs in this style. If you make bug fixes, -% improvements, etc. please let me know. My e-mail address is: -% spencer@cgrg.ohio.state.edu or 71160.3141@compuserve.com -% -% This style was made from 'plain.bst', 'named.bst', and 'apalike.bst', -% with lots of tweaking to make it look like APA style, along with tips -% from Young Ryu and Brian Reiser's modifications of 'apalike.bst'. - -ENTRY - { address - author - booktitle - chapter - edition - editor - howpublished - institution - journal - key - month - note - number - organization - pages - publisher - school - series - title - type - volume - year - } - {} - { label.year extra.label sort.year sort.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 u } - -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 -} - -% Use a colon to separate output. Used only for address/publisher -% combination in book/inbook types, address/institution for manuals, -% and organization:publisher for proceedings (inproceedings). -% -FUNCTION {output.nonnull.colon} -{ '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.colon} -{ duplicate$ empty$ - 'pop$ - 'output.nonnull.colon - if$ -} - -FUNCTION {output.check} -{ 't := - duplicate$ empty$ - { pop$ "empty " t * " in " * cite$ * warning$ } - 'output.nonnull - if$ -} - -FUNCTION {output.check.colon} -{ 't := - duplicate$ empty$ - { pop$ "empty " t * " in " * cite$ * warning$ } - 'output.nonnull.colon - if$ -} - -FUNCTION {output.year.check} -{ year empty$ - { "empty year in " cite$ * warning$ } - { write$ - " " year * extra.label * - % month empty$ - % { "." * } - % { ", " * month * "." * } - % if$ - mid.sentence 'output.state := - } - if$ -} - - -FUNCTION {fin.entry} -{ add.period$ - write$ - 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 {not} -{ { #0 } - { #1 } - if$ -} - -FUNCTION {and} -{ 'skip$ - { pop$ #0 } - if$ -} - -FUNCTION {or} -{ { pop$ #1 } - 'skip$ - if$ -} - -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$ -} - -% -% Emphasize the top string on the stack. -% -FUNCTION {emphasize} -{ duplicate$ empty$ - { pop$ "" } - { "{\em " swap$ * "}" * } - if$ -} - -% -% Emphasize the top string on the stack, but add a trailing space. -% -FUNCTION {emphasize.space} -{ duplicate$ empty$ - { pop$ "" } - { "{\em " swap$ * "\/}" * } - if$ -} - -INTEGERS { nameptr namesleft numnames } -% -% Format bibliographical entries with the first author last name first, -% and subsequent authors with initials followed by last name. -% All names are formatted in this routine. -% -FUNCTION {format.names} -{ 's := - #1 'nameptr := % nameptr = 1; - s num.names$ 'numnames := % numnames = num.name$(s); - numnames 'namesleft := - { namesleft #0 > } - - { nameptr #1 = - {s nameptr "{vv~}{ll}{, jj}{, ff}" format.name$ 't := } - {s nameptr "{f.~}{vv~}{ll}{, jj}" format.name$ 't := } - if$ - nameptr #1 > - { namesleft #1 > - { ", " * t * } - { numnames #2 > - { "," * } - 'skip$ - if$ - t "others" = - { " et~al." * } - { " and " * t * } % from Chicago Manual of Style - if$ - } - if$ - } - 't - if$ - nameptr #1 + 'nameptr := % nameptr += 1; - namesleft #1 - 'namesleft := % namesleft =- 1; - } - while$ -} - -FUNCTION {my.full.label} -{ 's := - #1 'nameptr := % nameptr = 1; - s num.names$ 'numnames := % numnames = num.name$(s); - numnames 'namesleft := - { namesleft #0 > } - - { s nameptr "{vv~}{ll}" format.name$ 't := % get the next name - nameptr #1 > - { namesleft #1 > - { ", " * t * } - { numnames #2 > - { "," * } - 'skip$ - if$ - t "others" = - { " et~al." * } - { " and " * t * } % from Chicago Manual of Style - if$ - } - if$ - } - 't - if$ - nameptr #1 + 'nameptr := % nameptr += 1; - namesleft #1 - 'namesleft := % namesleft =- 1; - } - while$ - -} - -FUNCTION {format.names.fml} -% -% Format names in "familiar" format, with first initial followed by -% last name. Like format.names, ALL names are formatted. -% -{ 's := - #1 'nameptr := % nameptr = 1; - s num.names$ 'numnames := % numnames = num.name$(s); - numnames 'namesleft := - { namesleft #0 > } - - { s nameptr "{f.~}{vv~}{ll}{, jj}" format.name$ 't := - - nameptr #1 > - { namesleft #1 > - { ", " * t * } - { numnames #2 > - { "," * } - 'skip$ - if$ - t "others" = - { " et~al." * } - { " and " * t * } -% { " \& " * t * } - if$ - } - if$ - } - 't - if$ - nameptr #1 + 'nameptr := % nameptr += 1; - namesleft #1 - 'namesleft := % namesleft =- 1; - } - while$ -} - -FUNCTION {format.authors} -{ author empty$ - { "" } - { author format.names * "." } - if$ -} - -FUNCTION {format.key} -{ empty$ - { key field.or.null } - { "" } - if$ -} - -% -% Format editor names for use in the "in" types: inbook, incollection, -% inproceedings: first initial, then last names. When editors are the -% LABEL for an entry, then format.editor is used which lists editors -% by last name first. -% -FUNCTION {format.editors.fml} -{ editor empty$ - { "" } - { editor format.names.fml - editor num.names$ #1 > - { "" * } - { "" * } - if$ - } - if$ -} - -% -% Format editor names for use in labels, last names first. -% -FUNCTION {format.editors} -{ editor empty$ - { "" } - { editor format.names - editor num.names$ #1 > - { "" * } - { "" * } - if$ - } - if$ -} - -% FUNCTION {format.title} -% { title empty$ -% { "" } -% { title "t" change.case$ } -% if$ -% } - -% Note that the APA style requres case changes -% in article titles. The following does not -% change cases. If you perfer it, uncomment the -% following and comment out the above. - -FUNCTION {format.title} -{ title empty$ - { "" } - { title } - if$ -} - -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 {format.btitle} -{ edition empty$ - { title emphasize } - { title empty$ - { title emphasize } - { editor empty$ % spw - check for editor, then don't need period TODO: volume too - { "{\em " title * "\/} (" * edition * " ed.)" * "." * } - { "{\em " title * "\/} (" * edition * " ed.)" * } - if$ - } - if$ - } - if$ -} - -FUNCTION {format.emphasize.booktitle} -{ edition empty$ - { booktitle emphasize } - { booktitle empty$ - { booktitle emphasize } - { editor empty$ % spw - extra period an error if book has a editor TODO: if it has a volume, too - { "{\em " booktitle * "\/} (" * edition * " ed.)" * "." *} - { "{\em " booktitle * "\/} (" * edition * " ed.)" * } - if$ - } - if$ - } - if$ - } - - -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$ - { "" } - { "volume" volume tie.or.space.connect - series empty$ - 'skip$ - { " of " * 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 = - { "number" } - { "Number" } - if$ - number tie.or.space.connect - series empty$ - { "there's a number but no series in " cite$ * warning$ } - { " in " * series * } - if$ - } - 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 - { "" pages n.dashify tie.or.space.connect } % gnp - removed () - { "" pages tie.or.space.connect } - if$ - } - if$ -} - -% By Young (and Spencer) -% GNP - fixed bugs with missing volume, number, and/or pages -% -% Format journal, volume, number, pages for article types. -% -FUNCTION {format.jour.vol} -{ journal empty$ - { "no journal in " cite$ * warning$ - "" } - { journal emphasize.space } - if$ - % number empty$ - % { volume empty$ - volume empty$ - { "no number and no volume in " cite$ * warning$ - "" * } - { " " * Volume * } - if$ - % } - % { volume empty$ - % {"no volume for " cite$ * warning$ - % ":" * number * } - % { "~" * - % volume - % ":" * number * * } - % if$ - % } - % if$ - pages empty$ - {"page numbers missing in " cite$ * warning$ - "" * } % gnp - place a null string on the stack for output - { duplicate$ empty$ - { pop$ format.pages } - { ":" * pages n.dashify * } % gnp - removed pp. for articles - if$ - } - if$ -} - -FUNCTION {format.chapter.pages} -{ chapter empty$ - 'format.pages - { type empty$ - { "chapter" } - { type "t" change.case$ } - if$ - chapter tie.or.space.connect - pages empty$ - {"page numbers missing in " cite$ * warning$} % gnp - added check - { ", " * format.pages * } - if$ - } - if$ -} - -FUNCTION {format.in.ed.booktitle} -{ booktitle empty$ - { "" } - { editor empty$ - { "In " format.emphasize.booktitle * } - { "In " format.emphasize.booktitle * ", edited by " * format.editors.fml * } - if$ - } - if$ -} - -FUNCTION {format.thesis.type} -{ type empty$ - 'skip$ - { pop$ - type "t" change.case$ - } - if$ -} - -FUNCTION {format.tr.number} -{ type empty$ - { "Technical Report" } - 'type - if$ - number empty$ - { "t" change.case$ } - { number tie.or.space.connect } - if$ -} - -FUNCTION {format.article.crossref} -{ "See" - "\citeN{" * crossref * "}" * -} - -FUNCTION {format.crossref.editor} -{ editor #1 "{vv~}{ll}" format.name$ - editor num.names$ duplicate$ - #2 > - { pop$ " et~al." * } - { #2 < - 'skip$ - { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" = - { " et~al." * } - { " and " * editor #2 "{vv~}{ll}" format.name$ * } - if$ - } - if$ - } - if$ -} - -FUNCTION {format.book.crossref} -{ volume empty$ - { "empty volume in " cite$ * "'s crossref of " * crossref * warning$ - "In " - } - { "volume" volume tie.or.space.connect - " of " * - } - 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$ - "" * - } - { "{\em " * series * "\/}" * } - if$ - } - { key * } - if$ - } - { format.crossref.editor * } - if$ - " \citeN{" * crossref * "}" * -} - -FUNCTION {format.incoll.inproc.crossref} -{ "See" - " \citeN{" * crossref * "}" * -} - -% format.lab.names: -% -% determines "short" names for the abbreviated author information. -% "Long" labels are created in calc.label, using the routine my.full.label -% to format author and editor fields. -% -% There are 4 cases for labels. (n=3 in the example) -% a) one author Foo -% b) one to n Foo, Bar and Baz -% c) use of "and others" Foo, Bar et al. -% d) more than n Foo et al. -% -FUNCTION {format.lab.names} -{ 's := - s num.names$ 'numnames := - numnames #2 > % change number to number of others allowed before - % forcing "et al". - { s #1 "{vv~}{ll}" format.name$ " et~al." * } - { - numnames #1 - 'namesleft := - #2 'nameptr := - s #1 "{vv~}{ll}" format.name$ - { namesleft #0 > } - { nameptr numnames = - { s nameptr "{ff }{vv }{ll}{ jj}" format.name$ "others" = - { " et~al." * } - { " and " * s nameptr "{vv~}{ll}" format.name$ * } - if$ - } - { ", " * s nameptr "{vv~}{ll}" format.name$ * } - if$ - nameptr #1 + 'nameptr := - namesleft #1 - 'namesleft := - } - while$ - } - if$ -} - -FUNCTION {author.key.label} -{ author empty$ - { key empty$ - { "no key, author in " cite$ * warning$ - cite$ #1 #3 substring$ } - 'key - if$ - } - { author format.lab.names } - if$ -} - -FUNCTION {editor.key.label} -{ editor empty$ - { key empty$ - { "no key, editor in " cite$ * warning$ - cite$ #1 #3 substring$ } - 'key - if$ - } - { editor format.lab.names } - if$ -} - -FUNCTION {author.key.organization.label} -% -% added - gnp. Provide label formatting by organization if author is null. -% -{ author empty$ - { organization empty$ - { key empty$ - { "no key, author or organization in " cite$ * warning$ - cite$ #1 #3 substring$ } - 'key - if$ - } - { organization } - if$ - } - { author format.lab.names } - if$ -} - -FUNCTION {editor.key.organization.label} -% -% added - gnp. Provide label formatting by organization if editor is null. -% -{ editor empty$ - { organization empty$ - { key empty$ - { "no key, editor or organization in " cite$ * warning$ - cite$ #1 #3 substring$ } - 'key - if$ - } - { organization } - if$ - } - { editor format.lab.names } - if$ -} - -FUNCTION {author.editor.key.label} -{ author empty$ - { editor empty$ - { key empty$ - { "no key, author, or editor in " cite$ * warning$ - cite$ #1 #3 substring$ } - 'key - if$ - } - { editor format.lab.names } - if$ - } - { author format.lab.names } - if$ -} - -FUNCTION {calc.label} -% -% Changed - GNP. See also author.organization.sort, editor.organization.sort -% Form label for BibTeX entry. The classification of which fields are used -% for which type of entry (book, inbook, etc.) are taken from alpha.bst. -% The change here from newapa is to also include organization as a -% citation label if author or editor is missing. -% -{ type$ "book" = - type$ "inbook" = - or - 'author.editor.key.label - { type$ "proceedings" = - 'editor.key.organization.label - { type$ "manual" = - 'author.key.organization.label - 'author.key.label - if$ - } - if$ - } - if$ - - author empty$ % generate the full label citation information. - { editor empty$ - { organization empty$ - { "no author, editor, or organization in " cite$ * warning$ - "??" } - { organization } - if$ - } - { editor my.full.label } - if$ - } - { author my.full.label } - if$ - -% leave label on the stack, to be popped when required. - - "}{" * swap$ * "}{" * -% year field.or.null purify$ #-1 #4 substring$ * -% -% save the year for sort processing afterwards (adding a, b, c, etc.) -% - year field.or.null purify$ #-1 #4 substring$ - 'label.year := -} - -FUNCTION {output.bibitem} -{ newline$ - - "\bibitem[\protect\citeauthoryear{" write$ - calc.label write$ - sort.year write$ - "}]{" write$ - - cite$ write$ - "}" write$ - newline$ - "" - before.all 'output.state := -} - -FUNCTION {article} -{ output.bibitem - format.authors - "author" output.check - author format.key output % added - output.year.check % added - new.block - format.title - "title" output.check - new.block - crossref missing$ - { format.jour.vol output - } - { format.article.crossref output.nonnull - format.pages output - } - if$ - new.block - note output - 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$ - output.year.check % added - new.block - format.btitle - "title" output.check - crossref missing$ - { format.bvolume output - new.block - format.number.series output - new.sentence - address output - publisher "publisher" output.check.colon - } - { new.block - format.book.crossref output.nonnull - } - if$ - new.block - note output - fin.entry -} - -FUNCTION {booklet} -{ output.bibitem - format.authors output - author format.key output % added - output.year.check % added - new.block - format.title - "title" output.check - new.block - howpublished output - address output - new.block - note 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$ - output.year.check % added - new.block - format.btitle - "title" output.check - crossref missing$ - { format.bvolume output - format.chapter.pages - "chapter and pages" output.check - new.block - format.number.series output - new.sentence - address output - publisher - "publisher" output.check.colon - } - { format.chapter.pages "chapter and pages" output.check - new.block - format.book.crossref output.nonnull - } - if$ - new.block - note output - fin.entry -} - -FUNCTION {incollection} -{ output.bibitem - format.authors - "author" output.check - author format.key output % added - output.year.check % added - new.block - format.title - "title" output.check - new.block - crossref missing$ - { format.in.ed.booktitle - "booktitle" output.check - format.bvolume output - format.number.series output - format.chapter.pages output % gnp - was special.output.nonnull -% left out comma before page numbers - new.sentence - address output - publisher "publisher" output.check.colon - } - { format.incoll.inproc.crossref - output.nonnull - format.chapter.pages output - } - if$ - new.block - note output - fin.entry -} - -FUNCTION {inproceedings} -{ output.bibitem - format.authors - "author" output.check - author format.key output % added - output.year.check % added - new.block - format.title - "title" output.check - new.block - crossref missing$ - { format.in.ed.booktitle - "booktitle" output.check - format.bvolume output - format.number.series output - address output - format.pages output - new.sentence - organization output - publisher output.colon - } - { format.incoll.inproc.crossref output.nonnull - format.pages output - } - if$ - new.block - note output - fin.entry -} - -FUNCTION {conference} { inproceedings } - -FUNCTION {manual} -{ output.bibitem - author empty$ - { editor empty$ - { organization "organization" output.check - organization format.key output } % if all else fails, use key - { format.editors "author and editor" output.check } - if$ - } - { format.authors output.nonnull } - if$ - output.year.check % added - new.block - format.btitle - "title" output.check - organization address new.block.checkb -% Reversed the order of "address" and "organization", added the ":". - address output - organization "organization" output.check.colon -% address output -% ":" output -% organization output - new.block - note output - fin.entry -} - -FUNCTION {mastersthesis} -{ output.bibitem - format.authors - "author" output.check - author format.key output % added - output.year.check % added - new.block - format.title - "title" output.check - new.block - "Master's thesis" format.thesis.type output.nonnull - school "school" output.check - address output - new.block - note output - fin.entry -} - -FUNCTION {misc} -{ output.bibitem - format.authors output - author format.key output % added - output.year.check % added - title howpublished new.block.checkb - format.title output - new.block - howpublished output - new.block - note output - fin.entry -} - -FUNCTION {phdthesis} -{ output.bibitem - format.authors - "author" output.check - author format.key output % added - output.year.check % added - new.block - format.btitle - "title" output.check - new.block - "Ph.\ D. thesis" format.thesis.type output.nonnull - school "school" output.check - address output - new.block - note output - fin.entry -} - -FUNCTION {proceedings} -{ output.bibitem - editor empty$ - { organization output - organization format.key output } % gnp - changed from author format.key - { format.editors output.nonnull } - if$ -% author format.key output % gnp - removed (should be either -% editor or organization - output.year.check % added (newapa) - new.block - format.btitle - "title" output.check - format.bvolume output - format.number.series output - address output - new.sentence - organization output - publisher output.colon - new.block - note output - fin.entry -} - -FUNCTION {techreport} -{ output.bibitem - format.authors - "author" output.check - author format.key output % added - output.year.check % added - new.block - format.title - "title" output.check - new.block - format.tr.number output.nonnull - institution - "institution" output.check - address output - new.block - note output - fin.entry -} - -FUNCTION {unpublished} -{ output.bibitem - format.authors - "author" output.check - author format.key output % added - output.year.check % added - new.block - format.title - "title" output.check - new.block - note "note" output.check - fin.entry -} - -FUNCTION {default.type} { misc } - -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 {ai} {"Artificial Intelligence"} - -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"} - -READ - -FUNCTION {sortify} -{ purify$ - "l" change.case$ -} - -INTEGERS { len } - -FUNCTION {chop.word} -{ 's := - 'len := - s #1 len substring$ = - { s len #1 + global.max$ substring$ } - 's - if$ -} - - - -FUNCTION {sort.format.names} -{ 's := - #1 'nameptr := - "" - s num.names$ 'numnames := - numnames 'namesleft := - { namesleft #0 > } - { nameptr #1 > - { " " * } - 'skip$ - if$ - s nameptr "{vv{ } }{ll{ }}{ f{ }}{ jj{ }}" format.name$ 't := - nameptr numnames = t "others" = and - { " et~al" * } - { t sortify * } - if$ - nameptr #1 + 'nameptr := - namesleft #1 - 'namesleft := - } - while$ -} - -FUNCTION {sort.format.title} -{ 't := - "A " #2 - "An " #3 - "The " #4 t chop.word - chop.word - chop.word - sortify - #1 global.max$ substring$ -} - -FUNCTION {author.sort} -{ author empty$ - { key empty$ - { "to sort, need author or key in " cite$ * warning$ - "" } - { key sortify } - if$ - } - { author sort.format.names } - if$ -} - -FUNCTION {editor.sort} -{ editor empty$ - { key empty$ - { "to sort, need editor or key in " cite$ * warning$ - "" - } - { key sortify } - if$ - } - { editor sort.format.names } - if$ -} - -FUNCTION {author.editor.sort} -{ author empty$ - { "missing author in " cite$ * warning$ - editor empty$ - { key empty$ - { "to sort, need author, editor, or key in " cite$ * warning$ - "" - } - { key sortify } - if$ - } - { editor sort.format.names } - if$ - } - { author sort.format.names } - if$ -} - -FUNCTION {author.organization.sort} -% -% added - GNP. Stack author or organization for sorting (from alpha.bst). -% Unlike alpha.bst, we need entire names, not abbreviations -% -{ author empty$ - { organization empty$ - { key empty$ - { "to sort, need author, organization, or key in " cite$ * warning$ - "" - } - { key sortify } - if$ - } - { organization sortify } - if$ - } - { author sort.format.names } - if$ -} - -FUNCTION {editor.organization.sort} -% -% added - GNP. Stack editor or organization for sorting (from alpha.bst). -% Unlike alpha.bst, we need entire names, not abbreviations -% -{ editor empty$ - { organization empty$ - { key empty$ - { "to sort, need editor, organization, or key in " cite$ * warning$ - "" - } - { key sortify } - if$ - } - { organization sortify } - if$ - } - { editor sort.format.names } - if$ -} - -FUNCTION {presort} -% -% Presort creates the bibentry's label via a call to calc.label, and then -% sorts the entries based on entry type. Chicago.bst adds support for -% including organizations as the sort key; the following is stolen from -% alpha.bst. -% -{ calc.label sortify % recalculate bibitem label - year field.or.null purify$ #-1 #4 substring$ * % add year - " " - * - type$ "book" = - type$ "inbook" = - or - 'author.editor.sort - { type$ "proceedings" = - 'editor.organization.sort - { type$ "manual" = - 'author.organization.sort - 'author.sort - if$ - } - if$ - } - if$ - #1 entry.max$ substring$ % added for newapa - 'sort.label := % added for newapa - sort.label % added for newapa - * - " " - * - title field.or.null - sort.format.title - * - #1 entry.max$ substring$ - 'sort.key$ := -} - -ITERATE {presort} - -SORT % by label, year, author/editor, title - -STRINGS { last.label next.extra } - -INTEGERS { last.extra.num } - -FUNCTION {initialize.extra.label.stuff} -{ #0 int.to.chr$ 'last.label := - "" 'next.extra := - #0 'last.extra.num := -} - -FUNCTION {forward.pass} -% -% Pass through all entries, comparing current entry to last one. -% Need to concatenate year to the stack (done by calc.label) to determine -% if two entries are the same (see presort) -% -{ last.label - calc.label year field.or.null purify$ #-1 #4 substring$ * % add year - #1 entry.max$ substring$ = % are they equal? - { last.extra.num #1 + 'last.extra.num := - last.extra.num int.to.chr$ 'extra.label := - } - { "a" chr.to.int$ 'last.extra.num := - "" 'extra.label := - calc.label year field.or.null purify$ #-1 #4 substring$ * % add year - #1 entry.max$ substring$ 'last.label := % assign to last.label - } - if$ -} - -FUNCTION {reverse.pass} -{ next.extra "b" = - { "a" 'extra.label := } - 'skip$ - if$ - label.year extra.label * 'sort.year := - extra.label 'next.extra := -} - -EXECUTE {initialize.extra.label.stuff} - -ITERATE {forward.pass} - -REVERSE {reverse.pass} - -FUNCTION {bib.sort.order} -{ sort.label - " " - * - year field.or.null sortify - * - " " - * - title field.or.null - sort.format.title - * - #1 entry.max$ substring$ - 'sort.key$ := -} - -ITERATE {bib.sort.order} - -SORT % by sort.label, year, title --- giving final bib. order. - -FUNCTION {begin.bib} - -{ preamble$ empty$ - 'skip$ - { preamble$ write$ newline$ } - if$ - "\begin{thebibliography}{}" write$ newline$ -} - - -EXECUTE {begin.bib} - -EXECUTE {init.state.consts} - -ITERATE {call.type$} - -FUNCTION {end.bib} -{ newline$ - "\end{thebibliography}" write$ newline$ -} - -EXECUTE {end.bib} - diff --git a/texmf/archive/tex/latex/spwdnd/spwdnd.cls b/texmf/archive/tex/latex/spwdnd/spwdnd.cls deleted file mode 100644 index ac1b817c..00000000 --- a/texmf/archive/tex/latex/spwdnd/spwdnd.cls +++ /dev/null @@ -1,46 +0,0 @@ -\ProvidesClass{spwdnd} -\DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}} -\ProcessOptions -\LoadClass[12pt,a4paper,twoside,twocolumn]{article} - -\setlength{\columnsep}{1cm} - -\RequirePackage[protrusion=true,expansion=true]{microtype} -\RequirePackage{geometry} -\geometry{includehead,rmargin=1.5in,lmargin=.4in,tmargin=.7in,bmargin=1.6in,headheight=.36in,footskip=1.96cm} -\RequirePackage{fancyhdr} -\RequirePackage{ifthen} -\RequirePackage{amssymb} -\RequirePackage[charter]{mathdesign} -\RequirePackage[scaled]{berasans} -\RequirePackage[sf,bf,compact,medium]{titlesec} -\RequirePackage{textcomp} -\RequirePackage[onehalf]{spwtitle} -\RequirePackage{ellipsis} -\RequirePackage{stmaryrd} -\RequirePackage{amsmath} - -\RequirePackage{framed} -\RequirePackage{color} -\definecolor{shadecolor}{gray}{0.8} - -%% allow lots and lots of images -\RequirePackage{etex} -\reserveinserts{18} -\RequirePackage{morefloats} - -\pagestyle{fancy} - -\fancyhf{} -\fancyhead[EL]{\hskip 0.75in \nouppercase{\leftmark}} -\fancyhead[OR]{\nouppercase{\leftmark} \hskip 0.7in} -\fancyfoot[EL]{\hskip -1.1cm \LARGE\textsf{\thepage}} -\fancyfoot[OR]{\LARGE\textsf{\thepage} \hskip -1.35cm} -\renewcommand{\headrulewidth}{0pt} - -\fancypagestyle{plain}{ % - \fancyhf{} % remove everything - \fancyhead[OR]{\nouppercase{\leftmark} \hskip 0.7in} - \fancyfoot[OR]{\LARGE\textsf{\thepage} \hskip -1.204cm} -\renewcommand{\headrulewidth}{0pt} % remove lines as well -\renewcommand{\footrulewidth}{0pt}} diff --git a/texmf/archive/tex/latex/spwdoc/spwdoc.cls b/texmf/archive/tex/latex/spwdoc/spwdoc.cls deleted file mode 100644 index 1c365f5e..00000000 --- a/texmf/archive/tex/latex/spwdoc/spwdoc.cls +++ /dev/null @@ -1,126 +0,0 @@ -\ProvidesClass{spwdoc} -\DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}} -\ProcessOptions -\LoadClass[12pt,a4paper]{article} - -\RequirePackage[protrusion=true,expansion=true]{microtype} -\RequirePackage{geometry} -\geometry{includeheadfoot,lmargin=1in,rmargin=1in,tmargin=.7in,bmargin=.7in} -\RequirePackage{fancyhdr} -\RequirePackage{ifthen} -\RequirePackage{amssymb} -%\RequirePackage[charter]{mathdesign} -%\RequirePackage[scaled]{berasans} -\RequirePackage[sf,bf,compact,medium]{titlesec} -\RequirePackage{textcomp} -\RequirePackage[onehalf]{spwtitle} -%\RequirePackage{ellipsis} -\RequirePackage{stmaryrd} -\RequirePackage{amsmath} - -%%% BEGIN BIBTEX STUFF - -\RequirePackage[% -authorformat=smallcaps,% -titleformat=italic,% -titleformat=commasep,% -commabeforerest,% -ibidem=nostrict,% % used to be strictdoublepage -citefull=first,% -oxford,% -pages=format,% pages=test doesn't seem to work but is otherwise better to use -idem,% -super,% -opcit,% -% human,% -bibformat=ibidem -]{jurabib} -\makeatletter -\jb@dotfalse -\makeatother - -\AddTo\bibsenglish{% - \def\edbyname{ed.}% - \def\editorname{(ed.)}% - \def\editorsname{(eds.)}% - \def\incollinname{in}% - \def\inname{in}% - \def\transby{$\!\!$}% - \def\bibchaptername{ch.}% - \def\Bibchaptername{Ch.}% - \def\Volumename{Vol.}% - \def\volumename{vol.}% -} - -\bibliographystyle{jox} - -\renewcommand{\jbbtasep}{ \& } -\renewcommand{\jbbstasep}{ \& } -\renewcommand{\jbbtesep}{ \& } -\renewcommand{\jbbstesep}{ \& } -\renewcommand{\bibbtasep}{ \& } -\renewcommand{\bibbstasep}{ \& } -\renewcommand{\bibbtesep}{ \& } -\renewcommand{\bibbstesep}{ \& } - -% to use this put this at end of essay: \nobibliography{/home/swhitton/doc/swhittonfhs} - -%%% END BIBTEX STUFF - -%%% BEGIN JURABIB HACKING - -% want translator's name in smallcaps -% much commenting out here to fix some pdflatex errors, and since I -% don't do anything in German -\DeclareRobustCommand{\translator}[3]{% - \unskip\unskip\space% - \ifthenelse{\equal{#1}{}}{% translator missing - \ifjboxford\transfrom\else\Transfrom\fi\jbflanguage{#2}% - }{% translator given - % \ifthenelse{\equal{\bbl@main@language}{german}}{% main language german - % \ifthenelse{\equal{#2}{}}{% language missing - % {\"U}bers. \transby{} #1% - % }{% language given - % \ifjboxford\transfrom\else\Transfrom\fi\jbflanguage{#2} ^^fcbers. \transby{} #1% - % }% - % }{% - \ifthenelse{\equal{#2}{}}{% language missing - \trans{} \transby{} \textsc{#1}% - }{% language given - \trans{} \transfrom{}\jbflanguage{#2} \transby{} \textsc{#1}% - }% - % }% - }% dot or not? - \ifjbchicago - \ifthenelse{\equal{#3}{1}}{% \(type=incollection \and editor given\) \or type=article - \bibatsep{}% - }{}% - \else - \ifthenelse{\equal{#3}{1}\and\not\boolean{jboxford}}{% - \bibatsep{}% - }{}% - \fi -}% - -%%% END JURABIB HACKING - -\makeatletter -\newcommand*{\textoverline}[1]{$\overline{\hbox{#1}}\m@th$} -\makeatother - -% from http://stackoverflow.com/questions/2522173/how-to-get-the-value-of-the-document-title-in-latex -\makeatletter\def\title#1{\gdef\@title{#1}\gdef\THETITLE{#1}}\makeatother -\makeatletter\def\author#1{\gdef\@author{#1}\gdef\THEAUTHOR{#1}}\makeatother -\makeatletter\def\date#1{\gdef\@date{#1}\gdef\THEDATE{#1}}\makeatother - -\pagestyle{fancy} - -\fancyhead{} -\fancyhead[R]{\textsf{\thepage}} -\fancyfoot{} -\renewcommand{\headrulewidth}{0pt} - -\fancypagestyle{plain}{ % -\fancyhf{} % remove everything -\renewcommand{\headrulewidth}{0pt} % remove lines as well -\renewcommand{\footrulewidth}{0pt}} diff --git a/texmf/archive/tex/latex/spwessay/spwessay.cls b/texmf/archive/tex/latex/spwessay/spwessay.cls deleted file mode 100644 index a35ed680..00000000 --- a/texmf/archive/tex/latex/spwessay/spwessay.cls +++ /dev/null @@ -1,186 +0,0 @@ -\ProvidesClass{spwessay} -\DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}} -\ProcessOptions -\LoadClass[twoside,a4paper]{article} -%\setlength{\evensidemargin}{63pt} -%\setlength{\oddsidemargin}{\evensidemargin} -\usepackage[margin=1.75in]{geometry} - -\RequirePackage[protrusion=true,expansion=true]{microtype} -\RequirePackage{fancyhdr} -\RequirePackage{ifthen} -\RequirePackage{amssymb} % for $\blacksquare$ at end - -%\RequirePackage[charter]{mathdesign} -\RequirePackage{pslatex} -%\RequirePackage[scaled]{berasans} - -\RequirePackage[sf,bf,compact,medium]{titlesec} -\RequirePackage{textcomp} -\RequirePackage[onehalf]{spwtitle} -\RequirePackage[norule,splitrule,stable,multiple]{footmisc} -\RequirePackage[utf8]{inputenc} -\RequirePackage{ellipsis} -\RequirePackage{stmaryrd} -\RequirePackage{amsmath} - -%%% BEGIN BIBTEX STUFFn - -\RequirePackage[% -%authorformat=smallcaps,% -titleformat=italic,% -titleformat=commasep,% -commabeforerest,% -ibidem=nostrict,% % used to be strictdoublepage -citefull=first,% -oxford,% -pages=format,% pages=test doesn't seem to work but is otherwise better to use -%idem,% -super,% -opcit,% -% human,% -bibformat=ibidem -]{jurabib} -\makeatletter -\jb@dotfalse -\makeatother - -\AddTo\bibsenglish{% - \def\edbyname{ed.}% - \def\editorname{(ed.)}% - \def\editorsname{(eds.)}% - \def\incollinname{in}% - \def\inname{in}% - \def\transby{$\!\!$}% - \def\bibchaptername{ch.}% - \def\Bibchaptername{Ch.}% - \def\Volumename{Vol.}% - \def\volumename{vol.}% -} - -\bibliographystyle{jox} - -\renewcommand{\jbbtasep}{ \& } -\renewcommand{\jbbstasep}{ \& } -\renewcommand{\jbbtesep}{ \& } -\renewcommand{\jbbstesep}{ \& } -\renewcommand{\bibbtasep}{ \& } -\renewcommand{\bibbstasep}{ \& } -\renewcommand{\bibbtesep}{ \& } -\renewcommand{\bibbstesep}{ \& } - -% to use this put this at end of essay: \nobibliography{/home/swhitton/doc/swhittonfhs} - -%%% END BIBTEX STUFF - -%%% BEGIN BIBLIOGRAPHY HACKING - -\makeatletter -\renewenvironment{thebibliography}[1] -{\subsection*{\bibname}% <-- this line was changed from \chapter* to \section* - \@mkboth{\MakeUppercase\bibname}{\MakeUppercase\bibname}% - \list{\@biblabel{\@arabic\c@enumiv}}% - {\settowidth\labelwidth{\@biblabel{#1}}% - \leftmargin\labelwidth - \advance\leftmargin\labelsep - \@openbib@code - \usecounter{enumiv}% - \let\p@enumiv\@empty - \renewcommand\theenumiv{\@arabic\c@enumiv}}% - \sloppy - \clubpenalty4000 - \@clubpenalty \clubpenalty - \widowpenalty4000% - \sfcode`\.\@m} -{\def\@noitemerr - {\@latex@warning{Empty `thebibliography' environment}}% - \endlist} -\makeatother - -\newcommand{\bibname}{Bibliography} - -%%% END BIBLIOGRAPHY HACKING - -%%% BEGIN JURABIB HACKING - -% % want translator's name in smallcaps -% % much commenting out here to fix some pdflatex errors, and since I -% % don't do anything in German -% \DeclareRobustCommand{\translator}[3]{% -% \unskip\unskip\space% -% \ifthenelse{\equal{#1}{}}{% translator missing -% \ifjboxford\transfrom\else\Transfrom\fi\jbflanguage{#2}% -% }{% translator given -% % \ifthenelse{\equal{\bbl@main@language}{german}}{% main language german -% % \ifthenelse{\equal{#2}{}}{% language missing -% % {\"U}bers. \transby{} #1% -% % }{% language given -% % \ifjboxford\transfrom\else\Transfrom\fi\jbflanguage{#2} ^^fcbers. \transby{} #1% -% % }% -% % }{% -% \ifthenelse{\equal{#2}{}}{% language missing -% \trans{} \transby{} \textsc{#1}% -% }{% language given -% \trans{} \transfrom{}\jbflanguage{#2} \transby{} \textsc{#1}% -% }% -% % }% -% }% dot or not? -% \ifjbchicago -% \ifthenelse{\equal{#3}{1}}{% \(type=incollection \and editor given\) \or type=article -% \bibatsep{}% -% }{}% -% \else -% \ifthenelse{\equal{#3}{1}\and\not\boolean{jboxford}}{% -% \bibatsep{}% -% }{}% -% \fi -% }% - -%%% END JURABIB HACKING - -\makeatletter -\newcommand*{\textoverline}[1]{$\overline{\hbox{#1}}\m@th$} -\makeatother - -% from http://stackoverflow.com/questions/2522173/how-to-get-the-value-of-the-document-title-in-latex -\makeatletter\def\title#1{\gdef\@title{#1}\gdef\THETITLE{#1}}\makeatother -\makeatletter\def\author#1{\gdef\@author{#1}\gdef\THEAUTHOR{#1}}\makeatother -\makeatletter\def\date#1{\gdef\@date{#1}\gdef\THEDATE{#1}}\makeatother - -\pagestyle{fancy} - -\fancyhead{} -\fancyhead[LE]{\textsf{\thepage} \hfill \textsl{\textsf{\THEAUTHOR}} \hfill} -\fancyhead[RO]{\hfill \textsf{\THETITLE} \hfill \textsf{\thepage}} -\fancyfoot{} -%\fancyfoot[LE,RO]{\textsf{\thepage}} - -\renewcommand{\headrulewidth}{0pt} - -\fancypagestyle{plain}{ % -\fancyhf{} % remove everything -\renewcommand{\headrulewidth}{0pt} % remove lines as well -\renewcommand{\footrulewidth}{0pt}} - -%\renewcommand{\section}[1]{\addtocounter{section}{1}\textbf{\textsection \thesection.} $\quad$\ifthenelse{\equal{#1}{}}{}{ \textsc{#1} $\quad$}} - -% following is the above with no blank line - as it should be, rather -% than requiring one to not end a para -% http://tex.stackexchange.com/questions/8657/prevent-a-paragraph-break-after-a-section-heading -\renewcommand{\section}[1]{% - \par - \ifthenelse{\equal{\thesection}{0}}{}{\bigskip} - \pagebreak[2]% - \refstepcounter{section}% - \everypar={% - {\setbox0=\lastbox}% Remove the indentation -% \addcontentsline{toc}{section}{% -% {\protect\makebox[0.3in][r]{\textsection \thesection.} \hspace*{3pt}}}% -% \textbf{\textsection \thesection.} $\quad$% old version with \textsection symbol - \thesection. $\quad$% - \ifthenelse{\equal{#1}{}}{}{ \textsl{#1} $\quad$}% textsl here used to be textsc -% \textsc{\thesubsection\space\space{#1} }% - \everypar={}% - }% - \ignorespaces -} diff --git a/texmf/archive/tex/latex/spworg/spworg.sty b/texmf/archive/tex/latex/spworg/spworg.sty deleted file mode 100644 index 3117bd5a..00000000 --- a/texmf/archive/tex/latex/spworg/spworg.sty +++ /dev/null @@ -1,50 +0,0 @@ -\ProvidesPackage{spworg} - -\usepackage[protrusion=true,expansion=true]{microtype} -\usepackage{multicol} -\usepackage[a4paper]{geometry} -\geometry{a4paper,verbose,includehead,tmargin=30pt,headsep=15pt,bmargin=50pt,lmargin=60pt,rmargin=80pt} -\usepackage{fancyhdr} % this has to go after the geometry or the header appears too short -%\pagestyle{fancy} -%\usepackage{spwmaths} -\usepackage[charter]{mathdesign} -\usepackage[scaled]{berasans} -\usepackage[sf,bf,compact,medium]{titlesec} -%\setlength{\parindent}{0pt} % not sure why this was here and it was -% meaning no indent on top level - be willing to uncomment - -\setlength{\headheight}{15pt} - -\pagestyle{fancy} -\renewcommand{\chaptermark}[1]{\markboth{#1}{}} -\renewcommand{\sectionmark}[1]{\markright{#1}{}} - -\usepackage[onehalf]{spwtitle} - -\fancyhead{} -\fancyhead[LE,RO]{\textsf{\thepage}} -\makeatletter\fancyhead[CE]{\textsc{\nouppercase{\@title}}}\makeatother -\fancyhead[CO]{\textsc{\nouppercase{\rightmark}}} -\fancyfoot{} - -\fancypagestyle{plain}{ % -\fancyhf{} % remove everything -\renewcommand{\headrulewidth}{0pt} % remove lines as well -\renewcommand{\footrulewidth}{0pt}} - -\setlength{\columnsep}{25pt} -\setlength{\columnseprule}{.5pt} - -\newenvironment{lowitemize}{\begin{list}{$\quad\boldsymbol{\star}\;$}{% -\setlength{\itemsep}{0pt}% -\setlength{\parsep}{3pt}% -\setlength{\leftmargin}{20pt}% -}}{\end{list}} -\renewenvironment{itemize}{\begin{list}{--}{% -\setlength{\itemsep}{0pt}% -\setlength{\parsep}{3pt}% -\setlength{\leftmargin}{40pt}% -}}{\end{list}} - -\renewcommand{\subsubsection}[1]{\par\bigskip\textbf{#1}\bigskip\par} -%\renewcommand{\paragraph}[1]{\par\bigskip\textsc{#1}\bigskip\par} diff --git a/texmf/archive/tex/latex/spwoutline/spwoutline.cls b/texmf/archive/tex/latex/spwoutline/spwoutline.cls deleted file mode 100644 index cdf9a807..00000000 --- a/texmf/archive/tex/latex/spwoutline/spwoutline.cls +++ /dev/null @@ -1,172 +0,0 @@ -% spwoutline.cls - export Org-mode outlines to LaTeX in an indented hierarchy -% Copyright (C) 2010-2012 Sean Whitton - -% This program is free software; you can redistribute it and/or -% modify it under the terms of the GNU General Public License -% as published by the Free Software Foundation; either version 2 -% of the License, or (at your option) any later version. - -% This program is distributed in the hope that it will be useful, -% but WITHOUT ANY WARRANTY; without even the implied warranty of -% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -% GNU General Public License for more details. - -% You should have received a copy of the GNU General Public License -% along with this program; if not, write to the Free Software -% Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -% Org-mode config to make use of this class: -% (add-to-list 'org-export-latex-classes -% '("spwoutline" -% "\\documentclass{spwoutline}" -% ("\\section{%s}" . "\\section*{%s}") -% ("\\subsection{%s}" . "\\subsection*{%s}") -% ("\\subsubsection{%s}" . "\\subsubsection*{%s}"))) -% (setq org-export-latex-low-levels '("\\begin{lowitemize}\\setlength{\\parindent}{2em}" "\\end{lowitemize}" "\\item \\textbf{%s}\\indent %s")) ; four slashes used to be a \\par - -% ; used after things like e.g. to prevent a double space -% (setq org-entities-user '(("space" "\\ " nil " " " " " " " "))) - -\ProvidesClass{spwoutline} -\DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}} -\ProcessOptions -\LoadClass[a4paper]{article} - -\RequirePackage[protrusion=true,expansion=true]{microtype} -\RequirePackage{multicol} -\RequirePackage[a4paper]{geometry} -\geometry{a4paper,verbose,includehead,tmargin=30pt,headsep=15pt,bmargin=50pt,lmargin=60pt,rmargin=80pt} -\RequirePackage{fancyhdr} % this has to go after the geometry or the header appears too short -%\pagestyle{fancy} -%\RequirePackage{spwmaths} -\RequirePackage[charter]{mathdesign} -\RequirePackage[scaled]{berasans} -\RequirePackage[sf,bf,compact,medium]{titlesec} -%\setlength{\parindent}{0pt} % not sure why this was here and it was -% meaning no indent on top level - be willing to uncomment -\RequirePackage{ellipsis} -\RequirePackage{amsbsy} % boldsymbol -\RequirePackage[norule,splitrule,stable,multiple]{footmisc} - -%%% BEGIN BIBTEX STUFF - -\RequirePackage[% -authorformat=smallcaps,% -titleformat=italic,% -titleformat=commasep,% -commabeforerest,% -ibidem=strictdoublepage,% -citefull=first,% -oxford,% -pages=format,% pages=test doesn't seem to work but is otherwise better to use -idem,% -super,% -opcit,% -% human,% -bibformat=ibidem -]{jurabib} -\makeatletter -\jb@dotfalse -\makeatother - -\AddTo\bibsenglish{% - \def\edbyname{ed.}% - \def\editorname{(ed.)}% - \def\editorsname{(eds.)}% - \def\incollinname{in}% - \def\inname{in}% - \def\transby{$\!\!$}% - \def\bibchaptername{ch.}% - \def\Bibchaptername{Ch.}% - \def\Volumename{Vol.}% - \def\volumename{vol.}% -} - -\bibliographystyle{jox} - -\renewcommand{\jbbtasep}{ \& } -\renewcommand{\jbbstasep}{ \& } -\renewcommand{\jbbtesep}{ \& } -\renewcommand{\jbbstesep}{ \& } -\renewcommand{\bibbtasep}{ \& } -\renewcommand{\bibbstasep}{ \& } -\renewcommand{\bibbtesep}{ \& } -\renewcommand{\bibbstesep}{ \& } - -% to use this put this at end of essay: \nobibliography{/home/swhitton/doc/swhittonfhs} - -%%% END BIBTEX STUFF - -%%% BEGIN JURABIB HACKING - -% want translator's name in smallcaps -% much commenting out here to fix some pdflatex errors, and since I -% don't do anything in German -\DeclareRobustCommand{\translator}[3]{% - \unskip\unskip\space% - \ifthenelse{\equal{#1}{}}{% translator missing - \ifjboxford\transfrom\else\Transfrom\fi\jbflanguage{#2}% - }{% translator given - % \ifthenelse{\equal{\bbl@main@language}{german}}{% main language german - % \ifthenelse{\equal{#2}{}}{% language missing - % {\"U}bers. \transby{} #1% - % }{% language given - % \ifjboxford\transfrom\else\Transfrom\fi\jbflanguage{#2} ^^fcbers. \transby{} #1% - % }% - % }{% - \ifthenelse{\equal{#2}{}}{% language missing - \trans{} \transby{} \textsc{#1}% - }{% language given - \trans{} \transfrom{}\jbflanguage{#2} \transby{} \textsc{#1}% - }% - % }% - }% dot or not? - \ifjbchicago - \ifthenelse{\equal{#3}{1}}{% \(type=incollection \and editor given\) \or type=article - \bibatsep{}% - }{}% - \else - \ifthenelse{\equal{#3}{1}\and\not\boolean{jboxford}}{% - \bibatsep{}% - }{}% - \fi -}% - -%%% END JURABIB HACKING - -\setlength{\headheight}{15pt} - -\pagestyle{fancy} -%\renewcommand{\chaptermark}[1]{\markboth{#1}{}} -\renewcommand{\sectionmark}[1]{\markright{#1}{}} -\newcommand{\chaptermark}[1]{\markboth{#1}{}} - -\RequirePackage[onehalf]{spwtitle} - -\fancyhead{} -\fancyhead[LE,RO]{\textsf{\thepage}} -\makeatletter\fancyhead[CE]{\textsf{\nouppercase{\@title}}}\makeatother -\fancyhead[CO]{\textsf{\nouppercase{\rightmark}}} -\fancyfoot{} - -\fancypagestyle{plain}{ % -\fancyhf{} % remove everything -\renewcommand{\headrulewidth}{0pt} % remove lines as well -\renewcommand{\footrulewidth}{0pt}} - -\setlength{\columnsep}{25pt} -\setlength{\columnseprule}{.5pt} - -\newenvironment{lowitemize}{\begin{list}{$\quad\boldsymbol{\star}\;$}{% -\setlength{\itemsep}{0pt}% -\setlength{\parsep}{3pt}% -\setlength{\leftmargin}{20pt}% -}}{\end{list}} -\renewenvironment{itemize}{\begin{list}{--}{% -\setlength{\itemsep}{0pt}% -\setlength{\parsep}{3pt}% -\setlength{\leftmargin}{40pt}% -}}{\end{list}} - -\renewcommand{\subsubsection}[1]{\par\bigskip\textbf{#1}\bigskip\par} -%\renewcommand{\paragraph}[1]{\par\bigskip\textsc{#1}\bigskip\par} diff --git a/texmf/archive/tex/latex/spwpaper/spwpaper.cls b/texmf/archive/tex/latex/spwpaper/spwpaper.cls deleted file mode 100644 index fe1a1281..00000000 --- a/texmf/archive/tex/latex/spwpaper/spwpaper.cls +++ /dev/null @@ -1,198 +0,0 @@ -\ProvidesClass{spwpaper} - -\newcommand{\initialdouble}{\RequirePackage[doublespacing]{setspace}\setstretch{2}} -\newcommand{\startdouble}{\doublespacing\setstretch{2}} -\newcommand{\finishdouble}{\onehalfspacing} -\DeclareOption{onehalf}{\renewcommand{\initialdouble}{\RequirePackage{setspace}\onehalfspacing}\renewcommand{\startdouble}{}} -\DeclareOption{pseudodouble}{\renewcommand{\initialdouble}{\RequirePackage[doublespacing]{setspace}\onehalfspacing}\renewcommand{\startdouble}{\doublespacing}} -\DeclareOption{single}{\renewcommand{\initialdouble}{\RequirePackage{setspace}}\renewcommand{\startdouble}{}\renewcommand{\finishdouble}{}} - -\newcommand{\papersettings}{\LoadClass[12pt,a4paper]{article}\RequirePackage[a4paper,headheight=0.5in,margin=1in,nofoot]{geometry}} -\DeclareOption{letterpaper}{\renewcommand{\papersettings}{\LoadClass[12pt,letterpaper]{article}\RequirePackage[letterpaper,headheight=0.5in,margin=1in,nofoot]{geometry}}} - -\newcommand{\notesandrefs}[1]{\noteshere - \bibhere{#1}} -\newcommand{\doendnotes}{ - \renewcommand{\footnote}[1]{\endnote{##1}}} -\DeclareOption{footnotes}{\renewcommand{\notesandrefs}[1]{\bibhere{#1}}\renewcommand{\doendnotes}{}} - -\DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}} -\ProcessOptions -\papersettings -% \RequirePackage[headings]{fullpage} - -\RequirePackage{amsmath} - -\RequirePackage{enumitem} -\setenumerate[1]{resume,label={\arabic*.},ref={(\arabic*)},itemindent=0.30in,labelsep=1em,itemsep=-1em,before=\vspace{-0.5em},after=\vspace{-0.5em}} - -\initialdouble % replaces below four lines to allow it to be disabled - % in class options -%%% \RequirePackage[doublespacing]{setspace} -%%% % \doublespacing -%%% % \renewcommand{\baselinestretch}{2} -%%% \setstretch{2} % setspace *doesn't* get doublespacing right -\setlength\parindent{.40in} - -\RequirePackage[protrusion=true,expansion=true]{microtype} -\RequirePackage{fancyhdr} -\RequirePackage{ifthen} - -\DeclareSymbolFont{symbolsC}{U}{txsyc}{m}{n} -\DeclareMathSymbol{\strictif}{\mathrel}{symbolsC}{74} -\DeclareMathSymbol{\boxright}{\mathrel}{symbolsC}{128} % from -% http://www.latex-community.org/forum/viewtopic.php?f=48&t=6262 -\RequirePackage{wasysym} - -\RequirePackage{pslatex} -%\RequirePackage[scaled]{berasans} - -\RequirePackage[sf,bf,compact,medium]{titlesec} -\RequirePackage{textcomp} -\RequirePackage[norule,splitrule,stable,multiple]{footmisc} -\RequirePackage[utf8]{inputenc} -\RequirePackage{ellipsis} -\RequirePackage{stmaryrd} - -\RequirePackage{endnotes} -\doendnotes - -\RequirePackage[all]{nowidow} - -\pagestyle{fancy} - -\fancyhf{} -\fancyhead[R]{\textsf{\thepage}} - -\fancypagestyle{plain}{ % - \fancyhf{} % remove everything - \renewcommand{\headrulewidth}{0pt} % remove lines as well - \renewcommand{\footrulewidth}{0pt}} - -\renewcommand{\headrulewidth}{0pt} - -\makeatletter\renewcommand{\maketitle}{\finishdouble\thispagestyle{plain} - \begin{center}\textsf{\@title} - - - \textsf{\@author}\ifthenelse{\equal{\@date}{}}{}{$\qquad\quad$}\textsf{\@date} - - % \hfill\large\textsf{\@author}\par\hfill\large\textsf{\@date}\normalsize - % \vspace{8.5pt} -\end{center}\startdouble -}\makeatother - -% following is the above with no blank line - as it should be, rather -% than requiring one to not end a para -% http://tex.stackexchange.com/questions/8657/prevent-a-paragraph-break-after-a-section-heading -\renewcommand{\section}[1]{% - \par - \ifthenelse{\equal{\thesection}{0}}{}{\bigskip} - \pagebreak[2]% - \refstepcounter{section}% - \everypar={% - {\setbox0=\lastbox}% Remove the indentation -% \addcontentsline{toc}{section}{% -% {\protect\makebox[0.3in][r]{\textsection \thesection.} \hspace*{3pt}}}% -% \textbf{\textsection \thesection.} $\quad$% old version with \textsection symbol - \thesection. $\quad$% - \ifthenelse{\equal{#1}{}}{}{ \textsl{#1} $\quad$}% textsl here used to be textsc -% \textsc{\thesubsection\space\space{#1} }% - \everypar={}% - }% - \ignorespaces -} - -% endnote and quotation formatting, some from Gregory Wheeler's -% philosophy.sty -\makeatletter -\renewcommand{\@makeenmark}{\hbox{$^{\tt\@theenmark}$}} - -\newcommand{\noteshere}{% - \begingroup - \singlespacing - \parindent 0pt - \parskip 2ex - \def\enotesize{\normalsize} - \def\enoteformat{\rightskip=.75in \leftskip\z@ \parindent=0em - \leavevmode\llap{\hbox{$^{\tt \@theenmark}$}}}%(tt) added, from AC's brain_damage.sty - \theendnotes - \endgroup} -\renewcommand{\enoteformat}{\singlespacing\rightskip\z@ \leftskip\z@ \parindent=.40in - \leavevmode\llap{\hbox{$^{\@theenmark}$}}} -\renewcommand{\enoteheading}{\subsection*{\textsc{\notesname} - \@mkboth{\uppercase{\notesname}}{\uppercase{\notesname}}}} - % \leavevmode\par\vskip-\baselineskip} -\makeatother - -\renewenvironment{quote}% No extra indent on first line -{\list{}% - \small\item[]} -{\endlist} - -% bibliography management -% \RequirePackage{bibtex} -\RequirePackage[authoryear,sort,elide]{natbib} -% \RequirePackage{chicago} -\bibliographystyle{spwchicago} - -\makeatletter \let\citeN\citealt \makeatother % fixes situations where - % citing multiple articles from one - % edited collection - -\newcommand{\bibhere}[1]{% - \begingroup - \singlespacing - \parindent 0pt - \parskip 2ex - \bibliography{#1} - \endgroup} - -\setlength{\itemindent}{5em} -\makeatletter -\def\thebibliography#1{\subsection*{\textsc{\refname}\@mkboth - {\uppercase{\refname}}{\uppercase{\refname}}}\list - {[\arabic{enumi}]}{\settowidth\labelwidth{[#1]} - \leftmargin\labelwidth - \advance\leftmargin\labelsep - % \advance\leftmargin\bibindent - \advance\leftmargin.35em - \itemindent -\bibindent - \listparindent \itemindent - \parsep \z@ - \usecounter{enumi}} - \def\newblock{} - \sloppy - \sfcode`\.=1000\relax} -\makeatother -%\setcitestyle{aysep={}} -\bibpunct{(}{)}{;}{a}{}{,} - -%% get resizeable Quine Corner Quotes -\makeatletter -\DeclareFontFamily{OMX}{MnSymbolE}{} -\DeclareSymbolFont{MnLargeSymbols}{OMX}{MnSymbolE}{m}{n} -\SetSymbolFont{MnLargeSymbols}{bold}{OMX}{MnSymbolE}{b}{n} -\DeclareFontShape{OMX}{MnSymbolE}{m}{n}{ - <-6> MnSymbolE5 - <6-7> MnSymbolE6 - <7-8> MnSymbolE7 - <8-9> MnSymbolE8 - <9-10> MnSymbolE9 - <10-12> MnSymbolE10 - <12-> MnSymbolE12 -}{} -\DeclareFontShape{OMX}{MnSymbolE}{b}{n}{ - <-6> MnSymbolE-Bold5 - <6-7> MnSymbolE-Bold6 - <7-8> MnSymbolE-Bold7 - <8-9> MnSymbolE-Bold8 - <9-10> MnSymbolE-Bold9 - <10-12> MnSymbolE-Bold10 - <12-> MnSymbolE-Bold12 -}{} -\DeclareMathDelimiter{\ulcorner} - {\mathopen}{MnLargeSymbols}{'036}{MnLargeSymbols}{'036} -\DeclareMathDelimiter{\urcorner} - {\mathclose}{MnLargeSymbols}{'043}{MnLargeSymbols}{'043} -\makeatother diff --git a/texmf/archive/tex/latex/spwtitle/spwtitle.sty b/texmf/archive/tex/latex/spwtitle/spwtitle.sty deleted file mode 100644 index fd9a9653..00000000 --- a/texmf/archive/tex/latex/spwtitle/spwtitle.sty +++ /dev/null @@ -1,26 +0,0 @@ -\ProvidesPackage{spwtitle} - -% onehalf option is for documents that want onehalfspacing in general. -% This has to be set here because we force onehalf for the title and -% need to know whether to switch it off or not after -\RequirePackage{setspace} -\RequirePackage{ifthen} -\newcommand{\spaceafter}{\singlespacing} -\DeclareOption{onehalf}{\renewcommand{\spaceafter}{}} -\ProcessOptions - -\usepackage{setspace} - -\makeatletter\renewcommand{\maketitle}{\onehalfspacing\thispagestyle{plain} -%\noindent\rule{\columnwidth}{2pt} -%\begin{center}\textnormal{\LARGE\@title} -\noindent\textnormal{\LARGE\textsf{\@title}} - -% \hfill\large\@author$\qquad\quad$\@date$\qquad$\normalsize -\vspace{5pt} -\hfill\large\textsf{\@author}\par\hfill\large\textsf{\@date}\normalsize -\vspace{8.5pt} -%\rule{\columnwidth}{1.5pt} -%\end{center} -\spaceafter -}\makeatother |